/* styles_figma_locked.css — Figma(1440px) 1:1優先 */
*, *::before, *::after {
  box-sizing: border-box
}
html, body {
  margin: 0;
  padding: 0
}
body {
  font-family: 'Noto Serif JP', serif;
  color: #000;
  background: #fff
}
img {
  display: block;
  max-width: 100%
}
a {
  text-decoration: none;
  color: inherit
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


:root {
  /* Figmaキャンバス幅（必要に応じて変更可） */
  --canvas: 1440px;
  --container: 1200px; /* FigmaMakeがよく使う内側幅を想定 */
  --ink: #212121;
  --muted: #f6f6f6;
  --gold: #987b34;
  --blue: #4d62a1;
  --green: #3e7b32;
}

/* loading */
#loading{
  position:fixed; inset:0; background:#FFFAED;
  display:flex; justify-content:center; align-items:center; z-index:9999;
}
.loading-text{
  font-family: "ten-mincho", serif;
font-weight: 400;
font-style: normal; font-size:32px; letter-spacing:.2em; color:#000;
  position:relative; z-index:2; /* 文字は前面 */
    writing-mode: vertical-rl;   /* 縦書き（右→左） */
  text-orientation: upright;   /* 縦中横の数字や記号も立てる */
}
/* 波紋の基礎（最初は見えない） */
.ripple{
  position:absolute; top:50%; left:50%;
  width:160px; height:160px; transform:translate(-50%,-50%) scale(1);
  border:4px solid rgba(121,105,154,0.35); border-radius:50%;
  opacity:0; pointer-events:none; z-index:1; /* 文字より後ろ */
  filter: blur(.2px); /* ほんの少し滲み感 */
}
@media (max-width: 480px){
  .ripple{ width:130px; height:130px; }
}

/* nav states */
nav a:hover{ color:var(--blue);transform: translateY(-1px); text-shadow: 2px 2px 5px rgba(0,0,0,0.3); }
nav a:active{ color:#fff; transform: translateY(0); text-shadow: 2px 2px 5px rgba(0,0,0,0.3);}
nav a:focus-visible{ outline:2px solid #000; outline-offset:2px; }

/* 共通 */
.page {
  width: 100vw;
  background-image: url("../img/BG.jpeg");
  background-repeat: repeat;
  background-size: 400px 400px;
  background-attachment: fixed; /* ← これで固定化 */
}
.container {
  position: relative;
  powidth: var(--container);
  margin-inline: auto
}
.section {
  padding: 80px 0
}
.card {
  border: 1px solid #e6e6e6;
  background: #fff;
}
.btn {
  display: inline-flex;
    position: relative;
  align-items: center;
  justify-content: center;
  border: 1px solid #7a7a7a;
  padding: 12px 18px
}

.btn img{
    position: absolute;
    right: 0;
    width:30px;
}

.btn--ghost {
  background: #fff
}
.btn--ghost-light {
  background: transparent;
  border-color: #fff;
  color: #fff
}

/* Topbar */
.topbar {
  width: 100%;
  height: 9vh;
  border-bottom: 1px solid #eee;
  background: #fff;
    z-index: 2;
}
.topbar .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  height: auto;
  padding: 0 1rem;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center
}
.brand__tagline {
    font-family: "ten-mincho", serif;
font-weight: 400;
font-style: normal;
  font-size: clamp(8px, 1.2vw, 14px);
  line-height: 1.4;
  margin: 0
}
.brand__title {
    font-family: "ten-mincho", serif;
font-weight: 400;
font-style: normal;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.2;
  margin: 4px 0 0
}
.tel img {
  height: 46px;
  width: auto
}
.cta img {
  height: 54px;
  width: auto
}
/* Gnav */
.gnav {
    display: flex;
    align-items: center;
  width: 100%;
  height: 6vh;
  background: #fbfbfe;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
    z-index: 2;
}
.gmenu {
    font-size:13px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
    align-items: center;
    text-align: center;
  justify-content: center
}
.gmenu a {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: Roboto, sans-serif;
  font-size: 14px
}
/* Hero */
.hero {
  position: relative;
  height: 85vh;
  display: grid;
  place-items: center;
  overflow: hidden
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}
.hero__inner {
  width: 40vw;
  height: auto;
  position: absolute;
  bottom: 0;
  right: 0;
  color: #fff;
  text-align: center;
  background-image: url("../img/top/Polygon 1.png");
  background-size: 100% 100%;
  text-align: right;
  padding: 2%;
}
@media(max-width:798px){.hero__inner{width:300px;}}
.hero__subtitle {
    font-family: "ten-mincho", serif;
font-weight: 400;
font-style: normal;
  font-size: clamp(12px, 1.7vw, 24px);
  margin: 0 0 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .25)
}
.hero__title {
    font-family: "ten-mincho", serif;
font-weight: 400;
font-style: normal;
  font-size: clamp(32px, 3.7vw, 64px);
  line-height: 1.1;
  font-weight: 400;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .25)
}
/* Overlay検品（ref.pngを用意） */
.overlay {
  position: absolute;
  inset: 0;
  background: url('./ref.png') center top / contain no-repeat;
  opacity: .35;
  mix-blend-mode: difference;
  display: none;
  pointer-events: none
}
.overlay.on {
  display: block
}
.overlay-ui {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 10px;
  display: grid;
  gap: 8px;
  font: 14px/1.4 system-ui
}
/* About */
.about {
  background-image: url("../img/top/about_bg.png");
    padding:120px 0;
}
.about__title {
  font-size: 40px;
  text-align: center;
  margin: 0 0 60px
}
.about__text {
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.9
}
/* Services */
.services__info {
  max-width: 1200px;
  width: 90%;
  display: flex;
  background: #fff;
  outline: 13px solid #e1dbbe;
  margin: 0 auto;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
    .services__info{
        display: block;
    }
}
.services__text__box {
  width: 40%;
  text-align: center;
  align-items: center;
  padding: 2% 5%;
}

@media (max-width: 1024px) {
    .services__text__box{
        width: 100%;
        margin-bottom: 40px;
    }
}
/* 右3カードは info 内部で横並び */
.services__cards {
    width: 70%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
/* カード共通 */
.svc-card {
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.svc-card__media {
  position: relative;
  overflow: hidden
}
.svc-card__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover
}
.svc-card__ribbon {
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700
}
.svc-card--gold .svc-card__ribbon {
  background: #987b34
}
.svc-card--blue .svc-card__ribbon {
  background: #4d62a1
}
.svc-card--green .svc-card__ribbon {
  background: #3e7b32
}
.svc-card__title {
  font-size: 24px;
  margin: 8px 0 0
}
.svc-card__sub {
  font-size: 14px;
  color: #555;
  margin: 4px 0 8px
}
.svc-card__label {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 24px;
  margin: 8px auto 0;
  color: #fff;
  border-radius: 4px;
  background: #999
}
.svc-card__price {
  margin: 8px 0 4px;
  font-size: 16px
}
.svc-card__price strong {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
    font-size:24px;
}
.svc-card__tax {
  font-size: 14px;
  color: #333
}
/* レスポンシブ落とし */
@media (max-width: 1024px) {
  .services__cards {
    grid-template-columns: repeat(2, 1fr);
      width: 100%;
  }
}
@media (max-width: 640px) {
  .services__cards {
    grid-template-columns: 1fr;
      width:100%;
  }
}
/* Linear sections (固定px) */
.linear-list__items {
    max-width:1200px;
    width:80%;
    margin:0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10vh; /* バナー間の余白 */
}

@media (max-width: 1024px) {
    .linear-list__items{
        width: 100%;
        gap:40px;
        padding: 0 5%;
    }
}

/* 画像を幅いっぱいにフィットさせる */
.linear-list__items img {
  width: 100%;
  height: auto;       /* アスペクト比維持 */
  display: block;
}

/* Addons */
.addons__grid {
    max-width: 1200px;
    width:80%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px
}
.addon__img {
    width: 100%;
  height: auto;
  background: #ddd;
    display: block;   /* インライン要素の隙間を消す */
    object-fit: cover;
}
.addon__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: auto;
}
.addon__badge {
  height: 35px;
  color: #fff;
  display: grid;
  place-items: center;
}
.addon__badge--green {
  background: #6ca46a
}
.addon__badge--blue {
  background: #5ca2bc
}
.addon__badge--purple {
  background: #9d6aa4
}
.addon__title {
  font-size: 22px;
  text-align: center;
  margin: 12px 0
}
.addon__title span {
  font-size: .9em
}
.addon__desc {
  font-size: 14px;
  line-height: 1.8;
  color: #000;
  min-height: 4lh
}
.addon .btn {
  margin-top: auto
}
/* News */
.news__box {
    max-width: 1200px;
    width: 80%;
    padding: 20px;
  border: 10px solid #dcdcdc;
    margin: 0 auto;
    background-image: url("../img/top/news_bg.png");
}
.news__title {
  text-align: center;
  font-size: 40px;
  margin: 0 0 12px
}
.news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px
}
.news__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 5vw;
  background: rgba(255,255,255,0.5);
  border-radius: 10px
}
.news__item time {
  text-align: center
}
/* === Reviews === */
.reviews__title{text-align:center;font-size:clamp(24px,3vw,40px);margin-bottom:24px;color:#281d1b}
.reviews__cards{display:grid;gap:16px;grid-template-columns: repeat(1,minmax(0,1fr))}
@media (min-width: 900px){.reviews__cards{grid-template-columns: repeat(3, minmax(0,1fr))}}
.review-card{padding:20px;border:1px solid #e5e5e5;border-radius:var(--radius)}
.review-card__profile{display:flex;gap:16px;align-items:center;margin-bottom:10px;justify-content: center;}
.review-card__avatar{width:90px;height:90px;border-radius:50%;border:4px solid #797979;background:#ffffff}
.review-card__label{background:#a6904e;color:#fff;border-radius:4px;padding:.7rem .7rem;font-weight:600}
.review-card__divider{height:6px;background:#b6b6b6;border-radius:3px;margin:10px 0}
.review-card__text{font-size:15px;line-height:1.9;color:#281d1b}

/* === FAQ === */
/* 1) セクション外枠：レスポンシブ＋外側枠を疑似要素で */
.faq {
  padding: clamp(32px, 6vw, 78px) clamp(16px, 6vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq__content {
  position: relative;
  width: min(100%, 900px);    /* ← 900px上限、横幅いっぱいで縮む */
  background: #fcfcfc;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 22px 0;
  border: 10px solid #bbbbbb;    /* 外枠1 */
  /* border-inner は無効なので削除 */
}

/* 2) ヘッダー行：横並びの固定幅を緩める */
.faq__header {
 background: #fcfcfc;
    display: flex;
    grid-template-columns: auto 1fr;
    gap: 20px;
    /* width: min(100%, 758px); */
    /* min-height: 156px; */
    /* overflow: hidden; */
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
}

/* タイトル塊は中央寄せのまま */
.faq__title {
  background: #fcfcfc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    width: 100%;
    height: auto;
}

.faq__title-text {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.6;
  color: #212121;
  font-weight: 700;
  letter-spacing: -0.02em;
  height: auto;               /* 固定高さ解除 */
  width: auto;                /* 固定幅解除 */
    margin: 0;
}

.faq__title-large {
  font-size: clamp(42px, 7vw, 80px);
  line-height: 1.1;
  color: #212121;
  font-weight: 700;
  letter-spacing: .1em;       /* 13.6pxは画面幅で暴れるので軽めに */
  height: auto;
  width: auto;
}

/* 右側の説明ブロック */
.faq__info {
  background: #fcfcfc;
    display: flex;
    grid-template-columns: auto 1fr;
    gap: 12px 16px;
    align-items: flex-start;
    padding: 0 12px;
    min-height: 120px;
    width: 160%;
    flex-direction: column;
}

.faq__icon {
  height: 48px; width: 48px;  /* 67x66 → 少し流動性を持たせる */
  border-radius: 6px;
    background-image: url("../img/top/support_icon.png");
    background-size: 48px;
}

.faq__description {
  font-size: 16px;
  line-height: 1.7;
  color: #212121;
  font-weight: 400;
  max-width: none;            /* ← 291px固定解除 */
    margin-bottom: 0;
}

/* 3) 質問リスト：左右パディングをclamp化、幅は100% */
.faq__questions {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(16px, 6vw, 40px);
}

/* 質問ボックス */
.faq__question {
  background: #fcfcfc;
  width: 100%;
  border-top: 1.5px solid rgba(92,92,92,.2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  padding: 20px 0;
}

/* Q/A 行：折り返し許可で可読性UP */

.faq__q, .faq__a {
  display: grid;
  grid-template-columns: 24px 1fr;  
  gap: 10px;
  align-items: start;
  width: 100%;
}

.faq__q { align-items: center; }

.faq__q-mark, .faq__a-mark {
  width: 24px; height: 24px; border-radius: 3px; color: #fff;
  font-size: 14px; font-weight: 700; display: grid; place-items: center;
  line-height: 1; flex-shrink: 0;
}
.faq__q-mark { background:#3e3e3e; }
.faq__a-mark { background:#898989; }


/* ← 改善ポイント：一行省略をやめて折り返す */

.faq__q-text {
  font-size: 17px; line-height: 1.6; color:#212121; font-weight: 600;
  overflow: visible; text-overflow: clip; white-space: normal;
}

.faq__a-text {
  font-size: 17px; line-height: 1.9; color:#212121; font-weight: 400;
  width: auto;          
}


/* 4) モバイル調整（段落余白・文字サイズだけ軽く抑える） */
@media (max-width: 798px){
  .faq__description, .faq__q-text, .faq__a-text { font-size: 15px; }
  .faq__title { width: auto; }
    .faq__icon{display: none;}
    .faq__header{display: block;}
    .faq__info{width: 100%;display: table-cell;}
}
/* 既存の .faq__question の見た目を .faq-item へ移植 */

.faq-item{
  background:#fcfcfc;
  width:100%;
  border-top:1.5px solid rgba(92,92,92,.2);
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:flex-start;
  justify-content:flex-start;
  overflow:hidden;
  padding:20px 0;
}


/* summary（質問行）をクリック可能に。既定の三角は消す */
.faq__q {
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; } /* Safari用 */

details[open] > summary {
  pointer-events: none; /* クリックできない */
}

/* === Contact === */
.contact-banner{background-image: url("../img/bg_footer.jpg");padding:30px;}
@media(max-width:798px){.contact-banner{padding: 30px 0;}}
.contact-banner__content{max-width: 1200px; display:flex;align-items:center;justify-content:space-between;gap:24px}
.contact-banner__text{font-size:clamp(13px, 1.4vw, 18px);line-height:1.8;max-width:48ch;margin: 20px;}
.contact-banner__button{display: block;width:300px;text-align:center;background:#fff;margin:}

/* === Footer === */
.footer{background:#fff;border-top:1px solid #eee}
.footer__content{max-width:1200px;width: 90%; padding:20px 0;display:grid;gap:24px;grid-template-columns: 1fr}
@media (min-width: 798px){.footer__content{grid-template-columns: 1fr 1fr auto}}
.footer__company{text-align:center}
.footer__company-title{font-family: "ten-mincho", serif;font-weight: 400;font-style: normal;font-size:clamp(32px,2.5vw,40px);margin:0;margin-bottom: 4px;}
.footer__company-info{font-style:normal;font-size:14px;line-height:1.8;color:#000;text-align: center}
.footer__nav{display:flex;gap:15px;justify-content:center}
.footer__nav-column{list-style:none;margin:0;padding:0;display:grid}
.footer__nav-link{display:inline-flex;align-items:center;font-size: clamp(8px, 1.2vw, 16px);
    white-space: nowrap;}
.footer__nav-link img{width: 20px;}
@media (max-width: 798px){.footer__nav-link{font-size: 13px;}}
.footer__buttons{display:grid;gap:12px;align-content:center;justify-content: center;}
.footer__button{width:clamp(300px,20vw,400px);padding:10px 20px;text-align:center}
.footer__copyright{background:#323232;color:#fff;display:grid;place-items:center;height:60px;margin-top:24px}
@media(max-width:798px){.footer__copyright{font-size: 10px;height:40px;}}

/*  */
.sp__br{
    display: none;
}
/* === Simple mobile fallback (崩し) === */
@media (max-width: 1000px) {
    header.topbar,nav.gnav{
        display: none;
    }
}
@media (max-width: 798px) {
    .about__title{
        font-size:30px;
    }
    .sp__br{
        display: block;
    }
  .page {
    min-width: auto
  }
  .container {
    width: min(92vw, var(--container))
  }
  .services__grid {
    grid-template-columns: 1fr
  }
  .services__cards {
    grid-template-columns: 1fr
  }
  .addons__grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr
  }
  .cta-banner__row {
    flex-direction: column;
    align-items: stretch
  }
  .hero {
    height: 100vw;
    min-height: 420px
  }
  .gmenu {
    gap: 12px
  }
  .gmenu a {
    padding: 8px 10px
  }
    .news__box{
        width:100%;
    }
    .news__item{
        grid-template-columns:1fr;
        text-align: center;
    }
    .contact-banner__content{
        display: block;
    }
    .contact-banner__button{
        margin: 0 auto;
    }
}
.hero__title__container {
  position: absolute;
  width: auto;
}
.tel {
  width: 100%;
}
.right_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  height: auto;
  padding: 0 1rem;
}
.top__info {
  width: 100%;
  height: 100%;
}


.container　reviews__inner {
    max-width: 1200px;
    width: 80%;
    margin: 0 auto;
    
}

.man__40__img {
    background-size: 80px;
    background-position: center;
    background-image: url("../img/top/img_topvoice01.png")
}

.woman__40__img {
    background-size: 70px;
    background-position: center;
    background-image: url("../img/top/img_topvoice02.png")
}

.man__50__img {
    background-size: 74px;
    background-position: center;
    background-image: url("../img/top/img_topvoice03.png")
}

/*フェードイン*/
/* 初期状態（見えない＋少しズレ） */
.reveal {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

/* 表示状態 */
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 方向バリエーション（必要なら付け足す） */
.reveal--up     { transform: translate3d(0, 20px, 0); }
.reveal--down   { transform: translate3d(0,-20px, 0); }
.reveal--left   { transform: translate3d(20px, 0, 0); }
.reveal--right  { transform: translate3d(-20px,0, 0); }

/* 遅延（data-reveal-delay="200" などで上書きも可能） */
.reveal { transition-delay: var(--reveal-delay, 0ms); }

/* 動きを減らしたいユーザーへの配慮 */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}


.footer__company-subtitle {
    font-family: "ten-mincho", serif;
font-weight: 400;
font-style: normal;
    font-size: 13px;
    margin-bottom: 0;
}

.service__btn {
    margin-top: 20px;
    width: 100%;
    padding: 10px 20px;
}

.addon__btn {
    width: 80%;
    margin: 0 auto;
}

/* ====== Button System ====== */
:root{
  --btn-fg: #fff;
  --btn-bg: #333;
  --btn-bd: #333;

  --btn-ghost-fg: #333;
  --btn-ghost-bd: #777;

  --btn-accent: #4d62a1;   /* 既存のブルーに寄せた */
  --btn-gold:   #987b34;   /* 既存のゴールドに寄せた */
  --btn-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.btn{
  --_fg: var(--btn-fg);
  --_bg: var(--btn-bg);
  --_bd: var(--btn-bd);

  display:inline-flex;
  align-items:center;
  justify-content:center;


  border:1px solid var(--_bd);
  color: var(--_fg);
  background: var(--_bg);
  box-shadow: var(--btn-shadow);

  font: 600 15px/1.1 system-ui, "Noto Sans JP", sans-serif;
  text-decoration:none;
  cursor:pointer;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

/* sizes */
.btn--sm{ padding:9px 14px; font-size:14px; }
.btn--lg{ padding:14px 22px; font-size:16px; border-radius:12px; }
.btn--block{ display:flex; width:100%; }

/* variants */
.btn--solid{ /* default solid (濃グレー) */ }

.btn--primary{
  --_bg: var(--btn-accent);
  --_bd: var(--btn-accent);
}

.btn--gold{
  --_bg: var(--btn-gold);
  --_bd: var(--btn-gold);
}

.btn--ghost{
  --_fg: var(--btn-ghost-fg);
  --_bg: #fff;
  --_bd: var(--btn-ghost-bd);
  box-shadow:none;
}

.btn--light{ /* 白抜き on ダーク背景 */
  --_fg: #fff;
  --_bg: transparent;
  --_bd: #fff;
  box-shadow:none;
}

/* states */
.btn:hover{ color:#fff;background: var(--btn-accent);transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.btn:active{ color:#fff;background: var(--btn-accent); transform: translateY(0); box-shadow: var(--btn-shadow); }
.btn:focus-visible{ outline:2px solid #000; outline-offset:2px; }

.btn[disabled], .btn.is-disabled{
  opacity:.5; cursor:not-allowed; pointer-events:none;
}

/* icon slots */
.btn__icon{ display:inline-grid; place-items:center; width:1.2em; height:1.2em; }

/* Loading（任意） */
.btn.is-loading{ position:relative; pointer-events:none; }
.btn.is-loading::after{
  content:""; position:absolute; inset:0; border-radius:inherit;
  background:
    radial-gradient(circle at center, currentColor 40%, transparent 41%) 50% 50%/1em 1em no-repeat;
  animation: btnSpin 1s linear infinite;
  mix-blend-mode: multiply; opacity:.8;
}
@keyframes btnSpin{
  from{ transform: rotate(0deg); } to{ transform: rotate(360deg); }
}

/* コンテキスト：ダーク背景上で反転させたい場合 */
.on-dark .btn--ghost{ --_fg:#fff; --_bd:#fff; color:var(--_fg); }

:root {
  --header-height: 64px;
  --header-bg: #fff;
  --header-fg: #212121;
  --menu-bg: rgba(0,0,0,.9);
  --menu-fg: #fff;
  --transition-speed: 0.35s;
}

/* common.css に追加（SPメニュー系の近くでOK） */
body.noscroll{ overflow: hidden; }

.spmenu{
  position: fixed; inset: 0;  /* top:0; right:0; bottom:0; left:0; と同義 */
  width: 100%;                 /* 100vwより安全 */
  box-sizing: border-box;
}

/* ヘッダー本体 */
.sp-header{display: none;}
@media(max-width:1000px){
.sp-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--header-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.sp-header__inner {
  width: min(100%, 1200px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.sp-header__logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--header-fg);
  text-decoration: none;
}

/* ハンバーガー */
:root{
  --spm-bg: #6c6f8d;        /* 背景の紫 */
  --spm-fg: #ffffff;
  --spm-accent: #ffffff;    /* 文字は白基調 */
  --spm-divider: rgba(255,255,255,.5);
  --radius: 12px;
}

.spmenu-toggle{
  width: 32px; height: 24px; background:none; border:0; padding:0; display:flex; flex-direction:column; justify-content:space-between; cursor:pointer;
}
.spmenu-toggle span{ height:3px; background:#333; border-radius:2px; }

/* レイヤー本体 */
.spmenu{
  position: fixed; inset: 0; z-index: 1000;
  background: var(--spm-bg);
  color: var(--spm-fg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}
.spmenu.is-open{ opacity:1; visibility:visible; transform:none; transition-delay:0s; }
body.noscroll{ overflow:hidden; }

.spmenu__panel{ height:100%; overflow:auto; padding: 18px 20px 28px; }

/* 上部 */
.spmenu__top{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }

/* 閉じる */
.spmenu__close{ background:none; border:0; color:#fff; display:flex; flex-direction:column; align-items:center; gap:6px; cursor:pointer; }
.spmenu__close-x{ position:relative; width:26px; height:26px; }
.spmenu__close-x::before,
.spmenu__close-x::after{
  content:""; position:absolute; left:0; right:0; top:50%; height:2px; background:#fff;
}
.spmenu__close-x::before{ transform: rotate(45deg); }
.spmenu__close-x::after{ transform: rotate(-45deg); }
.spmenu__close-text{ font-size:14px; font-weight:700; letter-spacing:.08em; }

.spmenu__divider{ border:none; height:1px; background: var(--spm-divider); margin: 14px 0 18px; }

/* リスト */
.spmenu__list{ list-style:none; margin:0; padding:0 0 6px; display:grid; gap:22px; }
.spmenu__link{
  display:flex; align-items:center; gap:14px;
  text-decoration:none; color:var(--spm-fg);
  font-size:22px; font-weight:700; letter-spacing:.08em;
}
.spmenu__link .dot{
  width:28px; height:28px; border-radius:50%; background: rgba(255,255,255,.25);
  position:relative; flex:0 0 28px;
}
.spmenu__link .dot::after{
  content:""; position:absolute; left:50%; top:50%; width:8px; height:8px; border-right:2px solid #fff; border-bottom:2px solid #fff; transform:translate(-50%,-50%) rotate(-45deg);
}

/* 白ボタン */
.btn-white{
  display:flex; align-items:center; gap:12px;
  background:#fff; color:#525570; text-decoration:none;
  border-radius: var(--radius); padding:16px 18px; margin-top:24px;
  font-weight:700; letter-spacing:.06em;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.i{ display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%; background: rgba(125,128,159,.15); color:#525570; }
.i-mail::before{
  content:""; width:16px; height:12px; border:2px solid currentColor; border-top:none; position:relative;
}
.i-mail::after{
  content:""; position:relative; width:14px; height:2px; background:currentColor; transform: translateY(-8px) rotate(0deg); clip-path: polygon(0 0, 50% 60%, 100% 0, 100% 20%, 50% 80%, 0 20%);
}

/* TELブロック */
.spmenu__tel{ text-align:center; margin:28px 0 16px; }
.tel__title{ font-size:18px; font-weight:700; margin:0 0 4px; }
.tel__note{ margin:0 0 10px; opacity:.9; font-size:12px; }
.tel__num{
  display:inline-flex; align-items:center; gap:12px;
  color:#fff; text-decoration:none; font-weight:800; font-size:28px; letter-spacing:.06em;
  background: rgba(255,255,255,.08); padding:10px 16px; border-radius:12px;
}
.i-phone::before{
  content:""; width:16px; height:16px; border:2px solid currentColor; border-radius:3px; display:block; transform: rotate(45deg);
}
.tel__hours{ font-size:12px; opacity:.9; margin:8px 0 0; }

/* 2ボタン横並び */
.spmenu__gridbtn{
  display:grid; grid-template-columns: 1fr 1fr; gap:16px; margin:20px 0 26px;
}
.btn-outline{
  display:flex; align-items:center; gap:12px; justify-content:center;
  text-decoration:none; color:#fff; border:2px solid rgba(255,255,255,.6);
  border-radius:12px; padding:14px 12px; text-align:center; font-weight:700; line-height:1.3;
}
.btn-outline .dot{ background: rgba(255,255,255,.25); }

/* フッタ */
.spmenu__footer{ text-align:center; border-top:1px solid var(--spm-divider); padding-top:18px; }
.spmenu__addr{ font-style:normal; font-size:12px; line-height:1.7; margin-top:10px; opacity:.95; }

}

/* ===== Responsive tokens ===== */
:root{
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);

  /* breakpoints */
  --bp-lg: 1200px;
  --bp-md: 1024px;
  --bp-sm: 768px;
  --bp-xs: 560px;

  /* type scale */
  --fs-h1: clamp(28px, 5vw, 48px);
  --fs-h2: clamp(22px, 3.6vw, 40px);
  --fs-h3: clamp(18px, 2.8vw, 24px);
  --fs-body: clamp(14px, 1.6vw, 17px);
}

/* container（※ powidth のタイプミスがあれば width/max-width に修正） */
.container{
  width: min(100% - 2*var(--gutter), var(--container));
  margin-inline: auto;
}

/* セクション上下余白の共通 */
.section{ padding-block: clamp(28px, 6vw, 64px); }

/* 画像は原則フルード */
img{ max-width:100%; height:auto; display:block; }

/* ヘッダー固定時のオフセット（必要なら高さに合わせて調整） */
body.has-fixed-header{ padding-top: var(--header-height, 64px); }

/* タイトル系の自動スケール */
.section__title{ font-size: var(--fs-h2); line-height: 1.2; }
body{ font-size: var(--fs-body); }

/* common.css に追加（最下部でOK） */
html, body { overflow-x: hidden; }

.hero-section {
    background-color: #fbfbfe;
    height: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 52px;
    align-items: center;
    justify-content: flex-start;
}

.hero-image {
    height: 300px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #e0e0e0;
    /* TODO: メイン画像の背景 */
}

/* Intro Block */
.intro-block {
    background-color: #fbfbfe;
    height: 550px;
    width: 1440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.intro-background {
    position: absolute;
    inset: 0;
    background-image:linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),url("../img/memorial-garden/main.jpg");
    /* TODO: 庭園の背景画像 */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    gap: 54px;
    align-items: center;
    justify-content: flex-start;
    padding: 71px 0;
}

.intro-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 250, 237,0) 20%, rgba(255, 250, 237,1) 100%);
  pointer-events: none;
}

.intro-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 48px;
    color: white;
    text-align: center;
    line-height: 52px;
    letter-spacing: -0.96px;
    max-width: 900px;
    width: max-content;
}

.intro-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    width: 900px;
    padding: 0 96px;
}

.intro-text {
    font-family: 'Noto Serif JP', serif;
    font-weight: 1200px;
    font-size: 20px;
    color: white;
    text-align: center;
    line-height: 35px;
    letter-spacing: -0.1px;
    width: 1200px;
}

.fadeout {
    position: absolute;
    bottom: 0;
    left: -112px;
    right: -80px;
    height: 160px;
    background-size: cover;
    background-position: center;
    /* TODO: フェードアウト画像 */
}

.video-wrapper {
    position: relative;
    width: 95%;
      height: auto;
    margin: 24px auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}
.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.screenshot__image{
  margin-inline: auto;
  width: min(92vw, 1200px);
  aspect-ratio: 16/9;
}

/* -------- Screenshot（上段大画像） -------- */
.screenshot{ position: relative; z-index: 2; padding: clamp(28px, 6vw, 48px) 0; }

.contact-banner__text-box {
    display: flex;
    justify-content: center;
}
