@charset "utf-8";

:root {
	--ink: #12212b;
	--ink-deep: #09151c;
	--paper: #f3f0e7;
	--paper-2: #e8e3d5;
	--line: #bdc6c4;
	--teal: #007878;
	--teal-dark: #005557;
	--orange: #d85824;
	--yellow: #efb43c;
	--muted: #5b6a70;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.wrap { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.wrap-narrow { width: min(720px, calc(100% - 48px)); margin: 0 auto; }

.site-header { position: relative; z-index: 2; background: var(--ink-deep); color: #f8f5ed; }
.site-header .wrap { min-height: 78px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 10px 0; }
.studio { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.studio img { width: 40px; height: 40px; border-radius: 11px; }
.studio span { font-size: 17px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.header-nav-group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.h-nav { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.h-nav a { color: #d7e4e1; text-decoration: none; }
.h-nav a:hover { color: #fff; }
.lang-switch { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 12px; }
.lang-switch a { display: inline-block; padding: 4px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #b7c7c3; text-decoration: none; }
.lang-switch a:hover { color: #fff; border-color: rgba(255,255,255,.45); }
.lang-switch a.is-current { color: var(--ink-deep); background: #f8f5ed; border-color: #f8f5ed; font-weight: 700; }
.tokunigo-guide-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 18px; border: 1px solid #8ee3d5; color: #f8f5ed; font-size: 14px; font-weight: 800; line-height: 1.45; text-align: center; text-decoration: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.tokunigo-guide-link:hover { border-color: #f8f5ed; background: #f8f5ed; color: var(--ink-deep); }
.tokunigo-guide-link span { color: var(--yellow); font-size: 19px; line-height: 1; }
.tokunigo-guide-link--header { padding: 6px 10px; border-color: rgba(142,227,213,.65); color: #d7e4e1; font-size: 12px; white-space: nowrap; }

.hero { position: relative; overflow: hidden; padding: 74px 0 90px; color: #f8f5ed; background: var(--ink-deep); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, #000, transparent 82%); }
.hero::after { content: ""; position: absolute; width: 680px; height: 680px; right: -185px; top: -250px; border: 58px solid var(--orange); border-radius: 50%; opacity: .9; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 410px; align-items: center; gap: 64px; }
.hero .wrap > div { min-width: 0; }
.badge { display: inline-block; margin: 0 0 18px; padding: 4px 11px; border: 1px solid rgba(239,180,60,.8); color: #ffd574; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.hero-title { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.app-icon { width: 86px; height: 86px; flex: none; border-radius: 22%; box-shadow: 0 10px 28px rgba(0,0,0,.4); }
.hero h1 { min-width: 0; margin: 0; font-size: clamp(38px, 5.2vw, 62px); line-height: 1.08; letter-spacing: .04em; word-break: keep-all; overflow-wrap: break-word; }
.hero h1 span { display: block; margin-top: 8px; color: #8ee3d5; font-size: .31em; font-weight: 700; letter-spacing: .12em; }
.tagline { margin: 0 0 19px; font-size: clamp(20px, 2.6vw, 30px); font-weight: 700; line-height: 1.5; }
.tagline em { color: #ffd574; font-style: normal; }
.desc { max-width: 610px; margin: 0 0 28px; color: #cedbd8; font-size: 15.5px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.store-button { display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; background: #f7f5ee; color: var(--ink-deep); border-radius: 5px; font-size: 14px; font-weight: 800; }
.store-button::before { content: "▶"; color: var(--orange); font-size: 13px; }
.cta-note { color: #9db2ae; font-size: 13px; }
.store-button, .ios-button { text-decoration: none; cursor: pointer; }
.play-badge { display: inline-block; line-height: 0; text-decoration: none; }
.play-badge img { width: 202px; height: auto; }
.appstore-badge { display: inline-block; line-height: 0; text-decoration: none; }
.appstore-badge img { height: 60px; width: auto; }
.ios-button { padding: 10px 15px; border: 1px solid var(--teal); background: transparent; color: var(--teal-dark); border-radius: 5px; font: inherit; font-size: 14px; font-weight: 800; }
.ios-button[disabled] { cursor: default; opacity: .7; }
.hero-graphic { position: relative; z-index: 1; transform: rotate(2deg); box-shadow: 18px 18px 0 var(--teal); }
.hero-graphic img { width: 100%; border: 1px solid rgba(255,255,255,.25); }

.section { padding: 90px 0; }
.section-alt { background: var(--paper-2); }
.eyebrow { margin: 0 0 10px; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head h2 { margin: 0 0 15px; font-size: clamp(27px, 3.2vw, 40px); line-height: 1.35; letter-spacing: .04em; }
.section-head p:last-child { margin: 0; color: var(--muted); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { min-height: 250px; padding: 28px; background: #fffdf8; border-top: 5px solid var(--teal); box-shadow: 0 10px 25px rgba(24,36,38,.08); }
.feature:nth-child(4n+2) { border-top-color: var(--orange); }
.feature:nth-child(4n+3) { border-top-color: var(--yellow); }
.feature:nth-child(4n+4) { border-top-color: var(--teal-dark); }
.feature-num { margin: 0 0 25px; color: #a1b6b2; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.feature h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.45; }
.feature p:last-child { margin: 0; color: var(--muted); font-size: 14px; }

/* Japanese feature introduction cards */
.features--visual { gap: 24px; }
.feature--visual { display: flex; min-height: 0; padding: 0 0 25px; overflow: hidden; border: 1px solid rgba(24,36,38,.12); border-top: 5px solid var(--teal); border-radius: 2px; flex-direction: column; }
.feature--visual:nth-child(4n+2) { border-top-color: var(--orange); }
.feature--visual:nth-child(4n+3) { border-top-color: var(--yellow); }
.feature--visual:nth-child(4n+4) { border-top-color: var(--teal-dark); }
.feature--visual > img { display: block; width: 100%; height: auto; border-bottom: 1px solid rgba(24,36,38,.1); background: #e7f1f4; }
.feature-copy { padding: 22px 24px 0; }
.feature--visual .feature-num { margin-bottom: 12px; }
.feature--visual h3 { font-size: 20px; }
.feature--visual p:last-child { font-size: 14px; line-height: 1.75; }
.feature--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(270px, .62fr) 1fr; align-items: stretch; padding: 0; }
.feature--wide > img { height: 100%; min-height: 420px; object-fit: cover; object-position: center top; border-right: 1px solid rgba(24,36,38,.1); border-bottom: 0; }
.feature--wide .feature-copy { display: flex; padding: clamp(28px, 4vw, 52px); flex-direction: column; justify-content: center; }
.feature--wide h3 { margin-bottom: 16px; font-size: clamp(25px, 3vw, 37px); line-height: 1.35; }
.feature--wide p:last-of-type { max-width: 550px; }
.feature-points { display: grid; gap: 10px; margin: 25px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: 14px; }
.feature-points li { position: relative; padding-left: 18px; }
.feature-points li::before { position: absolute; left: 0; color: var(--teal-dark); content: "●"; }
.feature-points strong { color: var(--ink); }

.topics { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.topic-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin: 0; padding: 0; list-style: none; }
.topic-list li { padding: 17px 19px; background: #fffdf8; border-left: 4px solid var(--teal); font-weight: 700; }
.topic-list li:nth-child(3n+2) { border-left-color: var(--orange); }
.topic-list li:nth-child(3n) { border-left-color: var(--yellow); }
.topic-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.exam-box { padding: 28px; background: var(--ink); color: #f8f5ed; }
.exam-box p { margin: 0 0 8px; color: #94d5cb; font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.exam-box strong { display: block; font-size: 26px; line-height: 1.5; }
.exam-box span { display: block; margin-top: 14px; color: #cfdbd8; font-size: 14px; }

.guide-callout { padding: 76px 0; background: var(--ink-deep); color: #f8f5ed; }
.guide-callout .wrap { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.guide-callout .eyebrow { color: #f2a34c; }
.guide-callout h2 { margin: 0 0 13px; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.38; letter-spacing: .04em; }
.guide-callout p:last-child { max-width: 650px; margin: 0; color: #cedbd8; font-size: 15px; }
.guide-callout .tokunigo-guide-link { flex: 0 0 auto; }

.notice { margin: 0; padding: 21px 24px; border-left: 5px solid var(--orange); background: #fff7e8; color: #5c3d21; font-size: 14px; }
.notice strong { color: #8b3618; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shot { margin: 0; }
.shot img { border-radius: 10px; box-shadow: 0 10px 25px rgba(24,36,38,.14); }
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; text-align: center; }

.iap { padding: 32px 34px; background: #fffdf8; border-top: 5px solid var(--teal); box-shadow: 0 10px 25px rgba(24,36,38,.08); }
.iap h3 { margin: 0 0 14px; font-size: 19px; }
.iap p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.iap p:last-child { margin-bottom: 0; }
.iap a { text-decoration: underline; color: var(--ink); }
.faq { padding: 90px 0; background: #fffdf8; }
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 0 20px; border: 1px solid var(--line); background: #fff; }
.faq-item summary { padding: 18px 0; cursor: pointer; font-weight: 800; }
.faq-item p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; }
.trust-list { margin: 0; padding-left: 1.3em; color: var(--muted); font-size: 14.5px; }
.trust-list li + li { margin-top: 7px; }
.updated { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.download-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.qr-card { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 14px; background: #fffdf8; color: var(--ink); text-align: left; }
.qr-card img { width: 128px; height: 128px; image-rendering: pixelated; }
.qr-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.closing .qr-card p { margin: 0; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.65; }
.sticky-cta { display: none; }

.closing { padding: 80px 0; text-align: center; color: #f8f5ed; background: var(--ink-deep); }
.closing h2 { margin: 0 0 12px; font-size: clamp(24px, 3.4vw, 34px); }
.closing p { margin: 0 0 26px; color: #cedbd8; }
.closing .cta-row { display: flex; justify-content: center; }
.closing .store-button { display: inline-flex; }
.closing .ios-button { border-color: #8ee3d5; background: #8ee3d5; color: var(--ink-deep); box-shadow: 0 3px 0 rgba(0,0,0,.2); }
.closing .ios-button:hover { background: #b7f3e8; border-color: #b7f3e8; }
.site-footer { padding: 36px 0; background: var(--ink-deep); color: #d7e4e1; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.f-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.f-nav a:hover { color: #fff; }
.copy { margin: 0; font-size: 12px; letter-spacing: .08em; }

/* privacy page */
.legal-main { padding: 56px 0 0; }
.legal-main .wrap { max-width: 800px; }
.page-head { padding-bottom: 34px; }
.page-head h1 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 42px); line-height: 1.35; }
.page-head .lead { margin: 0; color: var(--muted); font-size: 15px; }
.info-card { margin-bottom: 44px; padding: 24px 28px; background: #fffdf8; border-top: 5px solid var(--teal); box-shadow: 0 8px 22px rgba(24,36,38,.07); }
.info-card dl { display: grid; grid-template-columns: 10em 1fr; gap: 13px 20px; margin: 0; font-size: 15px; }
.info-card dt { color: var(--muted); font-size: 13px; }
.info-card dd { margin: 0; }
.info-card dd p { margin: 0 0 8px; }
.info-card dd p:last-child { margin-bottom: 0; }
.info-card dd ul { margin: 0; padding-left: 1.3em; }
/* 正式名の下に添える補足（端末上の表示名・アプリID など） */
.info-card dd .sub { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.info-card dd li::marker { color: var(--orange); }
.policy { padding-bottom: 24px; }
.policy section { margin-bottom: 40px; }
.policy h2 { display: flex; gap: 12px; align-items: baseline; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 20px; line-height: 1.5; }
.policy h2 .num { color: var(--orange); font-size: 13px; letter-spacing: .05em; }
.policy p { margin: 0 0 14px; }
.policy p:last-child { margin-bottom: 0; }
.policy ul { margin: 0; padding-left: 1.4em; }
.policy li::marker { color: var(--orange); }
.policy .note { padding: 20px; border-left: 5px solid var(--teal); background: #e5f2ee; }
.contact-block { margin-top: 18px; padding: 20px 23px; background: var(--ink); color: #f8f5ed; }
.contact-block .org { color: #95ded0; font-weight: 800; }
.contact-block a { color: #fff; }
.contact-block .sub { margin-top: 8px; color: #a9bab6; font-size: 13px; }
.dates { padding: 20px 0 48px; color: var(--muted); font-size: 13px; }
.dates p { margin: 0; }

@media (max-width: 800px) {
	.h-nav { display: none; }
	.hero { padding: 54px 0 70px; }
	.hero .wrap, .topics { grid-template-columns: 1fr; }
	.guide-callout .wrap { align-items: flex-start; flex-direction: column; }
	.hero-graphic { width: min(440px, 90%); justify-self: center; margin-top: 10px; }
	.features { grid-template-columns: 1fr 1fr; }
	.feature { min-height: auto; }
	.features--visual { gap: 20px; }
	.feature--wide { grid-template-columns: minmax(220px, .55fr) 1fr; }
	.shots { grid-template-columns: 1fr 1fr; }
	.iap { padding: 26px; }
	.sticky-cta { position: fixed; z-index: 10; right: 16px; bottom: 16px; display: inline-flex; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
	.play-badge.sticky-cta img { width: 172px; }
	body { padding-bottom: 72px; }
	/* 公開前のページには追従CTAがないため、そのぶんの余白を戻す */
	body.is-coming-soon { padding-bottom: 0; }
	.qr-card { display: none; }
}
@media (max-width: 560px) {
	.wrap { width: min(100% - 36px, 1080px); }
	.site-header .wrap { min-height: 68px; }
	.studio img { width: 36px; height: 36px; }
	.studio span { font-size: 15px; }
	.hero::after { width: 400px; height: 400px; border-width: 35px; right: -255px; top: -150px; }
	.hero-title { gap: 13px; }
	.app-icon { width: 64px; height: 64px; }
	.hero h1 { font-size: 35px; }
	.section { padding: 64px 0; }
	.features--visual { grid-template-columns: 1fr; }
	.feature--wide { display: flex; }
	.feature--wide > img { width: 100%; min-height: 0; height: auto; border-right: 0; border-bottom: 1px solid rgba(24,36,38,.1); object-fit: contain; }
	.feature--wide .feature-copy { padding: 28px 24px; }
	.topic-list { grid-template-columns: 1fr; }
	.shots { grid-template-columns: 1fr 1fr; gap: 14px; }
	.closing { padding: 56px 0; }
	.info-card { padding: 20px; }
	.info-card dl { grid-template-columns: 1fr; gap: 3px; }
	.info-card dd { margin-bottom: 13px; }
	.site-footer .wrap { display: block; }
	.copy { margin-top: 18px; }
}
