:root {
  --ink: #111311;
  --muted: #626b64;
  --line: #d9ded9;
  --fog: #f5f7f5;
  --container: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.wrap, .container, .content-wrap, .content-main { width: min(calc(100% - 64px), var(--container)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(17, 19, 17, .085);
  background: rgba(255,255,255,.8);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo, .wordmark {
  display: inline-flex; white-space: nowrap;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 39px; font-weight: 700; line-height: 1;
  letter-spacing: -.105em; transform-origin: 20% 75%;
}
.logo:hover, .wordmark:hover { animation: logo-sway .55s cubic-bezier(.2,.8,.25,1) both; }
@keyframes logo-sway { 0%,100% { transform: rotate(0); } 38% { transform: rotate(-2deg); } 72% { transform: rotate(1deg); } }
.desktop-nav, .header-nav { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.desktop-nav a, .header-nav a { font-size: 13px; font-weight: 600; transition: opacity .2s; }
.desktop-nav a:hover, .header-nav a:hover { opacity: .55; }
.site-header nav:not(.breadcrumb) { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.site-header nav:not(.breadcrumb) a { font-size: 13px; font-weight: 600; }
.site-header nav:not(.breadcrumb) a:hover { opacity: .55; }
.eyebrow, .kicker, .section-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.button, .pill-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 52px; padding: 0 23px; border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 700;
  line-height: 1.4; letter-spacing: .025em;
  transition: transform .35s cubic-bezier(.2,1.35,.36,1), box-shadow .3s ease, background .2s ease;
}
.button:hover, .pill-button:hover { transform: translateY(-3px) rotate(-.7deg); box-shadow: 0 10px 25px rgba(17,19,17,.1); background: #303730; }
.button:active, .pill-button:active { transform: translateY(1px) rotate(1deg) scale(.97); }
.button-light, .pill-button.light { color: var(--ink); background: #fff; border-color: var(--line); }
.button-light:hover, .pill-button.light:hover { background: var(--fog); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: #737d75; font-size: 12px; line-height: 1.7; }
.breadcrumb a { text-decoration: underline; text-decoration-color: #aeb8ae; text-underline-offset: 4px; }
.breadcrumb a:hover { color: var(--ink); }
.content-main > .breadcrumb { padding-top: 30px; }
.content-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px,8vw,110px) 0 clamp(65px,9vw,120px);
  border-bottom: 1px solid var(--line);
}
.content-hero::before {
  content: ""; position: absolute; z-index: -1; top: -20%; right: -10%; width: min(64vw,790px); aspect-ratio: 1;
  border: 1px solid rgba(21,38,29,.08); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), rgba(225,238,232,.35) 45%, transparent 75%);
  box-shadow: inset -20px -25px 60px rgba(161,183,171,.07), 0 20px 65px rgba(52,77,64,.05);
  pointer-events: none;
}
.content-hero .breadcrumb { margin-bottom: clamp(42px,6vw,78px); }
.content-hero h1 { max-width: 930px; margin: 15px 0 25px; font-size: clamp(39px,5.5vw,72px); line-height: 1.24; letter-spacing: -.072em; }
.content-hero p { max-width: 760px; margin: 0; color: #4d584f; font-size: clamp(15px,1.55vw,18px); line-height: 1.95; }
.content-hero .content-hero-note { margin-top: 25px; color: #7c897f; font-size: 12px; letter-spacing: .04em; }
.content-hero .button, .content-hero .pill-button { margin-top: 32px; }
.content-hero .price-note { margin-top: 15px; color: #7a847c; font-size: 12px; }
.content-hero .materials-cta { margin-top: 8px; color: #5d685f; font-size: 12px; }
.materials-cta a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.topic-nav { display: flex; flex-wrap: wrap; gap: 10px; padding: 30px 0 0; }
.topic-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 17px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; transition: background .2s, transform .2s; }
.topic-nav a:hover { background: var(--fog); transform: translateY(-2px); }
.content-section, .section { padding-block: clamp(70px,8vw,112px); }
.content-section-muted { background: var(--fog); }
.section-heading { display: flex; justify-content: space-between; align-items: start; gap: 35px; margin-bottom: 38px; }
.section-heading .section-intro { max-width: 390px; margin: 0; }
.content-section-heading { margin-bottom: 35px; }
.content-section-heading h2 { margin: 10px 0 14px; }
.content-section-heading p:last-child { margin: 0; }
.content-main .content-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.section-head { display: flex; justify-content: space-between; align-items: start; gap: 35px; margin-bottom: 35px; }
.section-head p { max-width: 410px; color: var(--muted); line-height: 1.9; }
.content-section h2, .section h2, .article-body h2 {
  margin: 0 0 28px; font-size: clamp(30px,3.5vw,48px); line-height: 1.35; letter-spacing: -.06em;
}
.content-section h3, .section h3, .article-body h3 { margin: 0 0 15px; font-size: clamp(20px,2vw,27px); line-height: 1.5; letter-spacing: -.04em; }
.content-section p, .content-section li, .section p, .section li { color: #4d584f; font-size: 15px; line-height: 1.9; }
.content-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.content-card {
  display: flex; flex-direction: column; min-width: 0; padding: clamp(24px,3vw,38px);
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(145deg,#fff 50%,#f6f8f6);
  transition: transform .3s ease, box-shadow .3s ease;
}
.content-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(17,19,17,.055); }
.content-card h2, .content-card h3 { margin: 0 0 15px; font-size: clamp(22px,2.2vw,30px); line-height: 1.45; letter-spacing: -.045em; }
.content-card p { flex: 1; margin: 0; color: #576058; font-size: 14px; line-height: 1.9; }
.content-card a:not(.button) { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.content-card a:not(.button):hover { text-decoration-color: #8da596; }
.content-card .eyebrow, .content-card .kicker { display: block; margin-bottom: 17px; color: #69766b; }
.content-card p.eyebrow, .content-card p.kicker { flex: none; }
.content-card h3 a:not(.button) { display: inline; margin: 0; font: inherit; letter-spacing: inherit; line-height: inherit; text-decoration: none; }
.content-card h3 a:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; }
.content-card .step-number { display: block; margin-bottom: 40px; color: #9ba89d; font: italic 25px Georgia,serif; }
.content-note { margin-top: 25px; padding: 25px 30px; border-left: 2px solid #869c8b; background: var(--fog); }
.content-note h3 { font-size: 17px; margin: 0 0 9px; }
.content-note p { margin: 0; font-size: 13px; }
.price-note { color: #778078; font-size: 11px; line-height: 1.8; }
.case-card { padding: clamp(25px,3.5vw,42px); border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.case-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; margin-bottom: 35px; color: #738076; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.case-body h3 { margin-bottom: 12px; }
.case-body p { margin: 0; }
.content-list { padding-left: 1.35em; }
.content-list li + li { margin-top: 10px; }
.split-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(35px,8vw,105px); }
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step-row { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step-row > span:first-child { color: #8d9b8f; font: italic 24px Georgia,serif; }
.step-row h3 { margin: 0 0 8px; }
.step-row p { margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 23px 35px 23px 0; font-weight: 700; line-height: 1.7; }
.faq-list details p { margin: 0 0 23px; }
.cta-panel {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: clamp(32px,5vw,65px); margin-block: clamp(55px,7vw,90px);
  border-radius: 25px; color: #fff; background: #141a15;
}
.cta-panel::after { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.018); pointer-events: none; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { margin: 8px 0 12px; color: #fff; font-size: clamp(27px,3.3vw,43px); line-height: 1.35; letter-spacing: -.06em; }
.cta-panel p { margin: 0; max-width: 600px; color: #d7e1d9; font-size: 14px; line-height: 1.9; }
.cta-panel .button, .cta-panel .pill-button { flex-shrink: 0; color: var(--ink); background: #fff; border-color: #fff; }
.cta-panel .button:hover, .cta-panel .pill-button:hover { background: #edf3ef; }
.content-cta-section { padding: 1px 0; }
.faq-grid { display: grid; grid-template-columns: .76fr 1.24fr; gap: 7vw; }
.faq-grid h2 { margin-top: 12px; }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.article-layout { display: grid; grid-template-columns: minmax(0,750px) minmax(190px,1fr); gap: clamp(38px,6vw,85px); padding-block: clamp(65px,7vw,100px); }
.article-body, .article-content { min-width: 0; }
.article-body h2, .article-content h2 { margin: 65px 0 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-body h2:first-child, .article-content h2:first-child { margin-top: 0; padding-top: 0; border: 0; }
.article-body h3, .article-content h3 { margin: 35px 0 12px; }
.article-body p, .article-body li, .article-content p, .article-content li { color: #465248; font-size: 16px; line-height: 2; }
.article-body p, .article-content p { margin: 0 0 20px; }
.article-body ul, .article-body ol, .article-content ul, .article-content ol { padding-left: 1.35em; margin: 16px 0 28px; }
.article-body li + li, .article-content li + li { margin-top: 8px; }
.article-body a, .article-content a { text-decoration: underline; text-underline-offset: 4px; }
.article-body a:hover, .article-content a:hover { text-decoration-color: #869e8c; }
.comparison-table-wrap { max-width: 100%; overflow-x: auto; margin: 28px 0 35px; border: 1px solid var(--line); border-radius: 17px; }
.comparison-table-wrap table { width: 100%; min-width: 550px; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.comparison-table-wrap th, .comparison-table-wrap td { padding: 17px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table-wrap th:last-child, .comparison-table-wrap td:last-child { border-right: 0; }
.comparison-table-wrap tr:last-child td { border-bottom: 0; }
.comparison-table-wrap th { background: var(--fog); font-weight: 700; }
.article-aside { align-self: start; position: sticky; top: 105px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: var(--fog); }
.article-aside h2, .article-aside h3 { margin: 0 0 16px; font-size: 17px; }
.article-aside a { display: block; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; line-height: 1.6; }
.article-aside a:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; color: #7b847d; font-size: 12px; }
.site-footer, footer { border-top: 1px solid var(--line); padding: 40px 0 55px; }
.footer-inner { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 24px; }
.site-footer .logo, .site-footer .wordmark, footer .logo { font-size: 32px; }
.site-footer p, footer p { margin: 12px 0 0; color: #778079; font-size: 11px; }
.footer-right, .footer-links { display: flex; flex-wrap: wrap; gap: 24px; color: #666e67; font-size: 11px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 21px; color: #666e67; font-size: 11px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 21px; color: #666e67; font-size: 11px; }
.copyright { color: #89918a; font-size: 11px; }
@media (max-width: 900px) {
  .desktop-nav, .header-nav { gap: 14px; }
  .desktop-nav a, .header-nav a { font-size: 12px; }
  .content-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .article-aside { position: static; }
}
@media (max-width: 640px) {
  .wrap, .container, .content-wrap, .content-main { width: min(calc(100% - 40px), var(--container)); }
  .header-inner { min-height: 65px; }
  .logo, .wordmark { font-size: 34px; }
  .site-header nav:not(.breadcrumb) { display: none; }
  .site-header .button { min-height: 42px; padding-inline: 15px; font-size: 11px; }
  .desktop-nav, .header-nav { gap: 12px; }
  .desktop-nav a, .header-nav a { font-size: 11px; }
  .desktop-nav a:nth-child(n+3), .header-nav a:nth-child(n+3) { display: none; }
  .site-header nav:not(.breadcrumb) { gap: 12px; }
  .site-header nav:not(.breadcrumb) a { font-size: 11px; }
  .site-header nav:not(.breadcrumb) a:nth-child(n+3) { display: none; }
  .content-hero { padding-block: 45px 68px; }
  .topic-nav { padding-top: 23px; }
  .topic-nav a { width: 100%; justify-content: space-between; }
  .content-hero .breadcrumb { margin-bottom: 40px; }
  .content-hero::before { top: 12%; right: -58%; width: 108vw; }
  .content-hero h1 { font-size: clamp(36px,9vw,49px); }
  .content-grid, .split-grid { grid-template-columns: 1fr; }
  .content-main .content-grid { grid-template-columns: 1fr; }
  .section-head, .section-heading { flex-direction: column; align-items: stretch; }
  .cta-panel .button, .cta-panel .pill-button { align-self: flex-start; }
  .article-body p, .article-body li, .article-content p, .article-content li { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .button, .pill-button, .content-card { transform: none !important; }
}
