/* Common Style */
html,
body {
  overflow-x: hidden !important;
  width: 100vw;
}

html,
body,
* {
  box-sizing: border-box;
  font-family: "LINE Seed JP_OTF";
}

.counselingservice .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "LINE Seed JP_OTF";
}

.counselingservice-inner {
  max-width: 1040px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

@media (max-width: 768px) {
  #counselingservice {
    padding: 60px 20px 160px 20px;
  }
}


.bread_list {
  margin-top: 80px;
}

.page_h1_title {
  font-size: clamp(30px, 6vw, 50px);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: inline-block;
  position: relative;
  margin-bottom: 72px;
  color: #018dc5;
  font-family: "Montserrat";
}

.page_h1_title span {
  font-size: 18px;
  color: #018dc5;
  display: block;
  font-weight: normal;
  margin-top: -6px;
  padding-bottom: 4px;
}

.page_h1_title h1 {
  font-size: 18px;
  color: #018dc5;
  display: block;
  font-weight: normal;
  margin-top: 3px;
  margin-bottom: 3px;
  padding-bottom: 4px;
}

.page_h1_title::after {
  content: "";
  width: 40px;
  height: 5px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  background: #018dc5;
  border: solid 1px #018dc5;
}

.hero-section {
  text-align: center;
  color: white;
  margin: 62px 0 0 0;
}


.support-section {
  text-align: center;
}

.support-section h2 {
  font-size: clamp(20px, 4vw, 32px);
  color: #018dc5;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 0.15em;
}

.support-section p {
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}


.cta-button a {
  display: inline-block;
  background-color: #018dc5;
  color: #fff;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease;
  font-size: clamp(14px, 2vw, 18px);
}

.cta-button a:hover {
  background-color: #3d9cc1;
}

.support-section .note {
  font-size: clamp(10px, 2vw, 12px);
  color: #555;
  margin-top: 10px;
  margin-bottom: 100px;
}

.service-section {
  background-color: #f7fbfc;
  padding: 60px 20px;
  margin-top: 180px;
}

.section-title-first {
  text-align: center;
  font-size: clamp(28px, 4vw, 32px);
  font-weight: bold;
  margin-bottom: 84px;
  margin-top: -84px;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 32px);
  font-weight: bold;
  margin-bottom: 64px;
  margin-top: 84px;
}


.service-block {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 60px;
}

.service-image {
  flex: 1 1 40%;
  text-align: center;
}

.service-image img {
  max-width: 100%;
  height: auto;
  /* border-radius: 8px; */
  margin-top: 15px;
}

.service-text {
  flex: 1 1 55%;
}

.service-text h3 {
  font-size: clamp(20px, 4vw, 24px);
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-text .number {
  color: #018dc5;
  margin-right: 0.3em;
  font-size: clamp(28px, 4vw, 32px);
}

.service-text>p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: #333;
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 700;
}

.service-point {
  border-left: 4px solid #c5c8c9;
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
}

.service-point h4 {
  color: #018dc5;
  font-size: clamp(14px, 4vw, 18px);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.service-point p {
  margin: 0;
  font-size: clamp(12px, 4vw, 16px);
  color: #333;
}


.flow-section {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}


.flow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
}

.flow-step {
  background-color: #fdfdfd;
  /* border: 1px solid #eee; */
  border-radius: 8px;
  padding: 30px 20px;
  width: 250px;
  height: 240px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.flow-step img {
  width: 50px;
  height: auto;
  margin-bottom: 15px;
}

.flow-step h3 {
  font-size: clamp(16px, 4vw, 18px);
  margin-bottom: 10px;
  color: #000;
  font-weight: bold;
}

.flow-step p {
  font-size: clamp(12px, 4vw, 16px);
  color: #333;
  line-height: 1.6;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.flow-arrow img {
  width: 20px;
  height: auto;
  transition: transform 0.3s ease;
}

/* モバイル表示で矢印を下向きに回転 */
@media (max-width: 768px) {
  .flow-steps {
    flex-direction: column;
  }

  .flow-arrow img {
    transform: rotate(90deg);
  }


  .flow-step {
    height: 230px;
  }
}

.session-section {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.session-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  max-width: 1100px;
}

.session-box {
  width: 220px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  background-color: #f4f8f9;
}

.session-box-header {
  background-color: #018dc5;
  color: white;
  font-weight: bold;
  padding: 15px 10px;
  font-size: clamp(16px, 4vw, 18px);
  line-height: 1.5;
  height: 80px;

  display: flex;
  /* ← 追加 */
  justify-content: center;
  /* ← 横中央 */
  align-items: center;
  /* ← 縦中央 */
  text-align: center;
  /* ← 複数行の中央揃えにも対応 */
}

.session-box-body {
  background-color: #f4f8f9;
  padding: 20px 10px;
}

.session-count {
  font-size: clamp(28px, 4vw, 32px);
  font-weight: bold;
  color: #003366;
  margin: 0;
}

.session-label {
  font-size: clamp(14px, 4vw, 18px);
  color: #003366;
  margin-top: 5px;
}

.session-note {
  font-size: clamp(14px, 4vw, 18px);
  color: #333;
  line-height: 1.6;
}

.session-note strong {
  color: #f4b400;
  /* 黄色系強調 */
  font-weight: bold;
}

.price-section {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 60px;
}

.price-table {
  margin: 40px auto;
  border-collapse: collapse;
  width: 100%;
  max-width: 600px;
  font-size: 1rem;
  border-radius: 6px;
  overflow: hidden;
}

.price-table th,
.price-table td {
  vertical-align: middle;
  padding: 18px 20px;
  border-bottom: 1px solid #ccc;
  text-align: left;
  text-align: center;
  /* 横方向中央 */

}

.price-table th {
  font-size: clamp(16px, 4vw, 18px);
  background-color: #f7fbfc;
  font-weight: 700;
}

.price-table tr {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: none;
}

.price-table td {
  font-weight: bold;
  color: #018dc5;
}

.price-table .price {
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 700;
}

.price-note {
  font-size: clamp(12px, 4vw, 16px);
  color: #555;
  margin-top: 20px;
}

@media (max-width: 768px) {

  .price-table,
  .price-table thead,
  .price-table tbody,
  .price-table tr,
  .price-table th,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table tr {
    margin-bottom: 20px;
    /* border-bottom: 2px solid #ccc; */
    padding-bottom: 10px;
  }

  .price-table th {
    /* background-color: #00bcd4; */
    /* color: #fff; */
    font-weight: bold;
    padding: 12px 16px;
    border-bottom: none;
  }

  .price-table td {
    /* background-color: #e8f9fd; */
    padding: 12px 16px;
    border-bottom: none;
  }

  .price-table .price {
    font-size: 1.3rem;
  }
}

/* COVER */
.consult-banner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.consult-banner img {
  width: 100%
}

.consult-banner.first {
  height: 300px;
}

.consult-banner.second {
  height: 500px;
}

@media screen and (max-width: 768px) {
  .consult-banner.second {
    height: 300px;
  }
}

.consult-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 141, 197, 0.6);
  z-index: 1;
}

.consult-content {
  position: relative;
  z-index: 2;
}

.consult-btn {
  display: inline-flex;
  align-items: center;
  background: white;
  color: #008DC5;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: auto;
  height: auto;
  padding: 20px 28px 20px 72px;
  justify-content: flex-end;
  align-items: center;
  gap: 162px;
  border-radius: 100px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media screen and (max-width: 768px) {
  .consult-btn {
    gap: 20px;
    padding: 8px 10px 8px 10px;
  }
}

.consult-btn:hover {
  box-shadow: none;
  transform: translate(2px, 2px);
}

.consult-text {
  color: var(--Volve_Darkblue_secondary, #008DC5);
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "LINE Seed JP_OTF";
  font-size: clamp(16px, 4vw, 32px);
  font-style: normal;
  font-weight: 600;
  text-align: left;
  line-height: 1.2;
}

.consult-text-pc {
  display: block;
}

.consult-text-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .consult-text-pc {
    display: none;
  }

  .consult-text-sp {
    display: block;
  }
}

.consult-arrow {
  background: #008DC5;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .consult-arrow {
    width: 10%;
    height: auto;
  }
}

.consult-sub {
  margin-top: 20px;
  color: var(--Volve-White, #FFF);
  font-feature-settings: 'palt' on, 'liga' off, 'clig' off;
  font-family: "LINE Seed JP_OTF";
  font-size: clamp(16px, 3vw, 32px);
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 0.96px;
}

@media screen and (max-width: 768px) {
  .consult-sub {
    margin-top: 0px;
  }
}

/*------------------------------------------------------
contact form
------------------------------------------------------*/
.po-canentryform table {
  width: 100%;
  border-spacing: 0 16px;
}

.contact_wrap {
  max-width: 800px;
  margin: 0 auto;
}

.contact_lead {
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 40px;
}

.po-canentryform table {
  width: 100%;
}

.contact_wrap th {
  font-size: 16px;
  width: 42% !important;
  padding: 0 0 0 16px !important;
  box-sizing: border-box;
  border-left: solid 4px #018dc5;
}

.contact_wrap id {
  padding: 0 0 10px 20px !important;
}

.po-label.po-normal.po-not-required {
  font-size: 16px;
}

.contact_wrap input {
  width: 100%;
  border: solid 1px #ccc;
  font-size: 16px;
  padding: 10px;
  border-radius: 6px;
}

.contact_wrap .po-normal {
  padding: 0 0 10px 0;
  width: auto;
}

.contact_wrap textarea {
  border: solid 1px #ccc;
  border-radius: 6px;
  width: 100%;
  min-height: 160px;
  padding: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.contact_wrap .po-file input {
  border: none;
  padding: 0;
}

.po-privacy-policy {
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
  padding: 20px;
  border: solid 1px #ccc;
  max-height: 120px;
  overflow-y: scroll;
  margin-bottom: 40px;
}

.po-input.po-dropdown select {
  border: solid 1px #ccc;
  background: #fff;
  font-size: 16px;
  padding: 10px;
  border-radius: 4px;
  width: 100%;
}

.contact_wrap input[type="file"] {
  /*  opacity: 0;*/
  z-index: 1;
  position: relative;
}

.contact_wrap input[type="radio"] {
  width: auto;
}

.contact_wrap .po-input span {
  padding: 0 20px 0 5px;
  font-size: 14px;
  letter-spacing: normal;
}

.contact_wrap input {
  width: 100%;
  border: solid 1px #ccc;
  font-size: 16px;
  padding: 10px;
  border-radius: 6px;
  box-sizing: border-box;
}

.po-file {
  position: relative;
}

/*.po-file::after {
  content: "ファイルを選択";
  width: 100%;
  height: 32px;
  background: #018dc5;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  max-width: 160px;
  border-radius: 50px;
  text-align: center;
  line-height: 32px;
  color: #fff;
  font-size: 14px;
}*/
.po-input {
  letter-spacing: -0.4em;
}

.po-year {
  display: inline-block;
  width: 20% !important;
  letter-spacing: normal;
}

.po-month {
  display: inline-block;
  width: 20% !important;
  margin-left: 10px;
  letter-spacing: normal;
}

.po-day {
  display: inline-block;
  width: 20% !important;
  margin-left: 10px;
  letter-spacing: normal;
}

.po-checkbox-parent {
  width: auto !important;
}

.po-button-send {
  font-size: 14px;
  background: #d18b00;
  padding: 0 10px;
  border-radius: 50px;
  color: #fff;
  height: 50px;
  border: solid 2px #fff;
  max-width: 320px;
  width: 100%;
  box-sizing: border-box;
}

.po-required {
  position: relative;
}

.po-required::after {
  content: "必須";
  background: #018dc5;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  position: absolute;
  top: 0;
  right: 20px;
  border-radius: 2px;
}

.contact_wrap tr:nth-child(1) th {
  position: relative;
}

.contact_wrap tr:nth-child(1) th::after {
  content: "必須";
  background: #018dc5;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  position: absolute;
  top: 0;
  /* right: 20px; */
  border-radius: 2px;
}

.main_contact_button {
  font-size: 14px;
  background: #d18b00;
  padding: 0 10px;
  border-radius: 50px;
  color: #fff;
  height: 50px;
  border: solid 2px #fff;
  max-width: 320px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 20px;
}

/** チェックOFFなら非表示 */
.message {
  opacity: 0.3;
  pointer-events: none;
}

/** チェックONなら表示 */
input:checked~.message {
  opacity: 1;
  pointer-events: visible;
}

.contact_btn_wrap .toggle {
  width: 40px !important;
  display: inline-block;
}

.contact_btn_wrap a {
  display: inline-block;
  font-size: 14px;
  color: #018dc5;
  ;
}

.contact_btn_wrap {
  font-size: 14px;
  margin-top: 40px;
}


@media screen and (max-width:768px) {
  .contact_wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 10px;
  }

  .contact_wrap th {
    font-size: 16px;
    width: 100% !important;
    padding: 0 0 0 16px !important;
    box-sizing: border-box;
    border-left: solid 4px #018dc5;
    display: block;
  }

  .contact_wrap td {
    display: block;
    width: 100% !important;
  }

  .po-required::after {
    content: "必須";
    font-size: 11px;
    padding: 2px 6px;
    right: 0;
  }

  .contact_wrap th {
    font-size: 16px;
    width: 100% !important;
    padding: 0 0 6px 0 !important;
    box-sizing: border-box;
    border-left: none;
    display: block;
  }

  .po-year {
    width: 28% !important;
    letter-spacing: normal;
  }

  .po-month {
    width: 28% !important;
    margin-left: 10px;
    letter-spacing: normal;
  }

  .po-day {
    width: 28% !important;
    margin-left: 10px;
    letter-spacing: normal;
  }

  .po-button-send {
    font-size: 13px;
  }

  .main_contact_button {
    max-width: 240px;
  }
}

.entry-section {
  background-color: #f7fbfc;
  text-align: center;
  padding: 42px 0;
  margin-bottom: 64px;
}

.entry-section p {
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

.service-banner {
  text-align: center;
}

.service-banner img {
  width: 100%;
  height: auto;
  /* border-radius: 8px; */
  margin-top: 15px;
  margin-bottom: 30px;
  transition: filter 0.3s ease;
}

.service-banner img:hover {
  opacity: 0.8;
  /* 数値を下げるほど薄くなる */
}

/* PC表示 */
.banner-pc {
  display: block;
}
.banner-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .banner-pc {
    display: none;
  }
  .banner-sp {
    display: block;
  }

  .service-banner img {
  margin-bottom: 15px;
}
}