/* =========================================================
   En MUSUBI NARA - 共通CSS
   全ページ共通：カラー / 基本レイアウト / ヘッダー / フッター /
   ボタン / 下層ページ共通 / 各共通コンポーネント
   ========================================================= */

:root {
  /* Brand */
  --main-color: #FFB8DC;
  --main-dark: #FFB8DC;
  --main-light: #FFFFFF;

  /* 既存CSSとの互換用 */
  --rose: var(--main-color);
  --rose-dark: var(--main-dark);
  --rose-light: var(--main-light);

  --pink-bg: #FFFFFF;
  --beige: #FFFFFF;
  --beige-2: #FFFFFF;
  --sage: #B7D9C4;
  --ink: #3f3735;
  --muted: #7e7471;
  --line: #eadfdb;
  --white: #fff;
  --shadow: 0 18px 50px rgba(88, 62, 60, .09);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
  line-height: 1.8;
}

img {
  width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none
}

button,
input,
textarea {
  font: inherit
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto
}

.section {
  padding: 104px 0
}

.center {
  text-align: center
}

.narrow {
  max-width: 820px
}

.alt {
  background: var(--pink-bg)
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px
}

.section-heading.center {
  text-align: center;
  margin-inline: auto
}

.section-heading h2,
.about-copy h2,
.contact h2,
.area h2,
.aftercare h2 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.45;
  margin: .25rem 0 1rem;
  letter-spacing: .04em;
}

.section-heading p {
  color: var(--muted)
}

.eyebrow {
  color: var(--main-dark) !important;
  letter-spacing: .16em;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 .6rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 500;
  transition: .25s;
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-primary {
  background: var(--main-color);
  color: #fff;
  box-shadow: 0 10px 25px rgba(255, 105, 180, .25);
}

.btn-primary:hover {
  background: var(--main-dark)
}

.btn-ghost {
  border: 1px solid var(--main-color);
  color: var(--main-dark);
  background: #fff;
}

.btn-line {
  background: #48b85b;
  color: #fff
}

/* =========================================================
   Header - 全ページ共通
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 219, 216, .8);
}

.header-inner {
  height: 120px;
  display: flex;
  align-items: center;
  gap: 22px;

  width: calc(100% - 60px);
  max-width: none;
}

/* ヘッダーロゴ */
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 30px;
}

.header-logo img {
  display: block;
  width: auto;
  height: 120px;
  object-fit: contain;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.brand-mark {
  font-family: serif;
  font-size: 2.2rem;
  color: var(--main-color);
  line-height: 1;
}

.brand strong {
  display: block;
  font-family: "Noto Serif JP", serif;
  letter-spacing: .08em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: .66rem;
}

.global-nav {
  display: flex;
  gap: 28px;
  margin-left: 100px;
  font-size: .9rem;
}

.global-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.global-nav a small {
  font-size: .52rem;
  letter-spacing: .12em;
  color: #aa9c98;
  margin-top: 4px;
}

.global-nav a:hover {
  color: var(--main-dark)
}

.header-cta {
  min-height: 44px;
  padding: 0 20px;
  font-size: .84rem;
}

.menu-button {
  display: none;
  border: 0;
  background: none;
  font-size: 1.6rem;
  margin-left: auto;
}

/* =========================================================
   下層ページ共通ヒーロー
   ========================================================= */
.page-hero {
  padding: 90px 0 72px;
  background: linear-gradient(135deg, #FFFFFF, #FFFFFF);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: .25rem 0 .8rem;
  letter-spacing: .06em;
}

.page-hero p:last-child {
  color: var(--muted)
}

/* =========================================================
   Data / cards - TOP・DATAページで共通
   ========================================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.stat-card.accent {
  background: linear-gradient(135deg, #FFFFFF, #FFFFFF)
}

.stat-kicker {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.stat-pair div {
  background: var(--beige-2);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}

.stat-card strong {
  font-family: "Noto Serif JP", serif;
  font-size: 2.65rem;
  color: var(--main-dark);
  line-height: 1.1;
}

.stat-card strong span {
  font-size: 1.1rem
}

.stat-card small {
  display: block;
  color: var(--muted);
  font-size: .67rem;
  line-height: 1.55;
}

.data-source {
  margin-top: 12px;
  font-size: 0.65rem;
  color: #999;
  line-height: 1.6;
  white-space: normal;
  overflow-wrap: anywhere;
}

.big-stat {
  margin: 18px 0
}

.big-stat small {
  font-size: .85rem;
  margin-top: 6px
}

.data-message {
  text-align: center;
  margin: 48px auto 0;
  max-width: 820px
}

.data-message p {
  font-size: 1.05rem
}

.data-message strong {
  color: var(--main-dark)
}

.data-message h3 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1.5;
  max-width: none;
  width: 100%;
}

/* =========================================================
   About
   ========================================================= */
.about {
  background: var(--pink-bg)
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  position: relative
}

.about-image img {
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.image-note {
  position: absolute;
  right: 14px;
  bottom: 12px;
  background: rgba(255, 255, 255, .85);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .65rem;
  color: var(--muted);
}

/* OUR STORYの見出しサイズ */
.about-copy h2 {
  font-size: clamp(1.7rem, 2.3vw, 2rem);
}

.about-copy p {
  color: #665d5a
}

.about-copy blockquote {
  margin: 28px 0 0;
  padding: 20px 24px;
  border-left: 4px solid var(--main-color);
  background: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
}

/* OUR HISTORY｜私たちの歩み */
.history-section {
  background: #fff;
}

.history-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 8px 0;
  list-style: none;
}

.history-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 154px;
  width: 2px;
  background: linear-gradient(to bottom, #FFB8DC, #B7D9C4);
}

.history-item {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 52px;
  align-items: center;
  min-height: 88px;
}

.history-item::before {
  content: "";
  position: absolute;
  left: 146px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #FFB8DC;
  box-shadow: 0 2px 10px rgba(255, 184, 220, .35);
  transform: translateY(-50%);
}

.history-item:nth-child(even)::before {
  background: #B7D9C4;
  box-shadow: 0 2px 10px rgba(183, 217, 196, .4);
}

.history-item time {
  color: #8F6841;
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: right;
}

.history-content {
  padding: 18px 24px;
  border: 1px solid rgba(255, 184, 220, .55);
  border-radius: 16px;
  background: #FFFAF2;
}

.history-item:nth-child(even) .history-content {
  border-color: rgba(183, 217, 196, .75);
}

.history-content h3 {
  margin: 0;
  color: #3f3735;
  font-family: "Noto Serif JP", serif;
  font-size: 1.08rem;
  line-height: 1.6;
}

.history-message {
  margin: 52px auto 0;
  color: #3f3735;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 2;
  text-align: center;
}

.prose h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
}

.prose p {
  color: var(--muted)
}

/* NARA：4つの丸装飾 */
.nara-mark {
  position: relative;
  display: inline-block;
}

.nara-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 6px;
  margin-bottom: 3px;
}

.nara-dots i {
  display: block;
  width: 10px;
  height: 10px;
  background: #B7D9C4;
  border-radius: 50%;
}

/* =========================================================
   Service
   ========================================================= */
.support {
  background: var(--beige-2)
}

.support-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.support-step {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 25px rgba(70, 55, 50, .05);
}

.support-step b {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--main-light);
  color: var(--main-dark);
}

.support-step h3 {
  font-size: 1rem;
  margin: 12px 0 6px
}

.support-step p {
  font-size: .82rem;
  color: var(--muted);
  margin: 0
}

.aftercare {
  background: #fff
}

.aftercare-box {
  background: linear-gradient(120deg, #FFFFFF 0%, #FFFFFF 100%);
  border-radius: 30px;
  padding: 58px;
  box-shadow: var(--shadow);
}

.aftercare-box>div:first-child {
  max-width: 760px
}

.flower-copy {
  color: var(--main-dark);
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.after-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.after-flow span {
  background: #fff;
  border: 1px solid #FFB8DC;
  border-radius: 999px;
  padding: 10px 18px;
}

.after-flow i {
  color: var(--main-color);
  font-style: normal
}

/* =========================================================
   Plan
   ========================================================= */
.plan {
  background: var(--pink-bg)
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 480px));
  justify-content: center;
  gap: 24px;
}


.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.plan-card.recommended {
  border: 2px solid var(--main-color)
}

.recommend-badge {
  position: absolute;
  right: 22px;
  top: 5px;
  background: var(--main-color);
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 1.25rem;
}

.price strong {
  font-size: 2.6rem;
  color: var(--main-dark);
  margin: 0 8px;
}

.plan-card h3,
.plan-card .price {
  text-align: center;
}

.plan-card dl {
  margin: 24px 0 0
}

.plan-card dl div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.plan-card dt,
.plan-card dd {
  margin: 0
}

.plan-note {
  margin-top: 14px;
  font-size: 13px;
  color: #8F6841;
  line-height: 1.8;
  text-align: left;
}

.notice-box {
  max-width: 900px;
  margin: 36px auto 0;
  padding: 28px;
  background: var(--beige-2);
  border-radius: 18px;
}

/* OPTION */
.option-section {
  background: #fff;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.option-grid.option-grid-single {
  grid-template-columns: minmax(0, 440px);
  justify-content: center;
}

.option-tax-note {
  margin: 24px auto 0;
  max-width: 900px;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

.option-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.option-card h3 {
  margin: 0 0 16px;
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
  line-height: 1.6;
}

.option-price {
  margin: 0 0 18px;
  color: var(--main-dark);
  font-size: 1.35rem;
  font-weight: 700;
}

.option-card>p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.9;
  text-align: left;
}

@media (max-width: 680px) {
  .option-grid {
    grid-template-columns: 1fr;
  }

  .option-card {
    padding: 28px 22px;
  }
}

/* お見合い料0円：黄色マーカー */
.marker-yellow {
  display: inline;
  background: linear-gradient(transparent 65%,
      #FFE77A 65%);
  padding: 0 4px;
}

/* =========================================================
   Flow
   ========================================================= */
.flow {
  background: #fff
}

/* FLOWページ：ヒーロー下の余白を調整 */
.flow-page .page-hero {
  padding-bottom: 60px;
}

.flow-section {
  padding-top: 20px;
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1100px;
}

.flow-list li {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.flow-content {
  min-width: 0;
}

.flow-image {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.flow-image img {
  width: 100%;
  height: auto;
  display: block;
}

.flow-list span {
  font-family: "Noto Serif JP", serif;
  color: var(--main-color);
  font-size: 2.6rem;
  line-height: 1;
  align-self: center;
  margin-top: 0;
}

.flow-list b {
  font-size: 1.1rem
}

.flow-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .9rem
}

.flow-section .center {
  margin-top: 40px;
}

/* =========================================================
   Counselor
   ========================================================= */
.counselors {
  background: var(--beige-2)
}

.counselor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.counselor-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.counselor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.counselor-card>div {
  padding: 30px
}

.counselor-card h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  margin: 0;
}

.role {
  color: var(--main-dark);
  font-size: .8rem;
  font-weight: 700
}

.role-male {
  color: #B7D9C4;
}

.counselor-card>div>p:not(.role) {
  color: var(--muted);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  background: var(--pink-bg)
}

.faq-wrap {
  max-width: 900px
}

/* =========================================================
   FAQ
   ========================================================= */

.faq {
  background: var(--pink-bg);
}

.faq-wrap {
  max-width: 900px;
}

/* FAQ全体 */
.accordion details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 16px 0;
  padding: 0 28px;
}

/* 質問 */
.accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 78px;
  padding: 18px 48px 18px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

/* 標準の▶を削除 */
.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::marker {
  content: "";
}

/* 左側の Q */
.accordion summary::before {
  content: "Q";
  flex: 0 0 auto;
  color: #B7D9C4;
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

/* 右側の ＋ */
.accordion summary::after {
  content: "＋";
  position: absolute;
  top: 50%;
  right: 0;
  color: #8F6841;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

/* 開いたとき ＋ → − */
.accordion details[open] summary::after {
  content: "−";
}

/* 回答 */
.accordion p {
  position: relative;
  margin: 0;
  padding: 0 0 24px 58px;
  color: var(--muted);
  line-height: 1.9;
}

/* 左側の A */
.accordion p::before {
  content: "A";
  position: absolute;
  top: 0;
  left: 0;
  color: #FABE96;
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.faq-wrap>.center {
  margin-top: 40px;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-page-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.contact-intro h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
}

.contact-method {
  margin-top: 30px;
  padding: 24px;
  background: var(--beige-2);
  border-radius: 18px;
}

.contact-form {
  display: grid;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600
}

.contact-form label span {
  display: inline-block;
  margin-left: 8px;
  color: var(--main-dark);
  font-size: .7rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9ccca;
  border-radius: 10px;
  padding: 13px 14px;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #FFB8DC;
  border-color: var(--main-color);
}

.contact-form .check {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  font-weight: 400;
  font-size: .85rem;
}

.contact-form .check input {
  width: auto
}

/* =========================================================
   DATA page - graph/table
   ========================================================= */
.unmarried-chart-section {
  background: #fff
}

.unmarried-chart-card {
  background: #f2f0e9;
  border: 1px solid #c9c4b8;
  border-radius: 4px;
  padding: 0 0 20px;
  overflow: hidden;
}

.chart-titlebar {
  display: flex;
  align-items: center;
  border-top: 4px solid #1aae90;
  border-bottom: 1px solid #1aae90;
  background: #fff;
  min-height: 48px;
  font-size: 1.1rem;
}

.chart-titlebar .chart-no {
  background: #12ad91;
  color: #fff;
  font-weight: 700;
  padding: 8px 18px;
  margin-right: 14px;
}

.chart-titlebar strong {
  padding-right: 14px
}

.chart-legend-note {
  padding: 16px 28px 4px;
  font-size: .82rem;
  color: #5f5954;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.actual-dot,
.forecast-dot {
  display: inline-block;
  width: 28px;
  height: 4px;
  border-radius: 10px;
  margin-left: 8px;
}

.actual-dot {
  background: #5c8fc9
}

.forecast-dot {
  background: repeating-linear-gradient(90deg, #5c8fc9 0 7px, transparent 7px 12px);
}

.chart-stage {
  height: 520px;
  padding: 18px 28px 4px;
  background: #f2f0e9;
}

.chart-source {
  margin: 16px 28px 0;
  padding-top: 12px;
  border-top: 1px solid #bdb7aa;
  font-size: .76rem;
  line-height: 1.7;
  color: #4f4a46;
}

.chart-source p {
  margin: 6px 0
}

.chart-static-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}

.data-table-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.data-table-card table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.data-table-card th,
.data-table-card td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

.data-table-card th:first-child,
.data-table-card td:first-child {
  text-align: left
}

.data-table-card p {
  font-size: .7rem;
  color: var(--muted)
}

/* =========================================================
   Footer - 全ページ共通
   ========================================================= */
.site-footer {
  padding: 56px 0 20px;
  background: #3d3735;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand small {
  color: #cbbfbc
}

.site-footer p {
  font-size: .78rem;
  color: #d2c8c5;
  margin: 3px 0
}

/* =========================================================
   FOOTER NAVIGATION
   ========================================================= */

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 0;
  font-size: .9rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(63, 55, 53, .15);
  color: #3f3735;
  transition:
    transform .3s ease,
    color .3s ease;
}

.footer-links a::before {
  content: "◆";
  flex-shrink: 0;
  color: #8f817c;
  font-size: .5rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(63, 55, 53, .15);
  color: #3f3735;

  transition:
    padding-left .3s ease,
    color .3s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  padding-left: 8px;
  color: #FFB8DC;
}

@media (max-width: 680px) {
  .footer-links {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .footer-links a {
    padding: 18px 0;
  }
}

.copyright {
  text-align: center;
  color: #968b87;
  font-size: .68rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 34px;
  padding-top: 18px;
}

/* Common interaction */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--main-color);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none
}

.sp-only {
  display: none
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:980px) {

  .global-nav,
  .header-cta {
    display: none
  }

  .menu-button {
    display: block
  }

  .global-nav.open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 77px;
    background: #fff;
    padding: 20px;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
  }

  .global-nav.open a {
    align-items: flex-start
  }

  .about-grid {
    grid-template-columns: 1fr
  }

  .stats-grid,
  .support-steps {
    grid-template-columns: repeat(2, 1fr)
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .contact-page-grid,
  .chart-static-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:680px) {
  .container {
    width: min(100% - 28px, 1180px)
  }

  .section {
    padding: 72px 0
  }

  .history-timeline::before {
    left: 9px;
  }

  .history-item {
    display: block;
    min-height: 0;
    padding: 0 0 30px 38px;
  }

  .history-item:last-child {
    padding-bottom: 0;
  }

  .history-item::before {
    top: 8px;
    left: 1px;
    transform: none;
  }

  .history-item time {
    display: block;
    margin-bottom: 8px;
    text-align: left;
  }

  .history-content {
    padding: 15px 18px;
  }

  .history-message {
    margin-top: 40px;
  }

  .pc-only {
    display: none;
  }

  .header-inner {
    height: 68px
  }

  /* スマホ用ヘッダーロゴ */
  .header-inner {
    height: 94px;
  }

  .header-logo {
    margin-right: 0;
  }

  .header-logo img {
    content: url("../images/phonelogo.png");
    width: auto;
    height: 82px;
    object-fit: contain;
  }

  .brand {
    min-width: 0
  }

  .brand strong {
    font-size: .9rem
  }

  .brand small {
    font-size: .58rem
  }

  .page-hero {
    padding: 60px 0 48px
  }

  .stats-grid,
  .support-steps,
  .plan-grid,
  .counselor-grid {
    grid-template-columns: 1fr
  }

  .aftercare-box {
    padding: 34px 22px
  }

  .after-flow {
    justify-content: flex-start
  }

  .after-flow i {
    display: none
  }

  .chart-stage {
    height: 390px;
    padding: 10px 10px 0
  }

  .chart-source {
    margin: 12px 14px 0
  }

  .chart-titlebar {
    font-size: .92rem
  }

  .chart-titlebar .chart-no {
    padding: 7px 10px
  }

  .counselor-card {
    grid-template-columns: 1fr
  }

  .flow-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px 16px;
    padding: 32px 0;
  }

  .flow-list li>span {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    margin-top: 0;
    font-size: 1.65rem;
    line-height: 1.4;
  }

  .flow-content {
    grid-column: 2;
    grid-row: 1;
  }

  .flow-image {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 8px;
    border-radius: 16px;
  }

  .flow-image img {
    width: 100%;
    height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .sp-only {
    display: block
  }
}

/* =========================================================
   Header CTA / Request form
   ========================================================= */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 160px;
}

.header-request {
  min-height: 44px;
  padding: 0 18px;
  font-size: .84rem;
  white-space: nowrap;
}

.mobile-header-cta {
  display: none;
}

.contact-form select {
  width: 100%;
  border: 1px solid #d9ccca;
  border-radius: 10px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
}

.contact-form select:focus {
  outline: 2px solid #FFB8DC;
  border-color: var(--main-color);
}

.form-note {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.6;
  font-weight: 400;
}

.request-guide .btn {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .header-actions {
    display: none;
  }

  .mobile-header-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 10px;
  }

  .mobile-header-cta .btn {
    min-height: 44px;
    padding: 0 18px;
  }
}

@media (max-width: 680px) {
  .mobile-header-cta {
    flex-direction: column;
  }

  .mobile-header-cta .btn {
    width: 100%;
  }
}


/* =========================================================
   Footer Social
   ========================================================= */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 600;
  transition: transform .25s ease, border-color .25s ease,
    box-shadow .25s ease, color .25s ease;
}

.footer-social-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

.footer-social-link.line svg {
  fill: currentColor;
  stroke: none;
}

.footer-social-link.instagram:hover,
.footer-social-link.instagram:focus-visible {
  color: #FFB8DC;
  border-color: #FFB8DC;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 105, 180, .16);
}

.footer-social-link.is-disabled {
  opacity: .48;
  cursor: default;
}

.footer-social-link small {
  display: block;
  margin-top: 1px;
  font-size: .6rem;
  font-weight: 500;
}

@media (max-width: 680px) {
  .footer-social {
    justify-content: flex-start;
  }
}


/* =========================================================
   Footer Social placement fix
   ========================================================= */
.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-block .footer-social {
  margin-top: 14px;
  margin-left: 48px;
}

@media (max-width: 680px) {
  .footer-brand-block .footer-social {
    margin-left: 0;
  }
}

/* フッターロゴ */
.footer-logo {
  display: inline-block;
}

.footer-logo img {
  width: auto;
  height: 90px;
  object-fit: contain;
}

/* =========================================================
   Footer SNS - icon only
   ========================================================= */
.footer-brand-block .footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  margin-left: 0px;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  text-decoration: none;
  transition: transform .25s ease, opacity .25s ease;
}

.footer-social-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(1.15) saturate(1.15);
}

a.footer-social-icon:hover,
a.footer-social-icon:focus-visible {
  transform: translateY(-3px) scale(1.08);
}

.footer-social-icon.line-disabled {
  opacity: .45;
  cursor: default;
}

@media (max-width: 680px) {
  .footer-brand-block .footer-social {
    margin-left: 0;
  }
}

/* =========================================================
   ページ内の画面遷移ボタン専用
   ※ header / footer は対象外
   ========================================================= */
main a.transition-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--main-color) !important;
  border-radius: 999px;
  background: #fff !important;
  color: var(--main-dark) !important;
  box-shadow: none !important;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    transform .25s ease,
    color .3s ease,
    border-color .3s ease,
    box-shadow .3s ease,
    background .3s ease;
}

main a.transition-btn::after {
  content: "＞";
  display: inline-block;
  flex: 0 0 auto;
  transition: transform .28s ease;
}

main a.transition-btn:hover,
main a.transition-btn:focus-visible {
  background: #FFB8DC !important;
  color: #fff !important;
  border-color: #FFB8DC !important;
  box-shadow: 0 10px 26px rgba(255, 105, 180, .24) !important;
  transform: translateY(-2px);
}

main a.transition-btn:hover::after,
main a.transition-btn:focus-visible::after {
  transform: translateX(7px);
}

main a.transition-btn:focus-visible {
  outline: 3px solid rgba(255, 105, 180, .25);
  outline-offset: 3px;
}

/* text-link だったリンクもボタンとして自然に表示 */
main a.text-link.transition-btn {
  margin-top: 22px;
}

/* スマホ */
@media (max-width: 680px) {
  main a.transition-btn {
    min-height: 48px;
    padding: 0 22px;
    font-size: .9rem;
  }
}

/* =========================================================
   Corporate Color 2026-09-11
   Main: #FFB8DC / Sub: #B7D9C4 / Background: #FFFFFF
   ========================================================= */

/* ページ背景 */
body,
.page-hero,
.alt {
  background: #fff;
}

/* 通常ボタン：白 → hoverでメインピンク */
.btn-primary,
.btn-ghost {
  background: #fff;
  color: #3f3735;
  border: 1px solid #FFB8DC;
  box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: #FFB8DC;
  color: #3f3735;
  border-color: #FFB8DC;
  box-shadow: 0 10px 25px rgba(255, 184, 220, .28);
}

/* フッター */
.site-footer {
  background: #FFFAF2;
  color: #3f3735;
}

.site-footer a {
  color: #3f3735;
}

.site-footer p,
.footer-brand small,
.copyright {
  color: #7e7471;
}

.copyright {
  border-top-color: rgba(63, 55, 53, .12);
}

/* ボタン hover時の文字色：黒 */
.btn:hover,
.btn:focus-visible,
main a.transition-btn:hover,
main a.transition-btn:focus-visible {
  color: #000 !important;
}

/* ボタン文字色を黒に統一 */
main a.transition-btn {
  color: #000 !important;
}

main a.transition-btn::after {
  color: #000 !important;
}

/* ホバー時も黒文字 */
main a.transition-btn:hover,
main a.transition-btn:focus-visible {
  background: #FFB8DC !important;
  color: #000 !important;
}

main a.transition-btn:hover::after,
main a.transition-btn:focus-visible::after {
  color: #000 !important;
}

/* TOP ファーストビューCTA */
.hero-actions .btn {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #FFB8DC !important;
}

.hero-actions .btn:hover,
.hero-actions .btn:focus-visible {
  background: #FFB8DC !important;
  color: #000 !important;
  border-color: #FFB8DC !important;
}

/* =========================================================
   Email / Form - info@en-musubi-nara.jp 対応
   ========================================================= */
.footer-email a {
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.contact-email-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}


/* =========================================================
   NEWS
   ========================================================= */
.news-list {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 130px 110px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
}

.news-date {
  color: var(--muted);
  font-size: .92rem;
  white-space: nowrap;
}

.news-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 2px 14px;
  border-radius: 999px;
  background: #FFF6FA;
  border: 1px solid var(--main-color);
  font-size: .78rem;
  white-space: nowrap;
}

.news-title {
  font-weight: 500;
  line-height: 1.7;
}

.news-intro {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
  color: var(--muted);
}

.home-news {
  background: #fff;
}

.home-news .news-list {
  max-width: 920px;
}

.home-news-more {
  margin-top: 34px;
  text-align: center;
}

@media (max-width: 680px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 2px;
  }

  .news-category {
    width: fit-content;
  }
}

/* ===== PAGE HERO 説明文 ===== */

.page-hero-lead {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.8;
}

.page-hero-description {
  margin-top: 12px;
  min-width: 1100px;
  font-size: .95rem;
  font-weight: 400;
  line-height: 2;
}

.support-title {
  max-width: none;
  width: 100%;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .support-title {
    white-space: normal;
  }
}

/* Footer navigation - mobile */
@media (max-width: 680px) {
  .footer-links {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .footer-links a {
    padding: 18px 0;
  }
}

/* =========================================================
   PLAN COMPARISON
   ========================================================= */
.plan-comparison-section {
  padding-top: 20px;
  background: #fff;
}

.plan-comparison-wrap {
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.plan-comparison-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.plan-comparison-table th,
.plan-comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

/* プラン比較表の縦線 */
.plan-comparison-table th:not(:last-child),
.plan-comparison-table td:not(:last-child) {
  border-right: 1px solid var(--line);
}

.plan-comparison-table thead th {
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.plan-comparison-table thead th:first-child {
  width: 46%;
  text-align: left;
  background: #FFFAF2;
}

.plan-comparison-table .basic-column {
  width: 27%;
  background: #F7FBF8;
}

.plan-comparison-table .plus-column {
  width: 27%;
  background: #FFF9FC;
}


.plan-comparison-table tbody th {
  background: #fff;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 500;
  text-align: left;
}

.plan-comparison-table tbody td {
  font-size: 1.5rem;
  font-weight: 700;
}

/* BASIC PLUS PLAN：ピンク */
.plan-comparison-table tbody td:nth-child(2) {
  background: #FFF9FC;
}

/* BASIC PLAN：グリーン */
.plan-comparison-table tbody td:nth-child(3) {
  background: #F7FBF8;
}

.plan-comparison-table .basic-check {
  color: #79B992;
}

.plan-comparison-table .plus-check {
  color: #F27FB6;
}

.plan-comparison-table .not-included {
  color: #B8B0AD;
  font-weight: 500;
}

.support-detail summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.support-detail summary::-webkit-details-marker {
  display: none;
}

.support-detail summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #FF69B4;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.support-detail[open] summary::after {
  content: "−";
}

.support-detail p {
  margin: 12px 0 0;
  color: #8F6841;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

.plan-comparison-table tbody tr:last-child th,
.plan-comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

/* =========================================================
   PLAN COMPARISON｜スマホ
   ========================================================= */
@media (max-width: 680px) {

  .plan-comparison-section {
    padding-top: 0;
  }

  .plan-comparison-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 18px;
  }

  .plan-comparison-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  /* ヘッダー */
  .plan-comparison-table thead th:first-child {
    width: 48%;
  }

  .plan-comparison-table .basic-column,
  .plan-comparison-table .plus-column {
    width: 26%;
    padding: 12px 3px;
    font-size: .62rem;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
  }

  /* 左側の項目 */
  .plan-comparison-table tbody th {
    width: 48%;
    padding: 16px 10px;
  }

  .support-detail summary {
    padding-right: 0;
    gap: 4px;
    font-size: .76rem;
    line-height: 1.6;
  }

  /* ○・― */
  .plan-comparison-table tbody td {
    width: 26%;
    padding: 16px 2px;
    font-size: 1.5rem;
    text-align: center;
  }

  /* ＋ボタン */
  .support-detail summary::after {
    margin-left: auto;
  }
}

/* =========================================================
   Fixed consultation CTA: LINE image
   PC: right side / Mobile: bottom-right
   ========================================================= */
.floating-consult {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 1100;
}

.floating-consult__btn {
  display: block;
  width: 260px;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  filter: drop-shadow(0 10px 18px rgba(63, 55, 53, .14));
  transition: transform .2s ease, filter .2s ease;
}

.floating-consult__btn:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 14px 24px rgba(63, 55, 53, .20));
}

.floating-consult__image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 680px) {
  body {
    padding-bottom: 0;
  }

  .floating-consult {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: auto;
  }

  .floating-consult__btn {
    width: min(210px, 58vw);
    filter: drop-shadow(0 7px 14px rgba(63, 55, 53, .14));
  }

  .to-top {
    right: 14px;
    bottom: 82px;
  }
}

/* =========================================================
   Mobile horizontal overflow guard
   スマホでページ全体が横スクロールしないようにする
   ========================================================= */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {

  html,
  body {
    overflow-x: clip;
  }
}

@media (max-width: 680px) {

  /* 下層ページの説明文が1100px固定幅で画面を押し広げないようにする */
  .page-hero-description {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  /* LINE固定画像は必ず画面内に収める */
  .floating-consult {
    left: auto;
    right: 10px;
    max-width: calc(100vw - 20px);
  }

  .floating-consult__btn {
    width: min(210px, 58vw);
    max-width: calc(100vw - 20px);
  }

  .floating-consult__image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

/* DATAカード スマホ調整 */
@media (max-width: 680px) {
  .stat-card {
    min-width: 0;
    padding: 24px 20px;
  }

  .stat-pair {
    min-width: 0;
  }

  .data-source {
    font-size: .62rem;
    line-height: 1.7;
  }
}

/* data.html｜スマホ見出し1行 */
@media screen and (max-width: 680px) {
  body.page-data .page-hero h1 {
    font-size: 1.4rem !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
  }
}

/* data.html｜TRENDS見出し スマホ1行 */
@media screen and (max-width: 680px) {
  body.page-data .unmarried-chart-section .section-heading h2 {
    font-size: 1.4rem !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
  }
}

/* data.html｜MESSAGE スマホ調整 */
@media screen and (max-width: 680px) {

  /* 上の説明文を左揃え */
  body.page-data .data-message p {
    text-align: left !important;
  }

  /* 下のメッセージを2行固定 */
  body.page-data .data-message h3 {
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;

    font-size: clamp(.92rem, 4.15vw, 1.1rem) !important;
    line-height: 1.8 !important;
    letter-spacing: -0.03em !important;

    text-align: center;
    white-space: nowrap;
    word-break: keep-all;
  }
}

/* =========================================================
   フッターナビ：プライバシーポリシーを1行表示
   ========================================================= */

@media (min-width: 681px) {

  .footer-grid {
    grid-template-columns: 1fr 0.8fr 1.6fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(185px, 1fr));
    column-gap: 60px;
  }

  .footer-links a {
    white-space: nowrap;
  }
}

/* プライバシーポリシー同意リンク */
.check .privacy-link {
  color: #E978AE;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: opacity .25s ease;
}

.check .privacy-link:hover {
  opacity: .7;
}

/* =========================================================
   TMS / SCRUM ロゴ
   ========================================================= */

.network-logo-img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto;
}

.network-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 18px 20px;
}

.affiliation-title span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .affiliation-title span {
    white-space: normal;
  }
}

/* =========================================================
   Service - Ongoing Support
   ========================================================= */
.ongoing-support {
  padding-top: 20px;
  background: #fff;
}

.ongoing-support-box {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ongoing-support-box h2 {
  margin: .25rem 0 1.2rem;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.55;
  letter-spacing: .04em;
}

.ongoing-support-lead,
.ongoing-support-message {
  line-height: 2;
}

.ongoing-support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 32px;
  max-width: 900px;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
}

.ongoing-support-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  background: transparent;
  line-height: 1.8;
}

.ongoing-support-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--main-color);
  font-weight: 700;
}

.ongoing-support-message {
  margin-bottom: 0;
  font-weight: 500;
}

/* SERVICEページ：見出しサイズ調整 */
.support-title,
.aftercare h2,
.ongoing-support-box h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.55;
}

@media (max-width: 680px) {
  .ongoing-support-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* =========================================================
   SERVICEページ：見出しサイズ統一
   ========================================================= */

/* サービス・サポート */
body:has(.ongoing-support) .page-hero h1,

/* 「何から始める？」という段階から、丁寧にサポート。 */
body:has(.ongoing-support) .section-heading h2,

/* 入会したら、あとは一人で頑張る。ではありません。 */
body:has(.ongoing-support) .ongoing-support-box h2,

/* まずは、話してみることから。 */
body:has(.ongoing-support) .aftercare h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.55;
}

/* =========================================================
   SERVICE - ONGOING SUPPORT チェック項目
   ========================================================= */

.ongoing-support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.ongoing-support-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px 24px 18px 52px;

  background: #fff;
  border: 1px solid #FFB8DC;
  border-radius: 22px;

  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
}

.ongoing-support-list li::before {
  content: "✓";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);

  color: #FFB8DC;
  font-size: 1.15rem;
  font-weight: 700;
}

/* スマホ */
@media (max-width: 680px) {
  .ongoing-support-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ongoing-support-list li {
    min-height: 64px;
    padding: 15px 18px 15px 46px;
    border-radius: 18px;
    font-size: .95rem;
  }

  .ongoing-support-list li::before {
    left: 18px;
  }
}

.site-footer .footer-reply-note {
  font-size: 0.75rem !important;
  color: #a79b97;
  line-height: 1.5;
}

.campaign-note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: #8f817c;
  line-height: 1.8;
}

/* =========================================
   ABOUT｜COUNSELOR スマホ表示
========================================= */
@media (max-width: 680px) {

  .counselor-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .counselor-card {
    display: block;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
  }

  /* 写真 */
  .counselor-card>img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
  }

  /* 名前・肩書き・文章 */
  .counselor-card>div {
    position: static;
    padding: 24px 22px 28px;
    background: #fff;
  }

  .counselor-card h3 {
    margin: 0 0 6px;
  }

  .counselor-card .role {
    margin: 0 0 18px;
  }

  .counselor-card p {
    margin-top: 0;
  }
}

/* 料金ページ CONTACT 見出しサイズ統一 */
.contact-mini h2 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.45;
  margin: .25rem 0 1rem;
  letter-spacing: .04em;
}

/* FAQ内のテキストリンク */
.faq-text-link {
  color: #C87591;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.faq-text-link:hover {
  color: #A84E70;
  text-decoration-thickness: 2px;
}

.faq-text-link:focus-visible {
  outline: 2px solid #C87591;
  outline-offset: 3px;
}

/* COUNSELOR PC写真の切れ防止 */
@media (min-width: 681px) {
  .counselor-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
  }
}

/* PLANページ｜見出しを中央配置 */
.plan-page .page-hero .container {
  text-align: center;
}

.plan-page .page-hero .container>p:last-child {
  margin-left: auto;
  margin-right: auto;
}

/* 料金プラン：こんな方におすすめ */
.plan-page .plan-card .plan-recommendations {
  margin-top: 22px;
  padding: 20px 18px;
  border-radius: 14px;
  background: #fff9fc;
  border: 1px solid #f8e2ed;
}

.plan-page .plan-card .plan-recommendations h4 {
  margin: 0 0 10px;
  color: #8F6841;
  font-size: 1rem;
  font-weight: 700;
}

.plan-page .plan-card .plan-recommendations ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-page .plan-card .plan-recommendations li {
  position: relative;
  padding-left: 1.35em;
  line-height: 1.75;
  font-size: .91rem;
}

.plan-page .plan-card .plan-recommendations li+li {
  margin-top: 8px;
}

.plan-page .plan-card .plan-recommendations li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e994bd;
  font-weight: 700;
}

/* BASIC PLUS PLAN：〇の文字色をピンク */
.plan-page .plan-comparison-table tbody td:nth-child(2) {
  color: #FF69B4;
}

/* BASIC PLAN：〇の文字色をグリーン */
.plan-page .plan-comparison-table tbody td:nth-child(3) {
  color: #70B890;
}

/* プラン比較：TMSスクールへの画像リンク */
.plan-page .support-detail .tms-school-link {
  display: block;
  width: 100%;
  margin-top: 14px;
  line-height: 0;
}

.plan-page .support-detail .tms-school-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.plan-page .support-detail .tms-school-link:focus-visible {
  outline: 3px solid #FFB8DC;
  outline-offset: 3px;
}

/* SERVICEページ：TOTAL MEMBERS / サービス一覧 */
.service-page .service-network-section {
  padding: 90px 0 74px;
  background: #fff;
}

.service-page .service-network-section .section-heading {
  max-width: 920px;
  margin: 0 auto;
}

.service-page .service-network-section h1 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.5;
  margin: 8px 0 24px;
}

.service-page .service-network-lead {
  color: #665d5a;
  font-size: 1.05rem;
  line-height: 2.1;
  margin: 0 auto;
  max-width: 900px;
}

.service-page .service-list-section {
  padding: 68px 0 110px;
  background: #fff;
}

.service-page .service-list-section .section-heading {
  margin-bottom: 42px;
}

.service-page .service-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-page .service-list-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 110px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid #FFB8DC;
  border-radius: 22px;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 500;
}

.service-page .service-list-check {
  color: #FFB8DC;
  font-size: 1.45rem;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .service-page .service-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .service-page .service-network-section {
    padding: 58px 0 45px;
  }

  .service-page .service-network-lead {
    font-size: .94rem;
    line-height: 1.95;
    text-align: left;
  }

  .service-page .service-list-section {
    padding: 45px 0 72px;
  }

  .service-page .service-list-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-page .service-list-card {
    min-height: 76px;
    padding: 17px 20px;
    border-radius: 17px;
    font-size: .94rem;
  }
}

/* SERVICE：料金プランへの注記 */
.service-plan-note {
  margin: 24px 0 0;
  text-align: center;
  color: #8F6841;
  font-size: .9rem;
}

.service-plan-note a {
  color: #8F6841;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-plan-note a:hover {
  color: #d778a8;
}

/* プラン比較表：スマホの〇・－のサイズを統一 */
@media (max-width: 680px) {

  .plan-page .plan-comparison-table tbody td,
  .plan-page .plan-comparison-table tbody td span {
    font-size: 1.5rem !important;
    line-height: 1.5;
  }
}