/* Kura LP の共通スタイル（全言語のページが読む）。アプリと同じ書体 Geist（OFL）は欧文だけ持つので、
   ほかの文字はページごとに読む Noto（--font-script）に落ちる */
@font-face { font-family: 'Geist'; src: url(fonts/geist_semibold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Geist'; src: url(fonts/geist_bold.ttf) format('truetype'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: 'Geist'; src: url(fonts/geist_medium.ttf) format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Geist'; src: url(fonts/geist_regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
:root {
  /* アプリのテーマ（松葉色 × 生成り） */
  --green: #236B46;
  --green-d: #17513A;
  --green-c: #D6E8DC;
  --green-a: #8FCBA6;
  --amber: #8A5A13;
  --amber-c: #F4E2C6;
  --bg: #F6F5F1;
  --bg-alt: #EFEEE9;
  --bg-card: #FFFFFF;
  --border: rgba(27,27,25,0.10);
  --border-strong: rgba(27,27,25,0.18);
  --text: #1B1B19;
  --text-sub: #5F5D57;
  --text-light: #8E8B84;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Geist', var(--font-script, 'Noto Sans'), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.8; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word; hyphens: auto;
}
/* 日本語は文節で折り返す（「同｜じ」のような語の途中の改行を避ける） */
:lang(ja) body { word-break: auto-phrase; overflow-wrap: anywhere; }
/* 韓国語は語（分かち書き）の単位で折り返す */
:lang(ko) body { word-break: keep-all; overflow-wrap: anywhere; }
/* つながる文字・上下に記号が付く文字は字間を詰めず、行も広げる */
:is(:lang(ar), :lang(hi), :lang(bn), :lang(th)) :is(h1, h2, h3, .section-tag, .price-big, .nav-brand) { letter-spacing: normal; }
:is(:lang(ar), :lang(hi), :lang(bn), :lang(th)) :is(h1, h2, h3) { line-height: 1.45; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--green-a); outline-offset: 2px; border-radius: 6px; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(246,245,241,0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: center;
}
.nav-inner { max-width: 1100px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.3px; }
.nav-brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-link { font-size: 14px; font-weight: 600; color: var(--text-sub); padding: 8px 6px; transition: color 0.2s; }
.nav-link:hover { color: var(--green); }
.nav-cta { background: var(--green); color: #fff; font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 10px; transition: background 0.2s, transform 0.2s; }
.nav-cta:hover { background: var(--green-d); transform: translateY(-1px); }
.lang-select { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 7px 8px; font-size: 13px; font-family: inherit; cursor: pointer; }
@media (max-width: 640px) { .nav-cta { display: none; } }
@media (max-width: 380px) { .nav-link { display: none; } }

/* HERO */
.hero {
  padding: 128px 24px 0; position: relative; overflow: hidden;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(35,107,70,0.13) 0%, transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, #ECEFE8 70%, var(--bg) 100%);
}
.hero-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--green-c); color: var(--green-d); font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 100px; margin-bottom: 26px; }
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
h1 { font-size: clamp(36px, 6vw, 66px); font-weight: 900; line-height: 1.16; letter-spacing: -1px; margin-bottom: 22px; }
h1 .accent, h2 .accent, h3 .accent { color: var(--green); }
.hero-desc { font-size: clamp(15px, 2vw, 18px); color: var(--text-sub); max-width: 640px; margin: 0 auto 34px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--green); color: #fff; font-size: 15px; font-weight: 700; padding: 15px 30px; border-radius: 14px; box-shadow: 0 8px 24px rgba(35,107,70,0.28); transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn-primary:hover { background: var(--green-d); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(35,107,70,0.34); }
.btn-primary svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-card); color: var(--green-d); font-size: 15px; font-weight: 700; padding: 14px 26px; border-radius: 14px; border: 1px solid var(--border-strong); transition: border-color 0.2s, transform 0.2s; }
.btn-secondary:hover { border-color: var(--green); transform: translateY(-2px); }
.btn-secondary svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.hero-note { margin: 18px 0 52px; font-size: 13px; color: var(--text-light); }
.hero-visual { max-width: 960px; margin: 0 auto; border-radius: 22px 22px 0 0; overflow: hidden; box-shadow: 0 -10px 60px rgba(35,107,70,0.16), 0 0 0 1px var(--border); }
.hero-visual img { width: 100%; }

/* SECTIONS */
section { padding: 96px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-center { text-align: center; }
.section-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; line-height: 1.32; letter-spacing: -0.5px; margin-bottom: 16px; }
.section-lead { font-size: 16px; color: var(--text-sub); max-width: 640px; line-height: 1.85; margin-bottom: 52px; }
.section-center .section-lead { margin-inline: auto; }
.bg-alt { background: var(--bg-alt); }

/* PROBLEM */
.problem { background: var(--green); color: #fff; text-align: center; padding: 80px 24px; }
.problem h2 { color: #fff; }
.problem p { color: rgba(255,255,255,0.82); font-size: 17px; max-width: 660px; margin: 0 auto; line-height: 1.95; }
.problem .highlight { color: #fff; font-weight: 700; border-bottom: 2px solid var(--green-a); }

/* COMPARE */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; text-align: start; }
.cmp-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 30px 28px; }
.cmp-card.after { border: 2px solid var(--green); box-shadow: 0 16px 40px rgba(35,107,70,0.12); }
.cmp-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.cmp-card.before h3 { color: var(--text-sub); }
.cmp-card.after h3 { color: var(--green); }
.cmp-card h3 img { width: 28px; height: 28px; border-radius: 8px; }
.cmp-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.cmp-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.6; }
.cmp-list li .mk { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; margin-top: 1px; }
.before .cmp-list li { color: var(--text-sub); }
.before .mk { background: var(--bg-alt); color: var(--text-light); }
.after .mk { background: var(--green); color: #fff; }

/* VIDEO */
.video-wrap { max-width: 860px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0B3B24; box-shadow: 0 20px 50px rgba(27,27,25,0.16); }
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* SHOWCASE */
.showcase { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.showcase.reverse { grid-template-columns: 1fr 1.15fr; }
.showcase.reverse .showcase-text { order: 2; }
.showcase-text h3 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; line-height: 1.32; letter-spacing: -0.4px; margin-bottom: 14px; }
.showcase-text p { font-size: 16px; color: var(--text-sub); line-height: 1.9; margin-bottom: 20px; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feat-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text); line-height: 1.6; }
.feat-list li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 9px; }
.showcase-img { max-width: 330px; width: 100%; margin: 0 auto; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgba(27,27,25,0.18), 0 0 0 1px var(--border); }

/* WEB */
.web-band { background: linear-gradient(135deg, #0B3B24, var(--green)); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.web-band .section-tag { color: var(--green-a); }
.web-band h2 { color: #fff; }
.web-band p { color: rgba(255,255,255,0.84); font-size: 16px; line-height: 1.9; margin-bottom: 26px; }
.web-band .btn-secondary { background: #fff; border-color: #fff; }
.web-band .web-note { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.65); }
.browser { direction: ltr; background: #F6F5F1; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #E4E2DB; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9C6BE; }
.browser-bar span { margin-left: 8px; flex: 1; background: #F6F5F1; border-radius: 6px; font-size: 10px; color: var(--text-sub); padding: 3px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-style: normal; }
.browser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 10px; }
.browser-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: start; }
.feat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.feat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(27,27,25,0.08); border-color: rgba(35,107,70,0.35); }
.feat-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--green-c); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat-icon svg { width: 24px; height: 24px; stroke: var(--green-d); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.feat-card p { font-size: 14px; color: var(--text-sub); line-height: 1.75; }

/* FLOW */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; max-width: 960px; margin: 0 auto; }
.flow::before { content: ''; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--green-c), var(--green)); }
.flow-item { position: relative; padding: 0 12px; text-align: center; }
.flow-num { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 14px; box-shadow: 0 0 0 6px var(--bg); }
.bg-alt .flow-num { box-shadow: 0 0 0 6px var(--bg-alt); }
.flow-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.flow-item p { font-size: 13px; color: var(--text-sub); line-height: 1.65; }

/* PRICING */
.pricing { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; max-width: 900px; margin: 0 auto; text-align: start; }
.price-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 22px; padding: 32px 30px; }
.price-card.plan { border: 2px solid var(--green); }
.price-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.price-card .price-sub { font-size: 14px; color: var(--text-sub); margin-bottom: 20px; }
.price-big { font-size: 40px; font-weight: 800; letter-spacing: -1px; color: var(--green); line-height: 1.1; margin-bottom: 20px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.plan-tile { background: var(--bg); border-radius: 14px; padding: 14px 10px; text-align: center; }
.plan-tile b { display: block; font-size: 20px; font-weight: 800; color: var(--green-d); letter-spacing: -0.4px; }
.plan-tile span { font-size: 13px; color: var(--text-sub); white-space: nowrap; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.6; }
.check-list li::before { content: '✓'; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green-c); color: var(--green-d); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.price-note { max-width: 900px; margin: 18px auto 0; font-size: 13px; color: var(--text-light); text-align: center; }

/* SAFETY */
.safety-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; text-align: start; }
.safety-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 26px 24px; display: flex; gap: 16px; }
.safety-card .feat-icon { flex-shrink: 0; margin: 0; }
.safety-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.safety-card p { font-size: 14px; color: var(--text-sub); line-height: 1.75; }

/* NOTE */
.note-box { max-width: 820px; margin: 0 auto; background: var(--amber-c); border: 1px solid rgba(138,90,19,0.25); border-radius: 18px; padding: 24px 28px; }
.note-box h3 { font-size: 15px; font-weight: 700; color: var(--amber); margin-bottom: 10px; }
.note-box ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.note-box li { font-size: 14px; color: #4A3A22; line-height: 1.7; padding-inline-start: 16px; position: relative; }
.note-box li::before { content: '・'; position: absolute; inset-inline-start: -2px; color: var(--amber); }

/* FAQ */
.faq-list { max-width: 740px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 10px; text-align: start; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; padding: 20px 24px; font-size: 15px; font-weight: 700; color: var(--text); text-align: start; font-family: inherit; line-height: 1.5; }
.faq-q::after { content: ''; width: 20px; height: 20px; flex-shrink: 0; margin-inline-start: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23236B46' stroke-width='2.5'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 480px; }
.faq-a-inner { padding: 0 24px 20px; font-size: 14px; color: var(--text-sub); line-height: 1.9; }

/* CTA */
.cta-bottom { text-align: center; background: radial-gradient(70% 80% at 50% 0%, rgba(35,107,70,0.14) 0%, transparent 60%), linear-gradient(180deg, var(--bg), #E6EDE5); border-top: 1px solid var(--border); }
.cta-bottom img.cta-icon { width: 76px; height: 76px; border-radius: 20px; margin: 0 auto 24px; box-shadow: 0 12px 30px rgba(35,107,70,0.3); }
.cta-checklist { max-width: 480px; margin: 8px auto 36px; text-align: start; display: flex; flex-direction: column; gap: 12px; }
.cta-checklist li { list-style: none; display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 500; line-height: 1.6; }
.cta-checklist li::before { content: '✓'; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.cta-note { margin-top: 16px; font-size: 13px; color: var(--text-light); }

/* FOOTER */
footer { padding: 40px 24px; text-align: center; border-top: 1px solid var(--border); }
.footer-inner { max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 13px; color: var(--text-light); }
.footer-inner a:hover { color: var(--green); }

@media (max-width: 860px) {
  .showcase, .showcase.reverse { grid-template-columns: 1fr; gap: 36px; }
  .showcase.reverse .showcase-text { order: 0; }
  .showcase-img { max-width: 280px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .web-band { grid-template-columns: 1fr; }
  .pricing, .compare { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .flow::before { display: none; }
}
@media (max-width: 560px) {
  section { padding: 68px 16px; }
  .nav { padding: 0 16px; }
  .hero { padding: 104px 16px 0; }
  .hero-visual { border-radius: 14px 14px 0 0; }
  .features-grid, .safety-grid { grid-template-columns: 1fr; }
  .safety-card { flex-direction: column; gap: 12px; }
  .plans { gap: 6px; }
  .plan-tile { padding: 12px 4px; }
  .plan-tile b { font-size: 17px; }
  .plan-tile span { font-size: 12px; }
  .problem { padding: 64px 16px; }
  .web-band { border-radius: 20px; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}
