:root {
  --bg: #f8f7f2;
  --paper: #fdfcf9;
  --text: #564f48;
  --muted: #746c64;
  --line: #b9b2a8;
  --line-soft: #e4e0d6;

  /* くすんだ5色。-deep は文字やボタンに使う濃いめの色 */
  --sage: #8bab9a;     --sage-deep: #52796a;
  --mustard: #cba24c;  --mustard-deep: #8a6a1f;
  --rose: #c58482;     --rose-deep: #a05855;
  --olive: #93a07a;    --olive-deep: #65734b;
  --sky: #c9d9e2;      --gray-deep: #6b635b;

  --latin: "Josefin Sans", "Zen Maru Gothic", sans-serif;
  --jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--jp);
  font-weight: 500;
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3 { font-weight: 500; line-height: 1.7; letter-spacing: 0.12em; }
a { color: var(--sage-deep); text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 4px; }
img { max-width: 100%; display: block; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: min(1080px, 88%); margin: 0 auto; }
.wrap.narrow { width: min(760px, 88%); }
.center { text-align: center; }
.nb { display: inline-block; }

/* 色の割り当て：セクションごとに1色 */
.c-sage { --c: var(--sage); --cd: var(--sage-deep); }
.c-mustard { --c: var(--mustard); --cd: var(--mustard-deep); }
.c-rose { --c: var(--rose); --cd: var(--rose-deep); }
.c-olive { --c: var(--olive); --cd: var(--olive-deep); }
.c-gray { --c: #a79f95; --cd: var(--gray-deep); }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(248, 247, 242, 0.92); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-family: var(--latin); font-size: 1.15rem; letter-spacing: 0.18em; line-height: 1.5; }
.logo-mark { display: block; height: 38px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-sub { font-family: var(--jp); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--muted); }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 0.85rem; }
.nav a { color: var(--text); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: var(--line); }

/* ボタン */
.btn {
  display: inline-block; padding: 13px 34px; border: 1px solid var(--sage-deep); border-radius: 2px;
  text-decoration: none; text-align: center; letter-spacing: 0.12em; line-height: 1.8; transition: background 0.25s, color 0.25s;
}
.btn-sm { padding: 6px 20px; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; }
.btn-primary, .btn-light { background: var(--sage-deep); color: #fff; }
.btn-primary:hover, .btn-light:hover { background: transparent; color: var(--sage-deep); }
.btn-ghost { color: var(--sage-deep); }
.btn-ghost:hover { background: var(--sage-deep); color: #fff; }
.c-mustard .btn-ghost { border-color: var(--mustard-deep); color: var(--mustard-deep); }
.c-mustard .btn-ghost:hover { background: var(--mustard-deep); color: #fff; }

/* ファーストビュー */
.hero { position: relative; padding: 48px 0 100px; }
.hero-visual { width: 100%; max-width: 400px; justify-self: center; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.hero-name { margin: 0 0 4px; font-family: var(--latin); font-size: 0.95rem; letter-spacing: 0.22em; color: var(--sage-deep); }
.hero-role { margin: 0 0 32px; font-size: 0.88rem; letter-spacing: 0.16em; color: var(--muted); }
.hero h1 { margin: 0 0 28px; font-size: clamp(1.55rem, 3.1vw, 2.2rem); line-height: 1.9; letter-spacing: 0.14em; }
.lead { margin: 0 0 36px; color: var(--muted); font-size: 0.95rem; }
.hero-actions { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 4px 26px; list-style: none; padding: 0; margin: 0; font-size: 0.85rem; color: var(--muted); }
.hero-points li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--sage); vertical-align: 0.1em; }
.hero-points li:nth-child(2)::before { background: var(--mustard); }
.hero-points li:nth-child(3)::before { background: var(--rose); }

.photo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 4 / 5; border-radius: 46% 54% 50% 50% / 42% 44% 56% 58%;
  background: linear-gradient(150deg, #e6ede4 0%, #f3efdf 55%, #f2e4df 100%);
  color: var(--muted); font-size: 0.9rem; line-height: 1.9;
}
.photo-placeholder.round { aspect-ratio: 1; border-radius: 50%; }
.hero-photo {
  display: block; width: 100%; height: auto; aspect-ratio: 11 / 12; object-fit: cover; object-position: 55% 50%;
  border-radius: 46% 54% 50% 50% / 42% 44% 56% 58%;
}
.profile-img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #fff; }

/* 背景に浮かぶモチーフ */
.floaters { position: absolute; inset: -60px 0 0; overflow: hidden; pointer-events: none; }
.floaters svg { position: absolute; width: var(--w); height: var(--w); left: var(--x); top: var(--y); opacity: var(--o, 0.7); animation: drift var(--t, 11s) ease-in-out infinite alternate; }
.floaters .soft { filter: blur(2px); }
@keyframes drift {
  from { transform: translateY(-8px) rotate(var(--r1, -5deg)); }
  to { transform: translateY(12px) rotate(var(--r2, 6deg)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floaters svg { animation: none; transform: rotate(var(--r1, -5deg)); }
}

/* 絵のメニュー */
.guide { padding: 0 0 120px; }
.guide-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px; list-style: none; margin: 0 auto; padding: 0; }
.guide-grid a { display: flex; flex-direction: column; align-items: center; height: 100%; padding-bottom: 20px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--cd); transition: border-color 0.25s; }
.guide-grid a:hover { border-color: var(--cd); }
.guide-grid svg { width: 78px; height: 78px; margin-bottom: 14px; transition: transform 0.35s; }
.guide-grid a:hover svg { transform: translateY(-5px); }
.guide-grid span { font-size: 0.88rem; letter-spacing: 0.1em; line-height: 1.9; white-space: nowrap; }
.guide-grid small { font-family: var(--latin); font-size: 0.88rem; letter-spacing: 0.1em; line-height: 1.7; }

/* セクション共通 */
.section { position: relative; padding: 112px 0; }
.eyebrow { margin: 0 0 6px; font-family: var(--latin); font-size: 1rem; letter-spacing: 0.18em; color: var(--cd, var(--sage-deep)); }
.eyebrow.center { text-align: center; }
.section-title { margin: 0 0 24px; font-size: clamp(1.2rem, 2.3vw, 1.55rem); text-align: center; }
.section-title::after { content: ""; display: block; width: 56px; height: 1px; margin: 22px auto 0; background: var(--c, var(--line)); }
.section-title.left { text-align: left; }
.section-title.left::after { margin-left: 0; }
.section-lead { margin: 0 0 64px; text-align: center; color: var(--muted); font-size: 0.95rem; }
.tint { background: #f3f3ea; }

/* お悩み */
.worry-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; list-style: none; padding: 0; margin: 52px 0 0; }
.worry-list li { position: relative; padding: 20px 0 20px 34px; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; line-height: 1.9; word-break: auto-phrase; text-wrap: pretty; }
.worry-list li::before { content: ""; position: absolute; left: 4px; top: 31px; width: 11px; height: 11px; border-radius: 50% 50% 50% 0; background: var(--dot); transform: rotate(-45deg); opacity: 0.85; }
.worry-list li:nth-child(4n+1) { --dot: var(--sage); }
.worry-list li:nth-child(4n+2) { --dot: var(--mustard); }
.worry-list li:nth-child(4n+3) { --dot: var(--rose); }
.worry-list li:nth-child(4n) { --dot: var(--olive); }

/* プロフィール */
.about-inner { display: grid; grid-template-columns: 270px 1fr; gap: 80px; align-items: center; }
.name-sub { display: block; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.14em; }
.about-text p:not(.eyebrow) { font-size: 0.95rem; }
.credential-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.credential-list li { padding: 2px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.82rem; }

/* 相談メニュー */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px; margin-bottom: 104px; }
.topic { text-align: center; }
.topic svg { width: 132px; height: 132px; margin-bottom: 14px; }
.topic h3 { margin: 0 0 12px; font-size: 1.05rem; color: var(--cd); }
.topic p { margin: 0; color: var(--muted); font-size: 0.9rem; text-align: left; }
.price-title { margin: 0 0 40px; text-align: center; font-size: 1.15rem; }
.price-title small { display: block; font-family: var(--latin); font-size: 0.95rem; letter-spacing: 0.18em; color: var(--rose-deep); }
.menu-grid.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; max-width: 800px; margin: 0 auto; }
.menu-card { display: flex; flex-direction: column; padding: 42px 38px 38px; background: var(--paper); border-top: 3px solid var(--c); }
.menu-card h3 { margin: 0 0 12px; font-size: 1.1rem; text-align: center; }
.menu-card > p { flex: 1; margin: 0; color: var(--muted); font-size: 0.9rem; }
.price { margin: 28px 0 30px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.price div { display: flex; justify-content: space-between; align-items: baseline; }
.price dt { color: var(--muted); font-size: 0.9rem; }
.price dd { margin: 0; font-family: var(--latin); font-size: 1.7rem; letter-spacing: 0.06em; color: var(--cd); }
.price small { font-family: var(--jp); font-size: 0.72rem; color: var(--muted); }

.notice { max-width: 800px; margin: 64px auto 0; padding: 30px 36px; border: 1px solid var(--line); }
.notice h3 { margin: 0 0 8px; font-size: 0.98rem; color: var(--rose-deep); }
.notice p { margin: 0; font-size: 0.9rem; }
.notice strong { font-weight: 700; }

/* ご利用の流れ */
.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; list-style: none; padding: 0; margin: 56px 0 0; }
.step { display: block; font-family: var(--latin); font-weight: 300; font-size: 3.2rem; line-height: 1.2; color: var(--cd); text-align: center; letter-spacing: 0; }
.flow-list h3 { margin: 8px 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); text-align: center; font-size: 0.95rem; letter-spacing: 0.06em; }
.flow-list p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 2; }

/* コラム */
.note-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; max-width: 800px; margin: 0 auto 52px; }
.note-card { display: flex; flex-direction: column; gap: 12px; padding: 32px 34px 26px; background: var(--paper); color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color 0.25s; }
.note-card:hover { border-color: var(--mustard-deep); }
.note-tag { font-size: 0.78rem; color: var(--mustard-deep); letter-spacing: 0.12em; }
.note-title { flex: 1; font-size: 0.96rem; line-height: 1.95; }
.note-more { font-size: 0.8rem; color: var(--muted); }
.note-empty { grid-column: 1 / -1; margin: 0; padding: 32px; text-align: center; color: var(--muted); border: 1px dashed var(--line); }

/* よくある質問 */
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 24px 48px 24px 4px; cursor: pointer; list-style: none; font-size: 0.97rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; top: 20px; font-family: var(--latin); font-weight: 300; font-size: 1.5rem; color: var(--cd); }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 4px 28px; color: var(--muted); font-size: 0.92rem; overflow-wrap: anywhere; }

/* 最後のご案内 */
.cta { position: relative; padding: 128px 0; background: #e9eee4; overflow: hidden; }
.cta .wrap { position: relative; }
.cta h2 { margin: 0 0 18px; font-size: clamp(1.2rem, 2.6vw, 1.65rem); }
.cta p { margin: 0 0 40px; font-size: 0.95rem; }
.cta-line { max-width: 480px; margin: 48px auto 0; padding-top: 36px; border-top: 1px solid rgba(82, 121, 106, 0.22); }
.cta .cta-line p { margin: 0 0 20px; font-size: 0.88rem; color: var(--muted); line-height: 1.9; }

/* フッター */
.site-footer { padding: 56px 0; font-size: 0.8rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; }
.footer-name { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--latin); font-size: 1.05rem; letter-spacing: 0.18em; color: var(--text); }
.footer-mark { display: block; height: 30px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { color: var(--muted); }
.copyright { margin: 0 0 0 auto; font-family: var(--latin); }

/* 下層ページ（特商法など） */
.page { padding: 72px 0 112px; }
.page h1 { margin: 0 0 44px; font-size: 1.35rem; }
.page h2 { margin: 72px 0 18px; font-size: 1.08rem; color: var(--sage-deep); }
.page p, .page li { font-size: 0.93rem; }
.law-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.law-table th, .law-table td { padding: 18px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; font-size: 0.9rem; overflow-wrap: anywhere; }
.law-table th { width: 32%; font-weight: 500; color: var(--sage-deep); }

/* タブレット・スマホ */
@media (max-width: 1179px) {
  .hero-actions { grid-auto-flow: row; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .guide-grid { grid-template-columns: repeat(6, 1fr); gap: 44px 28px; }
  .guide-grid li { grid-column: span 2; }
  .guide-grid li:nth-child(4) { grid-column: 2 / span 2; }
  .hero-inner { gap: 40px; }
  .about-inner { gap: 48px; grid-template-columns: 220px 1fr; }
  .flow-list { grid-template-columns: 1fr 1fr; gap: 52px 40px; }
}
@media (max-width: 720px) {
  body { font-size: 15px; letter-spacing: 0.02em; }
  .header-inner { gap: 12px; }
  .logo { gap: 8px; font-size: 1.05rem; letter-spacing: 0.14em; }
  .logo-mark { height: 30px; }
  .logo-sub { font-size: 0.62rem; letter-spacing: 0.1em; white-space: nowrap; }
  .site-header .btn { white-space: nowrap; flex-shrink: 0; }
  .section { padding: 84px 0; }
  .hero { padding: 36px 0 76px; }
  .hero-inner, .about-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 270px; width: 100%; margin: 0 auto; }
  .hero-visual .photo-placeholder, .hero-photo { aspect-ratio: 1; }
  .hero-actions { display: grid; grid-auto-flow: row; }
  .hero-actions .btn { width: 100%; }
  .about-photo { width: 190px; margin: 0 auto; }
  .floaters .wide-only { display: none; }
  .hero .floaters svg:first-child { --w: 150px !important; --x: calc(100% - 138px) !important; --y: 44px !important; }
  .hero .floaters svg:not(:first-child) { display: none; }
  .cta .floaters svg { --y: 28px !important; }
  .guide { padding-bottom: 84px; }
  .guide-grid, .guide-grid li, .guide-grid li:nth-child(4) { grid-column: auto; }
  .guide-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .guide-grid li:last-child { grid-column: 1 / -1; width: calc(50% - 12px); justify-self: center; }
  .worry-list, .topic-grid, .menu-grid.two, .note-grid, .flow-list { grid-template-columns: 1fr; }
  .topic-grid { gap: 60px; margin-bottom: 84px; }
  .section-lead { margin-bottom: 48px; text-align: left; }
  .section-lead br { display: none; }
  .menu-card { padding: 34px 26px 30px; }
  .notice { padding: 24px; }
  .copyright { margin-left: 0; }
  .law-table th, .law-table td { display: block; width: 100%; }
  .law-table th { padding-bottom: 0; border-bottom: none; }
  .law-table td { padding-top: 2px; }
}
