/*
Theme Name: Hanokos
Theme URI: https://hanokos.jp/
Author: Hanokos
Description: Hanokos original theme converted from the existing static HTML/CSS site.
Version: 1.0.0
Text Domain: hanokos
*/

/* =========================================
   Hanokos - base style
   白 × ネイビー / シンプル・モダン
   ========================================= */

:root {
  --white: #ffffff;
  --navy-50: #f6f8fb;
  --navy-100: #eaeff6;
  --navy-200: #d5dfec;
  --navy-300: #aebfd6;
  --text: #16233a;
  --text-muted: #5a6880;
  --accent: #1f4d8f;
  --gold: #b3924e;

  --container: 1120px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 30px rgba(22, 35, 58, 0.08);

  --font: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic", "Noto Sans JP", sans-serif;
}

/* ---------- reset ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding-block: 72px;
}

.section--tint {
  background: var(--navy-50);
}

/* ミッションのバンド */
.mission {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.mission .section__eyebrow {
  margin-bottom: 16px;
}

.mission__text {
  font-size: 1.0625rem;
  line-height: 2.1;
  color: var(--text);
}

.section__eyebrow,
.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section__title {
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-bottom: 20px;
}

.section__lead {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-200);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.logo__mark {
  height: 56px;
  width: auto;
  display: block;
  /* マークだけ少し下げる */
  transform: translateY(4px);
}

.logo__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo__name {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo__tagline {
  margin-top: 2px;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #3c4a63;
}

.logo__gold {
  color: var(--gold);
  font-weight: 700;
}

.nav__list {
  display: flex;
  gap: 28px;
  font-size: 0.875rem;
}

.nav__list a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__list a:hover {
  color: var(--accent);
}

/* ハンバーガーボタン（PCでは非表示） */
.nav-burger {
  display: none;
}

@media (max-width: 767px) {
  /* ボタンを表示 */
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 11px 10px;
    margin-right: -10px;
    cursor: pointer;
  }

  .nav-burger span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  /* 開いたとき、3本線を×印に */
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* メニュー本体：ヘッダー直下にドロップダウン */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--navy-200);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-toggle:checked ~ .nav {
    max-height: 80vh;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 4px 0;
    font-size: 0.95rem;
  }

  .nav__list li + li {
    border-top: 1px solid var(--navy-100);
  }

  .nav__list a {
    display: block;
    padding: 15px 24px;
  }
}

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--navy-50), var(--white));
  padding-block: 56px 72px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero__title {
  font-size: clamp(1.875rem, 6vw, 3rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.hero__lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero__image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background-color: var(--navy-100);
  background-image: url("images/hero.jpg");
  background-size: cover;
  /* 顕微鏡が右寄りの構図。左の余白側を削って主役を残す */
  background-position: 65% center;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .hero {
    padding-block: 88px 104px;
  }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  /* 引きの構図を切り落とさないよう、横長寄りの比率で見せる */
  .hero__image {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- button ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--text);
  color: var(--white);
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.btn::after {
  content: "→";
  font-size: 0.875em;
}

/* 白背景に置くゴースト（枠線）ボタン */
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--navy-300);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- page hero (下層ページ) ---------- */

.page-hero {
  background: linear-gradient(180deg, var(--navy-50), var(--white));
  padding-block: 48px 56px;
}

.breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-hero__title {
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
  margin-bottom: 20px;
}

.page-hero__lead {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

/* ---------- prose (本文の読み物) ---------- */

.prose {
  max-width: 760px;
}

.prose > p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.prose .callout {
  margin-block: 32px;
}

/* 抜歯の主な理由の図 */
.prose .tooth-cases-title {
  margin: 36px 0 16px;
  text-align: center;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0d1626;
}

.reason-figure {
  margin: 0 0 8px;
}

.reason-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--navy-200);
}

/* 根管断面のイメージ図 */
.canal-figure {
  margin: 28px 0 8px;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--navy-200);
  border-radius: var(--radius);
  text-align: center;
}

.canal-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.canal-untouched {
  fill: #dca08f;
}

.canal-instrumented {
  fill: var(--white);
}

.canal-outline {
  fill: none;
  stroke: var(--text);
  stroke-width: 2.5;
}

.canal-file {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.6;
  stroke-dasharray: 4 3;
}

.canal-figure figcaption {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: left;
}

.prose .btn {
  margin-top: 12px;
}

/* 本文中の引用（医師の言葉など） */
.prose blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.9;
}

.prose blockquote p {
  margin: 0;
}

/* 締めの一文を強調する段落 */
.prose .prose__closing {
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.9;
}

.prose strong {
  color: var(--text);
  font-weight: 700;
}

/* 署名 */
.prose__signature {
  margin-top: 28px;
  text-align: right;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.prose__signature .prose__signature-name {
  display: block;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

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

.back-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* 別ページへ誘導するリンクカード */
.linkcard {
  display: block;
  padding: 28px 28px 30px;
  background: var(--white);
  border: 1px solid var(--navy-200);
  border-radius: var(--radius);
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.linkcard:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--accent);
}

.linkcard__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.linkcard__title {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.linkcard__title::after {
  content: "→";
  margin-left: 8px;
  color: var(--accent);
}

.linkcard__text {
  display: block;
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---------- cards ---------- */

.cards {
  display: grid;
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--navy-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* 3種の神器（画像つきカード） */
.tools {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.tool {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--navy-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.tool:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.tool__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.tool__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 24px;
}

.tool__title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.tool__text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.tool__more {
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.tools__credit {
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .tools {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* 注意を促す赤字 */
.text-alert {
  color: #c0392b;
  font-weight: 600;
}

/* ---------- 症状セルフチェック ---------- */

.checker {
  max-width: 680px;
  margin: 8px 0 0;
  padding: 28px 28px 30px;
  background: var(--white);
  border: 1px solid var(--navy-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.checker__back {
  display: inline-block;
  margin-bottom: 16px;
  padding: 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.checker__back:hover {
  color: var(--accent);
}

.checker__question {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 18px;
}

.checker__options {
  display: grid;
  gap: 12px;
}

.checker__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  background: var(--navy-50);
  border: 1px solid var(--navy-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.checker__option::after {
  content: "→";
  flex: none;
  color: var(--accent);
}

.checker__option:hover {
  background: var(--white);
  border-color: var(--accent);
  transform: translateX(3px);
}

.checker__result-title {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.checker__result-text {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.checker__note {
  padding: 12px 14px;
  margin-bottom: 22px;
  background: var(--navy-50);
  border-radius: 8px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--accent);
}

.checker__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checker__reset {
  display: block;
  margin-top: 18px;
  padding: 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}

.checker__reset:hover {
  color: var(--accent);
}

.checker__fallback {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ---------- 記事カード（横スクロール） ---------- */

.article-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* スケール時の余白＋左右はコンテナ幅に合わせる */
  padding: 12px 20px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--navy-300) transparent;
}

.article-row::-webkit-scrollbar {
  height: 8px;
}

.article-row::-webkit-scrollbar-thumb {
  background: var(--navy-300);
  border-radius: 999px;
}

.article-row::-webkit-scrollbar-track {
  background: transparent;
}

.article-card {
  flex: 0 0 auto;
  width: 232px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  transition: transform 0.25s ease;
}

.article-card:hover {
  transform: scale(1.05);
  z-index: 1;
}

.article-card__poster {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3 / 4;
  padding: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--white);
  /* 写真を入れたとき用。画像は cover で中央配置 */
  background-size: cover;
  background-position: center;
}

.article-card__cat {
  position: absolute;
  top: 18px;
  left: 22px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.article-card__title {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.article-card__title::after {
  content: "→";
  display: block;
  margin-top: 12px;
  font-size: 0.9375rem;
  color: var(--gold);
}

/* ポスターの背景。
   上から［文字を読みやすくする暗いグラデ］／［写真（あれば）］／［配色グラデ（写真が無いときの表示）］の3層。
   images/article-1.jpg 〜 article-5.jpg を置くと、自動で写真に切り替わります。 */
.article-card__poster--1 {
  background-image:
    linear-gradient(to top, rgba(11, 18, 30, 0.78) 0%, rgba(11, 18, 30, 0.12) 48%, rgba(11, 18, 30, 0) 74%),
    url("images/article-1.jpg"),
    linear-gradient(150deg, #16233a, #1f4d8f);
}
.article-card__poster--2 {
  background-image:
    linear-gradient(to top, rgba(11, 18, 30, 0.78) 0%, rgba(11, 18, 30, 0.12) 48%, rgba(11, 18, 30, 0) 74%),
    url("images/article-2.jpg"),
    linear-gradient(150deg, #1f4d8f, #3a6bb0);
}
.article-card__poster--3 {
  background-image:
    linear-gradient(to top, rgba(11, 18, 30, 0.78) 0%, rgba(11, 18, 30, 0.12) 48%, rgba(11, 18, 30, 0) 74%),
    url("images/article-3.jpg"),
    linear-gradient(150deg, #223a5e, #b3924e);
}
.article-card__poster--4 {
  background-image:
    linear-gradient(to top, rgba(11, 18, 30, 0.78) 0%, rgba(11, 18, 30, 0.12) 48%, rgba(11, 18, 30, 0) 74%),
    url("images/article-4.jpg"),
    linear-gradient(150deg, #16233a, #2d4a6b);
}
.article-card__poster--5 {
  background-image:
    linear-gradient(to top, rgba(11, 18, 30, 0.78) 0%, rgba(11, 18, 30, 0.12) 48%, rgba(11, 18, 30, 0) 74%),
    url("images/hero.jpg"),
    linear-gradient(150deg, #24406a, #16233a);
}
.article-card__poster--6 {
  background-image:
    linear-gradient(to top, rgba(11, 18, 30, 0.78) 0%, rgba(11, 18, 30, 0.12) 48%, rgba(11, 18, 30, 0) 74%),
    url("images/article-6.jpg"),
    linear-gradient(150deg, #1f4d8f, #b3924e);
}
.article-card__poster--7 {
  background-image:
    linear-gradient(to top, rgba(11, 18, 30, 0.78) 0%, rgba(11, 18, 30, 0.12) 48%, rgba(11, 18, 30, 0) 74%),
    url("images/CT.jpg"),
    linear-gradient(150deg, #223a5e, #3a6bb0);
}
.article-card__poster--8 {
  background-image:
    linear-gradient(to top, rgba(11, 18, 30, 0.78) 0%, rgba(11, 18, 30, 0.12) 48%, rgba(11, 18, 30, 0) 74%),
    url("images/niti.jpg"),
    linear-gradient(150deg, #2d4a6b, #b3924e);
}

@media (min-width: 1160px) {
  /* コンテナ内に収まるときは中央寄せ */
  .article-row {
    max-width: var(--container);
    margin-inline: auto;
  }
}

/* ---------- flow ---------- */

.flow {
  display: grid;
  gap: 20px;
  counter-reset: step;
}

.flow__item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-left: 3px solid var(--navy-300);
}

/* クリックできる工程（別ページへリンク） */
.flow__item--link {
  padding: 0;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.flow__item--link:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-left-color: var(--accent);
}

.flow__link {
  display: block;
  height: 100%;
  padding: 28px 24px;
  color: inherit;
}

.flow__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.flow__more::after {
  content: "→";
}

.flow__num {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 8px;
}

.flow__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.flow__text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .flow {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* ---------- anatomy figure ---------- */

.anatomy {
  margin: 48px 0 0;
  display: grid;
  gap: 20px;
  justify-items: center;
}

/* ラベルが読めるよう、切り抜かず全体を表示する */
.anatomy__image {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: var(--radius);
  background-color: var(--white);
}

.anatomy__caption {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 760px;
}

/* ---------- signs ---------- */

.signs {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
  /* 行をまたいでも高さを揃える（2行になる項目に合わせる） */
  grid-auto-rows: 1fr;
}

.signs__item {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px 18px 52px;
  font-size: 0.9375rem;
}

.signs__item::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--accent);
}

@media (min-width: 768px) {
  .signs {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* ---------- callout ---------- */

.callout {
  background: var(--white);
  border: 1px solid var(--navy-300);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.callout__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  color: var(--accent);
}

.callout__text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.callout__text a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  word-break: break-all;
}

.callout__text a:hover {
  text-decoration: none;
}

@media (min-width: 768px) {
  .callout {
    padding: 32px 36px;
  }
}

/* ---------- faq ---------- */

.faq {
  border-top: 1px solid var(--navy-200);
}

.faq__item {
  border-bottom: 1px solid var(--navy-200);
}

.faq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

/* Safari 用のマーカー非表示 */
.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--accent);
}

.faq__q::after {
  content: "";
  flex: none;
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.25s;
}

.faq__item[open] .faq__q::after {
  transform: rotate(-135deg) translate(-3px, -3px);
}

.faq__a {
  padding: 0 0 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 760px;
}

/* ---------- footer ---------- */

.footer {
  background: var(--navy-100);
  padding-block: 48px;
}

.footer__logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer__note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 20px;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
