@charset "UTF-8";
/* ==========================================================
   FLYYOU TOP — Japan × World
   墨と藍の深い色を基調に、朱をアクセントに使ったモダンなデザイン
   ========================================================== */

:root {
	--ink: #0d1628;         /* 墨藍（ヒーロー・暗いセクション） */
	--ink-2: #14223b;
	--ai: #1b2d4f;          /* 藍 */
	--shu: #c8102e;         /* 朱 / ネパール国旗の紅 */
	--shu-deep: #9e0c24;
	--kin: #c9a03c;         /* 金 */
	--paper: #f5f1e8;       /* 和紙 */
	--white: #fff;
	--text: #1d222b;
	--muted: #6b7180;
	--line: #e3ddd0;
	--line-dark: rgba(255,255,255,.12);
	--flag-blue: #2a6ebb;
	--flag-red: #c8102e;
	--flag-green: #2e8b57;
	--flag-yellow: #e8b400;
	--en: "Montserrat", "Noto Sans", sans-serif;
	--serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
	margin: 0; background: var(--white); color: var(--text);
	font-family: var(--sans); font-size: 15px; line-height: 1.95; letter-spacing: .03em;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.center { text-align: center; margin-top: 56px; }
.inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---------- タルチョ ---------- */
.prayer-flags { position: fixed; inset: 0 0 auto 0; z-index: 300; display: flex; height: 4px; }
.prayer-flags i { flex: 1; }
.prayer-flags i:nth-child(1) { background: var(--flag-blue); }
.prayer-flags i:nth-child(2) { background: #f4f1ea; }
.prayer-flags i:nth-child(3) { background: var(--flag-red); }
.prayer-flags i:nth-child(4) { background: var(--flag-green); }
.prayer-flags i:nth-child(5) { background: var(--flag-yellow); }

/* ---------- ボタン ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 14px;
	padding: 16px 34px; border: 1px solid transparent; border-radius: 999px;
	font: 700 13px/1.4 var(--en); letter-spacing: .12em; text-decoration: none;
	transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--shu); color: var(--white); }
.btn-red:hover { background: var(--shu-deep); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--shu); }
.link-more {
	display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
	font: 700 13px/1.4 var(--en); letter-spacing: .14em; color: var(--text);
	padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: color .3s, gap .3s;
}
.link-more:hover { color: var(--shu); gap: 18px; }

/* ---------- ヘッダー ---------- */
#header {
	position: fixed; top: 4px; left: 0; right: 0; z-index: 200;
	background: var(--white); transition: box-shadow .35s;
}
#header.scrolled { box-shadow: 0 8px 30px rgba(13,22,40,.12); }
.header-inner {
	max-width: 1360px; margin: 0 auto; padding: 0 40px; height: var(--header-h);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
/* ロゴ：元画像（1280×1280）の余白を切り落として表示 */
.logo { display: block; flex: none; text-decoration: none; }
.logo-img { display: block; position: relative; width: 118px; aspect-ratio: 610 / 384; overflow: hidden; }
.logo-img img { position: absolute; max-width: none; width: 209.84%; left: -55.74%; top: -122.92%; }
.logo-footer .logo-img { width: 150px; }
#gnav { display: flex; align-items: center; gap: 28px; }
#gnav ul { display: flex; gap: 28px; }
#gnav ul a { display: block; text-decoration: none; color: var(--ai); text-align: center; }
#gnav .en { display: block; font: 600 13px/1.2 var(--en); letter-spacing: .1em; position: relative; }
#gnav .ja { display: block; margin-top: 4px; font-size: 10px; line-height: 1.2; color: var(--muted); }
#gnav ul .en::after {
	content: ""; position: absolute; left: 50%; bottom: -6px; width: 0; height: 2px; background: var(--shu);
	transition: width .3s, left .3s;
}
#gnav ul a:hover .en::after { width: 100%; left: 0; }
.lang-switch select {
	padding: 8px 30px 8px 12px; border: 1px solid var(--line); border-radius: 999px;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231b2d4f'/%3E%3C/svg%3E") no-repeat right 12px center;
	color: var(--ai); font: 500 12px/1.4 var(--sans); cursor: pointer; appearance: none;
}
.lang-switch select option { color: var(--text); background: var(--white); }
.header-cta {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 10px 26px; border-radius: 999px; background: var(--shu); color: var(--white); text-decoration: none;
	transition: background .3s;
}
.header-cta:hover { background: var(--shu-deep); }
.header-cta .en { font: 700 13px/1.2 var(--en); letter-spacing: .12em; }
.header-cta .ja { font-size: 10px; line-height: 1.3; opacity: .85; }
#menuBtn { display: none; }

/* ---------- HERO ---------- */
#hero {
	position: relative; min-height: 100vh; padding: calc(var(--header-h) + 60px) 0 0;
	background: var(--ink); color: var(--white); overflow: hidden;
	display: flex; flex-direction: column;
}
#hero::before {
	content: ""; position: absolute; inset: 0; opacity: .5;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05'%3E%3Ccircle cx='40' cy='40' r='36'/%3E%3Ccircle cx='40' cy='40' r='27'/%3E%3Ccircle cx='40' cy='40' r='18'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3Ccircle cx='0' cy='20' r='36'/%3E%3Ccircle cx='80' cy='20' r='36'/%3E%3C/g%3E%3C/svg%3E");
}
#hero::after {
	content: ""; position: absolute; width: 900px; height: 900px; right: -200px; top: -250px; border-radius: 50%;
	background: radial-gradient(circle, rgba(200,16,46,.28), rgba(200,16,46,0) 65%);
}
.hero-bgword {
	position: absolute; left: -2vw; bottom: 70px; z-index: 0;
	font: 800 clamp(120px, 20vw, 320px)/1 var(--en); letter-spacing: .02em;
	color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); white-space: nowrap; pointer-events: none;
}
.hero-inner {
	position: relative; z-index: 1; flex: 1;
	max-width: 1360px; width: 100%; margin: 0 auto; padding: 0 40px 60px;
	display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center;
}
.hero-label {
	display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
	font: 700 13px/1 var(--en); letter-spacing: .35em; color: var(--kin);
}
.hero-label::before { content: ""; width: 40px; height: 1px; background: var(--kin); }
.hero-catch { font: 900 clamp(38px, 4.6vw, 72px)/1.3 var(--serif); letter-spacing: .06em; }
.hero-lead {
	margin-top: 28px; padding-left: 18px; border-left: 2px solid var(--shu);
	font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.75);
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-visual { position: relative; }
.hero-frame {
	position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px;
	box-shadow: 0 40px 80px rgba(0,0,0,.45);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-visual::before {
	content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid rgba(201,160,60,.5); border-radius: 6px;
}
.hero-badge {
	position: absolute; left: -36px; bottom: -30px; width: 112px; height: 112px; border-radius: 50%;
	background: var(--shu); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center;
	font: 800 28px/1 var(--en); letter-spacing: .04em; box-shadow: 0 16px 40px rgba(200,16,46,.4);
}
.hero-badge span { font-size: 11px; font-weight: 600; letter-spacing: .25em; margin-bottom: 6px; opacity: .85; }

/* あいさつのマーキー */
.marquee { position: relative; z-index: 1; border-top: 1px solid var(--line-dark); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 600 20px/1.4 "Montserrat", "Noto Sans Devanagari", "Noto Sans Myanmar", "Noto Sans Sinhala", "Noto Sans JP", sans-serif; color: rgba(255,255,255,.45); white-space: nowrap; }
.marquee span:nth-child(3n+1) { color: rgba(255,255,255,.85); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- セクション共通 ---------- */
.sec { padding: 140px 0; position: relative; }
.sec-paper { background: var(--paper); }
.sec-dark { background: var(--ink); color: var(--white); }
.sec-label { display: flex; align-items: center; gap: 16px; font: 700 13px/1 var(--en); letter-spacing: .25em; text-transform: uppercase; }
.sec-label .num { color: var(--shu); }
.sec-label .bar { width: 48px; height: 1px; background: currentColor; opacity: .4; }
.sec-label .en { font-size: clamp(34px, 4.4vw, 64px); font-weight: 800; letter-spacing: .02em; text-transform: none; line-height: 1; }
.sec-sub { margin-top: 14px; font-size: 13px; letter-spacing: .2em; color: var(--muted); }
.sec-dark .sec-sub { color: rgba(255,255,255,.55); }
.sec-head { margin-bottom: 64px; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.sec-lead { max-width: 720px; margin-top: 26px; color: var(--muted); }
.sec-dark .sec-lead { color: rgba(255,255,255,.7); }
.sec-title { margin-top: 40px; font: 700 clamp(24px, 2.6vw, 36px)/1.6 var(--serif); letter-spacing: .05em; }

/* ---------- 01 MESSAGE ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
.split-head { position: sticky; top: calc(var(--header-h) + 40px); }
.split-head .sec-title { font-size: clamp(22px, 2.1vw, 30px); }
.split-body > p + p { margin-top: 1.4em; }
.split-body > p { font-size: 16px; line-height: 2.2; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.fact { padding: 26px 26px 24px; border: 1px solid var(--line); border-radius: 6px; }
.fact-label { font: 700 12px/1 var(--en), var(--sans); letter-spacing: .15em; color: var(--shu); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 14px; border-radius: 999px; background: var(--paper); font-size: 13px; line-height: 1.7; }
.fact-note { margin-top: 14px; font-size: 12px; line-height: 1.8; color: var(--muted); }

/* ---------- 02 SERVICE ---------- */
.services { display: grid; gap: 80px; }
.service { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.service-rev .service-img { order: 2; }
.service-img { display: block; position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px rgba(13,22,40,.14); }
.service-img img { display: block; width: 100%; transition: transform .7s; }
.service-img:hover img { transform: scale(1.04); }
.service-no { font: 800 88px/1 var(--en); color: transparent; -webkit-text-stroke: 1px var(--shu); margin-bottom: 18px; }
.service h3 { font: 700 clamp(22px, 2.2vw, 30px)/1.5 var(--serif); margin-bottom: 20px; letter-spacing: .04em; }
.service-body > p:not(.service-no) { color: #4a4f5a; margin-bottom: 32px; }

/* ---------- 03 SUPPORT ---------- */
.support-list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.support-list li {
	padding: 28px 22px 30px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
	font-size: 14px; line-height: 1.7; transition: background .3s;
}
.support-list li:hover { background: rgba(255,255,255,.04); }
.support-list span { display: block; margin-bottom: 14px; font: 800 26px/1 var(--en); color: var(--kin); }
.support-list b { font-weight: 500; }
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px; }
.strength { padding: 40px 34px; border-radius: 6px; background: linear-gradient(160deg, var(--ink-2), #0a1220); border: 1px solid var(--line-dark); position: relative; overflow: hidden; }
.strength::after { content: ""; position: absolute; left: 0; top: 0; width: 60px; height: 3px; background: var(--shu); }
.strength-no { font: 700 12px/1 var(--en); letter-spacing: .25em; color: var(--kin); margin-bottom: 18px; }
.strength h3 { font: 700 21px/1.5 var(--serif); margin-bottom: 14px; }
.strength p:last-child { font-size: 14px; line-height: 1.95; color: rgba(255,255,255,.72); }

/* ---------- 04 NEWS（カード） ---------- */
.news-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.news-tabs button {
	padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
	font: 500 13px/1.4 var(--sans); color: var(--text); cursor: pointer; transition: all .25s;
}
.news-tabs button:hover { border-color: var(--text); }
.news-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card a {
	display: flex; flex-direction: column; height: 100%; padding: 28px 28px 24px;
	border: 1px solid var(--line); border-radius: 6px; background: var(--white);
	text-decoration: none; color: inherit; position: relative; overflow: hidden;
	transition: transform .35s, box-shadow .35s, border-color .35s;
}
.news-card a::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--shu); transition: width .4s; }
.news-card a:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(13,22,40,.12); border-color: transparent; }
.news-card a:hover::before { width: 100%; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.news-country {
	padding: 3px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--white); background: var(--ai);
}
.news-country[data-c="jp"] { background: var(--shu); }
.news-country[data-c="np"] { background: #003893; }
.news-country[data-c="in"] { background: #d26a00; }
.news-country[data-c="vn"] { background: #a8151b; }
.news-country[data-c="cn"] { background: #8a1c1c; }
.news-country[data-c="mm"] { background: #2e7d32; }
.news-country[data-c="ph"] { background: #1d4f9c; }
.news-country[data-c="id"] { background: #6b4e2e; }
.news-date { font: 600 12px/1 var(--en); letter-spacing: .08em; color: var(--muted); }
.news-title {
	flex: 1; font: 700 16px/1.75 var(--sans);
	display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.news-orig { display: block; margin-top: 8px; font-size: 12px; font-weight: 400; color: var(--muted); }
.news-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.news-src { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-arrow {
	flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
	display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all .3s;
}
.news-card a:hover .news-arrow { background: var(--shu); border-color: var(--shu); color: var(--white); }
.news-sample .news-title { color: var(--muted); font-weight: 500; }
.news-empty { grid-column: 1 / -1; padding: 48px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 6px; }
.news-updated { margin-top: 18px; text-align: right; font-size: 12px; color: var(--muted); }
.news-note { margin-top: 10px; font-size: 12px; line-height: 1.8; color: var(--muted); }

/* ---------- 05 COMPANY ---------- */
.company-info { max-width: 880px; margin: 0 0 64px; padding: 0; border-top: 1px solid var(--line); }
.company-info > div { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); }
.company-info dt { padding: 22px 0; font-weight: 700; }
.company-info dd { margin: 0; padding: 22px 0; color: #3d424c; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.office { background: var(--white); border-radius: 6px; overflow: hidden; box-shadow: 0 20px 50px rgba(13,22,40,.08); }
.office-img { display: block; width: 100%; }
.office-body { padding: 36px 36px 36px; position: relative; }
.office-label {
	position: absolute; top: -16px; right: 30px; padding: 6px 16px; border-radius: 999px;
	background: var(--ink); color: var(--white); font: 700 11px/1.4 var(--en), var(--sans); letter-spacing: .15em;
}
.office-label-new { background: var(--shu); }
.office h3 { font: 700 24px/1.4 var(--serif); margin-bottom: 16px; }
.office-addr { line-height: 1.9; color: #3d424c; }
.office-tel { margin: 10px 0 24px; font: 600 14px/1.6 var(--en); letter-spacing: .06em; }
.office-tel a { color: var(--shu); text-decoration: none; }
.map { aspect-ratio: 16 / 9; background: var(--paper); border-radius: 4px; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 下層ページ（会社概要など） ---------- */
.page-hero {
	position: relative; overflow: hidden; background: var(--ink); color: var(--white);
	padding: calc(var(--header-h) + 90px) 0 90px;
}
.page-hero::after {
	content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; border-radius: 50%;
	background: radial-gradient(circle, rgba(200,16,46,.28), rgba(200,16,46,0) 65%);
}
.page-hero .hero-bgword { bottom: -20px; }
.page-hero .inner { position: relative; z-index: 1; }
.page-hero .sec-label .en { font-size: 14px; letter-spacing: .3em; text-transform: uppercase; color: var(--kin); }
.page-hero .sec-label .bar { background: var(--kin); opacity: 1; }
.page-title { margin-top: 22px; font: 900 clamp(32px, 4.4vw, 56px)/1.3 var(--serif); letter-spacing: .06em; }
.page-lead { margin-top: 18px; color: rgba(255,255,255,.72); }
.company-info-full { max-width: none; margin-bottom: 0; }
.company-info dd a { color: var(--shu); text-decoration: none; }
.licenses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.license { padding: 36px 32px; border: 1px solid var(--line-dark); border-radius: 6px; background: linear-gradient(160deg, var(--ink-2), #0a1220); position: relative; }
.license::after { content: ""; position: absolute; left: 0; top: 0; width: 60px; height: 3px; background: var(--shu); }
.license-name { font: 700 17px/1.6 var(--serif); }
.license-no { margin-top: 14px; font: 800 26px/1.2 var(--en); letter-spacing: .04em; color: var(--kin); }
.overseas { margin-top: 32px; padding: 32px 36px; border-radius: 6px; background: var(--white); box-shadow: 0 20px 50px rgba(13,22,40,.08); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; }
.overseas-label { font: 700 12px/1 var(--en); letter-spacing: .2em; color: var(--shu); }
.overseas-name { font: 800 24px/1.2 var(--en); letter-spacing: .06em; }
.overseas-place { color: var(--muted); }
#gnav a[aria-current="page"] .en::after { width: 100%; left: 0; }
@media (max-width: 960px) { .licenses { grid-template-columns: 1fr; } }

/* ---------- CONTACT ---------- */
.contact { position: relative; padding: 140px 0; background: var(--ink); color: var(--white); overflow: hidden; }
.contact::before {
	content: ""; position: absolute; width: 800px; height: 800px; left: -300px; bottom: -400px; border-radius: 50%;
	background: radial-gradient(circle, rgba(200,16,46,.25), rgba(200,16,46,0) 65%);
}
.contact-bgword {
	position: absolute; right: -1vw; top: 40px;
	font: 800 clamp(100px, 16vw, 240px)/1 var(--en); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07);
	pointer-events: none; white-space: nowrap;
}
.contact-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact .sec-label .en { font-size: 14px; letter-spacing: .3em; text-transform: uppercase; color: var(--kin); }
.contact .sec-label .bar { background: var(--kin); opacity: 1; }
.contact-head h2 { margin: 28px 0 22px; font: 700 clamp(26px, 3vw, 40px)/1.5 var(--serif); letter-spacing: .04em; }
.contact-head > p { color: rgba(255,255,255,.72); }
.contact-tels { display: grid; gap: 18px; margin-top: 44px; }
.contact-tel {
	display: block; padding: 22px 28px; border: 1px solid var(--line-dark); border-radius: 6px; text-decoration: none;
	font: 700 32px/1.2 var(--en); letter-spacing: .04em; transition: border-color .3s, background .3s;
}
.contact-tel:hover { border-color: var(--shu); background: rgba(200,16,46,.08); }
.contact-tel small { display: block; margin-bottom: 8px; font: 500 12px/1.4 var(--sans); letter-spacing: .15em; color: rgba(255,255,255,.6); }
.contact-form { background: var(--white); color: var(--text); border-radius: 6px; padding: 36px; }
.contact-form-title { font: 700 18px/1.4 var(--serif); margin-bottom: 10px; }
.contact-form-lead { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.contact-form-toggle { width: 100%; justify-content: center; border: 0; cursor: pointer; }
.contact-form-toggle .toggle-icon { font-size: 16px; }
.contact-form-frame { margin-top: 24px; }
.contact-form-frame[hidden] { display: none; }
.contact-form iframe { display: block; width: 100%; height: 1100px; border: 0; }
.contact-form .news-empty { border-color: var(--line); }

/* ---------- FOOTER ---------- */
#footer { background: var(--white); color: var(--muted); padding: 72px 0 0; font-size: 12px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 80px; align-items: center; }
.footer-name { margin-top: 12px; color: var(--text); font-size: 13px; font-weight: 700; }
.footer-offices { display: grid; gap: 16px; line-height: 1.9; }
#footer .copy { margin-top: 56px; padding: 22px 40px; border-top: 1px solid var(--line); text-align: center; font-size: 11px; }
#footer .copy a { color: inherit; }

/* ---------- スクロールで現れる動き ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-text > *, .js .hero-visual { opacity: 0; transform: translateY(30px); animation: heroIn 1.1s cubic-bezier(.2,.7,.2,1) forwards; }
.js .hero-text > :nth-child(2) { animation-delay: .15s; }
.js .hero-text > :nth-child(3) { animation-delay: .3s; }
.js .hero-text > :nth-child(4) { animation-delay: .45s; }
.js .hero-visual { animation-delay: .35s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.js .reveal, .js .hero-text > *, .js .hero-visual { opacity: 1; transform: none; animation: none; transition: none; }
	.marquee-track { animation: none; }
}

/* ---------- 言語ごとのフォント ---------- */
html[lang="zh"] { --sans: "Noto Sans SC", sans-serif; --serif: "Noto Sans SC", serif; }
html[lang="ne"], html[lang="hi"] { --sans: "Noto Sans Devanagari", "Noto Sans", sans-serif; --serif: "Noto Sans Devanagari", "Noto Serif", serif; }
html[lang="my"] { --sans: "Noto Sans Myanmar", "Noto Sans", sans-serif; --serif: "Noto Sans Myanmar", "Noto Serif", serif; }
html[lang="si"] { --sans: "Noto Sans Sinhala", "Noto Sans", sans-serif; --serif: "Noto Sans Sinhala", "Noto Serif", serif; }
html[lang="en"], html[lang="id"], html[lang="tl"], html[lang="vi"] { --sans: "Noto Sans", sans-serif; --serif: "Noto Serif", serif; }
html[lang="ne"] .hero-catch, html[lang="hi"] .hero-catch, html[lang="my"] .hero-catch, html[lang="si"] .hero-catch,
html[lang="ne"] .sec-title, html[lang="hi"] .sec-title, html[lang="my"] .sec-title, html[lang="si"] .sec-title,
html[lang="ne"] body, html[lang="hi"] body, html[lang="my"] body, html[lang="si"] body { letter-spacing: 0; }
html[lang="my"] body { line-height: 2.1; }
html:not([lang="ja"]) .hero-catch { font-size: clamp(30px, 3.4vw, 52px); }
html:not([lang="ja"]):not([lang="zh"]) #gnav .ja { display: none; }

/* ---------- タブレット ---------- */
@media (max-width: 1180px) {
	#gnav ul { gap: 20px; }
	#gnav .ja { display: none; }
	.hero-inner { grid-template-columns: 1fr; gap: 64px; }
	.hero-visual { max-width: 720px; }
	.split { grid-template-columns: 1fr; gap: 48px; }
	.split-head { position: static; }
	.support-list { grid-template-columns: repeat(3, 1fr); }
	.strengths { grid-template-columns: 1fr; }
	.news-grid { grid-template-columns: 1fr 1fr; }
	.contact-inner { grid-template-columns: 1fr; }
	.footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
	#menuBtn {
		display: block; position: relative; z-index: 3; width: 48px; height: 48px; border: 0; border-radius: 50%;
		background: var(--shu); cursor: pointer;
	}
	#menuBtn span, #menuBtn span::before, #menuBtn span::after {
		position: absolute; left: 14px; width: 20px; height: 2px; background: var(--white); content: ""; transition: transform .3s, top .3s, background .3s;
	}
	#menuBtn span { top: 23px; }
	#menuBtn span::before { left: 0; top: -6px; }
	#menuBtn span::after { left: 0; top: 6px; }
	.menu-open #menuBtn span { background: transparent; }
	.menu-open #menuBtn span::before { top: 0; transform: rotate(45deg); }
	.menu-open #menuBtn span::after { top: 0; transform: rotate(-45deg); }
	#gnav {
		position: fixed; inset: 0; z-index: 2; flex-direction: column; justify-content: center; gap: 36px;
		background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
	}
	.menu-open #gnav { opacity: 1; visibility: visible; }
	#gnav ul { flex-direction: column; gap: 22px; }
	#gnav ul a { color: var(--white); }
	#gnav .en { font-size: 22px; }
	#gnav .ja { display: block; color: rgba(255,255,255,.55); }
	.lang-switch select {
		border-color: rgba(255,255,255,.35); color: var(--white);
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23ffffff'/%3E%3C/svg%3E");
	}
	.service, .offices { grid-template-columns: 1fr; gap: 36px; }
	.service-rev .service-img { order: 0; }
}

/* ---------- スマートフォン ---------- */
@media (max-width: 600px) {
	:root { --header-h: 68px; }
	body { font-size: 14px; }
	.inner, .header-inner, .hero-inner { padding-left: 20px; padding-right: 20px; }
	.logo-img { width: 96px; }
	.sec, .contact { padding: 88px 0; }
	.sec-head { margin-bottom: 44px; }
	.sec-head-row { flex-direction: column; align-items: flex-start; }
	.hero-badge { width: 84px; height: 84px; font-size: 20px; left: -8px; bottom: -24px; }
	.hero-visual::before { inset: 14px -10px -14px 14px; }
	.split-body > p { font-size: 15px; line-height: 2; }
	.facts { grid-template-columns: 1fr; }
	.support-list { grid-template-columns: 1fr 1fr; }
	.news-grid { grid-template-columns: 1fr; }
	.company-info > div { grid-template-columns: 100px 1fr; }
	.office-body { padding: 30px 22px; }
	.contact-form { padding: 24px 16px; }
	.contact-tel { font-size: 26px; }
}
