

:root {
  --bg:           #FDF8F2;  
  --bg-warm:      #FBF1E6;  
  --bg-peach:     #FAEBDD;  
  --bg-sage:      #F0F2EC;  
  --card:         #FFFFFF;
  --card-soft:    #FDFBF8;
  --accent:       #C67E57;  
  --accent-deep:  #B06A45;
  --accent-soft:  #D79373;
  --sage:         #7EA89A;
  --sage-deep:    #5F8E80;
  --peach:        #E8B894;  
  --text:         #342A21;  
  --text-sub:     #8A7E74;
  --text-faint:   #A89C90;
  --border:       #EFE7DC;
  --border-strong:#E5D9C9;

  --maxw: 1080px;
  --maxw-narrow: 760px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-phone: 36px;

  --shadow-sm: 0 1px 2px rgba(52,42,33,.04);
  --shadow-md: 0 14px 38px rgba(52,42,33,.08);
  --shadow-lg: 0 40px 90px rgba(52,42,33,.16);

  --serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --sans:  "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .03; 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em;
  color: var(--accent);
  text-transform: none;
}

.store-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.store-row--center { justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 20px 11px 17px;
  border-radius: 14px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease);
}

.store-badge:hover { border-color: var(--accent-soft); }
.store-badge[aria-disabled="true"] { pointer-events: none; }
.store-badge svg { width: 19px; height: 19px; flex: none; color: var(--text-sub); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.18; font-weight: 600; font-size: 14.5px; text-align: left; }
.store-badge small { font-weight: 600; font-size: 10.5px; letter-spacing: .08em; color: var(--accent); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  
  background: rgba(253,248,242,.96);
  border-bottom: 1px solid rgba(239,231,220,.7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 30px; font-size: 14px; font-weight: 500; color: var(--text-sub); }
.nav a { position: relative; padding: 4px 0; transition: color .2s var(--ease); }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px; background: var(--accent); transition: right .25s var(--ease); }
.nav a:hover { color: var(--accent); }
.nav a:hover::after { right: 0; }

.hero { position: relative; padding: 96px 0 92px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("hero-bg.jpg") right center / cover no-repeat;
  opacity: .72; 
}

.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 8%, rgba(253,248,242,.7) 38%, rgba(253,248,242,0) 66%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 340px; gap: 52px; align-items: center;
}
.hero__device .device { width: 340px; }
.hero__title {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 600; line-height: 1.55; letter-spacing: .02em;
  margin-top: 20px;
  overflow-wrap: normal; 
}

.hero__logo { height: 68px; width: auto; display: block; margin: 0 0 22px -16px; }
.hero__sub {
  margin-top: 16px; color: var(--text); font-weight: 600;
  font-size: clamp(15px, 1.6vw, 17px); line-height: 1.8; max-width: 27em;
}
.hero__lead {
  margin-top: 18px; color: var(--text-sub);
  font-size: 16px; line-height: 2; max-width: 30em;
}
.hero__device { justify-self: center; }

.device { position: relative; z-index: 1; width: 300px; max-width: 100%; }
.device--sm { width: 296px; }
.device img {
  width: 100%; height: auto; display: block;
}

.device::after {
  content: ""; position: absolute; z-index: -1;
  left: 9%; right: 9%; bottom: -1.6%; height: 4.2%;
  background: radial-gradient(ellipse at center, rgba(52,42,33,.20), rgba(52,42,33,0) 72%);
}

.values { padding: 40px 0 96px; }
.lede {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(18px, 2.2vw, 23px); line-height: 2;
  color: var(--text); text-align: center;
  max-width: 25em; margin: 0 auto 64px;
  letter-spacing: .02em;
  word-break: keep-all; line-break: strict; 
}
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.value__rule { display: block; width: 38px; height: 2px; background: var(--accent); margin-bottom: 20px; border-radius: 2px; }
.value h3 { font-size: 19px; margin-bottom: 12px; line-height: 1.6; }
.value p { color: var(--text-sub); font-size: 15px; line-height: 1.95; }

.section-head { text-align: center; max-width: 38em; margin: 0 auto 64px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(24px, 3vw, 33px); line-height: 1.5; }
.section-head p { color: var(--text-sub); margin-top: 16px; font-size: 15.5px; }

.features { padding: 100px 0; }
.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
  max-width: 980px; margin: 0 auto;
}
.feature + .feature { margin-top: 120px; }
.feature--reverse .feature__text { order: 2; }
.feature--reverse .feature__media { order: 1; }

.feature__text { max-width: 26em; }
.feature--reverse .feature__text { justify-self: end; }
.feature__text .eyebrow { margin-bottom: 14px; }
.feature__text h3 { font-size: clamp(23px, 2.7vw, 30px); line-height: 1.5; }
.feature__text > p { color: var(--text-sub); font-size: 15.5px; line-height: 2; margin-top: 18px; }

.ticks { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.ticks li {
  position: relative; padding-left: 28px;
  font-size: 14.5px; color: var(--text); line-height: 1.7;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 16px; height: 16px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat,
    var(--sage);
  transform: translateY(-2px);
}

.feature__media { position: relative; display: grid; place-items: center; }
.feature__halo {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  
  z-index: 0;
}
.feature__halo--peach { background: radial-gradient(circle, rgba(232,184,148,.30), rgba(232,184,148,0) 64%); }
.feature__halo--sage  { background: radial-gradient(circle, rgba(126,168,154,.24), rgba(126,168,154,0) 64%); }
.feature__media .device { position: relative; z-index: 1; }

.interlude { padding: 24px 0 104px; }
.interlude__inner {
  display: grid; grid-template-columns: 0.92fr 1fr; gap: 60px;
  align-items: center; max-width: 940px; margin: 0 auto;
}
.interlude__media { margin: 0; }
.interlude__media img {
  width: 100%; height: auto;
  aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.interlude__text { max-width: 23em; }
.interlude__text .eyebrow { margin-bottom: 14px; }
.interlude__text h2 { font-size: clamp(22px, 2.7vw, 30px); line-height: 1.5; }
.interlude__text p { color: var(--text-sub); margin-top: 16px; font-size: 15.5px; line-height: 2; }

.story { padding: 100px 0; background: linear-gradient(180deg, var(--bg-warm), var(--bg)); }
.story__inner { max-width: 30em; margin: 0 auto; text-align: center; }
.story__inner .eyebrow { margin-bottom: 18px; }
.story h2 { font-size: clamp(23px, 2.8vw, 31px); line-height: 1.6; }
.story p { color: var(--text-sub); font-size: 15.5px; line-height: 2.05; margin-top: 22px; }
.story p:first-of-type { margin-top: 26px; }

.assurance { background: linear-gradient(180deg, var(--bg), var(--bg-sage)); padding: 100px 0; }
.assure-list {
  max-width: 720px; margin: 0 auto;
  display: grid; gap: 0;
  background: var(--card-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.assure-list li {
  list-style: none; display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 28px; font-size: 15px; line-height: 1.8;
}
.assure-list li + li { border-top: 1px solid var(--border); }
.tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(126,168,154,.16); display: grid; place-items: center; margin-top: 3px;
}
.tick svg { width: 13px; height: 13px; stroke: var(--sage-deep); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.pro { padding: 100px 0; }
.pro-panel {
  max-width: 700px; margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow-md);
}
.pro-list { display: grid; gap: 24px; }
.pro-list li { list-style: none; display: flex; gap: 16px; align-items: flex-start; }
.pro-list h4 { font-size: 16.5px; font-weight: 600; margin-bottom: 4px; }
.pro-list p { color: var(--text-sub); font-size: 14.5px; line-height: 1.85; }
.pro-note {
  margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--text-faint); font-size: 13px; line-height: 1.9;
}

.faq { padding: 40px 0 100px; }
.faq-list { max-width: var(--maxw-narrow); margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--card-soft); border: 1px solid var(--border);
  border-radius: 16px; padding: 0 26px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; padding: 22px 0; list-style: none;
  font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C67E57' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 0 22px; color: var(--text-sub); font-size: 14.5px; line-height: 1.95; }

.closing { position: relative; padding: 110px 0; overflow: hidden; background: linear-gradient(180deg, var(--bg-warm), var(--bg-peach)); }
.closing__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("closing-bg.jpg") center / cover no-repeat;
  opacity: .5;
}

.closing__bg::after { content: ""; position: absolute; inset: 0; background: rgba(253,248,242,.34); }
.closing__inner { position: relative; z-index: 1; text-align: center; }
.closing h2 { font-size: clamp(25px, 3.4vw, 36px); line-height: 1.5; }
.closing p { color: var(--text-sub); margin-top: 18px; font-size: 16px; }
.closing .store-row { margin-top: 34px; }

.site-footer { background: var(--bg-warm); border-top: 1px solid var(--border); padding: 56px 0 60px; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; align-items: start; }
.site-footer__brand img { height: 40px; margin-left: -10px; }
.site-footer__brand p { margin-top: 14px; color: var(--text-sub); font-size: 13.5px; }
.site-footer__links { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.site-footer__links a { color: var(--text-sub); transition: color .2s var(--ease); width: fit-content; }
.site-footer__links a:hover { color: var(--accent); }
.site-footer__meta { color: var(--text-faint); font-size: 13px; line-height: 1.95; }

.page-head { padding: 76px 0 0; max-width: var(--maxw-narrow); margin: 0 auto; }
.page-head .breadcrumb { font-size: 13px; color: var(--text-sub); margin-bottom: 20px; }
.page-head .breadcrumb a { color: var(--text-sub); }
.page-head .breadcrumb a:hover { color: var(--accent); }
.page-head .eyebrow { margin-bottom: 14px; }
.page-head h1 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.5; }
.page-head .updated { color: var(--text-faint); font-size: 13px; margin-top: 16px; }
.page-head .lead { color: var(--text-sub); font-size: 15.5px; line-height: 2; margin-top: 18px; }

.prose { max-width: var(--maxw-narrow); margin: 0 auto; padding: 30px 0 96px; }
.prose h2 { font-size: 20px; line-height: 1.6; margin: 42px 0 14px; }
.prose h3 { font-size: 16.5px; line-height: 1.6; margin: 26px 0 10px; }
.prose p { color: var(--text); font-size: 15.5px; line-height: 2; margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0 16px 1.35em; }
.prose li { font-size: 15.5px; line-height: 1.95; margin: 7px 0; color: var(--text); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; line-height: 1.7; vertical-align: top; }
.prose th { background: var(--bg-warm); font-weight: 600; }

.note { background: var(--card-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; color: var(--text-sub); font-size: 14px; line-height: 1.9; }
.note strong { color: var(--text); }
.pr-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--text-sub); background: rgba(138,126,116,.12); border-radius: 4px; padding: 1px 7px; vertical-align: middle; }
.tbd { color: var(--accent-deep); background: rgba(198,126,87,.08); border-radius: 3px; padding: 0 4px; }

.article-foot { max-width: var(--maxw-narrow); margin: 0 auto; padding-top: 28px; border-top: 1px solid var(--border); color: var(--text-sub); font-size: 14px; }
.article-foot a { color: var(--accent); }

.articles { padding: 8px 0 96px; }
.articles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: var(--maxw-narrow); margin: 8px auto 0; }
.article-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 26px 24px; box-shadow: var(--shadow-sm); transition: border-color .25s var(--ease); }
.article-card:hover { border-color: var(--border-strong); }
.article-card .eyebrow { font-size: 11px; margin-bottom: 12px; }
.article-card h2, .article-card h3 { font-size: 18px; line-height: 1.6; }
.article-card p { color: var(--text-sub); font-size: 14px; line-height: 1.85; margin-top: 10px; flex: 1 0 auto; }
.article-card .more { color: var(--accent); font-weight: 600; font-size: 13.5px; margin-top: 16px; }

.home-articles { padding: 100px 0; }
.home-articles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
.home-articles__more { text-align: center; margin-top: 36px; }
.home-articles__more a { color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.home-articles__more a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .articles-grid { grid-template-columns: 1fr; gap: 18px; max-width: 30em; }
  .page-head { padding-top: 56px; }
  .prose h2 { font-size: 18.5px; }
  
  .page-head h1, .prose h1, .prose h2, .prose h3 { word-break: normal; overflow-wrap: anywhere; }
  .breadcrumb, .page-head .lead, .prose p, .prose li, .note, .article-foot { word-break: normal; overflow-wrap: anywhere; }
  .prose table { display: block; overflow-x: auto; }
}

@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero__lead, .hero__logo, .hero__sub { margin-left: auto; margin-right: auto; }
  .store-row { justify-content: center; }
  .hero__device .device { width: 320px; }
}
@media (max-width: 900px) {
  .hero { padding: 64px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .store-row { justify-content: center; }
  .values__grid { grid-template-columns: 1fr; gap: 40px; max-width: 30em; margin: 0 auto; text-align: center; }
  .value__rule { margin-left: auto; margin-right: auto; }

  .feature, .feature--reverse { grid-template-columns: 1fr; gap: 36px; text-align: center; max-width: 460px; }
  .feature__text, .feature--reverse .feature__text { max-width: none; justify-self: center; order: 2; }
  .feature__media { order: 1; }
  .feature--reverse .feature__media { order: 1; }
  .ticks { display: inline-grid; text-align: left; }
  .feature + .feature { margin-top: 88px; }

  .interlude__inner { grid-template-columns: 1fr; gap: 30px; text-align: center; max-width: 420px; }
  .interlude__text { max-width: none; }
  .interlude__media { max-width: 360px; margin: 0 auto; }

  .site-footer__inner { grid-template-columns: 1fr; gap: 26px; text-align: left; }
  .home-articles__grid { grid-template-columns: 1fr; max-width: 30em; }
}
@media (max-width: 600px) {
  .container { padding: 0 22px; }
  .nav { display: none; }
  .hero__logo { height: 52px; }
  .hero { padding: 48px 0 52px; }
  .hero__title { letter-spacing: .02em; }
  .device { width: 256px; }
  .device--sm { width: 248px; }
  .features { padding: 72px 0; }
  .story, .assurance, .pro, .home-articles { padding: 72px 0; }
  .assure-list li { padding: 18px 20px; }
  .pro-panel { padding: 32px 24px; }
  .closing { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
