/* =====================================================
   CSS Variables
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho&display=swap');

:root {
  /* Typography */
  --sansserif: "Noto Sans JP", "游ゴシック", "YuGothic", sans-serif;
  --spr_mincho: "Shippori Mincho", serif;
  --font18: 1.125rem;
  --font24: 1.5rem;
  --font26: 1.625rem;
  --font28: 1.75rem;
  --font32: 2rem;
  --font36: 2rem;
  --font40: 2.5rem;
  --font64: 4rem;
  /* Layout */
  --max-width: 1024px;
  --inner-max-width: 860px;
}

/*---------------------
MV
-----------------------*/
.mv {
  font-family: var(--spr_mincho);
  color: black;
  position: relative;
}

@media (max-width: 767px) {
  .mv {
    height: 450px;
  }
}

.mv_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.mv_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  justify-content: center;
  height: 100%;
}

@media (max-width: 767px) {
  .mv_title {
    position: absolute;
    height: 300px;
    left: 0;
    right: 0;
    bottom: -50px;
    margin: auto;
    justify-content: flex-end;
    z-index: 2;
  }
}

.mv_title_main {
  position: relative;
  font-size: 64px;
  transform: rotate(-6deg);
  box-shadow: 0;
  color: black;
  z-index: 2;

  @media (width < 767px) {
    font-size: 50px;
  }
}

.mv_title_main::before {
  content: '';
  background: linear-gradient(90deg, #DAD4EA 0%, #BEE2E1 100%);
  width: 100%;
  height: 18px;
  transform: rotate(-4deg);
  position: absolute;
  top: 60px;
  left: 0;
  z-index: -1;
  margin: auto;
}

.mv_title_text1 {
  color: #000;
  text-align: center;
  font-family: var(--spr_mincho);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.mv_title_text2 {
  color: #000;
  text-align: center;
  font-family: var(--spr_mincho);
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 32px;
}

.btn_reserve {
  background-color: var(--color_primary);
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 100px;
  font-size: var(--font_sm);
  transition: opacity 0.2s;
  white-space: nowrap;

  &:hover {
    opacity: 0.85;
  }
}

/*---------------------
セクション
-----------------------*/
.section_inner {
  max-width: var(--max-width);
  margin: auto;
  padding: 0;
}

@media (max-width: 767px) {
  .section_inner {
    padding: 0;
  }
}

/*---------------------
脱銀歯
-----------------------*/
.free {
  background-image: url(images/top_bg.webp);
  background-position: top left;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  margin: auto;
  padding: 6rem 2rem;

  @media (width < 767px) {
    padding: 3rem 1rem;
  }
}

.free_ariticle01 {
  display: flex;
  gap: var(--space32);
  justify-content: space-between;
  align-items: stretch;
  position: relative;
  padding: 4rem 3rem;
  z-index: 3;

  @media (width < 767px) {
    flex-direction: column;
    gap: var(--space16);
  }
}

.free_ariticle01::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1000px;
  right: 20vw;
  margin: auto;
  display: block;
  border: 10px solid #BEE2E1;
  background: rgba(255, 255, 255, 0.7);
  z-index: -1;

  @media (width < 767px) {
    display: none;
  }

  @media (width > 1600px) {
    right: 10vw;
  }
}

.free_ariticle01>*:nth-child(1) {
  flex: 1 1 60%;

  @media (width > 1600px) {
    flex: 1 1 70%;
  }
}

.free_ariticle01>*:nth-child(2) {
  flex: 1 1 40%;

  @media (width > 1600px) {
    flex: 1 1 30%;
  }
}

.free_ariticle02 {
  display: flex;
  flex-direction: row-reverse;
  gap: var(--space32);
  justify-content: space-between;
  align-items: stretch;
  position: relative;
  padding: 4rem 3rem;
  z-index: 2;

  @media (max-width: 767px) {
    flex-direction: column;
    gap: var(--space16);
  }
}

.free_ariticle02::before {
  content: "";
  position: absolute;
  top: -75px;
  bottom: 0;
  right: 0;
  left: 10vw;
  margin: auto;
  display: block;
  border: 10px solid #DAD4EA;
  background: rgba(255, 255, 255, 0.7);
  z-index: -1;

  @media (width < 767px) {
    display: none;
  }

  @media (width > 1600px) {
    left: 10vw;
  }
}

@media (max-width: 767px) {

  .free_ariticle01,
  .free_ariticle02 {
    padding: 2rem 1rem;
  }
}

.free_ariticle02>*:nth-child(1) {
  flex: 1 1 60%;

  @media (width > 1600px) {
    flex: 1 1 70%;
  }
}

.free_ariticle02>*:nth-child(2) {
  flex: 1 1 40%;

  @media (width > 1600px) {
    flex: 1 1 30%;
  }
}

.free_title {
  font-size: 1.75rem;
  font-family: var(--spr_mincho);
  margin-bottom: 2rem;
  position: relative;
}

@media (max-width: 767px) {
  .free_title {
    margin-bottom: 4rem;
    text-align: center;
  }

  .free_ariticle01 .free_title::after {
    content: '';
    border-bottom: 10px solid #BEE2E1;
    position: absolute;
    bottom: -2rem;
    left: 0;
    right: -120px;
    z-index: 0;
    margin: auto;
  }

  .free_ariticle02 .free_title::after {
    content: '';
    border-bottom: 10px solid #DAD4EA;
    position: absolute;
    bottom: -2rem;
    left: -120px;
    right: 0;
    z-index: 0;
    margin: auto;
  }
}

.free_figure {
  position: relative;
  z-index: 2;
}

.free_text {
  color: #000;
  font-family: var(--spr_mincho);
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;

  @media (width < 768px) {
    font-size: 1rem;
  }
}

/*---------------------
お悩み別
-----------------------*/
.concern {
  background-image: url('images/concern_bg.webp');
  background-position: right;
  background-repeat: no-repeat;
  background-size: auto 100%;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;

  @media (width < 767px) {
    padding: 2rem 1rem;
  }
}

.concern>* {
  position: relative;
  z-index: 1;
}

.concern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(220, 236, 236, 0.60);
}

.concern_title {
  color: #000;
  text-align: center;
  font-family: var(--spr_mincho);
  font-size: var(--font32);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 2rem;
}

.concern_lead {
  text-align: center;
  font-family: var(--spr_mincho);
  font-size: 1rem;
  line-height: 160%;
}

.concern_list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  max-width: 860px;
  margin: auto;
  margin: 2rem auto;
  gap: 2rem;
}

@media (max-width: 767px) {
  .concern_list {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

.concern_list>* {
  flex: 1 1 25%;
}

@media (max-width: 767px) {
  .concern_list>* {
    flex: 1 1 40%;
  }
}

.concern_list>*:nth-child(1), .concern_list>*:nth-child(4) {
  padding-top: 60px;
}

@media (max-width: 767px) {
  .concern_list>*:nth-child(1), .concern_list>*:nth-child(3) {
    padding-top: 0;
  }

  .concern_list>*:nth-child(2), .concern_list>*:nth-child(4) {
    padding-top: 20px;
  }
}

.concern_list>* p {
  font-family: var(--spr_mincho);
  text-align: center;
  font-size: 1.2rem;
  border-radius: 999px;
  border: 5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #DAD4EA 0.03%, #BEE2E1 100.03%) border-box;
  display: grid;
  place-content: center;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-width: 200px;
  margin: auto;
}

/*---------------------
   merit（メリット・特徴）
-----------------------*/
.merit {
  padding: 4rem 2rem;

  @media (width < 767px) {
    padding: 2rem 1rem;
  }
}

.merit_title {
  color: #000;
  text-align: center;
  font-family: var(--spr_mincho);
  font-size: var(--font32);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 2.7rem;
}

.merit_title span {
  text-align: center;
  font-family: var(--spr_mincho);
  font-size: var(--font64);
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  background: linear-gradient(60deg, #AA94E3 28.44%, #52ADF8 49.48%, #56B8BE 67.86%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  margin: 0 6px;
}

.merit .merit_subtitle {
  text-align: center;
  font-family: var(--spr_mincho);
  font-size: var(--font18);
  font-style: normal;
  font-weight: 400;
  line-height: 3;
  margin-bottom: 2.7rem;
}

.merit .merit_subtitle span {
  text-align: center;
  font-family: var(--spr_mincho);
  font-size: var(--font40);
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  background: linear-gradient(60deg, #AA94E3 28.44%, #52ADF8 49.48%, #56B8BE 67.86%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.merit_list {
  display: flex;
  flex-direction: column;
  gap: 0;

  @media (width < 767px) {
    gap: 4rem;
  }
}

.merit_item {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 2rem;
  counter-increment: merit_counter;
  position: relative;

  @media (width < 767px) {
    flex-direction: column;
  }
}

.merit_item:nth-child(odd) {
  flex-direction: row;

  @media (width < 767px) {
    flex-direction: column;
  }
}

.merit_body {
  flex: 1 1 60%;
  position: relative;

  @media (width < 767px) {
    padding: 0;
    width: 100%;
  }
}

.merit_body p {
  font-size: 1rem;
  line-height: 1.6;

  @media (width < 767px) {
    width: 80%;
    margin: auto;
  }
}

.merit_body_num {
  font-family: var(--spr_mincho);
  font-size: 200px;
  font-weight: 400;
  font-style: normal;
  background: linear-gradient(60deg, #AA94E3 28.44%, #52ADF8 49.48%, #56B8BE 67.86%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;

  @media (width < 767px) {
    position: absolute;
    top: -90px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
    margin: auto;
  }
}

.merit_heading {
  font-family: var(--spr_mincho);
  font-size: var(--font40);
  line-height: 1.4;
  letter-spacing: 0.03em;
  position: relative;
  margin-bottom: 2rem;

  @media (width < 767px) {
    text-align: center;
    font-size: var(--font36);
  }
}

.merit_heading span {
  font-family: var(--spr_mincho);
  font-size: var(--font18);
  font-style: normal;
  font-weight: 300;
  line-height: 1.6;
  display: block;
}

.merit_figure {
  flex: 0 0 40%;
  position: relative;

  @media (width < 767px) {
    font-size: 90px;
    top: -14px;
    left: -6px;
  }
}

.merit_figure img {
  width: 100%;
  height: 340px;
  object-fit: contain;

  @media (width < 767px) {
    height: 220px;
  }
}

/* =====================================================
   future（こだわり・ダーク背景）
   ===================================================== */
.future {
  color: #ffffff;
  /* background-color: rgba(190, 226, 225, 0.18); */
  padding: 3rem;
  padding-bottom: 8rem;
  font-family: var(--spr_mincho);
  text-align: center;
  line-height: 1.7;
  margin-top: 15rem;
  letter-spacing: 0.05em;
  border: none;
  position: relative;
  z-index: 1;

  @media (width < 767px) {
    padding: 1rem;
  }
}

.future::before {
  background-color: #404047;
  position: absolute;
  content: '';
  z-index: 0;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: skewY(-3deg);
  transform-origin: top left;
  z-index: -1;
}

.future_topimg {
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: auto;
  margin-top: -12rem;

  @media (width < 767px) {
    max-width: 320px;
  }
}

.future_title {
  margin-bottom: 5rem;
  text-align: center;
}

.future_title strong {
  text-align: center;
  font-family: var(--spr_mincho);
  font-size: var(--font40);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  background: linear-gradient(60deg, #AA94E3 28.44%, #52ADF8 49.48%, #56B8BE 67.86%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.future_title span {
  font-size: var(--font18);
  display: block;
  margin-bottom: 2rem;
  text-align: center;
}

.future_title p {
  display: block;
  font-size: var(--font24);
  margin-bottom: 1rem;
  text-align: center;
}

.future_list {
  display: flex;
  width: 100%;
  flex-direction: column;
  width: 100%;
  gap: 3rem;

  @media (width < 767px) {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
  }
}

.future_card {
  flex: 1;
  display: flex;
  gap: 3rem;
  max-width: var(--inner-max-width);
  margin: auto;
  align-items: center;
  justify-content: center;

  @media (max-width: 767px) {
    flex-direction: column;
    gap: 2rem;
    max-width: 400px;
    margin: auto;
  }
}

.future_card:nth-child(even) {
  flex-direction: row-reverse;

  @media (max-width: 767px) {
    flex-direction: column;
    gap: 2rem;
  }
}

.future_card_label {
  font-size: var(--font18);
  font-family: var(--sansserif);
  letter-spacing: 0.12em;
  color: #dad4ea77;
  text-align: left;
  font-style: normal;
  font-weight: 400;
  line-height: normal;

  @media (width < 767px) {
    font-size: 0.9rem;
    text-align: center;
  }
}

.future_card_label2 {
  font-size: var(--font18);
  font-family: var(--sansserif);
  letter-spacing: 0.12em;
  color: #BEE2E177;
  text-align: left;
  font-style: normal;
  font-weight: 400;
  line-height: normal;

  @media (width < 767px) {
    font-size: 0.9rem;
    text-align: center;
  }
}

.future_card_title {
  color: #FFF;
  font-family: var(--sansserif);
  font-size: var(--font32);
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.96px;
  text-align: left;
  margin-top: 2.5rem;
  margin-bottom: 1rem;

  @media (width < 767px) {
    font-size: var(--font24);
    text-align: center;
  }
}

.future_card_text {
  text-align: left;
}

.future_card_figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;

  @media (width < 767px) {
    height: auto;
    width: 100%;
    max-width: 220px;
  }
}

/* =====================================================
   Price（料金表）
   ===================================================== */
.price {
  padding: 4rem 2rem;
  padding-bottom: 10rem;
  position: relative;

  @media (width < 767px) {
    padding: 2rem 1rem;
  }
}

.price::before {
  background-color: rgba(190, 226, 225, 0.18);
  position: absolute;
  content: '';
  z-index: 0;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: skewY(-3deg);
  transform-origin: top left;
  z-index: -1;
}

.price_card {
  border: 1px solid var(--Linear, #DAD4EA);
  background: #FFF;
  padding: 3rem;
  margin: 48px auto 0 auto;
}

.price_title {
  font-size: var(--font40);
  font-family: var(--spr_mincho);
  margin-bottom: var(--space64);
  text-align: center;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.02rem;
  color: #000;

  &:last-child {
    margin-bottom: 0;
  }

  @media (width < 767px) {
    font-size: var(--font32);
    margin-bottom: var(--space32);
  }
}

.price_title span {
  font-size: var(--font24);
  display: block;
}

.price_title_icon {
  width: 120px;
  height: 42px;
  object-fit: contain;
  margin: 1rem auto;
  display: block;
}

.price_subtitle {
  font-size: var(--font28);
  font-family: var(--spr_mincho);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 1rem;
  text-align: center;

  @media (width < 767px) {
    font-size: var(--font24);
  }
}

.price_lead {
  text-align: center;
  font-size: var(--font18);
  margin-bottom: 3rem;
  color: #000;
  font-family: var(--spr_mincho);
  font-style: normal;
  font-weight: 400;
  line-height: 1.8;

  @media (width < 767px) {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

.price_list {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: center;
  align-items: center;

  @media (width < 767px) {
    flex-direction: column;
    gap: 1rem;
  }
}

.price_list>li {
  text-align: center;
}

.price_list>li>h4 {
  font-weight: 600;
  margin: 1rem auto 0.5rem auto;
}

.price_item {
  flex: 1;
  background-color: var(--color_bg);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding-bottom: var(--space_md);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);

  @media (width < 767px) {
    display: flex;
    text-align: left;
    padding-bottom: 0;
    align-items: center;
    gap: var(--space_sm);
  }
}

.price_figure {
  @media (width < 767px) {
    flex: 0 0 140px;
  }

  img {
    width: 100%;
    height: 180px;
    object-fit: cover;

    @media (width < 767px) {
      height: 100%;
      min-height: 100px;
    }
  }

  figcaption {
    font-size: var(--font_base);
    font-weight: 500;
    padding: var(--space_sm) var(--space_sm) var(--space_xs);
    color: var(--color_text);

    @media (width < 767px) {
      padding: var(--space_xs) 0 4px;
    }
  }
}

.price_amount {
  font-family: var(--spr_mincho);
  font-size: var(--font_md);
  color: var(--color_primary_dark);
  font-weight: 700;
  letter-spacing: 0.05em;

  @media (width < 767px) {
    padding-right: var(--space_sm);
  }
}

.price_point_list {
  display: flex;
  gap: var(--space32);
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  list-style: none;
  margin: auto;
  max-width: 860px;

  @media (width < 767px) {
    flex-wrap: wrap;
  }
}

.price_point_list>* {
  flex: 0 0 100px;
  background-color: white;
  display: grid;
  place-content: center;
  border-radius: 20px;
}

@media (max-width: 767px) {
  .price_point_list>* {
    flex: 1 1 calc((100% - (2rem * 1)) / 2);
    background-color: white;
    display: grid;
    place-content: center;
    border-radius: 20px;
  }
}

.price_point_list>* p {
  color: #3EB4C7;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  width: 130px;
  height: 130px;
  display: grid;
  place-content: center;
  position: relative;
}

@media (max-width: 767px) {
  .price_point_list>* p {
    height: auto;
    padding: 2rem;
    width: auto;
    font-size: 1.2rem;
  }

  .price_point_list>* p br {
    display: none;
  }

  .price_point_list>*:last-child p {
    padding: 1rem;
    padding-top: 2rem;
  }

  .price_point_list>*:last-child p br {
    display: block;
  }
}

.price_point_list>* p::before {
  content: "";
  background-image: url(images/price_check.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 48px;
  height: 48px;
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  z-index: 0;
  margin: auto;
}

.price_point_list>*:last-child {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  .price_point_list>*:last-child {
    flex-direction: column;
    padding: 0.5rem 0;
    gap: 0;
  }
}

.price_point_list>* img {
  height: 120px;
  width: auto;
}

/* =====================================================
   FAQ（Q&A）
   ===================================================== */
.faq {
  width: 100%;
  margin: 0 auto;
  font-family: var(--sansserif);
  position: relative;

  @media (width < 767px) {
    padding: 2rem 0;
  }
}

.faq .section_inner {
  max-width: 800px;
  padding: 4rem 2rem;
}

.faq::before {
  content: "";
  background-image: url(images/faq_bg.webp);
  background-position: right top;
  background-repeat: no-repeat;
  background-size: 35vw;
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  margin: auto;
}

.faq_list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* --- タイトル --- */
.faq_title {
  font-size: var(--font40);
  font-family: var(--spr_mincho);
  margin-bottom: var(--space64);
  text-align: center;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.02rem;
  color: #000;

  &:last-child {
    margin-bottom: 0;
  }

  @media (width < 767px) {
    font-size: var(--font32);
    margin-bottom: var(--space32);
  }
}

.faq_title span {
  font-size: var(--font24);
  display: block;
}

/* --- Q&A アイテム全体 --- */
.faq_item {
  border-bottom: 1px solid var(--color-faq-border);

  &:first-child {
    border-top: 1px solid var(--color-faq-border);
  }
}

/* --- 質問 (Summary) --- */
.faq_item_q {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  justify-content: flex-start;
  gap: 2rem;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: bold;
  color: white;
  background: #404047;
  flex-grow: 1;

  @media (max-width: 767px) {
    font-size: 16px;
    padding: 0.7rem;
  }

  &::-webkit-details-marker {
    display: none;
  }
}

.faq_item_q>*:last-child {
  margin-left: auto;
}

/* Qのマーク */
.faq_item_q_mark {
  font-family: var(--spr_mincho);
  color: white;
  font-size: 3rem;
  margin-right: 16px;
  font-weight: 200;
  flex-shrink: 0;

  @media (width < 767px) {
    font-size: 24px;
    margin-right: 12px;
  }
}

/* ＋/ー アイコン */
.faq_item_icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;

  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    transform: translateY(-50%);
  }

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: white;
    transform: translateX(-50%);
    transition: transform 0.3s ease;
  }
}

.faq_list details[open] .faq_item_icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq_item_a {
  display: block;
  padding: 1.5rem;
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.8;
  border-left: 1px solid #DAD4EA;
  border-bottom: 1px solid #DAD4EA;
  margin-left: 2rem;
  margin-top: 2rem;

  @media (width < 767px) {
    margin-left: 0;
  }
}

.faq_item_a strong {
  display: block;
  margin-bottom: 1rem;
  width: fit-content;
}

/*---------------------
flow
-----------------------*/
.flow {
  color: #5FC3DB;
  position: relative;
  counter-reset: flow-counter;
  counter-reset: my-counter;
  margin: 4rem 0 12rem 0;
  padding: 5rem 0;
  @media (width < 768px) {
    margin: 2rem 0 5rem 0;
  }
}

.flow .section_inner {
  max-width: 700px;
}

.flow::before {
  content: "";
  background: rgba(218, 212, 234, 0.35);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  margin: auto;
  width: 85vw;
  min-width: 960px;
}

.flow::after {
  content: "";
  background: rgba(218, 212, 234, 0.35);
  position: absolute;
  top: 50px;
  bottom: -50px;
  right: 0;
  z-index: -1;
  margin: auto;
  width: 85vw;
  min-width: 900px;
}

/* --- タイトル --- */
.flow_title {
  font-size: var(--font40);
  font-family: var(--spr_mincho);
  margin-bottom: var(--space64);
  text-align: center;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.02rem;
  color: #000;

  @media (width < 767px) {
    font-size: var(--font32);
  }
}

.flow_subtitle {
  margin: auto;
  color: #000;
  font-family: var(--spr_mincho);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  background-color: white;
  position: relative;
  padding: 0.5rem;
  padding-left: 4rem;
  width: 80%;
  counter-increment: flow-counter;

  @media (width < 768px) {
    font-size: 1.2rem;
  }
}

.flow_subtitle::before {
  content: "";
  content: counter(flow-counter);
  color: #5FC3DB;
  font-family: var(--spr_mincho);
  font-size: 2.2rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  width: 5rem;
  height: 5rem;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1.5rem;
  z-index: 0;
  margin: auto;
  background-color: white;
  display: grid;
  place-content: center;
}

.flow_list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 860px;
  width: 80%;
  margin: 3rem auto;
  gap: 2rem;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  list-style: none;
}

.flow_list>* {
  display: flex;
  gap: 3rem;

  @media (width < 768px) {
    gap: 1.5rem;
  }
}

.flow_list h4 {
  color: #000;
  font-size: 1.2rem;
  font-weight: bold;
  font-family: var(--spr_mincho);
  margin-bottom: 1rem;
}

.flow_list>*::before {
  content: '';
  background-color: white;
  padding: 10px 24px;
  counter-increment: my-counter;
  content: "STEP"counter(my-counter);
  display: grid;
  place-content: center;
}

.flow_list>* p {
  color: #000;
  font-size: 0.9rem;
  line-height: 1.4rem;
}

.flow_figure {
  max-width: 860px;
  margin: 2rem auto;
}

/*---------------------
conclusion
-----------------------*/
.conclusion {
  background: linear-gradient(87deg, #DAD4EA 5.18%, #BEE2E1 51.76%, #FFF 94.9%);
  padding: 3rem 3rem 15rem 3rem;

  @media (width < 767px) {
    padding: 3rem 1rem 15rem 1rem;
  }
}

.conclusion figure {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: auto;
  margin-top: -7rem;
}

.conclusion_inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  border: 1px solid #BEE2E1;
  background: #FFF;
  position: relative;
  padding: 2.5rem 2rem 4rem 2rem;
  margin-top: 6rem;

  @media (width < 768px) {
    padding: 2rem 0.8rem 2rem 0.8rem;
  }
}

.conclusion_text {
  text-align: center;
  line-height: 2.9rem;
  font-size: 1.2rem;
  font-family: var(--spr_mincho);

  @media (width < 768px) {
    font-size: 1rem;
    line-height: 2.4rem;
  }
}

.conclusion_text strong {
  text-align: center;
  line-height: 3rem;
  font-size: 2.2rem;
  margin: 12px auto;
  display: inline-block;

  @media (width < 767px) {
    font-size: var(--font26);
  }
}

.conclusion_cta {
  margin-top: 2rem;
  text-align: center;
  line-height: 2.2rem;
  font-size: 1.2rem;
  font-family: var(--spr_mincho);
}

.conclusion_cta a {
  color: #000;
  text-decoration: underline !important;
}

.marker_grad {
  background: linear-gradient(74deg, rgba(218, 212, 234, 0.70) 0%, rgba(215, 233, 248, 0.70) 38.14%, rgba(190, 226, 225, 0.70) 73.83%);
  display: inline;
}

.conclusion_bigtext {
  font-size: 2rem;
  margin-top: 8px;

  @media (width < 768px) {
    font-size: 1.3rem;
    margin-top: 8px;
  }
}

.footer {
  margin-top: -10rem;
}

@media (min-width: 768px) {
  .sp {
    display: none;
  }
}

@media (max-width: 767px) {
  .pc {
    display: none;
  }
}

/*---------------------
比較表
-----------------------*/
.comparison {
  background-color: #f9f9f9;
  padding: 3rem 2rem;

  @media (width < 767px) {
    padding: 3rem 0.5rem;
    
  }
}

/* 表を囲むラッパー（スクロール制御用） */
.comparison_table_wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 1280px;
}

/* テーブル全体の基本設定 */
.comparison_table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  margin: 3rem auto 1rem auto;
  line-height: 1.6;
  background-color: #fff;
  table-layout: fixed;
}

.comparison_table th,
.comparison_table td {
  border: 1px solid #d3d3d3;
  padding: 15px 10px;
  vertical-align: top;
  word-break: auto-phrase;
}

.comparison_table .col_header {
  font-weight: 600;
  font-family: var(--sansserif);
  font-size: 1rem;
  padding: 2px;
  background-color: #eaeff1;
  color: #333;
  text-align: center;
  vertical-align: middle;
  width: 130px;

  @media (width < 768px) {
    text-align: left;
  }
}

/* 上部の素材名と画像部分 */
.comparison_table thead th {
  padding: 20px 10px;
  vertical-align: bottom;
}

.comparison td span {
  width: 100%;
  padding: 4px 6px;
  font-family: var(--sansserif);
  font-weight: 600;
  margin: 0 auto 8px auto;
  color: #404047;
  font-size: 18px;
  display: grid;
  place-content: center;
}

.material_name {
  display: block;
  margin-bottom: 15px;
  font-size: 16px;
  letter-spacing: 0.1em;
}

.material_img {
  width: 100%;
  max-width: 140px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.material_img_empty {
  width: 100%;
  max-width: 140px;
  height: 105px;
  /* アスペクト比に合わせた高さ */
  margin: 0 auto;
}

.comparison_purpose td {
  font-size: 16px;
  font-weight: 600;

  @media (width < 768px) {
    font-size: 16px;
  }
}

.comparison_table .rank {
  color: #0f94b5;
  font-size: 1.5rem;
  letter-spacing: 0.1em;

  @media (width < 768px) {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
  }
}

.comparison_table_memo {
  font-size: 14px;
  font-weight: 300;
}


@media screen and (max-width: 767px) {
  .comparison_table_wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 10px;
  }

  .comparison_table {
    min-width: 860px;
  }
}

@media (min-width: 768px) {
  .u-sp {
    display: none;
  }
}

@media (max-width: 767px) {
  .u-pc {
    display: none;
  }
}