﻿/* ===== common===== */
:root {
  font-family: -apple-system, BlinkMacSystemFont,
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html, body {
    margin: 0;
    padding: 0;
    background: transparent;
    color: #333;
    overflow-x: clip;
    font-family: "Hiragino Mincho ProN", "ヒラギノ�E朁EProN", "Hiragino Mincho Pro",
               "游明朝", "Yu Mincho", "YuMincho", "MS PMincho", serif;
}

html { 
  scrollbar-gutter: stable; 
}


.body-bg-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

/* -- animation------------------------------------------------------------------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(18px);
  transition: transform .8s cubic-bezier(.2,.6,.2,1), opacity .8s cubic-bezier(.2,.6,.2,1);
  will-change: transform, opacity;
}

[data-reveal="left"]  { transform: translateX(-18px); }
[data-reveal="right"] { transform: translateX(18px);  }
[data-reveal="down"]  { transform: translateY(-18px); }

[data-reveal="fade"]  { transform: none; }

[data-reveal].is-in { opacity: 1; }
[data-reveal="up"].is-in,
[data-reveal="left"].is-in,
[data-reveal="right"].is-in,
[data-reveal="down"].is-in { transform: none; }

[data-reveal="left-nofade"]  {
  opacity: 1;
  transform: translateX(-105%);
  transition: transform 1.6s cubic-bezier(.16,.84,.24,1);
}
[data-reveal="left-nofade"].is-in { transform: none; }

.hero [data-reveal="up"]:not(.is-in){
  transform: translateY(24px);
}
.hero [data-reveal="up"]{
  transition: transform .9s cubic-bezier(.2,.6,.2,1), opacity .9s cubic-bezier(.2,.6,.2,1);
}

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1; transform:none; transition:none; }
}

/* -- PC ------------------------------------------------------------------- */
.sp-container{
  max-width: 620px;
  margin-inline: auto;
  position: relative;
  z-index: 9999;
}

.pc-container{
  display: none;
  pointer-events: none;
}

@media (min-width: 620px){
  .pc-container{
    display: block;
   }

  .pc-left, .pc-right{
  position: fixed;
  top: 0;
  bottom: 0;
  width: calc((100vw - 620px) / 2);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  pointer-events: none;
  z-index: 5;
}
  
  .pc-left{
    left: 0;
    background: url("images/hero/pc-bg-left.png");
  }

  .pc-right{
    right: 0;
    background-image: url("images/hero/pc-bg-right.png");
  }

  .sp-container{
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin-inline: auto;
    background: transparent;
  }
}

@media (min-width: 620px){
  .open-campaign__bar,
  .campaign__bar{
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: static;
    left: auto;
    transform: none;
  }
}

/* -- Header ------------------------------------------------------------------- */
.site-header {
  position: static; 
  top: auto; 
  z-index: 50;
  background: #ffffff;
  padding-top: env(safe-area-inset-top);
}

.site-header__inner {
  max-width: 780px; 
  margin: 0 auto;
  display: flex; 
  align-items: stretch; 
  justify-content: space-between;
}

.brand { 
  display:flex; 
  align-items:center; 
  gap:10px; 
  text-decoration:none; 
}

.brand__icon {
  width:144px; 
  height:48px; 
  display:block; 
  object-fit:contain;
  margin: 15px 0 15px 30px;
}
.header-cta {
  display:inline-flex; 
  align-items:center; 
  justify-content:center;
  padding:0 25px;
  min-height:40px; 
  min-width:132px;
  font-size:18px; 
  font-weight:700; 
  letter-spacing:.04em;
  color: #fff;
  background: #3a6fb3;
  text-decoration:none;
}
.header-cta:active { transform: translateY(1px); }

@media (max-width: 420px) {
  .site-header__inner {
    padding: 0;
    gap: 8px;
  }
  .brand__icon {
    width: 80%;
    height: auto;
    margin: 10px 5px;
    padding: 5px 10px;
    object-fit: contain;
  }
  .header-cta {
    flex: 0 1 auto;
    padding: 10px 12px;
    min-width: auto;
    font-size: clamp(14px, 3.8vw, 16px);
    letter-spacing: .02em;
    white-space: nowrap;
  }
}

/* -- Hero ------------------------------------------------------------------------- */

.hero [data-reveal]:not(.hero__hex):not(.price-card) {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  aspect-ratio: var(--hero-ar, 629/1003);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .95;
}

.hero__img{
  display:block;
  width:100%;
  height:100%;
  object-fit: contain;
  object-position: top center;
  opacity:.95;
  background-color:#e6f4fb;
}

@media (max-width: 480px) {
  .hero {
    position: relative;
    height: auto;
    margin-top: 0;
    overflow: hidden;
    background: #e6f4fb;
  }

  .hero__img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center; 
    opacity: .95;
    background-color: #e6f4fb;
  }
}

.hero__content-wrapper {
  position: absolute;
  top: auto;
  bottom: var(--hero-cta-bottom, 3.5%);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 83%;
  max-width: 500px;
}

/* Hero CTA */
.hero__cta {
  display: block;
  width: min(440px, 82%);
  margin: 0 auto;
  text-decoration: none;
  aspect-ratio: var(--hero-cta-ar, 1008/297);
}

.hero__cta img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* revert guard: hide duplicate CTA inside hero wrapper */
.hero__content-wrapper .hero__cta + .hero__cta { display: none; }
.hero__content-wrapper > a.cta { display: none; }
/* Hide the legacy standalone CTA inside hero wrapper (we overlay on card) */
.hero__content-wrapper > .hero__cta { display: none; }

.hero__hex {
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 586/209;
}

.price-card{
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 681/549;
}

.price-card__img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.price-card .hero__cta{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 6%;
  z-index: 2;
  width: min(440px, 80%);
  aspect-ratio: var(--hero-cta-ar, 1008/297);
  animation: none !important;
}

@media (max-width: 480px){
  .price-card{ --cta-bottom: 10%; }
  .price-card .hero__cta{ width: 80%; bottom: 6%; }
}

.price-card .hero__cta img{
  transform-origin: center center;
  animation: ctaPulse 2s cubic-bezier(.2,.7,.2,1) infinite;
  animation-play-state: paused;
}

.price-card .hero__cta.is-inview img{ animation-play-state: running; }


/* -- お悩みセクション--------------------------------------------------------------- */
.troubles{
  background: #b2c3f8;
  position: relative;
  border-top: 10px solid #757d98;
  overflow: hidden;
}

.troubles__inner{
  max-width: 720px; 
  margin: 0 auto; 
  padding: 0 32px; 
  position: relative; 
  z-index: 2;
}

.troubles__dots{
  display:block;
  width: clamp(160px, 100%, 560px);
  height:auto;
  margin: 24px auto 16px;
}

@media (max-width: 959px){
  .troubles__dots{
    margin-left: calc(50% - 60dvw + var(--page-gutter, 16px));
  }
}

@media (min-width: 960px){
  .troubles__dots{
    margin-left: 0;
  }
}

/* 写真 */
.troubles__photo{
  width:85%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  box-shadow: 0 8px 14px rgba(0,0,0,.08);
  margin: 12px 0 20px auto;
  overflow: hidden;
}

.troubles__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
}

.troubles__card{
  position: relative;
  width: 95%;
  background:#fff;
  border-radius: 35px;
  box-shadow: 3px 3px 6px rgba(0,0,0,.16);
  padding: 20px 25px;
  margin: 12px auto 30px 0;
}
.troubles__card::after{
  content:"";
  position:absolute; right: 46px; top: -12px;
  width: 36px; height: 22px; background:#fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.10));
}

.troubles__list{ 
 --icon-scale: 1.5;
  --gap: .5em;
  --y-pad: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.troubles__list li{
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding: var(--y-pad) 8px;
  position: relative; 
  font-size: clamp(10px, 3vw, 18px);
  line-height: 0.7; 
  letter-spacing:.02em;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: currentColor;
  text-underline-offset: .45em;
  text-decoration-thickness: .08em;
  text-decoration-skip-ink: auto;
}

.troubles__check{
  width:  calc(1em * var(--icon-scale));
  height: calc(1em * var(--icon-scale));
  flex: 0 0 calc(1em * var(--icon-scale));
  object-fit: contain;
  display: block;
}


/* -- compare ------------------------------------------------------------------------- */
.compare{
  position: relative;
  isolation: isolate;
  background:url("images/compare/compare.png") center / cover no-repeat;
}

.compare__top, .compare__inner {
  position: relative;
  z-index: 1;
}

.compare__inner{
  max-width: 720px; 
  margin: 0 auto; 
  padding: 0 16px; 
  text-align: center;
}

.compare__top-arrow {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  transform: translateY(-1px);
}

.compare__ribbon-img{
  display:block;
  width: clamp(280px, 92%, 720px);
  height:auto;
  margin: 0 auto 16px;
  line-height:0;
}

.compare__title{
  text-align:center; 
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 700; 
  line-height:1.35; 
  letter-spacing:.04em;
  color:#2f2f2f;
  text-shadow: 0 1px 0 #fff;
  white-space: nowrap;
}

.compare__photos{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 100%;
  margin: 0 20px;
}

.shot{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.shot__img{
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

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

}


.shot__note-img{
  display: block;
  max-width: 95%;
  height: auto;
}

.shot__arrow-img {
  position:absolute; 
  left:40%; 
  top: 0; 
  width: 84px; 
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.compare__banner-img{
  display:block;
  width: 100%;
  height:auto;
  margin: 24px 0;
  line-height:0;
}

@media (max-width: 360px){
  .compare__photos{ gap: 12px; }
  
  .compare__title{ font-size: 24px; }
}

/* -- Reasons ---------------------------------------------------------------------------------*/
.reasons{
  position: relative; /* For child absolute positioning */
  overflow: hidden; /* To contain decorative elements */
  background-color: transparent;
}

.reasons__leaf-bg {
  position: absolute;
  top: 60px;
  left: -15px;
  width: 145px;
  height: auto;
  z-index: 1;
  opacity: 0.3;
}

.reasons__top-arrow{
  display: block;
  width: clamp(100px, 10vw, 520px);
  height: auto;
  margin: clamp(16px, 5vw, 32px) auto 0;
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.reasons__kv{
  position: relative;
  max-width: 720px;
  margin: 0 auto 30px;
  padding: 0 6vh;
  z-index: 2;
}

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

.reasons__group{
  position:relative; 
  max-width:720px; 
  padding:18px 20px 24px;
}

.reasons__group--bgB{
  padding:18px 20px 0px;
}

.reasons__group-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1; /* 不透�Eに変更 */
}

.reasons__group-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0.7; /* 70%透過 */
  pointer-events: none; /* 背景扱ぁE��してクリチE��などを透過 */
}

/* 琁E��カーチE*/
.reason{
  position:relative; 
  overflow:hidden;
  background:#fff; 
  border-radius:22px;
  box-shadow:5px 5px 5px 0px rgba(0,0,0,.3);
  padding:10px 16px 10px; 
  margin:24px 12px;
}

img.reason__1, img.reason__3{
  position: absolute;
  left: 2vh;
  top:  -1vh;
  width: 10vh;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.5));
  opacity: 0.5;
}

img.reason__2, img.reason__4{
  position: absolute;
  right: 2vh;    /* 白ボックスの冁E�Eからの距離 */
  top:  -1vh;  /* 見�Eし�E縦位置に合わせて微調整 */
  width: 10vh;   /* 端末幁E��自動拡大縮封E*/
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.5));
  opacity: 0.5;
}

.reason__title{
  margin:15px 2rem 8px; 
  padding-bottom:4px;
  padding-right: 20px;
  text-align: center;
  font-size: 3.5vh; 
  line-height:1.3; 
  font-weight:700;
  color:#9f7c2a; 
  border-bottom:2px solid rgba(209,176,102,.45);
  text-wrap: nowrap;
}

.reason__title4{
  margin:2px 2rem 8px; 
  padding-bottom:4px;
  text-align: center;
  font-size: 4.5vh; 
  line-height:1.3; 
  font-weight:700;
   border-bottom:2px solid rgba(209,176,102,.45);
  color:#9f7c2a;
  text-wrap: nowrap;
}

.reason__title .plus{ 
  font-weight:700; 
  font-size:1.05em; 
}

.reason__sub{ 
  margin:6px 0 2px; 
  font-size: clamp(0.5rem, 4vw, 1.2rem); 
  color:#8a784d; 
  letter-spacing:.02em;
  text-align: center;
  font-weight: 700; 
  white-space: nowrap;
}

.reason__sub4{ 
  margin:6px 0 2px; 
  font-size: clamp(1rem, 4vw, 1.6rem); 
  color:#8a784d; 
  letter-spacing:.02em;
  text-align: center;
  font-weight: 700; 
  white-space: nowrap;
}

@media (max-width:360px){
  .reason__title{ font-size:20px; }
  .reason__num{ font-size:56px; }
}

/* PCのみ中央寁E�� */
@media (min-width: 960px){
  .reasons__group.reasons__group--bgA,
  .reasons__group.reasons__group--bgB{
    margin-left: auto;
    margin-right: auto;     /* ←幁E��max-widthなので中央に揁E�� */
    /* 任意：見た目を安定させたぁE��吁E*/
    width: min(720px, 100%); /* 既存�Emax-widthぁE20pxなら不要でも可 */
  }

  /* 背景画像�E見せ方も中央基準に */
  .reasons__group .reasons__group-bg-img{
    object-position: center center; /* coverの基準を中央に */
  }
}

.reasons__bottom-arrow{
  display: block;                 /* imgをブロチE��匁E*/
  width: clamp(80px, 10vw, 520px);/* 画面に応じて伸縮�E�最封E60px/最大520px�E�E*/
  height: auto;                   /* 縦横比キーチE*/
  margin: 16px auto 16px; /* 上だけ余白�E�左右オートで中央 */
  max-width: 100%;                /* 親より大きくならなぁE��険 */
}

.reason__accordion {
  display: flex;
  flex-direction: column;
}

.reason__accordion-trigger {
  position: relative;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 100%;
}

.reason__accordion-icon {
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-60%);
  font-size: 3rem;
  font-weight: 700;
  color: #9f7c2a;
}

.whitening__title{
  margin: 20px auto 12px;
  text-align: center;
  line-height: 1;
}

.whitening__title-img{
  display: block;
  width: 80%;
  height: auto;
  margin-inline: auto;
}

/* スマ�Eもう少し余白をタイトに */
@media (max-width: 480px){
  .whitening__title{ margin: 16px auto 8px; }
  .whitening__title-img{ width: min(65vw, 560px); }
}

/* アクセシビリチE��用チE��ストを視覚的に隠ぁE*/
.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.whitening__box {
  margin: 0px auto 30px;
  padding: 0 20px 20px;
  border-bottom: 1.5px dotted #1e2f57;
}

.whitening__subtitle {
  text-align: center;
  font-size: 2.5vw;
  font-weight: bold;
  white-space: nowrap;
  letter-spacing: -0.1em;
  display: inline-block;
  width: max-content;
  margin: 0 auto 15px;
  padding: 0 .35em;
  background: linear-gradient(transparent 10%, #fff9c4 0);
}

@media (max-width: 480px) {
  .whitening__subtitle {
    font-size: 3vw;
  }
}

.whitening__content {
  display: flex;
  flex-direction: row; /* 横並びに変更 */
  align-items: center; /* 垂直方向�E中央揁E�� */
  gap: 15px;
}
.whitening__content p {
  flex: 1; /* 残りのスペ�Eスをすべて使用 */
  min-width: 0; /* はみ出し防止 */
  text-align: left;
  font-size: 0.6rem;
}

.whitening__content p strong {
  color: #0072ce;
  font-size: 0.7rem;
}
.whitening__machine {
  flex: none; /* 固定幁E*/
  width: 20%;
  height: auto;
}
.note {
  font-size: 0.65rem;
  display: inline-block;
  text-align: center;
  color: #C21A1A;
  font-weight: 700;
}

.small {
  font-size: 0.8rem;
  display: block;
}

.whitening__result {
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
  border-bottom: 1.5px dotted #1e2f57;
}
.whitening__result .lead {
  margin-bottom: 25px;
  font-weight: 700;
}
.highlight {
  color: #0072ce;
  font-weight: bold;
}

.whitening__check-box {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

/* whitening__check-contentの基本設宁E*/
.whitening__check-content {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 15px;
}

/* 1つ目のボックスの中身 (チE��スチE| 画僁E */
.whitening__check-box:not(.whitening__check-box--alt) .whitening__check-content {
  flex-direction: row-reverse;
}

/* 2つ目のボックスの中身 (画僁E| チE��スチE */
.whitening__check-box--alt .whitening__check-content {
  flex-direction: row;
}
.whitening__check-content p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
}
.whitening__smile,
.whitening__treatment {
  max-width: 40%; /* 画像が大きくなりすぎなぁE��ぁE��幁E��制陁E*/
  height: auto;
  border-radius: 10px;
  padding: 0 5px;
}
.whitening__check-content ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.whitening__check-content li {
  position: relative;
  margin-bottom: 5px;
  padding-left: 1.2em; /* アイコン刁E�Eスペ�Eスを確俁E*/
  font-size: 0.5rem;
  font-weight: 700;
}
.whitening__check-content li::before {
  content: "";
  position: absolute;
  left: 0;
  color: #0072ce; /* 青系のチェチE��マ�Eク */
}

/* レスポンシブ！EC向け調整�E�E*/
@media (min-width: 768px) {
  .whitening__content {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }
  .whitening__content p {
    max-width: 60%;
  }

  .whitening__check-box {
    align-items: center;
  }
  .whitening__check-content {
    display: flex;
    flex-direction: column;
  }
  .whitening__smile,
  .whitening__treatment {
    max-width: 300px;
  }
}

.reason__sub--accent {
  color: #C21A1A;
}

.reason__sub--large {
  font-size: 2em;
}

.map-title {
  color: #0a3aa4;
  margin-bottom: 10px;
  text-align: center;
}

.map-points p, .reason-pointbox p {
  font-size: 0.7rem;
  margin: 0 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.reason-late-title {
  color: #0a3aa4;
  margin-bottom: 10px;
  text-align: center;
  font-size: 1.5rem;
}

.map-points, .reason-pointbox{
  margin-bottom: 20px;
}

/* まとめ画僁E*/
.reason-gallery {
  margin: 0 auto 28px;
  max-width: 900px;        /* 適度な横幁E��御 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.reason-gallery img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 2rem;
}

/* -- 新規オープンキャンペ�Eン ---------------------------------------------------------------- */
.open-campaign{
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 24px;
}

/* 青い見�Eし帯 */
.open-campaign__bar{
  width: 100vw;
  position: relative;
  left: 49%;
  transform: translateX(-50%);
  margin: 0 0 18px;
  padding: 0;
  background: none;          /* 旧グラチE��景を無効匁E*/
  border-radius: 0;
  line-height: 0;            /* h2の行高による隙間を消す */
  box-shadow: none;          /* 画像に影が描かれてぁE��ば不要E*/
}

.open-campaign__bar img{
  display: block;
  width: 100%;
  height: auto;
  /* 影が欲しけれ�E↓を有効匁E  filter: drop-shadow(0 8px 18px rgba(34,80,160,.24));
  */
}

/* -- キャンペ�Eン価格ボックス�E�ETMLに対応！E-- */
.offer-card{
  position:relative;
  width: min(100%, 720px);
  margin: 0 auto;
  overflow: hidden;
}

.offer-card__img{
  display:block;
  width: 100%;
  height:auto;
  margin: 0 auto;
}

/* ラチE�E�E�位置決め�E基溁E*/
.offer-wrap{
  position: relative;
  width: 100%;   /* カード幁E��追征E*/
  margin-inline: auto;  /* センターに配置してぁE��場吁E*/
}

.offer-card__leaf{
  position: absolute;
  right: -30px;           /* 右に少しはみ出ぁE*/
  top:70%;
  transform: translateY(-50%) rotate(-2deg);
  width: 120px;           /* 仕上がりに合わせて調整 */
  opacity: .9;
  pointer-events: none;
}

/* CTAボタン */
.campaign__cta{
  padding: 4px 20px 10px;
  text-align:center;
  background:#ffffff;
}

.btn-campaign{
  display:inline-block;
  min-width:min(75%, 360px);
  padding:4px 28px;
  border-radius:999px;
  font-weight:700;
  font-size: clamp(16px, 5vw, 24px);
  letter-spacing:.06em;
  text-decoration:none;
  color:#ffffff;
  background:#e24c6f;
  box-shadow: 3px 3px 3px rgba(0,0,0,rgba(0,0,0,.16));
}
.btn-campaign:active{ transform: translateY(1px); }

/* タブレチE��以丁E*/
@media (min-width: 768px){
  .campaign__head{ padding:22px 24px; }
  .campaign__price{ padding:24px 24px 10px; }
  .campaign__ribbon{ width:110px; }
}

/* -- Flow section (mobile-first) ------------------------------------------------------------*/
:root{
  --c-bg: #f7f9fb;
  --c-card: #fff;
  --c-text: #333;
  --c-sub: #5a6a85;
  --c-accent: #b99854; /* 見�EしラインのゴールチE*/
  --radius: 16px;
  --shadow: 0 6px 24px rgba(0,0,0,.08);
  --container-px: 20px;
  --maxw: 960px;
  /* 後から�Eれる背景画像！ERLを指定するだけで反映�E�E*/
  --bg-deco-top: none;    /* url("./img/flow-leaf-top.png") など */
  --bg-deco-side: none;   /* url("./img/flow-leaf-side.png") など */
}

.flow{
  position: relative;
  padding: 48px 0 64px;
  overflow: hidden;
  font-family: "Hiragino Mincho ProN","Yu Mincho","YuMincho",serif;
  color: #333;
}

/* 背景チE��。画像を置ぁE��めE--bg-deco-* めEURL に変えるだぁE*/
.flow::before,
.flow::after{
  content:"";
  position: absolute;
  pointer-events: none;
  opacity: .18;
  background-repeat: no-repeat;
  background-size: contain;
}
.flow::before{
  top: -20px; left: -10px;
  width: 220px; height: 220px;
  background-image: var(--bg-deco-top);
}
.flow::after{
  right: -40px; bottom: 10%;
  width: 260px; height: 260px;
  background-image: var(--bg-deco-side);
}

/* 背景葉っぱのレイヤー */
.flow__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;      /* クリチE��めE��クロールの邪魔をしなぁE*/
}

/* 共通（裁E��画像！E*/
.flow__leaf {
  position: absolute;
  display: block;
  width: 180px;              /* 初期サイズ�E�忁E��に応じて調整 */
  height: auto;
}

/* 4枚それぞれ個別に微調整できまぁE*/
.flow__leaf1 {               /* 左丁E*/
  top: 250px;
  left: -30px;
  width: 100px;
}
.flow__leaf2 {               /* 右上寁E�� */
  top: 35%;
  right: -40px;
  width: 120px;
  opacity: 0.8;
}
.flow__leaf3 {               /* 左下寁E�� */
  bottom: 40%;
  left: -10px;
  width: 120px;
  opacity: 0.8;
  transform: rotate(-20deg);        /* ↁE少し回転 */
  transform-origin: 50% 50%;       /* 回転の支点�E�忁E��なら調整�E�E*/
}
.flow__leaf4 {               /* 右丁E*/
  bottom: 100px;
  right: -45px;
  width: 200px;
}
.flow__leaf5 {               /* 左丁E*/
  bottom: 5%;
  left: -20px;
  width: 120px;
  opacity: 0.8;
}


.flow__inner{
  background: rgb(255 255 255 / 0.92); /* 8%だけ透過、E.9、E.96で好みに調整 */
  border-radius: 20px;         /* 角丸 */
  box-shadow: 0 8px 24px rgba(0,0,0,.08); /* 影 */
  padding: 32px 20px;          /* 冁E�E余白 */
  width: min(100% - var(--container-px)*2, var(--maxw));
  margin-inline: auto;
  position: relative; 
  z-index: 1;  /* コンチE��チE��前面に */

}

.flow__header{
  text-align: center;
  margin-bottom: 28px;
}
.flow__title{
  line-height: 1.2;
}

.flow__title-ja{
  display: block;
  font-size: clamp(22px, 7.5vw, 48px);
  margin-bottom: 6px;
}
.flow__title-en{
  display: block;
  color: #3E5A8A;
  font-size: 13px;
  letter-spacing: .2em;
}

/* Cards */
.flow__cards{
  display: grid;
  gap: 20px;
}

.flow-card{
  background: var(--c-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 12px 10px;
  width: min(80%, 520px); /* カード�E実幁E��お好みで調整�E�E*/
}

.flow-card:nth-child(2) {
  margin-left: auto;
}

.flow-card__step{
  font-size: 1.2rem;
  color: #b99854;
  line-height: 1.5;
  margin-bottom: 18px;
  margin-top: 0;
  border-bottom: 2px solid #b99854;
  text-align: center;
}

.flow-card__media{
  width: 100%;
  overflow: hidden;
  margin: 0 0 12px;
}
.flow-card__media img{
  width: 100%;
  object-fit: cover;
  display: block;
}

.flow-card__desc{
  font-size: 14.5px;
  text-align: center;
  font-weight: 700;
  margin: 0;
}

.flow-card__list{
  margin: 0;
  padding-left: 1.2em;
  font-size: 14.5px;
  line-height: 1.9;
  font-weight: 700;
}
.flow-card__list li+li{ margin-top: 2px; }

/* -- Before After ---------------------------------------------------------------------- */

/* セクション余白 */
.beforeafter{
  padding: 0;
}

/* 中央寁E���E�E��右余白 */
.beforeafter__inner{
  width: min(100%, 1040px);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
}

/* 画像をそ�Eまま等倍縮小で表示�E��Eみ出し防止�E�E*/
.beforeafter__img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;              /* 角丸�E�不要なら削除�E�E*/
  box-shadow: 0 8px 24px rgba(0,0,0,.08); /* 影�E�不要なら削除�E�E*/
}

/* Before/After: �R�����g�摜��x�[�X�摜��ɏd�˂� */
.beforeafter__comment{
  /* positioned by wrapper */
  z-index: 2;
  display: block;
  width: 80%;
  height: auto;
  max-width: none;
  pointer-events: none; /* �N���b�N�����ז����Ȃ� */
}

/* Wrapper: center and position */
.beforeafter__comment-wrap{
  position: absolute;
  left: 49%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  width: 80%;
}
.beforeafter__comment-wrap.beforeafter__comment--1{ top: var(--ba-c1-top, 40%); }
.beforeafter__comment-wrap.beforeafter__comment--2{ top: var(--ba-c2-top, 84%); }
/* Before/After: comment1 width controlled by wrapper; image fits parent */
.beforeafter__comment-wrap.beforeafter__comment--1{ width: var(--ba-c1-width, 80%); }
.beforeafter__comment-wrap.beforeafter__comment--1 .beforeafter__comment{ width: 100%; }
/* Before/After: comment2 width controlled by wrapper; image fits parent */
.beforeafter__comment-wrap.beforeafter__comment--2{ width: var(--ba-c2-width, 80%); }
.beforeafter__comment-wrap.beforeafter__comment--2 .beforeafter__comment{ width: 100%; }

/* Before/After: ���X���C�h�p�̃X�^�b�K�[�i�摜�ɓK�p�j */
.beforeafter__comment-wrap.beforeafter__comment--1 .beforeafter__comment{ transition-delay: .08s; }
.beforeafter__comment-wrap.beforeafter__comment--2 .beforeafter__comment{ transition-delay: .16s; }/* --- Reviews ---------------------------------------------------------------------- */
.section-reviews{
  position: relative;
  isolation: isolate;         /* 背景の重なり制御 */
  padding: 56px 0;
  color: var(--c-text);
}

.reviews-inner{ 
  margin-inline: auto; 
}

.reviews-head{
  text-align: center;
  margin-bottom: 20px;
}

.reviews-title{
  display: block;
  font-size: clamp(22px, 7.5vw, 48px);
  margin-bottom: 6px;
}

.reviews-sub{
  display: block;
  color: #6c7a93;
  font-size: 13px;
  letter-spacing: .2em;
  margin: 0;
}

/* カード�Eスマ�E1刁EↁEタブレチE��以上で2刁E*/
.reviews-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 30px;
}
.review-card{
  margin: 0;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid #ccc;
}
.review-card img{
  display: block;
  width: 100%;
  height: auto;
  /* チE��イン比率に近づけたぁE��合�E固定比率も可 */
  aspect-ratio: 4 / 5;        /* 好みで変更 */
  object-fit: cover;
}

/* 説明文 */
.reviews-note{
  text-align: center;
  line-height: 1.8;
  margin: 18px 0 22px;
  font-size: clamp(14px, 3.6vw, 16px);
  font-weight: 700;
}

/* CTAボタン�E�大きめ・角丸�E�E*/
.reviews-cta-wrap{ text-align: center; }
.btn-cta{
  display: inline-block;
  padding: 16px 28px;
  min-width: 78%;
  border-radius: 999px;
  background: #e24c6f;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(16px, 6vw, 48px);
  text-decoration: none;
  box-shadow: 3px 3px 6px rgba(0,0,0,.16);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn-cta:active{ transform: translateY(1px) scale(.99); }
.btn-cta:hover{ opacity:.95; }

/* ====== PCレイアウト調整 ====== */
@media (min-width: 768px){
  .reviews-grid{
    gap: 24px;
    margin-top: 24px;
  }
  .reviews-note{ margin: 22px 0 28px; }
  .btn-cta{ min-width: 520px; }
}

/* -- FAQ (Mobile-first) ------------------------------------------------------ */
:root{
  --c-text:#2b2f32;
  --c-blue:#3a6391;
  --c-line:#c9d5e4;
  --radius:14px;
  --shadow:0 8px 24px rgba(28,53,84,.12);
}

.faq-section{
  padding:28px 16px 40px;
}

.faq-card{
  background:#fff;
  border-radius:20px;
  box-shadow:var(--shadow);
  max-width:960px;
  margin-inline:auto;
  padding:20px 14px;
}

.faq-title{
  text-align:center;
  line-height:1.2;
  color:var(--c-text);
  margin:6px 0 14px;
  font-weight:700;
}
.faq-title span{
  display:block;
  font-size:1.6rem; /* ≁E25 E6px */
  letter-spacing:.06em;
}
.faq-title small{
  display:block;
  font-size:.9rem;
  color:var(--c-blue);
  letter-spacing:.12em;
  margin-top:4px;
}

.faq-list{
  margin-top:8px;
}

/* item */
.faq-item{
  border-top:1px solid var(--c-line);
}

.faq-item:last-of-type{
  border-bottom:1px solid var(--c-line);
}

.faq-q{
  list-style:none; /* details の三角を消す */
  display:flex;
  align-items:center;
  gap:1rem;
  padding:14px 18px;
  cursor:pointer;
  font-weight:600;
  color:var(--c-blue);
  position:relative;
  font-size: clamp(15px, 4.6vw, 20px)
}

/* 右の▼アイコン */
.faq-caret{
  margin-left:auto;
  width:0; height:0;
  border-left:7px solid transparent;
  border-right:7px solid transparent;
  border-top:9px solid var(--c-blue); /* ▼ */
  transition:transform .25s ease;
}

/* 開閉時�E回転 */
.faq-item[open] .faq-caret{
  transform:rotate(180deg);
}

.faq-a{
  position: relative;
  padding:0 6px 14px 40px; /* Qバッジ刁E��ンチE��チE*/
  color:var(--c-text);
  line-height:1.8;
  font-size:.95rem;
}

.faq-a::before {
  content: 'A';
  position: absolute;
  left: 18px;
  top: 0;
  color: #d82828;
  font-weight: 700;
  font-size: 1.3rem;
}

/* --Campaign Section (Mobile First) ---------------------------------------------------*/

/* 上部ゴールド帯�E�画像表示�E�E*/
.campaign__bar{
  width:100vw;
  position:relative;
  left: 49%;
  transform:translateX(-50%);
}
.campaign__bar-img{
  display:block;
  width:100%;
  height:auto;
}

/* カード（画像土台�E�テキスト重ね�E�E*/
.deal-card{
  position:relative;
  margin:0 auto 24px;
  max-width:680px;
  padding:0;
  background:none;
  border:0;
  box-shadow:none;
}
.deal-card__img{
  display:block;
  width:100%;
  height:auto;
  pointer-events:none;
}

/* CTA */
.cta-btn{
  display:block;
  text-align:center;
  background:linear-gradient(180deg,#FF6F9A 0%,#E54773 60%,#c73860 100%);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  border-radius:999px;
  padding:16px 5px;
  margin: 10px 45px;
  font-size:clamp(16px,5.5vw,32px);
  box-shadow:3px 3px 6px rgba(0,0,0,.16), inset 0 -3px 0 rgba(0,0,0,.08);
}

.cta-btn:active{transform:translateY(1px)}


/* --Access Section (Mobile First) ===============================================*/
.section-access {
  padding: 60px 16px 20px;
}

.access-inner {
  max-width: 980px;
  margin: 0 auto;
}

.access-head {
  text-align: center;
  margin-bottom: 20px;
}

.access-eyebrow {
  font-size: 1.2rem;
  letter-spacing: .08em;
  color: #4b77a8;
  margin: 0;
  font-weight: 700;
}
.access-title {
  font-size: 28px;
  line-height: 1.2;
  margin: 4px 0 6px;
}
.access-sub {
  font-size: 18px;
  color: #333;
  font-weight: 700;
}

/* 惁E��チE�Eブル�E�Elをカード風に�E�E*/
.access-table {
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  overflow: hidden;
  margin: 16px 18px 20px;
}

.access-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0;
}

.access-row dt {
  background: #dfe9f6;         /* 左の淡青帯 */
  color: #123b66;
  font-weight: 600;
  padding: 14px 12px;
  font-size: 14px;
}

.access-row dd {
  margin: 0;
  padding: 14px 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #222;
  word-break: break-word;
}

.access-row + .access-row dd,
.access-row + .access-row dt {
  border-top: 1px solid #e9eef5;
}

.access-row a {
  color: #0a6fb7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 地図 */
.access-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  background: #f4f7fa;
  position: relative;
}

/* 画像利用晁E*/
.access-map img {
  display: block;
  width: 100%;
  height: auto;
}

/* Google Maps埋め込みを使ぁE��合�E iframe の高さを比率で確俁E*/
.access-map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9; /* モバイルで見やすい比率 */
  border: 0;
}

/* Tablet / PC */
@media (min-width: 768px) {
  .access-title { font-size: 32px; }
  .access-row { grid-template-columns: 140px 1fr; }
  .access-row dt { font-size: 15px; padding: 16px 14px; }
  .access-row dd { font-size: 16px; padding: 16px 18px; }
}

/* -- Footer ----------------------------------------------------------------------------------------------------- */
.footer {
  position: relative;
  isolation: isolate;                
  text-align: center;
  color: #5a74b7;
  background:
    linear-gradient(rgba(106, 133, 186, 0.22), rgba(106, 133, 186, 0.22)),
    center/cover no-repeat;
  padding: 32px 16px 0;
  overflow: hidden;
}

.footer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: -2;
  object-position: center;
}

.footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: #5a74b7;
  opacity: .9;
}

.footer__inner {
  max-width: 980px;
  margin-inline: auto;
}

.footer__lead {
  margin: 32px 0;
  line-height: 1.4;
  font-family: "Hiragino Mincho ProN", "游明朝佁E", YuMincho, serif;
  font-weight: 600;
  font-size: clamp(22px, 6.2vw, 44px);
  letter-spacing: .06em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.footer__copy {
  display: inline-block;
  font-size: clamp(11px, 3.2vw, 14px);
  letter-spacing: .04em;
  opacity: .95;
  color: #5a74b7; /* 靁E*/
  padding-bottom: 10px;
}

.footer-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: none;
  background: transparent;
  padding: 2px 15px;
  padding-bottom: env(safe-area-inset-bottom);

  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s ease, opacity .28s ease;
  overflow: hidden;
}

.footer-cta.is-visible{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.footer-cta img {
  display: block;
  width: 100%;
  height: auto;

}

.footer-cta::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  width: 100%;
  transform: translateX(-180%) skewX(-16deg);
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 37.4%,         /* ���t�F�[�h�J�n�i1.5x �����j */
    rgba(255,255,255,0.10) 43.4%,      /* �t�F�[�h�i�K1�i��46% �� 43.4%�j */
    rgba(255,255,255,0.22) 46.4%,      /* �t�F�[�h�i�K2�i��48% �� 46.4%�j */
    rgba(255,255,255,0.34) 48.7%,      /* �t�F�[�h�i�K3�i��49.5% �� 48.7%�j */
    rgba(255,255,255,0.75) 49.4%,      /* ���R�A�J�n�i1.2x �����E�E�[�����u���j */
    rgba(255,255,255,0.75) 53.0%,      /* ���R�A�I���i�E�[���̂܂܁j */
    rgba(255,255,255,0) 53.1%,         /* �E�[�̓V���[�v�ɗ��Ƃ� */
    rgba(255,255,255,0) 100%);
  pointer-events: none;
  will-change: transform;
}

.footer-cta.shine-on::after{
  animation: footerCtaShine .9s cubic-bezier(.22,.61,.36,1) 1 both;
}

@keyframes footerCtaShine{
  from { transform: translateX(-180%) skewX(-16deg); }
  to   { transform: translateX(180%)  skewX(-16deg); }
}

@media (prefers-reduced-motion: reduce){
  .footer-cta::after { content: none; }
  .footer-cta.shine-on::after { animation: none; }
}

@media (max-width: 768px) {
  .footer-cta {
    display: block; 
  }
 }

.cta-bg-space {
  display: none;
  background: #ffffff;
}

@media (max-width: 768px) {
  .cta-bg-space {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }


  .cta-bg-space.bg-visible {
    opacity: 1;
  }
}

#cta-bg-trigger {
  display: block;
  height: 1px;
  width: 100%;
}


/* open-campaign: �摜�̏��CTA��d�˂�i���̃Z�N�V��������j */
.offer-card .open-campaign__cta{
  position: absolute;
  left: 49%;
  transform: translateX(-50%);
  bottom: var(--open-camp-cta-bottom, 7%);
  z-index: 3;
  background: transparent;
  padding: 0;
  width: 100%;
  text-align: center;
}

/* Open Campaign: �摜�{�^���p�̌���㏑�� */
.open-campaign__cta .open-campaign__btn{
  display: inline-block;
  padding: 0;
  min-width: auto;
  background: transparent;
  border-radius: 0;
  line-height: 0;
}
.open-campaign__cta .open-campaign__btn img{
  display: block;
  width: min(420px, 82%);
  height: auto;
  margin-inline: auto;
}
/* Reviews: �摜�{�^���i�e�L�X�g��\���E�摜�ŕ\���j */
.reviews-cta-wrap .review__btn{
  display: inline-block;
  text-decoration: none;
  background: transparent;
  line-height: 0; /* �e�L�X�g����o�I�ɒׂ� */
}
.reviews-cta-wrap .review__btn img{
  display: block;
  width: min(420px, 82%);
  height: auto;
  margin-inline: auto;
}
/* Campaign: �摜�{�^���i�e�L�X�g���摜�ɒu���j */
.campaign__btn{
  display: inline-block;
  text-decoration: none;
  line-height: 0;
  background: transparent;
}
.campaign__btn img{
  display: block;
  width: min(420px, 82%);
  height: auto;
  margin-inline: auto;
}

/* CTA Pulse Animation (paused by default; runs when in-view) */
@keyframes ctaPulse {
  0%   { transform: scale(1); }
  8%   { transform: scale(1.12); }   /* �����s�[�N */
  12%  { transform: scale(0.98); }   /* ���� */
  16%  { transform: scale(1.06); }   /* �㔏�s�[�N */
  22%  { transform: scale(1.00); }   /* ����֖߂� */
  60%  { transform: scale(1.00); }   /* �x���i�Î~�j*/
  100% { transform: scale(1); }
}

.open-campaign__btn,
.review__btn,
.campaign__btn,
.hero__cta {
  transform-origin: center center;
  will-change: transform;
  animation: ctaPulse 2s cubic-bezier(.2,.7,.2,1) infinite;
  animation-play-state: paused;
}

.open-campaign__btn.is-inview,
.review__btn.is-inview,
.campaign__btn.is-inview,
.hero__cta.is-inview {
  animation-play-state: running;
}

@media (prefers-reduced-motion: reduce){
  .open-campaign__btn,
  .review__btn,
  .campaign__btn,
  .hero__cta { animation: none !important; }
}
