:root {
  color-scheme: light;
  --navy: #0d192b;
  --deep: #070e22;
  --ink: #172339;
  --muted: #515d6c;
  --light: #ccd6e5;
  --gold: #e5be7d;
  --bronze: #745019;
  --paper: #f8f6f1;
  --line: #ddd6c8;
  --sans: system-ui, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", "Noto Serif CJK SC", SimSun, "PMingLiU", serif;
}
:root[lang="ja"], :root[lang="zh-CN"] [lang="ja"] {
  --sans: system-ui, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.8 var(--sans); }
h1, h2, h3, p { margin: 0 0 .75em; }
h1, h2 { font-family: var(--serif); line-height: 1.28; }
h1 { font-size: clamp(2.35rem, 5vw, 4.35rem); font-weight: 650; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.65rem); }
h3 { font-size: 1.18rem; line-height: 1.45; }
a { color: inherit; text-underline-offset: .24em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a26a25; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: .5rem; left: .5rem; padding: .6rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { background: #fbfaf7; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; flex-shrink: 0; text-decoration: none; line-height: 1.3; }
.brand-mark { width: 48px; height: 48px; overflow: hidden; background: #071127; display: block; position: relative; }
.brand-mark img { position: absolute; width: 103px; max-width: none; left: 50%; top: 50%; transform: translate(-50%, -38%); }
.brand-name { display: grid; gap: .12rem; }
.brand-name strong { font: 700 .76rem/1.45 Georgia, serif; letter-spacing: .105em; }
.brand-name span { font: 650 1rem/1.3 var(--sans); letter-spacing: .065em; }
.brand-name small { font-size: .77rem; }
.site-nav, .footer-links { display: flex; align-items: center; gap: clamp(.65rem, 1.5vw, 1.45rem); }
.site-nav a { text-decoration: none; white-space: nowrap; font-size: .9rem; }
.site-nav a:hover, .site-nav [aria-current="page"]:not(.nav-contact) { color: var(--bronze); text-decoration: underline; text-underline-offset: .55em; }
.site-nav .language { border-left: 1px solid var(--line); padding-left: 1.1rem; }
.site-nav .nav-contact, .menu-toggle { background: var(--navy); border: 1px solid var(--navy); color: white; padding: .52rem 1rem; }
.site-nav .nav-contact:hover { color: var(--navy); background: var(--gold); text-decoration: none; }
.menu-toggle { display: none; min-height: 44px; }
.hero { color: #fffaf0; background: radial-gradient(ellipse at 72% 36%, #132544, #070f25 65%); border-bottom: 3px solid #b58d4e; }
.hero-inner { min-height: 565px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; padding-block: 3.6rem; }
.hero h1 { margin-bottom: .36em; letter-spacing: .033em; line-height: 1.32; }
.location { color: var(--gold); font-size: .9rem; letter-spacing: .24em; margin-bottom: 1.2rem; }
.location::before { content: ""; display: inline-block; width: 29px; height: 1px; background: currentColor; margin-right: .8rem; vertical-align: middle; }
.hero-copy { max-width: 29em; color: var(--light); line-height: 1.9; font-size: 1.05rem; }
.hero-actions, .draft-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.65rem; }
.hero-art { position: relative; padding: .55rem; border: 1px solid #dcb67872; box-shadow: 0 26px 55px #0206127a; }
.hero-art img { width: 100%; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: .5rem 1.3rem; border: 1px solid transparent; text-decoration: none; font-weight: 650; text-align: center; line-height: 1.3; }
.gold { background: var(--gold); color: #1b1a19; }
.gold:hover { background: #f4d49d; }
.navy { background: var(--navy); color: white; }
.navy:hover { background: #253d5c; }
.outline { color: white; border-color: #a2aec4; }
.outline:hover { border-color: var(--gold); color: var(--gold); }
.plain { border-color: #87909c; }
.plain:hover { background: #efe9de; }
.section { padding-block: 4.1rem; }
.section-heading { margin-bottom: 1.8rem; display: flex; justify-content: space-between; align-items: end; gap: .6rem 1.7rem; flex-wrap: wrap; }
.section-heading h2, .section-heading p { margin: 0; }
.section-heading p, .service-card p, .steps p, .topic-list p, .faq p { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: solid var(--line); border-width: 1px 0 0 1px; }
.service-card { min-width: 0; display: flex; flex-direction: column; align-items: start; min-height: 225px; padding: 1.4rem; background: #fffefa; border: solid var(--line); border-width: 0 1px 1px 0; text-decoration: none; }
.service-card:hover { background: #f2ece0; }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid #d7c4a1; color: var(--bronze); margin-bottom: .85rem; }
.service-icon svg { width: 26px; height: 26px; }
.card-link { margin-top: auto; color: var(--bronze); font-weight: 700; font-size: .9rem; text-decoration: underline; text-underline-offset: .26em; }
.process { background: #eee9de; border-top: 1px solid var(--line); }
.steps { margin: 1.75rem 0 0; padding-left: 1.65rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.7rem; }
.steps li { padding: 1rem .4rem 0; border-top: 1px solid #baaa8b; }
.steps li::marker { color: var(--bronze); font-weight: bold; }
.steps p { margin-bottom: 0; }
.contact-band, .site-footer { background: var(--navy); color: #fffaf0; }
.band-inner { display: flex; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding-block: 3rem; }
.band-inner h2 { margin-bottom: .25em; }
.band-inner p { margin-bottom: 0; color: var(--light); }
.site-footer { border-top: 1px solid #ffffff32; }
.footer-inner { padding-block: 1.4rem; }
.footer-links { flex-wrap: wrap; color: var(--light); font-size: .9rem; }
.interior-hero { padding-block: 1.5rem 3.4rem; color: #fffaf0; background: radial-gradient(ellipse at 79% 42%, #213856, var(--deep) 75%); border-bottom: 3px solid #b58d4e; }
.interior-hero h1 { margin-bottom: .25em; }
.interior-hero p { max-width: 53rem; color: var(--light); margin-bottom: 0; font-size: 1.08rem; }
.interior-title { display: flex; align-items: center; gap: .9rem; }
.interior-title .service-icon { flex: 0 0 46px; color: var(--gold); border-color: #e5be7d70; margin-bottom: .95rem; }
.breadcrumbs { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.4rem; color: var(--light); font-size: .875rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: start; }
.topic-list { display: grid; }
.topic-list article, details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.topic-list article:first-child, details:first-of-type { border-top: 1px solid var(--line); }
.topic-list h3, .topic-list p { margin-bottom: .24rem; }
.side-card { padding: 1.45rem; border: 1px solid var(--line); background: #fffefa; overflow-wrap: anywhere; }
.side-card h2 { font-size: 1.55rem; }
.side-card dt { margin-top: .7rem; color: var(--muted); }
.side-card dd { margin-left: 0; font-weight: 620; }
.side-card p:last-child { margin-bottom: 0; }
.office-logo { margin-bottom: 1.2rem; }
.faq { margin-top: 2.7rem; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin: .6rem 0 .1rem; }
.contact-layout label { font-weight: 650; display: block; margin: .8rem 0 .3rem; }
.contact-layout label span, .field-note { color: var(--muted); font-size: .9rem; }
input, select, textarea { width: 100%; color: var(--ink); background: #fffefa; border: 1px solid #8c9299; border-radius: 0; padding: .48rem .65rem; }
textarea { resize: vertical; }
.draft-result { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: .5rem; }
#copy-status { color: var(--muted); margin: .5rem 0 0; }
@media (max-width: 1020px) {
  .wrap { width: min(100% - 48px, 1200px); }
  .header-inner { align-items: start; flex-wrap: wrap; padding-block: .85rem; gap: .5rem; }
  .site-nav { justify-content: flex-end; flex-wrap: wrap; }
  .hero-inner { min-height: 470px; }
}
@media (max-width: 900px) {
  .header-inner { align-items: center; }
  .menu-toggle:not([hidden]) { display: block; }
  .site-nav { width: 100%; justify-content: start; gap: .25rem .85rem; }
  .site-nav a { padding: .52rem 0; }
  .site-nav .language { padding-left: .7rem; }
  .site-nav[data-collapsed="true"] { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 36px); }
  .hero-inner, .detail-layout, .steps { grid-template-columns: 1fr; }
  .hero-inner { min-height: 0; padding-block: 2.15rem; gap: 1.5rem; }
  .hero h1 { font-size: clamp(2rem, 8.7vw, 3.3rem); }
  .hero-copy { font-size: 1rem; }
  .hero-art { max-width: 430px; }
  .section { padding-block: 2.5rem; }
  .service-card { padding: .95rem; min-height: 208px; }
  .steps { gap: .8rem; }
  .band-inner, .footer-inner { flex-direction: column; align-items: start; gap: 1rem; }
  .interior-hero { padding-bottom: 2rem; }
  .breadcrumbs { margin-bottom: 1rem; }
  .interior-title .service-icon { display: none; }
  .contact-layout aside { grid-row: 1; }
}
@media (max-width: 360px) {
  .brand { gap: .42rem; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-name small { font-size: .65rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
}
