/* ========================================
   Base / Reset
======================================== */

* {
  box-sizing: border-box;
}

html {
  font-size: clamp(16px, 1.2vw, 18px);
}

body {
  margin: 0;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #222;
  background-color: #ffffff;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   Color Variables
======================================== */

:root {
  --bg-main: #ffffff;
  --bg-soft: #f7f7f7;
  --text-main: #222222;
  --text-sub: #666666;
  --accent: #c6a46e;
  --border-light: #eaeaea;
}

/* ========================================
   Header / Navigation (100% PCデザインを維持)
======================================== */

header {
  position: fixed;       /* ヘッダーを固定 */
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff; /* 背景色を必ず付ける */
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 軽い影で視認性アップ */
}

body {
  padding-top: 70px; /* header 高さ分の余白を確保 */
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap; /* 元の通り PCでは折り返しを許可 */
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  margin-right: 15px; /* 元の余白を維持 */
  position: relative;
}

nav a:last-child {
  margin-right: 0;
}

/* --- hoverやafterの装飾はそのまま --- */
nav a:hover { color: var(--accent); }
nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background-color: var(--accent);
  transition: width 0.2s ease;
}
nav a:hover::after { width: 100%; }

nav span {
  font-size: 0.85rem;
  color: var(--text-sub);
}

nav span a {
  margin-left: 8px;
  font-weight: 400;
}

/* ========================================
   Mobile Navigation (スマホ時のみ「上書き」)
======================================== */

@media (max-width: 768px) {
  nav {
    display: flex;
    flex-wrap: nowrap;
    /* 修正：両端にほどよく空間を空けつつ配置 */
    justify-content: center ; 
    padding: 7px 0;
    gap: 0;           /* 間隔は自動計算に任せるので0に */
    overflow: hidden;
    width: 100%;      /* 親要素の幅を画面ぴったりに固定 */
    box-sizing: border-box;
  }

  nav a {
    /* 修正：文字サイズをさらに微調整 */
    font-size: clamp(10px, 2.6vw, 12px); 
    margin-right: 0;
    padding: 0 1px;
    letter-spacing: -0.6px; /* ほんの少しだけ詰めを強める */
    flex: 1 1 auto;        /* 全ての要素が均等に、かつ縮むことを許可 */
    text-align: center;    /* 縮んだ時も文字を中央に */
    white-space: nowrap;
  }

  nav span {
    font-size: 10px;
    flex-shrink: 0;
    padding: 0 4px;
    text-align: right;     /* 言語切替を右側に寄せるニュアンス */
  }
}

/* ========================================
   Main Layout
======================================== */

main {
  padding: clamp(50px, 8vw, 30px) 20px;
}

.section {
  max-width: 1100px;
  margin: 0 auto clamp(60px, 8vw, 100px);
}

.section.center {
  text-align: center;
}

.section.center h2 {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 600;
}

.section.center .section-lead {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  max-width: 750px;
}

/* ========================================
   Section Lead Text
======================================== */

.section-lead {
  max-width: 700px;
  margin: 0 auto 60px;
  color: var(--text-sub);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

/* ========================================
   Logo
======================================== */
.site-logo-wrap {
  display: flex;
  justify-content: flex-start;
  padding: 10px 20px 0;
  background: #fff;
}

.site-logo {
  height: 72px;
  width: auto;
}

/* ヘッダー全体が高くなるので調整 */
body {
  padding-top: 145px; /* 元は70px */
}

@media (max-width: 768px) {
  .site-logo {
    height: 52px;
  }
  body {
    padding-top: 115px;
  }
}

/* ========================================
   Hero Section
======================================== */

.hero {
  position: relative;
  height: clamp(520px, 85svh, 100vh);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video { z-index: 1; }
.hero-image { z-index: 0; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
  color: #ffffff;
}

.hero-content h1 {
  font-family: 'Quicksand', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-content p {
  font-family:  'Quicksand', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 700px;
}
/* ========================================
   Mobile Hero Section (スマホ専用調整)
======================================== */

@media (max-width: 768px) {
  /* 1. 外枠（親）の高さを半分（例: 300px）にする */
  section.hero {
    height: 250px;
    min-height: 250px; /* 元の520pxを上書き */
  }

  /* 2. .hero-media（入れ物）を外枠にピッタリ合わせる */
  .hero-media {
    position: absolute;
    inset: 0;         /* 上下左右0に張り付く */
    height: 100%;     /* 親の300pxと同じ高さにする */
    z-index: 0;
    background: none; /* グレーの下地を念のため透明に */
  }

  /* 3. 中身（動画・画像）を入れ物いっぱいに広げる */
  .hero-video,
  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;      /* ここを100%にすることでグレーの隙間が消えます */
    object-fit: cover; /* 縦横比を保って枠を埋める */
  }
  .hero-overlay {
    position: absolute;
    inset: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
  }

  .hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 15px; /* 左右の余白を少し詰め、横幅を稼ぐ */
    text-align: center;
    color: #ffffff;
    height: 100%;    /* 小さくなった親の高さに合わせる */
  }

  .hero-content h1 {
    font-family: 'Quicksand', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 20px;
    margin-bottom: 8px;
    line-height: 1.2;
    font-weight: 600;
  }

  .hero-content p {
    font-size: 13px;
    line-height: 1.5;
    max-width: 100%;      /* スマホでは横幅いっぱい使う */
    margin: 0;
  }

  .section.center h2 {
    font-size: 1.9rem;
    line-height: 1.3;
  }

  .section.center .section-lead {
    font-size: 1rem;
    margin-bottom: 40px;
  }
}
/* ========================================
   Buttons
======================================== */

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  background-color: var(--accent);
  color: #ffffff;
  transition: all 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ========================================
   Cards
======================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.card {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  background-color: var(--bg-main);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.card h3 {
  font-family: 'Nunito', serif;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-sub);
  font-size: 0.95rem;
}

/* ========================================
   Tabs 
======================================== */

.tabs {
  max-width: 800px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-sub);
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.tab-btn.active {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.tab-btn:hover {
  opacity: 0.85;
}

.tab-contents {
  text-align: left;
}

.tab-content {
  display: none;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
  background-color: var(--bg-main);
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  font-family: 'Nunito', serif;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.tab-content p {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   Tabs (Product Differences)
======================================== */

.tabs {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* hide radio */
.tabs input[type="radio"] {
  display: none;
}

/* tab labels */
.tabs label {
  display: inline-block;
  padding: 12px 28px;
  margin: 0 6px 40px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  color: var(--text-sub);
}

#tab-private:checked + label,
#tab-shared:checked + label {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* panels wrapper */
.tab-panels {
  position: relative;
}

/* panel */
.tab-panel {
  display: none;
  text-align: left;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
  background-color: var(--bg-main);
}

/* show panels */
#tab-private:checked ~ .tab-panels .tab-panel:first-child {
  display: block;
}

#tab-shared:checked ~ .tab-panels .tab-panel:last-child {
  display: block;
}

/* list */
.tab-panel ul {
  margin-top: 20px;
  padding-left: 20px;
}

.tab-panel li {
  margin-bottom: 12px;
  color: var(--text-sub);
  font-size: 0.95rem;
}

.tab-panel h3 {
  font-family: 'Nunito', serif;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* ========================================
   Story Section
======================================== */

.content h3 {
  margin-top: 60px;
  font-size: 1.4rem;
}

.content h3:first-child {
  margin-top: 0;
}

/* =========================
   Samples Layout
========================= */

.samples-section {
  max-width: 1100px;
  margin: 0 auto 80px;
}

.samples-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.sample-card {
  display: flex;
  gap: 32px;
  align-items: flex-start; /* center ではなく上揃え */
}

.sample-card.private {
  flex-direction: row;
}

.sample-card.party {
  flex-direction: row-reverse;
}

.sample-text {
  flex: 1;
  max-width: 420px;
}

.sample-text h3 {
  margin-bottom: 1.4rem;
}

.sample-text p {
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .sample-card.private,
  .sample-card.party {
    flex-direction: column;
    text-align: center;
  }
}

.sample-text {
  max-width: 420px;
}

.sample-text h3 {
  margin-bottom: 1.4rem;
}

.sample-text p {
  font-size: 1rem;
  line-height: 1.7;
}

/* =========================
   Video
========================= */

.video-wrapper {
  flex: 1;
  max-width: 720px;   /* 固定widthではなく最大幅にする */
  width: 100%;
  position: relative;
}

.youtube-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
}

.youtube-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.thumb,
.inline-video {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.inline-video {
  display: none;
}

/* =========================
   Common Style (For Price / Samples / tips)
========================= */
.page-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* =========================
   Price
========================= */
.price-cta h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
  line-height: 1.25;
}

.price-lead {
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.launch-price h2 {
  margin-bottom: 0.5rem;
}

.launch-note {
  margin-bottom: 2rem;
  color: #555;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.price-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  background: #fff;
}

.price-card h3 {
  margin-bottom: 0.5rem;
}

.price-card .desc {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #444;
}

.price-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.price-steps li {
  margin-bottom: 0.25rem;
}

.price-card .regular {
  font-size: 1rem;
  color: #222;
  margin-top: 0.5rem;
}

.price-card .regular-label {
  margin-right: 0.35rem;
  font-size: 1rem;
  color: #222;
}

.price-card .regular-price {
  font-size: 1rem;
  color: #777;
  text-decoration: none;
}

.price-card .price-steps li strong {
  color: #c45a00;
}

.price-card .launch-price-amount {
  color: #d97706;
  font-weight: 700;
}
/* ========================================
   Text Content
======================================== */

.content {
  max-width: 800px;
  margin: 0 auto;
}

.content h2 {
  font-family: 'Nunito', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 60px 0 20px;
}

.content p {
  margin-bottom: 20px;
  color: var(--text-main);
}

/* ========================================
   Footer Policy Navigation 
======================================== */
footer {
  display: flex;
  justify-content: space-between; /* 左：著作権、右：Policy Nav */
  align-items: flex-end;
  padding: 20px;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
  gap: 20px; /* 左右の余白確保 */
  flex-wrap: wrap;
}

footer p {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin: 0;
  flex: 1; /* 左カラムは可能な限り横幅を取る */
}

/* FooterのPolicy用Nav */
.footer-policy-nav {
  width: 100%;
  display: flex;
  flex-direction: column; /* 縦並び */
  align-items: stretch;   /* 子要素を横幅いっぱいに伸ばす（ここが要点） */
  gap: 8px;
  padding: 0;
  margin: 0 0 12px 0;
}

.footer-policy-nav a {
  display: block;
  width: 100%;
  text-align: right;       /* 右端に揃える */
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.95rem;
  padding-right: 0;        /* 右側余白がある場合は削る */
}

.footer-policy-nav a:hover::after 
{ width: 0; }

/* footer の著作権文を横幅いっぱいにして中央揃えにする */
footer > p {
  flex: 0 0 100%;   /* flex:1 を打ち消して幅を100%に固定 */
  width: 100%;
  text-align: center;
  margin: 0;
  padding-top: 8px; /* 任意 */
  font-size: 0.95rem;
  color: var(--text-sub);
}
/* ========================================
   Footer: モバイル用調整
   横幅いっぱいに縦積み、左寄せ
======================================== */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }

  footer p {
    margin-bottom: 8px;
  }

  footer .footer-policy-nav {
    align-items: flex-end;
    font-size: 0.7rem;
  }
}

/* ========================================
   Contact Page
======================================== */
.contact-page {
  background-color: #f7f7f7;
}

.contact-body {
  max-width: 640px;
  margin: 40px auto;
  padding: 40px 32px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
  .contact-body {
    margin: 0 auto 32px 12px; /* スマホ: 左を12pxなど最小限に */
    max-width: 95vw;          /* スマホ時横幅は画面に収める */
    font-size: 16px;         /* スマホ時は16px固定で読みやすく */
  }
}

.contact-body form > div {
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.contact-body h1 {
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.contact-body h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%; /* ←文字幅と同じになる */
  height: 2px;
  background-color: var(--accent);
}

.contact-body button {
  background-color: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.contact-body button:hover {
  opacity: 0.85;
}

.contact-body input,
.contact-body textarea,
.contact-body select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.contact-overview {
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 0 20px;
}

.contact-overview-inner {
  background: transparent;
  max-width: 640px;
  margin: 0 auto;
}

.purchase-process-title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: left;
}

.purchase-process-image-wrap {
  margin-bottom: 0;
  width: 100%;
}

.purchase-process-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 12px;
  border: 1px solid #ddd;
}

.contact-inquiry-title {
  max-width: 640px;
  margin: 0 auto 12px;
  padding: 0 20px;
  box-sizing: border-box;
}

.contact-prepare {
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 0 20px;
}

.contact-prepare-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-prepare-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
}

.contact-prepare-content {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(120px, 0.45fr);
  gap: 1.25rem;
  align-items: start;
}

.contact-prepare-list-area {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.prepare-group {
  margin: 0;
}

.prepare-group-title {
  font-family: 'Quicksand', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

/* Must / Want の色差をなくす */
.prepare-item.must .prepare-check,
.prepare-item.want .prepare-check {
  background: #f0f0f0;
  color: var(--accent);
}

.prepare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.prepare-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.prepare-check {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  margin-top: 0.1rem;
  background: #f0f0f0;
  color: var(--accent);
}

.prepare-text {
  font-family: 'Quicksand', 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--text-main, #222);
}

.prepare-text small {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-muted, #666);
  font-size: 0.92em;
}

.contact-prepare-image-area {
  position: relative;
  min-height: 420px;
}

.prepare-image-block {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

.prepare-image-block img {
  display: block;
  width: 100%;
  height: auto;
}

/* 個別に縦位置と幅を設定 */
.prepare-image-block.image-a {
  width: 68%;
  margin-left: auto;
  margin-top: 0;
}

.prepare-image-block.image-b {
  width: 64%;
  margin-left: 0;
  margin-top: 1.4rem;
}

.prepare-image-block.image-c {
  width: 62%;
  margin-left: auto;
  margin-top: 4.4rem;
}

.prepare-image-block.image-d {
  width: 65%;
  margin-left: 0;
  margin-top: 1.4rem;
}

@media (max-width: 900px) {
  .contact-prepare,
  .contact-overview {
    padding: 0 12px;
  }

  .contact-prepare-inner {
    max-width: 640px;
  }

  .contact-prepare-content {
    grid-template-columns: 1fr;
  }

  .contact-prepare-image-area {
    display: none;
  }

  .prepare-image-block,
  .prepare-image-block.image-a,
  .prepare-image-block.image-b,
  .prepare-image-block.image-c,
  .prepare-image-block.image-d {
    width: 100%;
    margin: 0;
  }
}

/* ========================================
   FAQ Page
======================================== */
.faq-category-title,
.faq-question,
.faq-answer {
  font-family: 'Quicksand', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  color: var(--text-main);
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--accent);
}

.faq-item.open .faq-question::after {
  content: "–";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 1.5rem;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  opacity: 1;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  margin: 0;
  color: var(--text-main);
  line-height: 1.8;
}

.purchase-process-title {
  font-family: 'Quicksand', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.faq-cta {
  text-align: center;
}

.faq-cta .section-lead {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  max-width: 750px;
  margin: 0 auto 60px;
}

.faq-cta .btn {
  display: inline-block;
}
/* ========================================
   Policy Pages (Legal Documents)
======================================== */

.policy-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 40px) 20px;
}

/* ページタイトル */
.policy-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 10px;
  text-align: left;
}

/* 更新日 */
.policy-updated {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 40px;
}

/* セクション */
.policy-page section {
  margin-bottom: 40px;
}

/* 見出し */
.policy-page h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  margin-top: 40px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 本文 */
.policy-page p {
  color: var(--text-main);
  line-height: 1.8;
  font-size: 0.98rem;
}

/* リスト（将来用） */
.policy-page ul {
  padding-left: 20px;
  margin-top: 10px;
}

.policy-page li {
  margin-bottom: 8px;
  color: var(--text-main);
}

/* 区切り線（読みやすさUP） */
.policy-page section + section {
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
}

/* ==  Termly embed adjustments == */
.termly-embed-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 12px;
  box-sizing: border-box;
}

/* Termly ウィジェット内部の iframe 等に対する安全処理 */
.termly-embed-container iframe {
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
}

/* 目次などのウィジェット要素がある場合のマージン調整 */
.termly-embed-container .termly-policy {
  margin-top: 12px;
}

/* =========================
   TOS / Consent page
========================= */

.tos-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 20px 64px;
    background: #f7f7f5;
    min-height: 100vh;
    box-sizing: border-box;
}

.tos-logo-area {
    text-align: center;
    margin-bottom: 24px;
}

.tos-logo {
    max-width: 620px;
    width: 100%;
    height: auto;
    display: inline-block;
}

.tos-page-title {
    text-align: center;
    font-size: 28px;
    margin: 0 0 12px;
    line-height: 1.3;
}

.tos-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tos-customer {
    margin: 0 0 12px;
    font-size: 14px;
    color: #666;
}

.tos-intro {
    margin: 0 0 20px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.tos-form {
    margin-top: 8px;
}

.tos-agreement-label {
    display: block;
    font-weight: normal;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 18px;
}

.tos-agreement-label input {
    margin-right: 8px;
    transform: translateY(1px);
}

.policy-viewer-box {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    height: 480px;
    overflow-y: auto;
    margin: 0 0 24px;
    box-sizing: border-box;
}

.policy-panel {
    display: none;
}

.policy-panel.active {
    display: block;
}

.policy-inline-link {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #1a5fb4;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}

.policy-inline-link:hover {
    opacity: 0.85;
}

.policy-inline-link.active {
    font-weight: 700;
}

.policy-inline-link.text-link {
    display: inline;
}

.policy-viewer-box {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    height: 480px;
    overflow-y: auto;
    margin: 18px 0 24px;
    box-sizing: border-box;
}

.policy-panel {
    display: none;
}

.policy-panel.active {
    display: block;
}

.tos-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

.tos-actions .tos-next-btn {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.tos-actions .tos-next-btn:hover {
    opacity: 0.85;
}

.tos-actions .tos-next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}