@charset "utf-8";

/* KV
---------------------------------------- */
.top_kv {
  position: relative;
  overflow: hidden;
  background-color: #F8F8F8;
}

/* 画像はFigma上で左右反転して配置されている */
.top_kv_image {
  position: relative;
}

.top_kv_image img {
  display: block;
  transform: scaleX(-1);
}

/* 左：背景色へのフェード／全体：青緑の薄いグラデーション */
.top_kv_image::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, #F8F8F8 0%, rgba(248, 248, 248, 0) 35%),
    linear-gradient(98.8deg, rgba(105, 176, 118, .15) 26.467%, rgba(0, 141, 183, .15) 94.61%);
}

.top_kv_inner {
  position: relative;
  z-index: 1;
  width: 90%;
  margin: 0 auto;
  padding: 0 0 50px;
}

.top_kv_catch {
  color: #231815;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.27;
  letter-spacing: .01em;
}

.top_kv_catch_line {
  display: block;
  width: fit-content;
  transform: skewX(-12deg) scaleY(.98);
  transform-origin: left bottom;
}

.top_kv_logo {
  display: flex;
  align-items: flex-end;
  gap: .4em;
  margin: 10px 0 0;
}

.top_kv_logo img {
  width: 60%;
  max-width: 422px; /* ロゴ408px＋®マーク */
}

.top_kv_ruby {
  flex-shrink: 0;
  color: #231815;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .01em;
  transform: skewX(-12deg) scaleY(.98);
}

.top_kv_text {
  margin: 24px 0 0;
  color: #000;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: .08em;
  text-align: justify;
  font-feature-settings: normal; /* Figmaの改行位置に合わせて文字詰めしない */
}

.top_kv_cta {
  margin: 30px 0 0;
  text-align: center;
}

.top_kv_button.cta_button {
  display: block !important;
  font-size: 1.6rem;
  font-weight: 700 !important;
  line-height: 1.4;
  letter-spacing: .05em;
  text-align: left;
  padding: 18px 48px 18px 20px;
  border-radius: 92px;
  box-shadow: none;
}

.top_kv_button.cta_button::after {
  top: 50%;
  right: 18px;
  font-size: 2.2rem;
  transform: translateY(-50%);
}

.top_kv_note {
  margin: 8px 0 0;
  color: #000;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: .1em;
}

@media screen and (min-width: 768px) { /* for Tablet, PC */
  .top_kv {
    display: flex;
    align-items: center;
    min-height: 640px;
  }

  .top_kv_image {
    position: absolute;
    top: 0;
    right: -22px;
    bottom: 0;
    width: 85%;
  }

  .top_kv_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .top_kv_image::after {
    background-image:
      linear-gradient(90deg, #F8F8F8 21.868%, rgba(248, 248, 248, 0) 54.723%),
      linear-gradient(98.8deg, rgba(105, 176, 118, .15) 26.467%, rgba(0, 141, 183, .15) 94.61%);
  }

  .top_kv_inner {
    width: min(1200px, 90%);
    padding: 60px 0;
  }

  .top_kv_catch {
    font-size: 4.4rem;
  }

  .top_kv_logo {
    margin-top: 14px;
  }

  .top_kv_logo img {
    width: 310px;
  }

  .top_kv_ruby {
    font-size: 2.2rem;
  }

  .top_kv_text {
    width: 520px;
    margin-top: 40px;
    font-size: 1.6rem;
  }

  .top_kv_cta {
    width: fit-content;
    margin-top: 40px;
  }

  .top_kv_button.cta_button {
    font-size: 2.4rem;
    padding: 20px 76px 20px 36px;
  }

  .top_kv_button.cta_button::after {
    right: 32px;
    font-size: 2.8rem;
  }

  .top_kv_note {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 1200px) { /* for PC（Figma 1600幅の寸法） */
  .top_kv {
    min-height: 800px;
  }

  .top_kv_image {
    width: 1280px;
    height: 851px;
    bottom: auto;
  }

  .top_kv_inner {
    padding: 84px 0 85px;
  }

  .top_kv_catch {
    font-size: 6rem;
  }

  .top_kv_logo {
    gap: 13px;
    margin-top: 18px;
    padding-left: 7px;
  }

  .top_kv_logo img {
    width: 422px; /* ロゴ408px＋®マーク */
  }

  .top_kv_ruby {
    font-size: 3rem;
  }

  .top_kv_text {
    width: 612px; /* Figmaは608px。ブラウザの描画差で最終行の1文字が折り返さないよう少し広げる */
    margin-top: 59px;
    font-size: 1.8rem;
  }

  .top_kv_cta {
    margin-top: 51px;
  }

  .top_kv_button.cta_button {
    width: 595px;
    font-size: 3.05rem;
    line-height: 84px;
    padding: 0 0 0 45px;
  }

  .top_kv_button.cta_button::after {
    right: 41px;
    font-size: 3.36rem;
  }

  .top_kv_note {
    margin-top: 2px;
  }
}


/* 卒業生インタビュー
---------------------------------------- */
.interview_list {
  display: grid;
  gap: 30px;
  max-width: 480px;
  margin: 40px auto 0;
}

.interview_card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background-color: #FAFAFA;
  box-shadow: 0 3px 6px rgba(0, 39, 7, .2);
}

/* Figmaのトリミング（407×227の画像を360×200で切り抜き）を再現 */
.interview_card_image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 360 / 200;
}

.interview_card_image img {
  position: absolute;
  top: -1.38%;
  left: -4.29%;
  width: 113.06%;
  max-width: none;
  height: 113.58%;
  object-fit: cover;
}

.interview_card_profile {
  padding: 19px 24px 18px;
  border-bottom: 1px solid #E0E0E0;
}

.interview_card_name {
  color: #000;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .05em;
}

.interview_card_meta {
  color: #888;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .05em;
  font-feature-settings: normal;
}

.interview_card_story {
  display: grid;
  gap: 14px;
  padding: 15px 24px 24px;
}

.interview_card_row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.interview_card_tag {
  flex-shrink: 0;
  width: 64px;
  margin-top: 3px;
  border-radius: 3px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: .03em !important;
  text-align: center;
}

.interview_card_tag_before {
  background-color: #58686C;
}

.interview_card_tag_after {
  background-color: #69B076;
}

.interview_card_before,
.interview_card_after {
  font-size: 1.4rem;
  line-height: 1.6;
  letter-spacing: .05em;
  font-feature-settings: normal;
}

.interview_card_before {
  color: #666;
  font-weight: 500;
}

.interview_card_after {
  color: #000;
  font-weight: 700;
}

/* 「読む」ボタンがあるときは、ストーリーの下余白をボタン側で取る */
.interview_card_story:has(+ .interview_card_more) {
  padding-bottom: 0;
}

.interview_card_more {
  margin-top: auto;
  padding: 9px 15px 15px;
  text-align: right;
}

@media screen and (min-width: 1025px) { /* for PC */
  .interview_list {
    grid-template-columns: repeat(3, minmax(0, 360px));
    justify-content: space-between;
    max-width: none;
    margin-top: 41px;
  }

  .interview_card_profile {
    padding-left: 24.5px;
    padding-right: 24.5px;
  }

  .interview_card_story {
    padding-left: 25.5px;
    padding-right: 20px;
  }
}


/* コースと料金
---------------------------------------- */
.course_list {
  display: grid;
  gap: 30px;
  max-width: 480px;
  margin: 40px auto 0;
}

.course_card {
  --course-color: #008DB7;
  --course-tint: rgba(0, 141, 183, .1);
  --course-num: rgba(0, 141, 183, .16);
  --course-check: url(../img/icon_check_blue.svg);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  padding: 40px 24px 30px;
  border-radius: 24px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.course_card_accounting {
  --course-color: #69B076;
  --course-tint: rgba(105, 176, 118, .1);
  --course-num: rgba(105, 176, 118, .16);
  --course-check: url(../img/icon_check_green.svg);
  box-shadow: inset 0 0 0 3px #008DB7, 0 4px 12px rgba(0, 0, 0, .12); /* 枠線は内側に描いて中身の位置を他のカードと揃える */
}

.course_card_accounting .course_card_badge {
  top: 2px;
}

.course_card_labor {
  --course-color: #E1A400;
  --course-tint: rgba(225, 164, 0, .1);
  --course-num: rgba(225, 164, 0, .16);
  --course-check: url(../img/icon_check_yellow.svg);
}

/* 右上の大きな番号（背景あしらい） */
.course_card_num {
  position: absolute;
  top: 20px;
  right: 28px;
  color: var(--course-num);
  font-size: 11rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0 !important;
  pointer-events: none;
}

.course_card_badge {
  position: absolute;
  top: 0;
  right: 25px;
  padding: 5px 14px;
  border-radius: 0 0 5px 5px;
  background-color: #C60D0D;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .05em;
}

.course_card_header {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 2px solid #DDD;
}

.course_card_label {
  color: var(--course-color);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: normal;
  letter-spacing: .15em !important;
}

.course_card_name {
  color: #231815;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .05em;
}

.course_card_catch {
  color: var(--course-color);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .03em;
}

/* Figmaではリモートワークコースのみ説明文がグレー */
.course_card_remotework .course_card_catch {
  color: #666;
}

.course_card_points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course_card_points li {
  position: relative;
  padding-left: 26px;
  color: #231815;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
  font-feature-settings: normal;
}

.course_card_points li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--course-check) center / contain no-repeat;
}

.course_card_image img {
  border-radius: 8px;
}

.course_card_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course_card_tags li {
  padding: 4px 12px;
  border-radius: 4px;
  background-color: var(--course-tint);
  color: #58686C;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .03em;
}

.course_card_footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.course_card_price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.course_card_price_label {
  color: #231815;
  font-size: 1.6rem;
  letter-spacing: .05em;
}

.course_card_price_amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--course-color);
}

.course_card_price_yen {
  font-size: 2.2rem;
  letter-spacing: 0;
}

.course_card_price_num {
  font-size: 4rem;
  letter-spacing: .02em !important;
}

.course_card_price_tax {
  color: #666;
  font-size: 1.4rem;
  letter-spacing: .03em;
}

.course_card_button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  border-radius: 48px;
  background: var(--course-color);
  color: #fff !important;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.course_card_accounting .course_card_button {
  background: linear-gradient(90deg, #008DB7 0%, #69B076 100%);
}

.course_card_button::after {
  font: var(--fa-font-solid);
  content: '\f0a9';
  font-size: 1.6rem;
  transition: transform .2s;
}

.course_card_button:hover::after {
  transform: translateX(3px);
}

/* 共通サポート */
.course_support {
  margin-top: 60px;
  padding: 50px 24px 40px;
  border-radius: 24px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.course_support_title {
  color: #231815;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .15em;
  text-align: center;
}

.course_support_list {
  display: grid;
  gap: 40px;
  margin-top: 30px;
}

.course_support_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.course_support_image {
  overflow: hidden;
  width: 220px;
  height: 170px;
  border-radius: 12px;
}

.course_support_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Figmaのトリミング（下寄せ）に合わせる */
.course_support_item:nth-child(3) .course_support_image img {
  object-position: 50% 100%;
}

.course_support_item_title {
  color: #000;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .05em;
}

.course_support_item_text {
  color: #555;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .02em;
  font-feature-settings: normal;
}

/* 料金についての補足（！・？の吹き出し付きボックス） */
.course_points {
  display: grid;
  gap: 80px;
  max-width: 520px;
  margin: 100px auto 0;
}

.course_point {
  position: relative;
  padding: 24px 20px 30px;
  border: 3px solid;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.course_point_early {
  border-color: #C60D0D;
  background-color: #FFF2F2;
}

.course_point_quit {
  border-color: #E1A400;
  background-color: #FFFDF7;
}

.course_point_mark {
  position: absolute;
  top: -48px;
  left: -30px;
  width: 110px;
  height: 110px;
}

.course_point_mark img {
  display: block;
  width: 100%;
  height: 100%;
}

/* 吹き出しの円の中心（SVG上の80,77）に記号を置く */
.course_point_mark span {
  position: absolute;
  top: 46.1%;
  left: 47.9%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: Outfit, sans-serif;
  font-size: 6.3rem;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 1.411px .706px rgba(0, 0, 0, .33);
}

.course_point_title {
  min-height: 60px;
  padding-left: 72px;
  color: #000;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .05em;
}

.course_point_text {
  margin-top: 20px;
  color: #555;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .02em;
  font-feature-settings: normal;
}

.course_point_early strong {
  color: #C60D0D;
}

.course_point_quit strong {
  color: #E1A400;
}

.course_point_text a {
  color: inherit;
  text-decoration: underline;
}

.course_point_text a:hover {
  text-decoration: none;
}

.course_point_note {
  margin-top: 10px;
  color: #555;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .02em;
  text-align: center;
}

@media screen and (min-width: 768px) { /* for Tablet, PC */
  .course_support {
    padding: 72px 40px 80px;
  }

  .course_support_title {
    font-size: 2.8rem;
  }

  .course_support_list {
    grid-template-columns: repeat(3, minmax(0, 340px));
    justify-content: center;
    gap: 34px;
    margin-top: 38px;
  }

  .course_support_item_title {
    font-size: 2.4rem;
  }

  .course_support_item_text {
    font-size: 1.5rem;
  }
}

@media screen and (min-width:768px) and (max-width:1199px) { /* for Tablet, small PC */
  .course_support_list {
    gap: 20px;
  }

  .course_support_item_title {
    font-size: 2rem;
  }

  .course_support_item_text br {
    display: none;
  }
}

/* コースカードは中身が多いので、3列にするのは1200px以上（それ未満は1列） */
@media screen and (min-width: 1200px) { /* for PC */
  .course_list {
    grid-template-columns: repeat(3, minmax(0, 360px));
    justify-content: space-between;
    max-width: none;
    margin-top: 41px;
  }

  .course_card {
    padding: 40px 30px 30px;
  }
}

@media screen and (min-width: 1025px) { /* for PC */
  .course_support {
    margin-top: 101px;
    padding: 72px 56px 80px;
  }

  .course_points {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    max-width: none;
    margin-top: 101px;
  }

  .course_point_wrap {
    width: 520px;
  }

  .course_point {
    height: 320px;
    padding: 31px 33px 0 37px; /* 本文幅：Figmaは440px。行末の句読点をぶら下げられないぶん4px広げる */
  }

  .course_point_mark {
    top: -51.63px;
    left: -48.45px;
    width: 167px;
    height: 167px;
  }

  .course_point_mark span {
    font-size: 9.6rem;
  }

  .course_point_title {
    min-height: 72px;
    padding-left: 82px;
    font-size: 2.4rem;
  }

  .course_point_text {
    margin-top: 30px;
    font-size: 1.8rem;
  }

  .course_point_note {
    font-size: 1.4rem;
  }
}


/* こんなお悩みありませんか
---------------------------------------- */
.top_worries {
  padding-bottom: 0;
}

.top_worries .inner {
  text-align: center;
}

.top_worries_title {
  margin: 0 !important;
  color: #231815;
  font-size: 2.4rem !important;
  font-weight: 700;
  line-height: normal;
  letter-spacing: .15em !important;
}

.top_worries_line {
  display: block;
  width: 80%;
  max-width: 534px;
  margin: 16px auto 0;
}

.worries_list {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.worries_item_image img {
  width: auto;
  max-width: 100%;
  height: 140px;
}

.worries_item_text {
  margin-top: 8px;
  color: #000;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .05em;
}

/* グラデーション地：上辺を画面幅いっぱいの下向きの山形に切り欠く
   白い図形を重ねるとイラスト側に被るため、要素自体を clip-path で切り抜く */
.top_worries_message {
  --notch-depth: 4.66vw;
  position: relative;
  margin-top: 40px;
  padding: calc(var(--notch-depth) + 40px) 0 50px;
  background: linear-gradient(90deg, #008DB7 0%, #69B076 100%);
  clip-path: polygon(0 0, 50% var(--notch-depth), 100% 0, 100% 100%, 0 100%);
}

.top_worries_message_text {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .1em;
  text-align: center;
}

.top_worries_cta {
  margin-top: 30px;
  text-align: center;
}

@media screen and (min-width: 768px) { /* for Tablet, PC */
  .worries_list {
    grid-template-columns: repeat(3, minmax(0, 419px));
    justify-content: center;
    gap: 0;
  }

  .worries_item_image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 199px;
  }

  .worries_item_image img {
    height: auto;
  }

  /* Figma上の各イラストの上端位置 */
  .worries_item:nth-child(1) .worries_item_image img {
    margin-top: 14px;
  }

  .worries_item:nth-child(3) .worries_item_image img {
    margin-top: 4px;
  }

  .top_worries_message_text {
    font-size: 2.8rem;
  }
}

@media screen and (min-width:768px) and (max-width:1024px) { /* for Tablet */
  .worries_item_text {
    font-size: 1.8rem;
  }
}

@media screen and (min-width: 1025px) { /* for PC */
  .top_worries {
    padding-top: 96px;
  }

  .top_worries_title {
    font-size: 3.6rem !important;
  }

  .top_worries_line {
    width: 534px;
    margin-top: 36px;
  }

  .worries_list {
    margin-top: 70px;
  }

  .worries_item_text {
    font-size: 2.4rem;
  }

  .top_worries_message {
    margin-top: 45px;
    padding: calc(var(--notch-depth) + 104px) 0 99px;
  }

  .top_worries_message_text {
    font-size: 3.6rem;
    letter-spacing: .15em;
  }

  .top_worries_cta {
    margin-top: 63px;
  }
}


/* Remotteが選ばれる6つの理由
---------------------------------------- */
.strengths_list {
  display: grid;
  gap: 30px;
  max-width: 480px;
  margin: 40px auto 0;
}

.strengths_card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  padding: 40px 24px 30px;
  border-radius: 24px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

/* 右上の大きな番号（背景あしらい）。Figmaではカード右端で切れている */
.strengths_card_num {
  position: absolute;
  top: -17px;
  left: calc(100% - 146px);
  background: linear-gradient(90deg, rgba(0, 141, 183, .25) 0%, rgba(105, 176, 118, .25) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 11rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0 !important;
  white-space: nowrap;
  pointer-events: none;
}

/* style.css の ol > li:before（「1.」の連番）を打ち消す */
.strengths_card::before {
  content: none;
}

.strengths_card_header {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 2px solid #DDD;
}

.strengths_card_label {
  color: #E1A400;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: normal;
  letter-spacing: .15em !important;
}

.strengths_card_title {
  margin: 0 !important;
  color: #231815;
  font-size: 2.2rem !important;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .05em;
}

.strengths_card_text {
  position: relative;
  color: #555;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .02em;
  font-feature-settings: normal;
}

@media screen and (min-width: 768px) { /* for Tablet, PC */
  .strengths_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}

/* 3列にするのはカード幅360pxが確保できる1200px以上 */
@media screen and (min-width: 1200px) { /* for PC */
  .strengths_list {
    grid-template-columns: repeat(3, minmax(0, 360px));
    justify-content: space-between;
    gap: 40px 0;
    margin-top: 41px;
  }

  .strengths_card {
    min-height: 330px;
    padding: 40px 30px 30px;
  }

  .strengths_card_title {
    font-size: 2.6rem !important;
  }
}


/* 受講の流れ
---------------------------------------- */
.flow_list {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 40px auto 0;
}

/* 矢印型の背景（FigmaのArrow BG：先端・切り欠きとも24px）。青→緑へ段階的に色を変える */
.flow_step {
  --flow-arrow: 24px;
  --flow-color: #DEF0F6;
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: calc(var(--flow-arrow) + 18px) 24px calc(var(--flow-arrow) + 18px);
  background-color: var(--flow-color);
  clip-path: polygon(0 0, 50% var(--flow-arrow), 100% 0, 100% calc(100% - var(--flow-arrow)), 50% 100%, 0 calc(100% - var(--flow-arrow)));
}

.flow_step:first-child {
  padding-top: 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--flow-arrow)), 50% 100%, 0 calc(100% - var(--flow-arrow)));
}

.flow_step + .flow_step {
  margin-top: calc(var(--flow-arrow) * -1 + 8px);
}

.flow_step:nth-child(2) { --flow-color: #E0F1F3; }
.flow_step:nth-child(3) { --flow-color: #E2F1F1; }
.flow_step:nth-child(4) { --flow-color: #E3F1EE; }
.flow_step:nth-child(5) { --flow-color: #E5F2EC; }
.flow_step:nth-child(6) { --flow-color: #E7F2E9; }

/* style.css の ol > li:before（「1.」の連番）を打ち消す */
.flow_step::before {
  content: none;
}

.flow_step_num {
  flex-shrink: 0;
  width: 1.35em;
  background: linear-gradient(90deg, #008DB7 0%, #69B076 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

.flow_step_body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.flow_step_title {
  margin: 0 !important;
  color: #231815;
  font-size: 1.8rem !important;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .05em;
}

.flow_step_text {
  color: #555;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .02em;
  font-feature-settings: normal;
}

.flow_step_note {
  display: block;
}

@media screen and (min-width: 768px) { /* for Tablet, PC */
  .flow_list {
    max-width: none;
  }

  .flow_step {
    gap: 32px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .flow_step_num {
    font-size: 4.8rem;
  }
}

/* 改行はPCの横並び専用 */
@media screen and (max-width: 1199px) {
  .flow_step br {
    display: none;
  }
}

/* PC：Figmaどおり右向きの矢印を横に6つ並べる（1枚211.667px、14px重ねて1200px） */
@media screen and (min-width: 1200px) {
  .flow_list {
    flex-direction: row;
    max-width: none;
    margin-top: 41px;
  }

  .flow_step {
    display: block;
    flex: 0 0 calc((100% + 14px * 5) / 6);
    min-height: 344px;
    padding: 116px 18px 24px 38px;
    isolation: isolate; /* 矢印（::before）をこの中で番号・本文の背面に置く */
    background-color: transparent;
    clip-path: none;
  }

  .flow_step:first-child {
    padding-top: 116px;
    padding-left: 24px;
    clip-path: none;
  }

  .flow_step + .flow_step {
    margin-top: 0;
    margin-left: -14px;
  }

  .flow_step::before {
    content: "";
    position: absolute;
    top: 58px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: 0;
    background-color: var(--flow-color);
    clip-path: polygon(0 0, calc(100% - var(--flow-arrow)) 0, 100% 50%, calc(100% - var(--flow-arrow)) 100%, 0 100%, var(--flow-arrow) 50%);
  }

  .flow_step:first-child::before {
    clip-path: polygon(0 0, calc(100% - var(--flow-arrow)) 0, 100% 50%, calc(100% - var(--flow-arrow)) 100%, 0 100%);
  }

  .flow_step_num {
    position: absolute;
    top: 0;
    left: 34px;
    width: auto;
    font-size: 8.8rem;
  }

  .flow_step:first-child .flow_step_num {
    left: 20px;
  }

  .flow_step_body {
    gap: 14px;
  }

  .flow_step_title {
    font-size: 1.9rem !important;
  }
}


/* よくあるご質問
---------------------------------------- */
.faq_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.faq_item {
  overflow: hidden;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.faq_question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  cursor: pointer;
  list-style: none;
}

.faq_question::-webkit-details-marker {
  display: none;
}

/* 開閉の矢印。開いているときは上向き */
.faq_question::after {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-left: auto;
  background: url(../img/icon_chevron_down.svg) center / contain no-repeat;
  transition: transform .2s;
}

.faq_item[open] .faq_question::after {
  transform: rotate(180deg);
}

.faq_mark {
  flex-shrink: 0;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0 !important;
}

.faq_mark_q {
  color: #008DB7;
}

.faq_mark_a {
  color: #69B076;
}

.faq_question_text {
  flex: 1;
  color: #231815;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .05em;
  font-feature-settings: normal;
}

.faq_answer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 20px;
  padding: 16px 0 20px;
  border-top: 1px solid #E3E8E9;
}

.faq_answer_text {
  flex: 1;
  color: #555;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .02em;
  font-feature-settings: normal;
}

/* 質問が複数行になる幅では、Q・矢印を1行目に揃える */
@media screen and (max-width: 1024px) { /* for Smartphone, Tablet */
  .faq_question {
    align-items: flex-start;
  }

  .faq_mark {
    line-height: 26px;
  }

  .faq_question::after {
    margin-top: 1px;
  }
}

@media screen and (min-width: 1025px) { /* for PC */
  .faq_list {
    gap: 20px;
    margin-top: 50px;
  }

  .faq_question {
    gap: 20px;
    padding: 28px 40px;
  }

  .faq_mark {
    font-size: 2.6rem;
  }

  .faq_question_text {
    font-size: 1.8rem;
  }

  .faq_answer {
    gap: 20px;
    margin: -8px 40px 0;
    padding: 20px 0 28px;
  }

  .faq_answer_text {
    font-size: 1.6rem;
  }
}


/* お役立ち情報
---------------------------------------- */
.column_list {
  display: grid;
  gap: 40px;
  max-width: 480px;
  margin: 40px auto 0;
}

.column_item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Figmaのトリミング（1734×907の画像を360×188で切り抜き）を再現 */
.column_item_image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 360 / 188;
  object-fit: cover;
  border-radius: 10px;
}

.column_item_body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.column_item_meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.column_item_tag {
  padding: 4px 12px;
  border-radius: 4px;
  background-color: #008DB7;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .03em;
}

.column_item_tag_green {
  background-color: #69B076;
}

.column_item_tag_yellow {
  background-color: #E1A400;
}

.column_item_date {
  color: #888;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: normal;
  letter-spacing: .05em;
}

.column_item_title {
  margin: 0 !important;
  color: #231815;
  font-size: 1.6rem !important;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .05em;
  font-feature-settings: normal;
}

/* 抜粋は3行で三点リーダ省略 */
.column_item_excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  color: #555;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .02em;
  font-feature-settings: normal;
}

.column_item_more {
  margin-top: auto;
  text-align: right;
}

@media screen and (min-width: 768px) { /* for Tablet, PC */
  .column_list {
    grid-template-columns: repeat(3, minmax(0, 360px));
    justify-content: space-between;
    gap: 30px;
    max-width: none;
  }
}

@media screen and (min-width: 1025px) { /* for PC */
  .column_list {
    margin-top: 44px;
  }

  .column_item_title {
    font-size: 1.8rem !important;
  }

  .column_item_excerpt {
    font-size: 1.5rem;
  }
}


/* LINE CTA
---------------------------------------- */

.top_line_cta {
  --notch-depth: 4.66vw; /* お悩みと同じ山形の切り欠き */
  position: relative;
  isolation: isolate;
  padding: calc(var(--notch-depth) + 56px) 0 56px;
  background-color: #FFF; /* 切り欠きの色。直前のセクションの背景色に揃える */
  color: #fff;
  text-align: center;
}

.top_faq + .top_line_cta {
  background-color: #EBF2F3; /* .section_bg_blue */
}

/* グラデーションは疑似要素に敷き、切り欠きから親の背景色を見せる */
.top_line_cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #008DB7 0%, #69B076 100%);
  clip-path: polygon(0 0, 50% var(--notch-depth), 100% 0, 100% 100%, 0 100%);
}

.top_line_cta_title {
  margin: 0;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .1em;
}

.top_line_cta_lead {
  margin: 20px 0 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .05em;
}

.top_line_cta_note,
.top_line_cta_privacy {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .05em;
  font-feature-settings: normal;
}

.top_line_cta_note {
  margin: 10px 0 0;
}

.top_line_cta_button {
  margin-top: 32px;
}

.top_line_cta_privacy {
  margin: 20px 0 0;
}

.top_line_cta_privacy a {
  color: #fff;
  text-decoration: underline;
}

.top_line_cta_privacy a:hover {
  text-decoration: none;
}

@media screen and (max-width: 767px) { /* for Smartphone */
  .top_line_cta_lead {
    text-align: left; /* 中央寄せだと改行位置が読みにくいため */
  }

  .top_line_cta_lead br {
    display: none;
  }

  .top_line_cta .line_white_button {
    font-size: 1.9rem;
  }
}

@media screen and (min-width: 768px) { /* for Tablet, PC */
  .top_line_cta_title,
  .top_line_cta_lead {
    font-feature-settings: normal; /* スマホは1行に収めるため palt を残す */
  }

  .top_line_cta_title {
    font-size: 3rem;
    letter-spacing: .15em;
  }

  .top_line_cta .line_white_button {
    max-width: 832px; /* お悩みの600pxより広い（Figma） */
  }
}

@media screen and (min-width: 1025px) { /* for PC */
  .top_line_cta {
    padding: calc(var(--notch-depth) + 100px) 0 100px;
  }

  .top_line_cta_title {
    font-size: 3.6rem;
  }

  .top_line_cta_lead {
    margin-top: 22px;
    font-size: 1.8rem;
    line-height: 2;
    letter-spacing: .08em;
  }

  .top_line_cta_note,
  .top_line_cta_privacy {
    font-size: 1.4rem;
  }

  .top_line_cta_note {
    margin-top: 12px;
  }

  .top_line_cta_button {
    margin-top: 40px;
  }

  .top_line_cta_privacy {
    margin-top: 24px;
  }
}
