/* HOUSYOU CO.,LTD website - "和モダン" design (2026-10-17).
   Colours are taken from the logo pixels: navy #0E2146, gold #B07E14, sun red #C92A27.
   Headings use the system Mincho / serif fonts (no web fonts: the server's Content-Security-Policy allows only this site). */
:root {
  --navy: #0E2146;
  --navy-2: #1A3363;
  --navy-deep: #0A1833;
  --gold: #B07E14;          /* lines, marks */
  --gold-text: #8A6210;     /* gold text on light backgrounds (readable contrast) */
  --gold-light: #D9B864;    /* gold text on navy */
  --red: #C92A27;
  --red-dark: #A71F1D;
  --ink: #1F2430;
  --muted: #5A5F6B;
  --line: #E6E0D2;
  --washi: #FAF8F3;
  --white: #FFFFFF;
  --radius: 6px;
  --wrap: 1120px;
}
[lang="ja"] { --serif: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "Noto Serif CJK JP", "BIZ UDPMincho", "MS PMincho", serif; }
[lang="en"] { --serif: Georgia, "Times New Roman", "Noto Serif", serif; }
[lang="zh-Hans"] { --serif: "Songti SC", STSong, SimSun, "Noto Serif SC", "Noto Serif CJK SC", serif; }
[lang="zh-Hant"] { --serif: "Songti TC", PMingLiU, MingLiU, "Noto Serif TC", "Noto Serif HK", "Noto Serif CJK TC", serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Yu Gothic UI", "Yu Gothic", YuGothic, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}
html[lang="en"] body { font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; line-height: 1.7; }
html[lang="zh-Hans"] body { font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC", sans-serif; }
html[lang="zh-Hant"] body { font-family: "Segoe UI", "Microsoft JhengHei", "PingFang HK", "PingFang TC", "Noto Sans HK", "Noto Sans TC", "Noto Sans CJK TC", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { color: var(--navy); line-height: 1.45; margin: 0 0 .5em; font-family: var(--serif); font-weight: 600; letter-spacing: .02em; }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 19px; }
h4 { color: var(--navy); margin: 0 0 4px; font-size: 16px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding: 80px 0; }
.section.soft, .section.washi { background: var(--washi); }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-text); font-weight: 700; font-size: 13px; letter-spacing: .18em; margin-bottom: 8px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.lead { font-size: 17px; color: var(--muted); max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.small-note { font-size: 13px; color: var(--muted); }
.more { margin: 28px 0 0; }

/* section heading block */
.sec-head { margin-bottom: 36px; }
.sec-head h2 { margin-bottom: 10px; }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin: 0 auto; }
.sec-head.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--gold); }

/* preview banner */
.preview-banner { background: #FFF4D6; color: #6B4E00; font-size: 13px; text-align: center; padding: 6px 16px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); opacity: .55; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 62px; height: 62px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-en { font-family: Georgia, "Times New Roman", serif; color: var(--navy); font-size: 18px; font-weight: 600; letter-spacing: .08em; white-space: nowrap; }
.brand-en .gold { color: var(--gold); }
.brand-sub { font-family: var(--serif); color: var(--muted); font-size: 12.5px; letter-spacing: .12em; white-space: nowrap; }
/* "HOUSYOU CAR'S" (always the line right under HOUSYOU CO.,LTD) in the Latin serif, so Chinese fonts do not draw a full-width apostrophe */
.brand-text > .brand-sub:nth-child(2) { font-family: Georgia, "Times New Roman", serif; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; position: relative; white-space: nowrap; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.nav .btn, .nav a.btn[aria-current="page"] { color: #fff; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: var(--navy); font-weight: 600; white-space: nowrap; background: #fff; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.lang-menu img, .lang-menu ul img { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 170px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(14,33,70,.14); }
.lang-menu li a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.lang-menu li a:hover { background: var(--washi); }
.lang-menu li a[aria-current="true"] { background: #F5EEDD; color: var(--gold-text); }
.lang-menu a[lang="zh-Hans"] { font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif; }
.lang-menu a[lang="zh-Hant"] { font-family: "Microsoft JhengHei", "PingFang HK", "Noto Sans HK", sans-serif; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; white-space: nowrap; line-height: 1.4; }

/* buttons */
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; border: 0; border-radius: 999px; padding: 11px 26px; font-size: 15px; cursor: pointer; font-family: inherit; letter-spacing: .04em; transition: background .2s, color .2s; }
.btn:hover { background: var(--red-dark); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.line { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn.line:hover { background: var(--navy); color: #fff; }
.btn.small { padding: 7px 18px; font-size: 14px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero (top page): vertical motto, text, the logo as it is */
.hero { background: #fff; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -160px; top: -200px; border-radius: 50%; border: 26px solid rgba(176,126,20,.06); border-left-color: transparent; transform: rotate(-20deg); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 64px 1.15fr 1fr; align-items: center; gap: 28px; padding: 64px 16px 72px; }
.hero-motto { writing-mode: vertical-rl; font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: .4em; color: var(--navy); margin: 0; justify-self: center; display: flex; align-items: center; gap: 18px; }
.hero-motto::before, .hero-motto::after { content: ""; width: 1px; height: 46px; background: var(--gold); }
.hero h1 { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.55; margin-bottom: 18px; }
.hero-text p { color: var(--muted); font-size: 17px; max-width: 560px; }
.hero-text .buttons { margin-top: 26px; }
/* the logo file has a white background: "multiply" lets the page colour show through it (the file itself is unchanged) */
.hero-logo img, .brand img, .logo-meaning img { mix-blend-mode: multiply; }
.hero-logo img { width: 100%; max-width: 470px; margin: 0 auto; }

/* page title band (inner pages) */
.page-hero { background: var(--navy); color: #fff; padding: 56px 0 52px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -60px; top: -120px; border-radius: 50%; border: 14px solid rgba(217,184,100,.16); border-bottom-color: transparent; transform: rotate(25deg); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 0; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero .eyebrow::before { background: var(--gold-light); }
.page-hero p { color: #D5DCE8; margin: 12px 0 0; max-width: 780px; }

/* page contents links */
.anchor-nav { background: var(--washi); border-bottom: 1px solid var(--line); }
.anchor-nav .wrap { display: flex; flex-wrap: wrap; gap: 6px 28px; padding-top: 14px; padding-bottom: 14px; }
.anchor-nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.anchor-nav a::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.anchor-nav a:hover { color: var(--gold-text); }

/* trust strip */
.trust { background: var(--navy); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 22px 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust li { font-size: 14px; color: #D5DCE8; border-left: 1px solid var(--gold); padding-left: 16px; }
.trust strong { display: block; color: var(--gold-light); font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .04em; }

/* navy section (reasons) */
.section.navy { background: var(--navy); color: #D5DCE8; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy .eyebrow { color: var(--gold-light); }
.section.navy .eyebrow::before { background: var(--gold-light); }

/* philosophy: motto and its three words */
.motto { font-size: clamp(38px, 5vw, 56px); letter-spacing: .3em; margin: 4px 0 6px; padding-left: .3em; }
.motto-read { color: var(--gold-text); font-family: var(--serif); letter-spacing: .12em; margin: 0; }
.motto-words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.motto-word { background: #fff; border: 1px solid var(--line); padding: 26px 24px 22px; text-align: center; position: relative; }
.motto-word::before { content: ""; position: absolute; left: 50%; top: -1px; width: 48px; height: 2px; margin-left: -24px; background: var(--gold); }
.motto-word .kanji { display: block; font-family: var(--serif); font-size: 42px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.motto-word h3 { font-size: 17px; color: var(--gold-text); margin: 4px 0 8px; letter-spacing: .1em; }
.motto-word p { color: var(--muted); font-size: 15px; margin: 0; text-align: left; }
.creed { margin: 40px auto 0; max-width: 680px; text-align: center; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 20px 16px; }
.creed span { display: block; color: var(--gold-text); font-size: 13px; letter-spacing: .2em; }
.creed strong { display: block; font-family: var(--serif); color: var(--navy); font-size: clamp(21px, 2.6vw, 27px); font-weight: 600; letter-spacing: .08em; }
.motto-panel { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: stretch; }
.motto-big { background: var(--navy); color: #fff; padding: 34px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; position: relative; }
.motto-big::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(217,184,100,.45); pointer-events: none; }
.motto-v { writing-mode: vertical-rl; font-family: var(--serif); font-size: 46px; font-weight: 600; letter-spacing: .3em; color: #fff; }
.motto-big .motto-read { color: var(--gold-light); font-size: 14px; }
.motto-big .tagline { color: #fff; font-family: var(--serif); margin: 0; font-size: 15px; letter-spacing: .06em; }
.motto-words.stack { grid-template-columns: 1fr; gap: 14px; }
.motto-words.stack .motto-word { display: grid; grid-template-columns: 96px 1fr; gap: 4px 18px; text-align: left; align-items: center; padding: 18px 22px; }
.motto-words.stack .motto-word::before { left: 0; top: 0; bottom: 0; width: 2px; height: auto; margin: 0; }
.motto-words.stack .kanji { grid-row: span 2; text-align: center; font-size: 36px; }
.motto-words.stack h3 { margin: 0; }

/* mission / vision / values */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.mv { background: var(--washi); border-top: 2px solid var(--gold); padding: 24px 26px; }
.mv h3 { font-size: 20px; }
.mv p { margin: 0; }
.sub-h { font-size: 21px; margin: 48px 0 18px; display: flex; align-items: center; gap: 12px; }
.sub-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values li { background: #fff; border: 1px solid var(--line); padding: 18px 20px 18px 40px; position: relative; }
.values li::before { content: ""; position: absolute; left: 18px; top: 27px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); }
.values h3, .values h4 { font-family: var(--serif); font-size: 17px; color: var(--navy); margin: 0 0 4px; }
.values p { margin: 0; color: var(--muted); font-size: 15px; }
.logo-meaning { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; margin-top: 44px; border: 1px solid var(--line); padding: 20px 28px 20px 20px; }
.logo-meaning img { width: 200px; }
.logo-meaning p { margin: 0; color: var(--muted); }

/* businesses */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.biz-card { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 24px 22px; }
.biz-icon { width: 48px; height: 48px; margin-bottom: 10px; }
.biz-card h3 { font-size: 18px; }
.biz-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* reasons */
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: why; }
.why-list li { border-top: 1px solid rgba(217,184,100,.5); padding-top: 16px; }
.why-list li::before { counter-increment: why; content: counter(why, decimal-leading-zero); display: block; font-family: Georgia, serif; color: var(--gold-light); font-size: 30px; line-height: 1.2; margin-bottom: 8px; }
.why-list h3 { font-size: 17px; }
.why-list p { font-size: 14.5px; margin: 0; color: #C5CEDD; }

/* supplier -> company -> customers */
.flow { display: grid; grid-template-columns: 1fr 44px .9fr 44px 1fr; align-items: center; }
.flow-col { background: #fff; border: 1px solid var(--line); align-self: stretch; display: flex; flex-direction: column; }
.flow-col h4 { margin: 0; background: var(--navy); color: #fff; text-align: center; padding: 10px; font-family: var(--serif); font-weight: 600; letter-spacing: .08em; }
.flow-col ul { list-style: none; margin: 0; padding: 16px; display: grid; gap: 10px; flex: 1; align-content: center; }
.flow-col li { border: 1px solid var(--line); background: var(--washi); padding: 8px 12px; font-weight: 600; color: var(--navy); font-size: 15px; }
.flow-col.core { justify-content: flex-start; }
.flow-core { margin: auto 16px; border: 2px solid var(--gold); background: #FBF5E6; color: var(--navy); font-family: var(--serif); font-size: 20px; font-weight: 600; text-align: center; padding: 22px 12px; }
.flow-arrow { height: 2px; background: var(--gold); position: relative; margin: 0 6px 0 4px; }
.flow-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border-left: 10px solid var(--gold); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* history */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 104px; top: 10px; bottom: 10px; width: 1px; background: var(--gold); }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 36px; padding: 10px 0 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 99px; top: 22px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #fff; }
.timeline li.plan::before { background: #fff; border: 2px solid var(--gold); }
.timeline .year { font-family: Georgia, serif; font-size: 28px; color: var(--gold-text); line-height: 1.3; text-align: right; }
.timeline h3 { font-size: 19px; margin: 2px 0 2px; }
.timeline p { margin: 0; color: var(--muted); }
.badge { display: inline-block; vertical-align: middle; font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--gold-text); border: 1px solid var(--gold); border-radius: 999px; padding: 0 10px; margin-left: 8px; line-height: 1.7; }

/* organization chart (same structure as the PDF chart) */
.org { display: flex; flex-direction: column; align-items: center; }
.org-box { background: #fff; border: 1px solid var(--navy); color: var(--navy); font-weight: 700; text-align: center; padding: 14px 18px; font-size: 15px; line-height: 1.5; position: relative; }
.org-box.top { background: var(--navy); color: #fff; border: 2px solid var(--gold); font-family: var(--serif); font-size: 18px; min-width: 260px; }
.org-mid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; margin-top: 34px; position: relative; }
.org-mid::before { content: ""; position: absolute; left: 50%; top: -34px; height: 34px; width: 2px; margin-left: -1px; background: var(--navy); }
.org-mid::after { content: ""; position: absolute; left: 50%; bottom: -22px; height: 22px; width: 2px; margin-left: -1px; background: var(--navy); }
.org-box.md { grid-column: 2; background: var(--navy-2); color: #fff; border-color: var(--navy-2); min-width: 240px; }
.org-box.side { grid-column: 3; justify-self: start; margin-left: 40px; background: #F5EEDD; border-color: var(--gold); }
.org-box.side::before { content: ""; position: absolute; right: 100%; top: 50%; width: 40px; height: 2px; background: var(--navy); }
.org-row { list-style: none; margin: 44px 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.org-row::before { content: ""; position: absolute; left: 10%; right: 10%; top: -22px; height: 2px; background: var(--navy); }
.org-row .org-box { font-size: 14px; display: flex; align-items: center; justify-content: center; }
.org-row .org-box::before { content: ""; position: absolute; left: 50%; top: -23px; height: 23px; width: 2px; margin-left: -1px; background: var(--navy); }
.org-row .org-box.key { background: #F5EEDD; border-color: var(--gold); }

/* officers */
.officer { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; background: #fff; border: 1px solid var(--line); padding: 32px; }
.officer + .officer { margin-top: 28px; }
/* the photo sits inside a thin gold frame with the same white margin on every side (user 2026-10-20: the earlier offset frame looked misaligned) */
.officer-photo { padding: 6px; border: 1px solid var(--gold); background: #fff; }
.officer-photo img { width: 100%; aspect-ratio: 200 / 217; object-fit: cover; object-position: center top; }
.officer-role { color: var(--gold-text); font-size: 13px; font-weight: 700; letter-spacing: .12em; margin: 0 0 2px; }
.officer-name { font-size: 26px; margin: 0; }
.name-sub { display: block; font-family: Georgia, serif; font-size: 15px; color: var(--muted); letter-spacing: .04em; font-weight: 400; }
.officer-title { font-family: var(--serif); color: var(--navy); font-size: 19px; margin: 14px 0 14px; padding-left: 14px; border-left: 2px solid var(--gold); }

/* international network */
.regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.region { border: 1px solid var(--line); background: #fff; padding: 18px 20px; }
.region h3 { font-size: 18px; margin: 8px 0 4px; }
.region p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; border-radius: 999px; padding: 1px 12px; }
.region.base .tag { background: var(--navy); color: #fff; }
.region.main .tag { background: var(--gold); color: #fff; }
.region.focus .tag { border: 1px solid var(--gold); color: var(--gold-text); }
.region.future { border-style: dashed; background: var(--washi); }
.region.future .tag { border: 1px solid #A9AFBA; color: var(--muted); }
.staff { margin: 32px 0 0; display: flex; align-items: baseline; justify-content: center; gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px; }
.staff span { color: var(--gold-text); font-weight: 700; letter-spacing: .12em; }
.staff strong { font-family: var(--serif); color: var(--navy); font-size: 22px; }

/* Bangladesh office (CEO 2026-10-18) */
.office { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; margin-top: 36px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 28px; }
.office-photo img { width: 100%; aspect-ratio: 918 / 1152; object-fit: cover; }
.office h3 { font-size: 22px; margin: 0 0 2px; }
.office-name { color: var(--gold-text); font-weight: 700; margin: 0 0 14px; }
.office dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; margin: 0; }
.office dt { color: var(--muted); font-size: 14px; }
.office dd { margin: 0; color: var(--ink); }
.office dd strong { color: var(--navy); font-family: Georgia, serif; font-size: 18px; }
.office dd span { display: block; font-size: 14px; color: var(--muted); }

/* cards (NINJA page) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 24px; }
.card p { color: var(--muted); margin: 0; }

/* steps */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps.compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.steps li { background: #fff; border: 1px solid var(--line); padding: 18px 20px 18px 70px; position: relative; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold); color: var(--navy); font-family: Georgia, serif; font-size: 18px; display: grid; place-items: center; background: #fff; }
.steps li h3 { font-size: 17px; margin: 5px 0 4px; }
.steps li p { color: var(--muted); margin: 0; font-size: 15px; }
.step-detail { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }

/* photos */
.photo { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--washi); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-badge { position: absolute; left: 8px; bottom: 8px; background: rgba(14,33,70,.8); color: #fff; font-size: 12px; line-height: 1.4; padding: 2px 9px; border-radius: 999px; }
.photo-empty { border: 1px dashed #B9B2A0; display: grid; place-items: center; text-align: center; color: #7A7466; font-size: 14px; padding: 12px; }

/* notices */
.notice { background: #FDF5F3; border: 1px solid #EBC3BC; border-left: 3px solid var(--red); padding: 18px 22px; }
.notice strong { color: var(--red-dark); }
.info { background: var(--washi); border: 1px solid var(--line); padding: 18px 22px; }

/* tables */
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; padding: 15px 14px; }
.table th { width: 26%; color: var(--navy); font-weight: 700; background: #F6F1E4; font-family: var(--serif); }
/* company profile (Japanese and Chinese; English stays as it is): every label spread evenly over the same width (均等割り付け) */
.table th .jt { display: inline-block; width: 5.6em; text-align: justify; text-align-last: justify; white-space: nowrap; }
html[lang^="zh"] .table th .jt { width: 6.4em; }  /* longest Chinese label: 主要出口地区 (6 characters) */
/* fee table: same look as the CEO's fee sheet (手数料１.docx) - thin light horizontal lines, dark header, every cell centered vertically */
/* 2026-10-20 (user): every cell framed, and each column in its own light colour:
   item = beige, amount = washi cream, notes = pale navy; the header row stays navy */
.table-scroll.cost-wrap { border: 0; }
.table.cost { background: #fff; border: 1px solid #D8D0BE; }
.table.cost th, .table.cost td { vertical-align: middle; padding: 14px 16px; border: 1px solid #D8D0BE; font-family: inherit; }
.table.cost thead th { background: var(--navy); color: #fff; border-color: var(--navy); }
.table.cost tbody th { width: 24%; background: #F3ECDC; }
.table.cost td:nth-child(2) { width: 38%; background: #FBF8F1; }
.table.cost td:nth-child(3) { background: #F1F4F8; }
.table.cost .ln { display: block; }  /* one line per paragraph, as in the fee sheet */
/* service fee: rows of "range | fee" in two aligned columns (user 2026-10-20) */
.table.cost .pairs { display: grid; grid-template-columns: max-content auto; gap: 6px 2.2em; align-items: baseline; }
.table.cost .pairs > span { word-break: keep-all; }  /* "10％ (最低22,000円)" wraps only at the space, never inside the amount */
/* item labels (Japanese and Chinese) spread evenly over the width of the longest one, 自動車税（相当額） */
html .table.cost tbody th .jt { width: 9.2em; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-top: 2px solid var(--gold); }

/* CEO message */
.message { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: start; }
.message .portrait { background: none; position: relative; }
.signature { margin-top: 24px; color: var(--navy); font-weight: 700; font-family: var(--serif); }
.signature span { display: block; color: var(--muted); font-weight: 400; font-size: 14px; font-family: inherit; }

/* vehicles */
.vehicles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.vehicle { border: 1px solid var(--line); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.vehicle .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vehicle h3 { margin: 0; }
.vehicle dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 4px 0; font-size: 14px; }
.vehicle dt { color: var(--muted); }
.vehicle dd { margin: 0; }
.vehicle .price { font-size: 20px; font-weight: 700; color: var(--navy); }
.vehicle .price small { font-size: 12px; color: var(--muted); font-weight: 400; display: block; }
.status { align-self: flex-start; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; background: #F5EEDD; color: var(--gold-text); }
.status.reserved { background: #FFF1DA; color: #9A6200; }
.status.sold { background: #ECEEF1; color: var(--muted); }
.vehicle .btn { margin-top: auto; text-align: center; }
.empty { border: 1px dashed #B9B2A0; background: #fff; padding: 36px 24px; text-align: center; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; color: var(--navy); font-size: 15px; }
.form .req { color: var(--red-dark); font-size: 12px; margin-left: 6px; }
.form input, .form textarea { font: inherit; font-weight: 400; color: var(--ink); border: 1px solid #CFC8B8; border-radius: 4px; padding: 11px 12px; width: 100%; background: #fff; }
.form input:focus, .form textarea:focus { outline: 3px solid rgba(176,126,20,.22); border-color: var(--gold); }
.form textarea { min-height: 150px; resize: vertical; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
.form .check input { width: auto; margin-top: 6px; }
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status.error { color: var(--red-dark); }
.form-status.ok { color: #2E6B3A; }
.direct { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.direct li { background: #fff; border: 1px solid var(--line); padding: 12px 14px; }
.direct span { display: block; font-size: 13px; color: var(--muted); }

/* NINJA membership (CEO 2026-10-11): guide card on the vehicles page, member.html */
.section.tight { padding: 40px 0 0; }
.ninja-card { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: center; background: var(--navy); color: #fff; padding: 32px 36px; position: relative; }
.ninja-card::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(217,184,100,.4); pointer-events: none; }
.ninja-card > * { position: relative; z-index: 1; }
.ninja-card .eyebrow { color: var(--gold-light); }
.ninja-card .eyebrow::before { background: var(--gold-light); }
.ninja-card h2 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 10px; }
.ninja-card p { color: #D5DCE8; margin: 0 0 6px; }
.ninja-card .small-note { color: #AEB9CC; }
.ninja-fee { background: rgba(255,255,255,.06); border: 1px solid rgba(217,184,100,.5); padding: 20px 22px; text-align: center; }
.ninja-fee .label { display: block; font-size: 14px; color: #D5DCE8; }
.ninja-fee .buttons { justify-content: center; margin-top: 12px; }
.amount { font-size: 22px; line-height: 1.4; font-family: Georgia, serif; }
.amount strong { font-size: 38px; }
.amount small { font-size: 15px; font-weight: 600; }
.ninja-fee .amount { color: #fff; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.two .card h3 { font-size: 18px; }
.fee-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: center; margin-top: 20px; }
.fee-box { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 22px 24px; text-align: center; }
.fee-box .label { color: var(--muted); font-size: 14px; }
.fee-box .amount { color: var(--navy); }
.fee-box .small-note { margin: 4px 0 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.two-col .info { background: #fff; }
.section.tight + .section { padding-top: 36px; }
.info h3 { font-size: 17px; margin: 0 0 6px; }
.form .opt { color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 6px; }

/* call to action band */
.cta { background: var(--navy); color: #fff; padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; }
.cta::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(217,184,100,.45); pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 30px); }
.cta p { color: #D5DCE8; margin: 0; }

/* footer */
.site-footer { background: var(--navy-deep); color: #C3CCDB; font-size: 14px; line-height: 1.7; padding: 40px 0 18px; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px 48px; align-items: start; }
.footer-brand { display: flex; gap: 20px; align-items: flex-start; }
.footer-logo { flex: none; background: #fff; border-radius: 6px; padding: 4px; box-shadow: 0 0 0 1px rgba(217,184,100,.6); }
.footer-logo img { width: 104px; height: 104px; }
.footer-name { color: #fff; font-family: var(--serif); font-size: 16px; }
.site-footer p { margin: 0 0 4px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer h3 { color: var(--gold-light); font-size: 14px; margin: 0 0 10px; letter-spacing: .12em; font-family: inherit; }
.site-footer .copyright { border-top: 1px solid rgba(255,255,255,.14); margin: 22px 0 0; padding-top: 12px; font-size: 13px; color: #95A2B8; }

[hidden] { display: none !important; }

/* tablet */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(14,33,70,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 12px; text-align: center; border-bottom: 0; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .why-list { grid-template-columns: repeat(3, 1fr); }
  .org-row { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .org-row::before { display: none; }
  .org-row .org-box::before { display: none; }
  .org-mid::after { display: none; }
}
@media (max-width: 900px) {
  .section { padding: 56px 0; }
  .hero-inner { grid-template-columns: 1fr; padding: 32px 16px 48px; gap: 18px; text-align: center; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 280px; }
  .hero-motto { writing-mode: horizontal-tb; font-size: 20px; letter-spacing: .5em; padding-left: .5em; }
  .hero-motto::before, .hero-motto::after { width: 36px; height: 1px; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-text .buttons { justify-content: center; }
  .hero::before { display: none; }
  .trust ul, .cards, .values, .regions, .motto-words { grid-template-columns: 1fr; }
  .message, .contact-grid, .footer-grid, .step-detail, .motto-panel, .mv-grid, .officer { grid-template-columns: 1fr; }
  .cards.two, .ninja-card, .fee-grid, .two-col { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-arrow { width: 2px; height: 34px; margin: 4px auto; }
  .flow-arrow::after { right: auto; left: -5px; top: auto; bottom: -2px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid var(--gold); border-bottom: 0; }
  .flow-core { margin: 16px; }
  .timeline::before { left: 70px; }
  .timeline li { grid-template-columns: 58px 1fr; gap: 28px; }
  .timeline li::before { left: 65px; }
  .timeline .year { font-size: 22px; }
  .logo-meaning { grid-template-columns: 1fr; text-align: center; padding: 20px; }
  .logo-meaning img { margin: 0 auto; width: 180px; }
  .officer { padding: 22px; gap: 22px; }
  .office { grid-template-columns: 1fr; padding: 22px; gap: 20px; }
  .office-photo { max-width: 200px; }
  .office dl { grid-template-columns: 1fr; gap: 0; }
  .office dd { margin-bottom: 10px; }
  .officer-photo { max-width: 240px; }
  .org-mid { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  .org-box.md { grid-column: 1; }
  .org-box.side { grid-column: 1; margin-left: 0; justify-self: center; }
  .org-box.side::before { display: none; }
  .org-row { grid-template-columns: 1fr 1fr; margin-top: 30px; }
  .message .portrait { max-width: 320px; }
  .site-footer { padding: 28px 0 12px; }
  .table th, .table td { display: block; width: auto; border-bottom: 0; }
  .table th { padding-bottom: 4px; }
  .table td { padding-top: 4px; border-bottom: 1px solid var(--line); }
  .table.cost thead { display: none; }
  .table.cost { border: 0; background: transparent; }
  .table.cost tbody tr { display: block; margin-bottom: 10px; border: 1px solid #D8D0BE; }
  .table.cost th, .table.cost td { padding: 8px 12px; border: 0; }
  .table.cost td { border-top: 1px solid #E6DFD0; }
  .table.cost tbody th, .table.cost td:nth-child(2) { width: auto; }
  .table.cost td:empty { display: none; }
  .table.cost .pairs { column-gap: 1.2em; }
}
@media (max-width: 520px) {
  .header-inner { min-height: 66px; gap: 6px; }
  .brand { gap: 6px; }
  .brand img { width: 44px; height: 44px; }
  .brand-en { font-size: 13.5px; letter-spacing: .02em; }
  .brand-sub { font-size: 11px; letter-spacing: .06em; }
  .header-tools { gap: 6px; }
  .lang-menu summary { padding: 4px 8px; gap: 6px; }
  .lang-menu summary span { display: none; }
  .menu-toggle { padding: 6px 8px; font-size: 13px; }
  .form .two { grid-template-columns: 1fr; }
  .cta { padding: 28px 22px; }
  .ninja-card { padding: 26px 22px; }
  .why-list { grid-template-columns: 1fr; }
  .org-row { grid-template-columns: 1fr; }
  .org-box.top, .org-box.md { min-width: 0; width: 100%; }
  .motto-words.stack .motto-word { grid-template-columns: 64px 1fr; padding: 16px; }
  .footer-brand { flex-direction: column; }
}
