/**
 * Nanairo Theme - Main Stylesheet
 * Colors: #f5f1e9 / #b5928a / #f0d6d1 / #ffffff
 * Mobile-first responsive
 */

/* ==========================================================================
   Custom Properties
   ========================================================================== */
:root {
  --c-primary: #b5928a;
  --c-primary-dark: #9a7a72;
  --c-primary-light: #f0d6d1;
  --c-bg: #f5f1e9;
  --c-white: #ffffff;
  --c-text: #4a3f3a;
  --c-text-light: #7a6f6a;
  --c-border: #e0d5cc;
  --ff-base:
    "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    "YuGothic", "Meiryo", sans-serif;
  --w-inner: 1100px;
  --header-h: 64px;
  --transition: 0.3s ease;
  --radius: 12px;
  /* Depth & hierarchy */
  --shadow-btn:
    inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 3px 0 rgba(122, 98, 90, 0.28),
    0 8px 20px rgba(74, 63, 58, 0.16);
  --shadow-btn-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 4px 0 rgba(122, 98, 90, 0.32),
    0 14px 32px rgba(74, 63, 58, 0.2);
  --shadow-btn-active:
    inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 0 rgba(122, 98, 90, 0.35),
    0 4px 12px rgba(74, 63, 58, 0.14);
  --text-shadow-heading:
    0 1px 0 rgba(255, 255, 255, 0.42), 0 2px 14px rgba(181, 146, 138, 0.2);
  --text-shadow-heading-dark:
    0 1px 0 rgba(255, 255, 255, 0.55), 0 2px 10px rgba(74, 63, 58, 0.08);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-base);
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.sp-only {
  display: inline;
}

.section-title {
  font-size: 1.55rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 18px;
  color: var(--c-primary);
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-shadow: var(--text-shadow-heading);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.4;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    filter 0.2s ease,
    border-color 0.2s ease,
    background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--c-primary-light);
  outline-offset: 3px;
}

.btn--external {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.35em;
}

.btn--external .external-link__label {
  grid-column: 2;
  justify-self: center;
  text-align: center;
}

.btn--external .external-link__icon {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.btn-primary {
  background: linear-gradient(
    165deg,
    #c9ada3 0%,
    var(--c-primary) 42%,
    var(--c-primary-dark) 100%
  );
  color: var(--c-white);
  border-color: rgba(74, 63, 58, 0.12);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  box-shadow: var(--shadow-btn-hover);
}

.btn-primary:active {
  box-shadow: var(--shadow-btn-active);
}

/* ==========================================================================
   Site Main & Entry (non-front pages)
   ========================================================================== */

.page-main,
.single-main {
  max-width: var(--w-inner);
  margin: 0 auto;
}

.entry-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
  text-shadow: var(--text-shadow-heading-dark);
}

.entry-meta {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--c-text-light);
}

.entry-content {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--c-text);
}

.entry-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--c-text);
  text-shadow: var(--text-shadow-heading-dark);
}

.entry-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--c-text);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 1px 8px rgba(74, 63, 58, 0.06);
}

.entry-content p {
  margin-bottom: 1.6em;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.6em 1.4em;
}

.entry-content li {
  margin-bottom: 0.4em;
}

.post-thumbnail {
  margin-bottom: 32px;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

@media (min-width: 768px) {
  .page-main,
  .single-main {
    padding: 0;
  }

  .entry-title {
    font-size: 2rem;
  }

  .entry-content {
    font-size: 1rem;
  }

  .entry-content h2 {
    font-size: 1.7rem;
  }

  .entry-content h3 {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--c-white);
}

.header-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 56px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--c-primary);
}

.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(
    165deg,
    #c9ada3 0%,
    var(--c-primary) 42%,
    var(--c-primary-dark) 100%
  );
  color: var(--c-white) !important;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: center;
  border: 1px solid rgba(74, 63, 58, 0.12);
  box-shadow: var(--shadow-btn);
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    filter 0.2s ease;
}

.nav-cta--pc {
  display: none;
}

.nav-cta--sp {
  display: block;
  margin-top: 20px;
  padding: 14px 20px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: var(--shadow-btn-hover);
}

.nav-cta:active {
  transform: translateY(0);
  filter: brightness(0.98);
  box-shadow: var(--shadow-btn-active);
}

.nav-cta:focus-visible {
  outline: 2px solid var(--c-primary-light);
  outline-offset: 3px;
}

/* ヘッダー CTA は全文の中央寄せ用グリッドだとアイコンが右端に離れるため、ラベル＋アイコンをまとめて並べる */
.nav-cta--external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  text-align: center;
}

.nav-cta--external .external-link__label {
  flex: 0 1 auto;
  min-width: 0;
}

.nav-cta--external .external-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.nav-cta--external .external-link__icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.nav-cta--sp.nav-cta--external {
  display: flex;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.nav-cta--pc.nav-cta--external {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-text);
  position: absolute;
  left: 0;
  transition: var(--transition);
  border-radius: 1px;
}

.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger span:nth-child(3) {
  bottom: 0;
}

.hamburger.is-active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.nav-overlay.is-visible {
  display: block;
}

/* ==========================================================================
   Site Content
   ========================================================================== */
.site-content {
  padding-top: var(--header-h);
}

.front-main {
  max-width: none;
  padding: 0;
  margin: 0;
  /* ヒーロー画像高さ・キャンペーン重なり（.hero の兄弟 .campaign からも参照） */
  /*
   * 画像の表示領域の高さ = .hero-bg の高さ
   * 下方向に広げる → clamp の数値を大きくする（min / vh / max のいずれか）
   */
  --hero-image-h: clamp(260px, 42vh, 520px);
  --hero-inner-pad: 120px;
  --campaign-overlap-image: 60px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  /* 縦の余白は .hero-inner の min-height に任せる（無駄な空きを減らす） */
  min-height: 0;
  color: var(--c-text);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /* 高さは .front-main の --hero-image-h で調整 */
  height: var(--hero-image-h);
}

.hero-bg picture {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.hero-bg picture source {
  display: flex;
  flex-direction: column;
}

.hero-bg picture img {
  flex: 1 1 auto;
  min-height: 0;
}

.hero-bg img {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 横長枠内で上下を少し切り、ワイドな構図に近づける */
  object-position: center 42%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: calc(var(--hero-image-h) + var(--hero-inner-pad));
  max-width: var(--w-inner);
  margin: 0 auto;
  padding: 34px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-copy {
  max-width: 640px;
}

.hero-label {
  margin-top: 0;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* モバイル（〜767px）の文字サイズ */
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #4e4743;
  /*
   * 明るい写真上でも読む：手前から
   * ① 8方向の白（細い画でもフチが切れにくい）
   * ② 中〜大の白ブラー（ハイライト背景との分離）
   */
  text-shadow:
    0 0 1px rgba(255, 255, 255, 1),
    -1px 0 0 rgba(255, 255, 255, 0.3),
    1px 0 0 rgba(255, 255, 255, 0.3),
    0 -1px 0 rgba(255, 255, 255, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.3),
    -1px -1px 0 rgba(255, 255, 255, 0.085),
    1px -1px 0 rgba(255, 255, 255, 0.085),
    -1px 1px 0 rgba(255, 255, 255, 0.085),
    1px 1px 0 rgba(255, 255, 255, 0.085),
    0 0 8px rgba(255, 255, 255, 1),
    0 0 18px rgba(255, 255, 255, 0.92),
    0 0 32px rgba(255, 255, 255, 0.6);
}

.hero-title {
  /* モバイル（〜767px）の文字サイズ */
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-align: center;
  color: #4b4440;
  /* 見出しはラベルより白フチ・光彩を強め */
  text-shadow:
    0 0 1px rgba(255, 255, 255, 1),
    -1px 0 0 rgba(255, 255, 255, 0.98),
    1px 0 0 rgba(255, 255, 255, 0.98),
    0 -1px 0 rgba(255, 255, 255, 0.98),
    0 1px 0 rgba(255, 255, 255, 0.98),
    -1px -1px 0 rgba(255, 255, 255, 0.9),
    1px -1px 0 rgba(255, 255, 255, 0.9),
    -1px 1px 0 rgba(255, 255, 255, 0.9),
    1px 1px 0 rgba(255, 255, 255, 0.9),
    0 0 10px rgba(255, 255, 255, 1),
    0 0 22px rgba(255, 255, 255, 0.95),
    0 0 40px rgba(255, 255, 255, 0.75),
    0 0 56px rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   Campaign
   ========================================================================== */
.campaign {
  position: relative;
  z-index: 2;
  /* 画像下端より少し上まで重ねる（余白分を相殺 + --campaign-overlap-image） */
  margin-top: calc(
    -1 * (var(--hero-inner-pad) + var(--campaign-overlap-image))
  );
  padding: 0 16px 32px;
  --campaign-frame: #b5928a;
  --campaign-ink: var(--c-text);
  --campaign-accent: var(--c-primary);
  --campaign-pill-bg: var(--c-primary-light);
  --campaign-cta-bg: var(--c-primary-dark);
  --campaign-ff-display: var(--ff-base);
  --campaign-hit-size: clamp(1.55rem, 7.8vw, 2.72rem);
  /* 矢印トラックがこれより狭くならない（flex 縮小の下限） */
  --campaign-arrow-track-min: 3px;
  --campaign-arrow-track-max: 120px;
}

.campaign-shell {
  max-width: 920px;
  margin: 22px auto 0;
  padding: 10px;
  background: var(--campaign-frame);
  border-radius: 4px;
  filter: drop-shadow(0 8px 22px rgba(74, 63, 58, 0.16));
}

.campaign-inner {
  z-index: 0;
  background: #fff;
  border: 1px solid var(--campaign-accent);
  border-radius: 2px;
  padding: 22px 24px 20px;
  text-align: center;
  overflow: hidden;
}

.campaign-inner::before,
.campaign-inner::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 0;
  pointer-events: none;
}

.campaign-inner::before {
  top: 8px;
  left: 8px;
  background: linear-gradient(
    135deg,
    var(--campaign-accent) 0%,
    var(--campaign-accent) 48%,
    transparent 48%
  );
}

.campaign-inner::after {
  bottom: 8px;
  right: 8px;
  background: linear-gradient(
    -45deg,
    var(--campaign-accent) 0%,
    var(--campaign-accent) 48%,
    transparent 48%
  );
}

.campaign-promo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  color: var(--campaign-ink);
  font-family: var(--campaign-ff-display);
}

.campaign-promo__title {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  color: var(--campaign-ink);
}

.campaign-promo__title--pill {
  display: inline-block;
  margin: 0 0 10px;
  padding: 0.4em 1.35em;
  font-size: clamp(1.2rem, 2.5vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  color: var(--campaign-ink);
  background: var(--campaign-pill-bg);
  border-radius: 999px;
}

.campaign-promo__subtitle {
  margin: 0 0 16px;
  font-size: clamp(1rem, 2.4vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.45;
  color: var(--c-text-light);
}

.campaign-promo__step {
  margin-right: 0.12em;
  font-weight: 800;
}

.campaign-promo__unit {
  font-size: 0.72em;
  font-weight: inherit;
  letter-spacing: 0;
}

.campaign-promo__price-hit .campaign-promo__unit {
  font-weight: 800;
}

.campaign-promo__price-hit {
  display: inline-block;
  font-size: var(--campaign-hit-size);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--c-primary-dark);
}

.campaign-promo__row {
  display: flex;
  width: 100%;
  max-width: 680px;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
}

.campaign-promo__row--join {
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.campaign-promo__row--trial {
  margin-bottom: 14px;
}

.campaign-promo__row--trial .campaign-promo__join-line .campaign-promo__strike {
  margin-left: 0;
  margin-right: 0;
}

.campaign-promo__join-text {
  flex: 0 1 auto;
  text-align: center;
}

.campaign-promo__join-line {
  margin: 0;
  font-size: clamp(1.12rem, 4.6vw, 1.72rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: var(--campaign-ink);
}

.campaign-promo__join-line .campaign-promo__strike {
  margin-left: 0.2em;
}

.campaign-promo__strike {
  text-decoration: line-through;
  text-decoration-color: rgba(74, 63, 58, 0.38);
  font-weight: 600;
  color: rgba(74, 63, 58, 0.68);
}

.campaign-promo__arrow-track {
  flex: 1 1 48px;
  display: flex;
  align-items: center;
  min-width: var(--campaign-arrow-track-min);
  max-width: var(--campaign-arrow-track-max);
  height: 1.5em;
}

.campaign-promo__arrow-line {
  display: block;
  width: 100%;
  height: 0;
  border-bottom: 1.5px solid var(--campaign-ink);
  position: relative;
}

.campaign-promo__arrow-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--campaign-ink);
  border-bottom: 1.5px solid var(--campaign-ink);
  transform: translateY(-65%) rotate(-45deg);
  transform-origin: 100% 50%;
}

.campaign-promo__free,
.campaign-promo__row-value {
  margin: 0;
  flex-shrink: 0;
  font-size: var(--campaign-hit-size);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--c-primary-dark);
}

.campaign-promo__free-text {
  display: inline-block;
}

.campaign-promo__notes {
  margin: 0 0 14px;
  max-width: 520px;
  align-self: flex-end;
  text-align: right;
  font-size: clamp(0.75rem, 2vw, 0.62rem);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--c-text-light);
}

.campaign-promo__deadline-bar {
  width: 100%;
  max-width: 520px;
  margin: 0 0 18px;
  padding: 12px 12px;
  border-top: 2px solid var(--campaign-pill-bg);
  border-bottom: 2px solid var(--campaign-pill-bg);
}

.campaign-promo__deadline {
  margin: 0;
  font-size: clamp(1.2rem, 5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: var(--campaign-ink);
}

.campaign-promo__cta-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.campaign-promo__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.35em;
  width: 100%;
  max-width: 420px;
  min-height: 56px;
  padding: 10px 18px 10px 14px;
  background: linear-gradient(
    165deg,
    #c9ada3 0%,
    var(--c-primary) 42%,
    var(--c-primary-dark) 100%
  );
  color: #fff;
  border: 1px solid rgba(74, 63, 58, 0.12);
  border-radius: 999px;
  box-shadow: var(--shadow-btn);
  text-decoration: none;
}

.campaign-promo__cta:hover {
  color: #fff;
  box-shadow: var(--shadow-btn-hover);
  filter: brightness(1.04);
}

.campaign-promo__cta:active {
  box-shadow: var(--shadow-btn-active);
  filter: brightness(0.98);
}

.campaign-promo__cta:focus-visible {
  outline: 2px solid var(--campaign-accent);
  outline-offset: 3px;
}

.campaign-promo__cta-copy {
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
}

.campaign-promo__cta-label {
  font-size: clamp(0.92rem, 3.1vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.campaign-promo__cta .external-link__icon {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

/* ==========================================================================
   Concerns
   ========================================================================== */
.concerns {
  padding: 40px 20px;
  background: var(--c-white);
}

.concerns-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
}

.concerns-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.concerns-list {
  margin: 0 0 24px;
}

.concerns-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 0.95rem;
  border-bottom: 1px dotted var(--c-border);
}

.concerns-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--c-primary-light);
  border-radius: 50%;
}

.concerns-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-primary);
  line-height: 1.8;
  text-shadow: var(--text-shadow-heading);
}

.concerns-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ==========================================================================
   Before / After
   ========================================================================== */
.before-after {
  padding: 40px 20px;
  background: var(--c-bg);
}

.before-after-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
}

.before-after .section-title {
  margin-bottom: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}

.ba-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-primary);
  text-align: center;
  margin-bottom: 0;
  letter-spacing: 0.05em;
  text-shadow: var(--text-shadow-heading);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.ba-grid:last-child {
  margin-bottom: 0;
}

.ba-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

/* ==========================================================================
   Voices
   ========================================================================== */
.voices {
  padding: 40px 0;
  background: var(--c-white);
  overflow: hidden;
}

.voices-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
  padding: 0 20px;
}

.voices .section-title {
  padding: 0;
}

.voices-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px calc(50% - 150px);
  scrollbar-width: none;
  cursor: grab;
}

.voices-slider::-webkit-scrollbar {
  display: none;
}

.voices-slider.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;
}

.voice-card {
  flex: 0 0 300px;
  scroll-snap-align: center;
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: 0 24px;
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.voice-card.is-inactive {
  opacity: 0.4;
  transform: scale(0.95);
}

.voices-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 7px;
}

.voices-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background var(--transition),
    transform var(--transition);
}

.voices-dot.is-active {
  background: var(--c-primary);
  transform: scale(1.3);
}

.voice-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.voice-image {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.voice-meta {
  min-width: 0;
}

.voice-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 1px 6px rgba(74, 63, 58, 0.05);
}

.voice-age {
  font-size: 0.75rem;
  color: var(--c-text-light);
}

.voice-rating {
  font-size: 0.8rem;
  color: #e8a948;
  margin-top: 2px;
}

.voice-rating span {
  font-weight: 700;
  color: var(--c-text);
  font-size: 0.75rem;
}

.voice-text {
  font-size: 0.85rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.voices-note {
  font-size: 0.7rem;
  color: var(--c-text-light);
  text-align: right;
  margin-top: 16px;
}

.voices-more {
  text-align: center;
  margin-top: 12px;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  text-align: center;
}

.cta-banner-link {
  display: block;
}

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

/* ==========================================================================
   Features
   ========================================================================== */
.features {
  padding: 40px 20px;
  background: var(--c-bg);
}

.features-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-body {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.feature-num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  padding: 2px 12px;
  background: var(--c-primary-light);
  border-radius: 50px;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  text-shadow: var(--text-shadow-heading);
}

.feature-text {
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ==========================================================================
   Personal / Group Compare
   ========================================================================== */
.pg-compare {
  padding: 40px 20px;
  background: var(--c-white);
}

.pg-compare-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
}

.pg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  line-height: 1.6;
}

.pg-compare .pg-table {
  font-size: 8px;
  table-layout: fixed;
}

.pg-table thead th {
  padding: 14px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-text);
  text-align: center;
  border-bottom: none;
}

.pg-table thead th:first-child {
  border-bottom: none;
}

.pg-table th,
.pg-table td {
  padding: 12px 10px;
  vertical-align: middle;
  text-align: center;
}

.pg-table tbody th {
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--c-text);
  width: 22%;
}

.pg-table td {
  font-weight: 700;
  font-size: 0.8rem;
}

.pg-compare .pg-table thead th,
.pg-compare .pg-table tbody th,
.pg-compare .pg-table td {
  font-size: 8px;
  width: 33.333%;
  box-sizing: border-box;
  border: 1px solid var(--c-border);
  padding: 12px 0;
}

.pg-compare .pg-table tbody th {
  text-align: center;
  white-space: normal;
  background-color: #f6f1e9;
}

.pg-compare .pg-table thead th:first-child {
  background-color: #f6f1e9;
}

.pg-compare .pg-table thead th:nth-child(2),
.pg-compare .pg-table tbody td:nth-child(2) {
  border: 2px solid var(--c-primary);
}

.pg-compare .pg-table thead th:nth-child(2) {
  font-size: 12px;
}

.pg-compare .pg-table tr.pg-row-highlight {
  background-color: transparent;
}

.pg-row-highlight {
  background: var(--c-primary-light);
}

.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    #f5f1eb 100%
  );
  border: 1.5px solid rgba(74, 63, 58, 0.35);
  color: var(--c-text);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 0 rgba(74, 63, 58, 0.08),
    0 6px 16px rgba(74, 63, 58, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    border-color 0.2s ease,
    background 0.25s ease,
    filter 0.2s ease;
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 63, 58, 0.5);
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 3px 0 rgba(74, 63, 58, 0.1),
    0 12px 28px rgba(74, 63, 58, 0.12);
  filter: brightness(1.02);
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 0 rgba(74, 63, 58, 0.1),
    0 4px 12px rgba(74, 63, 58, 0.08);
}

.btn-outline:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
}

.btn-outline.btn--external {
  display: inline-grid;
}

.faq .btn-outline {
  padding: 16px 48px;
  font-size: 1.1rem;
}

/* ==========================================================================
   Flow
   ========================================================================== */
.flow {
  padding: 40px 20px;
  background: var(--c-bg);
}

.flow-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
}

.flow-steps {
  max-width: 600px;
  margin: 0 auto;
}

.flow-step {
  position: relative;
  padding: 0 0 32px 56px;
  border-left: 2px solid var(--c-primary-light);
  margin-left: 16px;
}

.flow-step:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.flow-num {
  position: absolute;
  left: -17px;
  top: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(
    145deg,
    #c9ada3 0%,
    var(--c-primary) 50%,
    var(--c-primary-dark) 100%
  );
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(74, 63, 58, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 0 rgba(122, 98, 90, 0.25),
    0 4px 10px rgba(74, 63, 58, 0.12);
}

.flow-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 6px;
  line-height: 1.4;
  text-shadow: var(--text-shadow-heading);
}

.flow-step p {
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing {
  padding: 40px 20px;
  background: var(--c-bg);
}

.pricing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.pricing-inner .section-title {
  margin-bottom: 1rem;
}

.pricing-inner + .pricing-inner {
  margin-top: 4rem;
}

.pricing-table tbody th {
  width: auto;
  text-align: center;
  font-size: 0.85rem;
}

.pricing-table td {
  font-size: 0.9rem;
}

.pricing-table + .pricing-table {
  margin-top: 48px;
}

.pricing-table--ticket {
  margin-top: 24px !important;
}

.pg-row-recommend th {
  position: relative;
  text-align: center;
  vertical-align: middle;
}

/* バッジと「月4回」が重なりにくいよう最小幅（:has はバッジ行のみ） */
.pg-row-recommend th:has(.recommend-badge) {
  min-width: clamp(7.25rem, 42vw, 9.75rem);
}

.pricing-plan-name {
  display: block;
  text-align: center;
}

.recommend-badge {
  position: absolute;
  left: clamp(6px, 1.2vw + 4px, 10px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background: var(--c-white);
  color: var(--c-primary);
  font-size: clamp(0.58rem, 0.38rem + 1.35vw, 0.8rem);
  font-weight: 700;
  padding: clamp(1px, 0.15vw + 1px, 3px) clamp(6px, 0vw + 4px, 14px);
  border-radius: 50px;
  letter-spacing: 0.07em;
}

@media (max-width: 400px) {
  .pg-row-recommend th:has(.recommend-badge) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
  }

  .pg-row-recommend th:has(.recommend-badge) .recommend-badge {
    position: static;
    transform: none;
    font-size: clamp(0.54rem, 2.8vw + 0.38rem, 0.68rem);
    padding: clamp(1px, 0.2vw + 1px, 2px) clamp(6px, 2.5vw + 3px, 10px);
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: 40px 20px;
  background: var(--c-white);
}

.faq-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--c-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  gap: 16px;
  line-height: 1.6;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--c-primary);
  transition: transform var(--transition);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--c-text-light);
}

.faq-contact {
  text-align: center;
  margin-top: 40px;
}

.faq-contact-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
  text-shadow: var(--text-shadow-heading-dark);
}

.faq-contact-text {
  font-size: 0.85rem;
  color: var(--c-text-light);
  margin-bottom: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--c-bg);
  padding: 48px 20px 24px;
}

.footer-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}

.footer-logo a {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  height: 56px;
  width: auto;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-nav a {
  font-size: 0.8rem;
  color: var(--c-text);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--c-primary);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-social-link:hover {
  color: var(--c-primary);
}

.footer-social-label {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 24px;
  padding-top: 24px;
}

.copyright {
  font-size: 0.7rem;
  color: var(--c-text-light);
}

/* ==========================================================================
   Mobile Nav (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
  .hamburger {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 320px;
    background: var(--c-white);
    padding: calc(var(--header-h) + 24px) 24px 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--c-border);
  }

  .main-nav a {
    display: block;
    padding: 16px 0;
    font-size: 0.9rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ==========================================================================
   Desktop (768px+)
   ========================================================================== */
@media (min-width: 768px) {
  :root {
    --header-h: 72px;
  }

  body {
    font-size: 16px;
  }

  .sp-only {
    display: none;
  }

  .section-title {
    font-size: 1.85rem;
    margin-bottom: 18px;
  }

  /* Header */
  .nav-cta--pc {
    display: inline-block;
  }

  .nav-cta--pc.nav-cta--external {
    display: inline-flex;
  }

  .nav-cta--sp {
    display: none;
  }

  .nav-cta--sp.nav-cta--external {
    display: none;
  }

  .main-nav {
    margin-left: 32px;
  }

  .main-nav ul {
    gap: 2rem;
  }

  .main-nav a {
    font-size: 0.85rem;
  }

  /* Hero（768px 以上＝タブレット〜大画面まで同一トークン・同一見た目） */
  .front-main {
    --hero-image-h: clamp(476px, 73vh, 952px);
    --hero-inner-pad: 140px;
    --hero-pc-img-max-width: 80%;
    --campaign-overlap-image: 120px;
  }

  .hero-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
  }

  /* キャンペーン重なりトークンと左右の余白を揃える */
  .hero-bg picture {
    width: calc(100% - 1 * var(--campaign-overlap-image));
    margin-inline: auto;
  }

  .hero-bg picture img {
    flex: 0 1 auto;
    align-self: center;
  }

  .hero-bg img {
    width: auto;
    height: auto;
    max-width: var(--hero-pc-img-max-width);
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
  }

  .hero-inner {
    padding: 64px 44px 32px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
  }

  /* 見出し1行のため内容幅。はみ出す場合は .hero-inner を横スクロール */
  .hero-copy {
    width: max-content;
    max-width: 100%;
    text-align: center;
  }

  /* 768px 以上：ヒーロー見出し・サブ（ここだけ上書き） */
  .hero-title {
    font-size: 4.2rem;
    white-space: nowrap;
  }

  .hero-label {
    font-size: 1.4rem;
    white-space: nowrap;
  }

  /* Campaign（PC：ブロック全体を約二割小さく） */
  .campaign {
    padding: 0 16px 32px;
    --campaign-arrow-track-max: 140px;
  }

  .campaign-shell {
    max-width: 736px;
    padding: 9px;
    filter: drop-shadow(0 6px 18px rgba(74, 63, 58, 0.14));
  }

  .campaign-inner {
    padding: 26px 110px 24px;
  }

  .campaign-promo__title--pill {
    margin-bottom: 12px;
  }

  .campaign-promo__subtitle {
    margin-bottom: 18px;
  }

  .campaign-promo__row--trial {
    margin-bottom: 16px;
  }

  .campaign-promo__row--join {
    margin-bottom: 12px;
  }

  .campaign-promo__notes {
    margin-bottom: 16px;
  }

  .campaign-promo__deadline-bar {
    margin-bottom: 20px;
    padding: 14px 16px;
  }

  .campaign-promo__cta {
    max-width: 400px;
    min-height: 58px;
  }

  /* Concerns */
  .concerns {
    padding: 60px 20px;
  }

  .concerns-body {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  /* Before/After */
  .before-after {
    padding: 60px 20px;
  }

  .ba-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
  }

  .ba-subtitle {
    font-size: 1.8rem;
  }

  /* Voices */
  .voices {
    padding: 60px 0;
  }

  .voices-slider {
    gap: 24px;
    padding: 8px calc(50% - 180px);
  }

  .voice-card {
    flex: 0 0 360px;
  }

  /* Features */
  .features {
    padding: 60px 20px;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 56px;
  }

  /* Personal/Group */
  .pg-compare {
    padding: 60px 20px;
  }

  .pg-table {
    font-size: 0.9rem;
  }

  .pg-table thead th {
    padding: 16px 24px;
    font-size: 1rem;
  }

  .pg-table th,
  .pg-table td {
    padding: 16px 24px;
  }

  .pg-table tbody th {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .pg-table td {
    font-size: 0.9rem;
  }

  .pg-compare .pg-table {
    font-size: 12px;
  }

  .pg-compare .pg-table thead th,
  .pg-compare .pg-table tbody th,
  .pg-compare .pg-table td {
    font-size: 12px;
    padding: 12px 0;
  }

  .pg-compare .pg-table thead th:nth-child(2) {
    font-size: 16px;
  }

  /* Flow */
  .flow {
    padding: 60px 20px;
  }

  .flow .section-title {
    font-size: 2rem;
    margin-bottom: 22px;
  }

  .flow-steps {
    max-width: 680px;
  }

  .flow-step {
    padding: 0 0 36px 60px;
  }

  .flow-num {
    left: -19px;
    width: 36px;
    height: 36px;
    font-size: 0.78rem;
  }

  .flow-step h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .flow-step p {
    font-size: 1rem;
    line-height: 1.85;
  }

  /* Pricing */
  .pricing {
    padding: 60px 20px;
  }

  .pricing-table tbody th {
    font-size: 0.9rem;
  }

  .pricing-table td {
    font-size: 1rem;
  }

  /* FAQ */
  .faq {
    padding: 60px 20px;
  }

  /* Footer */
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
  }

  .footer-nav ul {
    gap: 8px 32px;
  }

  .footer-nav a {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   Page: Pricing
   ========================================================================== */
.page-hero {
  padding: 48px 20px;
  background: var(--c-bg);
  text-align: center;
}

.page-hero-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
}

.page-hero-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
  text-shadow: var(--text-shadow-heading-dark);
}

.page-hero-text {
  font-size: 0.88rem;
  color: var(--c-text-light);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

.price-section {
  padding: 10px 20px 30px;
  background: var(--c-white);
}

.price-section--alt {
  background: var(--c-bg);
}

.price-section-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
}

.price-image {
  max-width: 480px;
  margin: 0 auto;
  padding: 60px 20px 20px;
}

.price-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.price-section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 4px;
}

.price-section-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--c-text);
  text-align: center;
  margin-bottom: 12px;
  text-shadow: var(--text-shadow-heading-dark);
}

@media (min-width: 768px) {
  .page-hero {
    padding: 64px 20px;
  }

  .page-hero-title {
    font-size: 2.4rem;
  }

  .page-hero-text {
    font-size: 1rem;
  }

  .price-section {
    padding: 0 20px 18px;
  }

  .price-section-title {
    font-size: 1.85rem;
  }
}

/* ==========================================================================
   Page: Voice – Google Reviews
   ========================================================================== */
.google-reviews {
  padding: 60px 20px 30px;
  background: var(--c-bg);
}

.google-reviews-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
}

.google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.google-reviews-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.google-reviews-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.google-reviews-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .google-reviews {
    padding: 80px 20px;
  }

  .google-reviews-grid {
    gap: 24px;
  }
}

/* ==========================================================================
   Image Modal
   ========================================================================== */
.img-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  cursor: pointer;
}

.img-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.img-modal-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.img-modal.is-open .img-modal-img {
  transform: scale(1);
}

.img-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--c-white);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
  transition: opacity var(--transition);
}

.img-modal-close:hover {
  opacity: 0.7;
}

.google-reviews-more {
  text-align: center;
  margin-top: 60px;
}

/* ==========================================================================
   Page: Recruit
   ========================================================================== */

/* Steps */
.recruit-steps {
  padding: 40px 20px;
  background: var(--c-white);
}

.recruit-steps-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
}

.recruit-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.recruit-step-card {
  display: flex;
  flex-direction: column;
}

.recruit-step-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--c-bg);
}

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

.recruit-step-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--c-text);
  border: 1px solid var(--c-text);
  padding: 2px 10px;
  margin-bottom: 10px;
}

.recruit-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 6px;
  line-height: 1.5;
  text-shadow: var(--text-shadow-heading-dark);
}

.recruit-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recruit-step-list li {
  font-size: 0.82rem;
  color: var(--c-text-light);
  line-height: 1.6;
  padding-left: 1em;
  text-indent: -1em;
}

.recruit-step-list li::before {
  content: "・";
}

/* Benefits */
.recruit-benefits {
  padding: 48px 20px;
  background: var(--c-bg);
}

.recruit-benefits-inner {
  max-width: 800px;
  margin: 0 auto;
}

.recruit-benefits-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-text);
  text-align: center;
  margin-bottom: 32px;
  text-shadow: var(--text-shadow-heading-dark);
}

.recruit-wage-card {
  background: var(--c-white);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.recruit-wage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.recruit-wage-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-text);
  text-shadow: var(--text-shadow-heading-dark);
}

.recruit-detail-table {
  margin: 0;
}

.recruit-detail-row {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--c-border);
  align-items: start;
}

.recruit-detail-row:last-child {
  border-bottom: 1px solid var(--c-border);
}

.recruit-detail-row dt {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-text);
  padding-top: 2px;
  white-space: nowrap;
}

.recruit-detail-row dd {
  font-size: 0.88rem;
  color: var(--c-text);
  line-height: 1.7;
}

.recruit-detail-row--wage dt {
  min-width: 9em;
}

.recruit-detail-row--wage dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.35em;
}

.recruit-detail-large {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.2;
}

.recruit-detail-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.recruit-detail-highlight {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-primary);
  background: var(--c-primary-light, #f5ece6);
  border: 1px solid var(--c-primary);
  padding: 4px 14px;
  border-radius: 999px;
}

.recruit-detail-note {
  font-size: 0.78rem;
  color: var(--c-text-light);
}

.recruit-detail-sub {
  font-size: 0.8rem;
  color: var(--c-text-light);
  line-height: 1.7;
}

.recruit-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recruit-detail-list li {
  font-size: 0.85rem;
  color: var(--c-text);
  padding-left: 1em;
  text-indent: -1em;
}

.recruit-detail-list li::before {
  content: "・";
}

.recruit-detail-list--sub {
  margin-top: 8px;
}

.recruit-detail-list--sub li {
  font-size: 0.8rem;
  color: var(--c-text-light);
}

.recruit-detail-location {
  margin-bottom: 8px;
}

.recruit-detail-location:last-child {
  margin-bottom: 0;
}

.recruit-benefits-cta {
  text-align: center;
  margin-top: 28px;
}

.recruit-benefits-cta .btn {
  display: block;
  width: 100%;
  background: linear-gradient(
    165deg,
    #c9ada3 0%,
    var(--c-primary) 42%,
    var(--c-primary-dark) 100%
  );
  color: var(--c-white);
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 600;
  border-color: rgba(74, 63, 58, 0.12);
  box-shadow: var(--shadow-btn);
}

.recruit-benefits-cta .btn.btn--external {
  display: grid;
}

.recruit-benefits-cta .btn:hover {
  box-shadow: var(--shadow-btn-hover);
}

.recruit-benefits-cta .btn:active {
  box-shadow: var(--shadow-btn-active);
}

/* Staff */
.recruit-staff {
  padding: 48px 20px;
  background: var(--c-white);
}

.recruit-staff-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
}

.recruit-staff-lead {
  font-size: 0.9rem;
  color: var(--c-text-light);
  text-align: center;
  margin-bottom: 40px;
}

.recruit-staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 20px;
}

.recruit-staff-card {
  text-align: center;
}

.recruit-staff-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  background: var(--c-bg);
}

.recruit-staff-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}

.recruit-staff-role {
  font-size: 0.78rem;
  color: var(--c-text-light);
  font-weight: 600;
  margin-bottom: 12px;
}

.recruit-staff-quote {
  font-size: 0.82rem;
  color: var(--c-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.recruit-staff-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.recruit-staff-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--c-text-light);
  transition: color var(--transition);
}

.recruit-staff-social a:hover {
  color: var(--c-primary);
}

/* Apply CTA */
.recruit-apply {
  padding: 48px 20px 0;
  background: var(--c-white);
  text-align: center;
}

.recruit-apply-inner {
  max-width: 560px;
  margin: 0 auto 40px;
}

.recruit-apply-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 12px;
  text-shadow: var(--text-shadow-heading-dark);
}

.recruit-apply-text {
  font-size: 0.88rem;
  color: var(--c-text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.recruit-apply .btn {
  background: linear-gradient(
    165deg,
    #c9ada3 0%,
    var(--c-primary) 42%,
    var(--c-primary-dark) 100%
  );
  color: var(--c-white);
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 32px;
  border-color: rgba(74, 63, 58, 0.12);
  box-shadow: var(--shadow-btn);
}

.recruit-apply .btn:hover {
  box-shadow: var(--shadow-btn-hover);
}

.recruit-apply .btn:active {
  box-shadow: var(--shadow-btn-active);
}

.recruit-apply-img {
  max-width: var(--w-inner);
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
}

.recruit-apply-img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .recruit-steps {
    padding: 48px 20px;
  }

  .recruit-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .recruit-benefits {
    padding: 64px 20px;
  }

  .recruit-benefits-title {
    font-size: 2.2rem;
  }

  .recruit-wage-card {
    padding: 48px 56px;
  }

  .recruit-wage-heading {
    font-size: 1.5rem;
  }

  .recruit-detail-row {
    grid-template-columns: max-content 1fr;
    gap: 24px;
  }

  .recruit-detail-large {
    font-size: 2rem;
  }

  .recruit-detail-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 20px;
  }

  .recruit-staff {
    padding: 64px 20px;
  }

  .recruit-staff-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
  }

  .recruit-staff-img {
    width: 96px;
    height: 96px;
  }

  .recruit-apply {
    padding: 64px 20px 0;
  }

  .recruit-apply-inner {
    margin-bottom: 48px;
  }
}

/* ==========================================================================
   Page: Stores
   ========================================================================== */

/* Store Cards */
.stores-cards {
  padding: 48px 20px;
  background: var(--c-white);
}

.stores-cards-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
}

.stores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.store-card {
  text-align: center;
  margin-bottom: 50px;
}

.store-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--c-bg);
}

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

.store-card-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
}

.store-card-info {
  margin: 0 0 16px;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.store-card-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.store-card-row dt {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text-light);
}

.store-card-row dd {
  font-size: 0.82rem;
  color: var(--c-text);
  line-height: 1.6;
}

.store-access-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-access-list li {
  font-size: 0.82rem;
  color: var(--c-text);
  line-height: 1.6;
  padding-left: 1em;
  text-indent: -1em;
}

.store-access-list li::before {
  content: "・";
}

.store-card-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  transition: color var(--transition);
}

.store-card-link:hover {
  color: var(--c-primary);
}

/* Contact */
.stores-contact {
  padding: 48px 20px;
  background: var(--c-bg);
}

.stores-contact-inner {
  max-width: var(--w-inner);
  margin: 0 auto;
}

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

.stores-contact-card {
  text-align: left;
}

.stores-contact-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.stores-contact-icon {
  display: flex;
  align-items: center;
  color: var(--c-text);
}

/* 店舗お問い合わせ: アイコン表示をモバイル 40px で統一（LINE ガイドライン最小サイズに合わせる） */
.stores-contact-icon svg {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* LINE ブランドアイコン: 最小高さ（モバイル 40px / PC 20px 以上）とアイソレーション用余白 */
.stores-contact-icon--line {
  box-sizing: content-box;
  padding: 8px 8px 8px 0;
}

.line-brand-icon {
  display: block;
  width: 40px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.stores-contact-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text);
  text-shadow: var(--text-shadow-heading-dark);
}

.stores-contact-text {
  font-size: 0.82rem;
  color: var(--c-text-light);
  line-height: 1.6;
  margin-bottom: 4px;
}

.stores-contact-detail {
  font-size: 0.85rem;
  color: var(--c-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stores-contact-detail a {
  color: var(--c-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stores-contact-detail a:hover {
  color: var(--c-primary);
}

.stores-contact-external {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  vertical-align: middle;
}

.stores-contact-external .external-link__icon {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .stores-cards {
    padding: 64px 20px 18px 20px;
  }

  .stores-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }

  .store-card-name {
    font-size: 1.5rem;
  }

  .stores-contact {
    padding: 64px 20px;
  }

  .stores-contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .stores-contact-icon svg {
    width: 24px;
    height: 24px;
  }

  .stores-contact-icon--line {
    padding: 4px 4px 4px 0;
  }

  .line-brand-icon {
    width: 24px;
    max-height: 24px;
  }
}

/* ==========================================================================
   Back to top (front page)
   ========================================================================== */
.back-to-top {
  position: fixed;
  z-index: 998;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--c-primary-dark);
  box-shadow: var(--shadow-btn-hover);
}

.back-to-top:active {
  box-shadow: var(--shadow-btn-active);
}

.back-to-top:focus {
  outline: none;
}

.back-to-top:focus-visible {
  outline: 2px solid var(--c-primary-dark);
  outline-offset: 3px;
}

.back-to-top__icon {
  display: flex;
  line-height: 0;
  margin-top: -2px;
}

@media (min-width: 768px) {
  .back-to-top {
    right: max(28px, env(safe-area-inset-right, 0px));
    bottom: max(28px, env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }

  .back-to-top__icon svg {
    width: 22px;
    height: 22px;
  }
}
