:root {
  --ink: #162638;
  --navy: #17365d;
  --navy-deep: #102944;
  --blue-soft: #eaf1f7;
  --teal: #2c685f;
  --teal-soft: #e8f1ee;
  --gold: #a77528;
  --gold-soft: #f5ecdc;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #d9e0e5;
  --muted: #596675;
  --shadow: 0 20px 55px rgba(18, 41, 68, 0.1);
  --radius: 18px;
  --content: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--teal); }
button, input, select, textarea { font: inherit; }
button, .button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; }
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 840px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-soft { background: var(--paper); }
.section-blue { background: var(--navy-deep); color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.section-blue .eyebrow { color: #c4dfd8; }
h1, h2, h3 { margin: 0; font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; line-height: 1.45; letter-spacing: 0.025em; }
h1 { font-size: clamp(2.25rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.15em; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.2rem); line-height: 2; }
.small { font-size: 0.88rem; color: var(--muted); }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; padding: 10px 16px; background: var(--white); border: 2px solid var(--navy); }
.skip-link:focus { top: 12px; }
.preview-note { background: #fff3cd; color: #543f00; text-align: center; padding: 6px 16px; font-size: 0.82rem; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.96); border-bottom: 1px solid rgba(23,54,93,0.11); backdrop-filter: blur(12px); }
.header-main { min-height: 78px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { display: block; flex: 0 0 28px; width: 28px; height: 28px; margin-right: 8px; object-fit: contain; }
.brand-text { display: block; line-height: 1.35; }
.brand-text strong { font-family: "Yu Mincho", serif; font-size: clamp(1.28rem, 2vw, 1.72rem); letter-spacing: .04em; white-space: nowrap; }
.button, .wp-block-button__link { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 800; text-decoration: none; line-height: 1.35; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .wp-block-button__link:hover { color: var(--white); background: var(--teal); transform: translateY(-2px); box-shadow: 0 9px 24px rgba(23,54,93,.18); }
.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { color: var(--white); }
.button-outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.button-outline:hover { background: var(--navy); color: var(--white); }
.nav-wrap { margin-left: auto; }
.primary-nav ul { display: flex; justify-content: flex-end; align-items: stretch; gap: 0; list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: flex; align-items: center; min-height: 78px; padding: 8px 18px; color: var(--ink); font-size: .92rem; font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; }
.primary-nav a:hover { color: var(--teal); border-bottom-color: var(--teal); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 50%; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--navy); transition: .2s; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.hero { background: var(--white); }
.hero-picture { display: block; }
.hero-picture img { display: block; width: 100%; height: auto; }
.hero-description { padding: clamp(22px, 3.5vw, 38px) 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-description p { width: min(100%, 920px); margin: 0 auto; font-size: clamp(1rem, 1.6vw, 1.16rem); line-height: 2; text-align: center; }
@media (min-width: 768px) {
  .hero-picture { max-width: 1920px; margin-inline: auto; }
  .hero-picture img {
    height: clamp(352px, 52.8vh, 572px);
    height: clamp(352px, 52.8svh, 572px);
    min-height: min(26.4vw, 506px);
    object-fit: cover;
    object-position: 50% 46%;
  }
}
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-card { grid-column: auto; }
.service-card { position: relative; min-height: 470px; padding: 0 0 68px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: .22s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(44,104,95,.35); }
.service-card h3 { margin: 0; padding: 24px 26px 18px; font-size: 1.45rem; }
.service-card-image { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.service-card p { margin: 0; padding: 20px 26px 0; color: var(--muted); font-size: 1rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 800; text-decoration: none; }
.text-link::after { content: "→"; }
.service-card .text-link { position: absolute; left: 26px; bottom: 23px; }
.role-layout { max-width: 880px; }
.role-copy { width: min(100%, 760px); margin-inline: auto; }
.role-copy h2 { margin-bottom: 24px; }
.role-copy p { line-height: 2; }
.role-copy .signature { margin-top: 24px; font-family: "Yu Mincho", serif; font-size: 1.08rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 24px 25px 10px; border-top: 3px solid var(--gold); }
.step:not(:last-child)::after { content: ""; position: absolute; right: -6px; top: -6px; width: 9px; height: 9px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg); }
.step h3 { margin-bottom: 9px; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }
.fee-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fee-card { border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.fee-card h3 { padding: 20px 24px; color: var(--white); background: var(--navy); }
.fee-card ul { list-style: none; margin: 0; padding: 0; }
.fee-card li { display: flex; justify-content: space-between; gap: 24px; padding: 15px 24px; border-bottom: 1px solid var(--line); }
.fee-card li:last-child { border-bottom: 0; }
.fee-card li span:last-child { flex: 0 0 auto; color: var(--muted); font-weight: 700; }
.fee-note { margin-top: 26px; padding: 22px 24px; background: var(--gold-soft); border-radius: 12px; }
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; }
.faq summary { position: relative; cursor: pointer; padding: 22px 58px 22px 24px; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--teal); margin-right: 14px; font-family: Georgia, serif; font-size: 1.15rem; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 19px; color: var(--teal); font-size: 1.5rem; }
.faq[open] summary::after { content: "−"; }
.faq-answer { padding: 0 24px 22px 54px; color: var(--muted); }
.faq-answer p { margin: 0; }
.access-layout { display: grid; grid-template-columns: 1fr .95fr; gap: 50px; align-items: stretch; }
.info-list { display: grid; margin: 28px 0; }
.info-row { display: grid; grid-template-columns: 7em 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-row dt { font-weight: 800; }
.info-row dd { margin: 0; }
.area-copy { margin-top: 22px; color: var(--muted); }
.map-panel { align-self: start; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 38px rgba(18,41,68,.07); }
.google-map { display: block; width: 100%; height: 360px; border: 0; }
.map-link { margin: 0; padding: 13px 20px; text-align: right; border-top: 1px solid var(--line); }
.map-link a { color: var(--teal); font-weight: 800; }
.parking-note { padding: 20px 24px 22px; background: var(--paper); border-top: 1px solid var(--line); }
.parking-note h3 { margin-bottom: 7px; font-size: 1.12rem; }
.parking-note p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(45px,6vw,80px); align-items: start; }
.contact-direct { padding: 30px; color: var(--white); background: var(--navy); border-radius: var(--radius); }
.contact-direct a { color: var(--white); }
.contact-phone { display: block; margin: 12px 0; font-size: clamp(1.7rem,4vw,2.4rem); font-weight: 800; text-decoration: none; line-height: 1.3; }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 800; }
.required { display: inline-block; margin-left: 7px; padding: 1px 7px; color: #fff; background: #a43f3f; border-radius: 4px; font-size: .7rem; vertical-align: middle; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: var(--white); border: 1px solid #b8c3cc; border-radius: 7px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(44,104,95,.2); border-color: var(--teal); }
.field textarea { min-height: 170px; resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.check input { width: 20px; height: 20px; margin-top: 5px; }
.form-message { display: none; padding: 14px; border-radius: 8px; background: var(--teal-soft); color: var(--teal); font-weight: 700; }
.form-message.show { display: block; }
.site-footer { color: #dce6ed; background: #0c2239; padding: 60px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; }
.footer-office-name { color: var(--white); font-family: "Yu Mincho", serif; font-size: 1.45rem; font-weight: 700; text-decoration: none; letter-spacing: .04em; }
.footer-office-name:hover { color: var(--white); }
.footer-brand p { margin-top: 20px; color: #b8c5cf; font-size: .88rem; }
.footer-title { margin: 0 0 12px; color: var(--white); font-weight: 800; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 8px 0; }
.footer-links a { color: #dce6ed; text-decoration: none; font-size: .88rem; }
.copyright { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: #9eafbc; font-size: .76rem; }

/* WordPress content and system styles */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed !important; left: 12px; top: 12px; z-index: 10000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; border: 2px solid var(--navy); }
.admin-bar .site-header { top: 32px; }
.primary-nav .sub-menu { position: absolute; z-index: 20; display: none; min-width: 230px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.primary-nav li { position: relative; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }
.primary-nav .sub-menu a { min-height: 44px; padding: 9px 12px; border: 0; }
.page-hero { padding: clamp(38px, 5vw, 58px) 0; color: var(--navy); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.page-hero .post-date { margin: 15px 0 0; color: var(--muted); }
.page-hero .post-byline { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
.prose { font-size: 1.02rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin: 2.3em 0 .75em; padding-bottom: .35em; color: var(--navy); border-bottom: 2px solid var(--blue-soft); }
.prose h3 { margin: 1.8em 0 .55em; color: var(--navy); }
.prose h4 { margin: 1.6em 0 .5em; font-size: 1.05rem; }
.prose p, .prose ul, .prose ol { margin-block: 0 1.25em; }
.prose ul, .prose ol { padding-left: 1.45em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--teal); }
.prose table, .fees-table { width: 100%; margin: 24px 0 34px; border-collapse: collapse; border: 1px solid var(--line); }
.prose th, .prose td, .fees-table th, .fees-table td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th, .fees-table th { color: var(--navy); background: var(--blue-soft); }
.prose blockquote { margin: 30px 0; padding: 22px 24px; background: var(--paper); border-left: 4px solid var(--gold); }
.prose .button { color: var(--white); }
.prose .wp-block-button__link { color: var(--white); }
.prose .wp-block-button__link:hover { color: var(--white); }
.prose .button.button-outline { color: var(--navy); }
.prose .button.button-outline:hover { color: var(--white); }
.content-card { margin: 26px 0; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.content-card h3 { margin-top: 0; }
.check-list { list-style: none; padding: 0 !important; }
.check-list li { position: relative; padding-left: 1.8em; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.notice-box { margin: 26px 0; padding: 20px 22px; background: var(--gold-soft); border-radius: 10px; }
.service-detail { position: relative; scroll-margin-top: 150px; padding: 42px 0 34px; border-top: 1px solid var(--line); }
.prose .service-detail h2 { margin: 0 0 .7em; padding: 0; border: 0; }
.service-detail p { max-width: 760px; }
.service-detail-image { width: min(100%, 760px); margin: 0 0 28px; }
.service-detail-image img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 14px; }
.service-page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.section-more { margin: 30px 0 0; text-align: center; }
.home-contact-copy { padding-top: 10px; }
.home-contact-copy h3 { margin-bottom: 12px; font-size: 1.6rem; }
.area-section { background: linear-gradient(120deg, #f4f7fa, #eef4f2); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.area-card { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 34px rgba(18,41,68,.06); }
.area-card > span { color: var(--gold); font-family: Georgia, serif; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.area-card h3 { margin: 8px 0 10px; color: var(--navy); font-size: 1.55rem; }
.area-card p { margin: 0; color: var(--muted); }
.fee-section { margin-bottom: 46px; }
.fee-section h2 { margin-bottom: 16px; }
.fees-table .fee-amount { width: 30%; font-weight: 800; white-space: nowrap; }
.fee-empty { color: var(--muted); }
.form-notice { margin-bottom: 22px; padding: 15px 18px; border-radius: 8px; font-weight: 700; }
.form-notice.success { color: #195548; background: #e0f3ec; border: 1px solid #aed9cb; }
.form-notice.error { color: #7b2929; background: #fae7e7; border: 1px solid #e4bcbc; }
.contact-form .hp-field { position: absolute; left: -9999px; }
.post-list { display: grid; gap: 18px; }
.post-card { padding: 28px; border: 1px solid var(--line); border-radius: 14px; }
.post-card h2 { margin-bottom: 10px; font-size: 1.5rem; }
.post-card h2 a { text-decoration: none; }
.post-date { color: var(--muted); font-size: .85rem; }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 5px 10px; color: var(--navy); text-decoration: none; border: 1px solid var(--line); border-radius: 7px; }
.page-numbers.current { color: var(--white); background: var(--navy); border-color: var(--navy); }
.wp-block-image.alignwide { width: min(1100px, 100vw - 30px); max-width: none; margin-left: 50%; transform: translateX(-50%); }

@media (max-width: 960px) {
  .primary-nav .sub-menu { position: static; display: block; padding: 0 0 0 18px; border: 0; box-shadow: none; }
  .primary-nav .sub-menu a { min-height: 50px; }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .menu-toggle { margin-left: auto; }
  .nav-wrap { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 78px); margin: 0; overflow-y: auto; background: var(--white); transform: translateY(-18px); opacity: 0; visibility: hidden; transition: .25s ease; box-shadow: var(--shadow); }
  .nav-wrap.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .primary-nav ul { display: block; padding: 12px 20px 30px; }
  .primary-nav a { min-height: 58px; padding-inline: 12px; border-bottom: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { grid-column: auto; }
  .access-layout, .contact-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 54px 0; }
  .fee-preview { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .container, .narrow { width: min(calc(100% - 30px), var(--content)); }
  .preview-note { font-size: .75rem; }
  .header-main { min-height: 72px; }
  .brand-mark { flex-basis: 26px; width: 26px; height: 26px; }
  .brand-text strong { font-size: clamp(1.08rem, 5.3vw, 1.35rem); }
  .nav-wrap { max-height: calc(100vh - 72px); }
  .section { padding: 70px 0; }
  .hero-description { padding: 19px 18px 22px; }
  .hero-description p { font-size: .96rem; line-height: 1.85; text-align: left; }
  .button { width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 450px; }
  .steps { grid-template-columns: 1fr; gap: 52px; }
  .step:not(:last-child)::after { display: none; }
  .fee-card li { display: grid; gap: 3px; }
  .info-row { grid-template-columns: 1fr; gap: 2px; }
  .google-map { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .service-page-actions { display: grid; }
  .area-grid { grid-template-columns: 1fr; }
  .prose table, .fees-table { display: block; overflow-x: auto; white-space: normal; }
  .prose th, .prose td, .fees-table th, .fees-table td { min-width: 140px; }
  .fees-table .fee-amount { width: auto; white-space: normal; }
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
