:root {
  --blue: #075aab;
  --blue-deep: #034782;
  --blue-soft: #e9f5fc;
  --blue-pale: #f4faff;
  --ink: #173344;
  --muted: #60717c;
  --line: #dce8ef;
  --warm: #fffdf8;
  --white: #ffffff;
  --success: #26734f;
  --error: #a53b32;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body.menu-is-open, body.modal-is-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

.page-width { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.narrow-content { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: 112px; }
.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 { z-index: 100000; top: 10px; left: 10px; width: auto; height: auto; padding: 12px 18px; clip: auto !important; color: var(--white); background: var(--blue-deep); }
:focus-visible { outline: 3px solid #efb847; outline-offset: 3px; }

.site-header { position: relative; z-index: 50; background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(7,90,171,.1); }
.header-inner { width: min(1340px, calc(100% - 48px)); min-height: 92px; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; }
.brand-logo { width: 285px; max-height: 72px; object-fit: contain; object-position: left center; }
.desktop-nav { margin-left: auto; }
.desktop-nav ul, .mobile-nav ul, .footer-nav ul { margin: 0; padding: 0; list-style: none; }
.desktop-nav > ul { display: flex; align-items: center; gap: 28px; }
.desktop-nav a { position: relative; display: block; padding-block: 10px; font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.desktop-nav a::after { content: ""; position: absolute; right: 100%; bottom: 4px; left: 0; height: 2px; background: var(--blue); transition: right .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after, .desktop-nav .current-menu-item > a::after { right: 0; }
.header-phone { min-height: 42px; padding-inline: 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--white); background: var(--blue); font-weight: 700; font-size: 13px; }
.header-phone .dashicons { width: 18px; height: 18px; font-size: 18px; }
.menu-button { display: none; border: 0; background: transparent; color: var(--blue); padding: 8px; cursor: pointer; }
.menu-button .dashicons { width: 30px; height: 30px; font-size: 30px; transition: transform .35s cubic-bezier(.22,1,.36,1); }
body.menu-is-open .menu-button .dashicons { transform: rotate(90deg); }
.mobile-nav { display: none; }

.hero { min-height: 710px; position: relative; overflow: hidden; display: grid; align-items: center; background: #edf7fd; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-content { position: relative; z-index: 2; padding-bottom: 36px; }
.hero-kicker { margin: 0 0 22px; color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.hero h1 { margin: 0; max-width: 660px; color: #074f91; font-family: var(--serif); font-size: clamp(48px, 5vw, 76px); font-weight: 500; line-height: 1.35; letter-spacing: .05em; }
.hero-copy { margin: 28px 0 0; color: #365364; font-family: var(--serif); font-size: 18px; line-height: 2; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 28px; }
.primary-button, .outline-button, .submit-button { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 14px; cursor: pointer; transition: transform .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease; }
.primary-button { min-height: 54px; padding: 0 25px; color: var(--white); background: var(--blue); font-size: 14px; font-weight: 700; }
.primary-button:hover, .primary-button:focus-visible, .submit-button:hover, .submit-button:focus-visible { color: var(--white); background: var(--blue-deep); transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 14px; font-weight: 600; }
.hero-meta { position: absolute; z-index: 3; right: 0; bottom: 0; min-height: 64px; padding: 0 38px; display: flex; align-items: center; gap: 34px; background: rgba(255,255,255,.94); color: var(--blue-deep); font-size: 14px; font-weight: 600; }
.hero-meta > span, .hero-meta a { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta .dashicons { width: 21px; height: 21px; font-size: 21px; }

.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.section-heading h2, .price-inner h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 50px); font-weight: 500; letter-spacing: .08em; line-height: 1.45; }
.heading-rule { display: block; width: 32px; height: 2px; margin-top: 18px; background: var(--blue); }
.centered-heading { text-align: center; }
.centered-heading .heading-rule { margin-inline: auto; }

.philosophy { background: var(--warm); }
.philosophy-lead { max-width: 920px; margin: 42px auto 66px; text-align: center; color: #425d6c; line-height: 2.35; font-family: var(--serif); font-size: 17px; }
.philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.philosophy-item { display: grid; justify-items: center; padding: 0 44px; text-align: center; }
.philosophy-item + .philosophy-item { border-left: 1px solid var(--line); }
.philosophy-item img { width: 176px; height: 176px; object-fit: cover; border-radius: 50%; }
.philosophy-item h3 { margin: 22px 0 8px; color: var(--blue); font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: .12em; }
.philosophy-item p { margin: 0; color: var(--muted); font-size: 14px; }

.services { padding-bottom: 0; background: var(--white); }
.services-layout { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: 78px; align-items: center; }
.section-intro { max-width: 520px; margin: 28px 0 28px; color: var(--muted); }
.service-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.service-tab { min-height: 76px; padding: 13px 15px; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 8px; border: 1px solid var(--line); color: var(--ink); background: var(--white); text-align: left; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.service-tab:hover { border-color: #91b9d8; transform: translateY(-2px); }
.service-tab:focus-visible { outline: 3px solid rgba(7,90,171,.18); outline-offset: 2px; }
.service-tab.is-active, .service-tab[aria-selected="true"] { color: var(--blue-deep); background: var(--blue-pale); border-color: #72a9d4; }
.service-tab-number { color: #78aada; font-family: var(--serif); font-size: 15px; }
.service-tab-title { font-family: var(--serif); font-size: 15px; font-weight: 600; line-height: 1.55; }
.service-detail { min-height: 126px; margin-top: 16px; padding: 20px 23px; border-left: 3px solid #78aada; background: #f7fbfe; }
.service-panel h3 { margin: 0 0 8px; color: var(--blue-deep); font-family: var(--serif); font-size: 19px; font-weight: 600; }
.service-panel p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.service-panel[hidden] { display: none; }
.services-photo { margin: 0; }
.service-image-stage { position: relative; width: 100%; aspect-ratio: 1.22; overflow: hidden; border-radius: 54% 46% 46% 54% / 8% 8% 8% 8%; background: var(--blue-pale); }
.service-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transform: scale(1.025); transition: opacity .38s ease, transform .55s ease; }
.service-image.is-active { z-index: 1; opacity: 1; transform: scale(1); }
.services-photo figcaption { max-width: 420px; margin: 19px 0 0 auto; color: #536d7a; font-family: var(--serif); font-size: 15px; letter-spacing: .04em; }
.contact-strip { margin-top: 92px; min-height: 126px; padding: 18px 54px; display: grid; grid-template-columns: repeat(3,1fr); background-color: #eaf7ff; background-image: url("../images/hero-nurse-neighborhood.png"); background-size: cover; background-position: center 18%; position: relative; overflow: hidden; }
.contact-strip::before { content: ""; position: absolute; inset: 0; background: rgba(234,247,255,.9); }
.contact-strip > * { position: relative; display: flex; justify-content: center; align-items: center; gap: 18px; color: var(--blue-deep); }
.contact-strip > * + * { border-left: 1px solid rgba(7,90,171,.22); }
.contact-strip .dashicons { width: 35px; height: 35px; font-size: 35px; }
.contact-strip span { font-size: 13px; line-height: 1.45; }
.contact-strip strong { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .04em; }

.price-section { padding: 88px 0 96px; background: #fbfaf5; border-block: 1px solid #ece9df; }
.price-inner h2 { font-size: 40px; }
.price-section-heading { display: grid; grid-template-columns: 280px minmax(0,1fr); align-items: end; gap: 64px; margin-bottom: 38px; }
.price-section-heading > p { max-width: 720px; margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.outline-button { min-height: 48px; padding: 0 22px; border: 1px solid #9bbddd; color: var(--blue); background: transparent; font-size: 13px; font-weight: 600; }
.outline-button:hover, .outline-button:focus-visible { color: var(--white); background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }

.blog { background: var(--white); }
.blog-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card { border: 1px solid var(--line); background: var(--white); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.blog-card:hover, .blog-card:focus-within { transform: translateY(-6px); border-color: #a9c9df; box-shadow: 0 18px 44px rgba(18,78,120,.1); }
.blog-card-link { display: block; height: 100%; }
.blog-image-wrap { aspect-ratio: 1.72; overflow: hidden; background: var(--blue-pale); }
.blog-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.blog-card:hover img { transform: scale(1.035); }
.blog-card-copy { padding: 24px; }
.blog-card time { color: #82929c; font-size: 11px; letter-spacing: .08em; }
.blog-card h2 { min-height: 3.5em; margin: 8px 0 19px; font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.7; }
.blog-card-copy > span { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 12px; font-weight: 600; }
.empty-state { grid-column: 1 / -1; padding: 48px; text-align: center; background: var(--blue-pale); }

.contact { background: var(--blue-pale); border-top: 1px solid #e7f1f7; }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 82px; align-items: start; }
.contact-copy > p { margin: 30px 0 20px; color: var(--muted); font-size: 14px; }
.contact-copy img { width: min(420px,100%); margin-top: 18px; mix-blend-mode: multiply; }
.contact-form-wrap { min-width: 0; }
.contact-form, .plugin-form { padding: 42px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 60px rgba(31,83,113,.06); }
.contact-form > label:not(.consent):not(.honeypot) { display: grid; grid-template-columns: 150px 54px 1fr; align-items: center; margin-bottom: 16px; color: #344f5f; font-size: 13px; font-weight: 600; }
.contact-form label > span { color: #ce6657; font-size: 11px; font-weight: 600; }
.contact-form input:not([type="checkbox"]), .contact-form textarea, .plugin-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .plugin-form textarea, .plugin-form select { width: 100%; border: 1px solid #d7e2e8; background: #fff; padding: 12px 14px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus, .plugin-form input:focus, .plugin-form textarea:focus, .plugin-form select:focus { border-color: #64a2d8; box-shadow: 0 0 0 3px rgba(7,90,171,.09); }
.contact-form textarea, .plugin-form textarea { resize: vertical; min-height: 128px; }
.plugin-form .wpcf7 { margin: 0; }
.plugin-form .wpcf7-form { display: block; }
.plugin-form .wpcf7-form > p { margin: 0 0 18px; }
.plugin-form .wpcf7-form > p > label { display: block; color: #344f5f; font-size: 13px; font-weight: 600; line-height: 1.7; }
.plugin-form .wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.plugin-form .wpcf7-form > p:not(.akismet-fields-container):has(> .wpcf7-form-control-wrap) { display: grid; grid-template-columns: 150px 54px minmax(0,1fr); align-items: center; color: #344f5f; font-size: 13px; font-weight: 600; line-height: 1.5; }
.plugin-form .wpcf7-form > p:not(.akismet-fields-container):has(> .wpcf7-form-control-wrap) > .wpcf7-form-control-wrap { grid-column: 3; grid-row: 1; min-width: 0; margin-top: 0; }
.plugin-form .wpcf7-form > p:not(.akismet-fields-container):has(.wpcf7-validates-as-required)::after { content: "必須"; grid-column: 2; grid-row: 1; color: #ce6657; font-size: 11px; font-weight: 600; line-height: 1.4; }
.plugin-form .contact-field { display: grid; grid-template-columns: 150px 54px minmax(0,1fr); align-items: start; margin: 0 0 16px; color: #344f5f; font-size: 13px; font-weight: 600; }
.plugin-form .contact-field > p { display: contents; margin: 0; }
.plugin-form .contact-field > p > br { display: none; }
.plugin-form .contact-field__label { grid-column: 1; grid-row: 1; padding-top: 12px; line-height: 1.5; }
.plugin-form .contact-field__required { grid-column: 2; grid-row: 1; padding-top: 13px; color: #ce6657; font-size: 11px; font-weight: 600; line-height: 1.4; }
.plugin-form .contact-field__control { grid-column: 3; grid-row: 1; min-width: 0; }
.plugin-form .contact-field__control > p { margin: 0; }
.plugin-form .contact-field__control .wpcf7-form-control-wrap { margin-top: 0; }
.plugin-form .contact-consent { display: flex; justify-content: center; margin: 25px 0 18px; }
.plugin-form .contact-consent .wpcf7-form-control-wrap { margin-top: 0; }
.plugin-form .contact-submit { margin-top: 0; }
.plugin-form .wpcf7-text, .plugin-form .wpcf7-email, .plugin-form .wpcf7-tel, .plugin-form .wpcf7-number, .plugin-form .wpcf7-date, .plugin-form .wpcf7-select, .plugin-form .wpcf7-textarea { border-radius: 2px; font-size: 16px; line-height: 1.5; }
.plugin-form .wpcf7-textarea { min-height: 150px; }
.plugin-form .wpcf7-list-item { margin: 0; }
.plugin-form .wpcf7-list-item + .wpcf7-list-item { margin-left: 18px; }
.plugin-form .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 400; cursor: pointer; }
.plugin-form .wpcf7-checkbox input, .plugin-form .wpcf7-radio input, .plugin-form .wpcf7-acceptance input { width: 17px; height: 17px; margin: 0; accent-color: var(--blue); }
.plugin-form .wpcf7-acceptance { display: flex; justify-content: center; margin-top: 4px; }
.plugin-form .wpcf7-submit { display: block; width: min(250px,100%); min-height: 52px; margin: 8px auto 0; border: 0; border-radius: 0; padding: 0 28px; color: var(--white); background: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: .04em; cursor: pointer; transition: transform .22s ease, background-color .22s ease, opacity .22s ease; }
.plugin-form .wpcf7-submit:hover, .plugin-form .wpcf7-submit:focus-visible { color: var(--white); background: var(--blue-deep); transform: translateY(-2px); }
.plugin-form .wpcf7-submit:active { transform: translateY(0); }
.plugin-form .wpcf7-submit:disabled { cursor: wait; opacity: .58; transform: none; }
.plugin-form .wpcf7-spinner { display: block; margin: 10px auto 0; }
.plugin-form .wpcf7-not-valid { border-color: #ce6657 !important; box-shadow: 0 0 0 3px rgba(206,102,87,.09); }
.plugin-form .wpcf7-not-valid-tip { margin-top: 6px; color: #b54d40; font-size: 12px; line-height: 1.6; }
.plugin-form .wpcf7 form .wpcf7-response-output { margin: 18px 0 0; border: 0; border-left: 4px solid currentColor; padding: 14px 18px; background: #f7fbfd; color: var(--error); font-size: 13px; line-height: 1.7; }
.plugin-form .wpcf7 form.sent .wpcf7-response-output { color: var(--success); }
.consent { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 25px 0 18px; color: var(--muted); font-size: 12px; font-weight: 400; }
.consent input { width: 17px; height: 17px; accent-color: var(--blue); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.submit-button { min-width: 250px; min-height: 52px; margin-inline: auto; color: var(--white); background: var(--blue); font-size: 14px; font-weight: 700; }
.form-message { margin: 0 0 18px; padding: 14px 18px; border-left: 4px solid currentColor; background: var(--white); font-size: 14px; }
.form-message-success { color: var(--success); }
.form-message-error { color: var(--error); }

.page-hero { padding: 98px 0 92px; background: var(--blue-pale); border-bottom: 1px solid var(--line); }
.page-hero-inner { position: relative; }
.page-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(42px,5vw,64px); font-weight: 500; letter-spacing: .08em; line-height: 1.35; }
.page-hero-description { max-width: 680px; margin: 24px 0 0; color: var(--muted); }
.breadcrumb { padding-block: 18px; display: flex; flex-wrap: wrap; gap: 8px; color: #6e808b; font-size: 12px; }
.breadcrumb a { color: var(--blue); }
.page-section, .single-section, .archive-section, .company-section, .regulations-section, .not-found-section { background: var(--white); }

.entry-content { color: #344f5f; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { margin: 2.4em 0 .9em; font-family: var(--serif); font-size: 32px; font-weight: 500; }
.entry-content h3 { margin: 2em 0 .75em; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.entry-content p, .entry-content li { line-height: 2; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { height: auto; }
.entry-content figure { margin-block: 2.5rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 16px 18px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--blue-pale); font-weight: 600; }
.entry-content .alignwide { width: min(1180px, calc(100vw - 64px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wp-element-button { min-height: 48px; padding: 11px 22px; border: 0; border-radius: 0; color: var(--white); background: var(--blue); }

.company-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.company-intro h2 { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(34px,4vw,50px); font-weight: 500; line-height: 1.55; }
.company-intro > p:last-child { color: var(--muted); }
.company-table { margin: 0; border-top: 1px solid var(--line); }
.company-table > div { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid var(--line); }
.company-table dt, .company-table dd { margin: 0; padding: 22px 18px; }
.company-table dt { color: var(--blue-deep); background: var(--blue-pale); font-weight: 600; }
.company-table dd { color: #344f5f; }
.company-table a { color: var(--blue); }
.company-access { margin-top: 96px; padding-top: 72px; display: grid; grid-template-columns: minmax(260px,.62fr) minmax(0,1.38fr); align-items: center; gap: 64px; border-top: 1px solid var(--line); }
.company-access-copy h2 { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(34px,4vw,48px); font-weight: 500; letter-spacing: .08em; }
.company-access-copy address { color: var(--blue-deep); font-family: var(--serif); font-size: 18px; font-style: normal; line-height: 1.9; }
.company-access-copy > p:not(.eyebrow) { margin: 18px 0 26px; color: var(--muted); font-size: 13px; }
.company-map { min-height: 420px; overflow: hidden; border: 1px solid var(--line); background: var(--blue-pale); }
.company-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.company-entry-content { margin-top: 92px; padding-top: 68px; border-top: 1px solid var(--line); }
.regulations-intro { margin-bottom: 56px; padding: 32px; background: var(--blue-pale); text-align: center; }
.regulations-content a[href$=".pdf" i] { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.regulations-content a[href$=".pdf" i]::after { content: "PDF"; flex: 0 0 auto; padding: 3px 8px; color: var(--white); background: var(--blue); font-size: 10px; font-weight: 700; }

.archive-grid { margin-top: 0; }
.pagination { margin-top: 58px; }
.pagination .page-numbers { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination .current { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); }
.pagination .current { color: var(--white); background: var(--blue); border-color: var(--blue); }

.single-header { margin-bottom: 42px; }
.single-header h1 { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(34px,4.5vw,54px); font-weight: 500; line-height: 1.55; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; color: #7a8b95; font-size: 12px; }
.post-meta a { color: var(--blue); }
.single-featured-image { margin: 0 0 52px; }
.single-featured-image img { width: 100%; max-height: 520px; object-fit: cover; }
.single-footer { margin-top: 72px; padding-top: 42px; border-top: 1px solid var(--line); }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-bottom: 40px; }
.post-navigation a { display: block; padding: 18px; border: 1px solid var(--line); color: var(--blue-deep); }
.post-navigation .nav-next { text-align: right; }
.post-navigation span { display: block; color: var(--muted); font-size: 11px; }
.not-found-content { text-align: center; }
.not-found-actions { margin-top: 36px; display: flex; justify-content: center; gap: 16px; }
.search-form { display: flex; gap: 10px; }
.search-field { min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); }
.search-submit { padding-inline: 20px; border: 0; color: var(--white); background: var(--blue); }

.site-footer { padding: 66px 0 18px; color: rgba(255,255,255,.88); background: #045598; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1.25fr auto; gap: 56px; align-items: start; }
.footer-brand img { width: 260px; padding: 12px; background: #fff; }
.footer-brand p, .footer-address p { margin: 16px 0 0; font-size: 12px; line-height: 1.9; }
.footer-address a { display: block; margin-top: 13px; font-family: var(--serif); font-size: 18px; }
.footer-nav .menu { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px 22px; }
.footer-nav a { font-size: 12px; }
.footer-nav a:hover { text-decoration: underline; }
.back-to-top { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }
.copyright { margin: 52px 0 0; text-align: center; color: rgba(255,255,255,.64); font-size: 10px; }

.price-guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.price-guide-card { padding: 28px 26px 30px; border: 1px solid var(--line); background: var(--white); }
.price-guide-card h3 { margin: 8px 0 14px; color: var(--blue-deep); font-family: var(--serif); font-size: 23px; font-weight: 600; }
.price-guide-card > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.price-guide-label { margin: 0; color: #6a9cc5; font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.price-guide-rate { min-height: 42px; margin: 0; display: flex; align-items: center; gap: 8px; color: var(--blue); font-family: var(--serif); font-size: 20px; font-weight: 600; }
.price-guide-rate .dashicons, .price-guide-rate svg { flex: 0 0 auto; }
.price-guide-example { background: var(--blue-pale); border-color: #b8d4e6; }
.price-guide-footer { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 32px; margin-top: 22px; }
.price-guide-note { max-width: 760px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.page-transition-layer { position: fixed; z-index: 120; inset: 0; pointer-events: none; opacity: 0; visibility: hidden; background: rgba(247,250,252,.96); backdrop-filter: blur(5px); will-change: opacity; }
.page-transition-layer::after { content: ""; position: absolute; top: 50%; left: 50%; width: min(150px,30vw); height: 1px; transform: translate(-50%,-50%); background: rgba(7,90,171,.45); }
html.page-transition-pending .page-transition-layer { opacity: 1; visibility: visible; }
body.is-page-leaving { overflow: hidden; }
.motion-ready .hero-image, .motion-ready .service-image-stage, .motion-ready .philosophy-item, .motion-ready .price-guide-card, .motion-ready .blog-card { will-change: transform, opacity; }
.philosophy-item img { transition: transform .65s cubic-bezier(.22,1,.36,1), filter .4s ease; }
.price-guide-card { transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease; }
.primary-button .dashicons, .outline-button .dashicons, .submit-button .dashicons, .primary-button svg, .outline-button svg, .submit-button svg, .blog-card-copy > span .dashicons { transition: transform .3s ease; }

@media (hover: hover) {
  .philosophy-item:hover img { transform: scale(1.045); filter: saturate(1.04); }
  .price-guide-card:hover { border-color: #9fc3dc; box-shadow: 0 16px 42px rgba(18,78,120,.08); }
  .primary-button:hover .dashicons, .outline-button:hover .dashicons, .submit-button:hover .dashicons, .primary-button:hover svg, .outline-button:hover svg, .submit-button:hover svg, .blog-card:hover .blog-card-copy > span .dashicons { transform: translateX(4px); }
}

@media (max-width: 1180px) {
  .desktop-nav > ul { gap: 18px; }
  .desktop-nav a { font-size: 12px; }
  .header-phone > span:last-child { display: none; }
  .brand-logo { width: 240px; }
}

@media (max-width: 940px) {
  .page-width { width: min(100% - 40px,720px); }
  .section { padding-block: 86px; }
  .header-inner { width: calc(100% - 30px); min-height: 76px; }
  .brand-logo { width: 226px; }
  .desktop-nav, .header-phone { display: none; }
  .menu-button { display: grid; place-items: center; margin-left: auto; }
  .mobile-nav { position: absolute; inset: 76px 0 auto; z-index: 60; display: block; max-height: calc(100vh - 76px); overflow-y: auto; background: #fff; box-shadow: 0 18px 42px rgba(0,45,82,.12); }
  .mobile-nav .menu-item > a { min-height: 58px; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); font-size: 14px; }
  .mobile-nav .mobile-phone { min-height: 58px; display: flex; justify-content: center; align-items: center; gap: 10px; color: #fff; background: var(--blue); font-size: 17px; font-weight: 700; }
  .hero { min-height: 760px; align-items: end; }
  .hero-image { height: 54%; bottom: auto; object-position: 62% center; }
  .hero-content { padding-bottom: 96px; }
  .hero h1 { font-size: 52px; }
  .hero-meta { right: 20px; left: 20px; padding: 0 20px; justify-content: center; }
  .services-layout { grid-template-columns: 1fr; }
  .service-image-stage { border-radius: 32px 32px 120px 32px; }
  .contact-strip { grid-template-columns: 1fr; padding: 18px 28px; }
  .contact-strip > * { min-height: 80px; }
  .contact-strip > * + * { border-top: 1px solid rgba(7,90,171,.22); border-left: 0; }
  .price-section-heading { grid-template-columns: 1fr; gap: 12px; }
  .price-guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .price-guide-example { grid-column: 1 / -1; }
  .blog-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .blog-card-link { display: grid; grid-template-columns: 42% 58%; }
  .blog-image-wrap { min-height: 220px; aspect-ratio: auto; }
  .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .contact-copy img { display: none; }
  .company-layout { grid-template-columns: 1fr; gap: 48px; }
  .company-access { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-column: 1 / -1; }
  .back-to-top { justify-self: end; }
}

@media (max-width: 660px) {
  body { font-size: 15px; }
  .page-width, .narrow-content { width: calc(100% - 32px); }
  .section { padding-block: 72px; }
  .brand-logo { width: 200px; }
  .hero { min-height: 710px; background: var(--white); }
  .hero-image { height: 43%; object-position: 64% center; }
  .hero-content { padding-bottom: 104px; }
  .hero-kicker { margin-bottom: 12px; font-size: 11px; }
  .hero h1 { font-size: clamp(35px,10.4vw,44px); line-height: 1.42; }
  .hero-copy { margin-top: 18px; font-size: 14px; }
  .hero-copy br { display: none; }
  .hero-actions { margin-top: 23px; align-items: stretch; flex-direction: column; gap: 13px; }
  .hero-actions .primary-button { width: 100%; }
  .hero-actions .text-link { justify-content: center; }
  .hero-meta { min-height: 72px; gap: 13px; padding: 8px 13px; font-size: 10px; }
  .hero-meta .dashicons { width: 17px; height: 17px; font-size: 17px; }
  .philosophy-lead { margin: 32px auto 44px; text-align: left; font-size: 15px; line-height: 2.1; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-item { grid-template-columns: 104px 1fr; justify-items: start; align-items: center; gap: 22px; padding: 22px 0; text-align: left; }
  .philosophy-item + .philosophy-item { border-top: 1px solid var(--line); border-left: 0; }
  .philosophy-item img { width: 104px; height: 104px; }
  .philosophy-item h3 { margin-top: 0; font-size: 20px; }
  .services-layout { gap: 45px; }
  .service-tab { min-height: 84px; padding: 11px; grid-template-columns: 25px 1fr; }
  .service-tab-title { font-size: 13px; }
  .service-detail { min-height: 154px; padding: 18px; }
  .service-image-stage { aspect-ratio: .92; border-radius: 24px 24px 70px 24px; }
  .contact-strip { width: 100%; margin-top: 62px; }
  .contact-strip strong { font-size: 16px; }
  .price-section { padding: 50px 0; }
  .blog-heading { align-items: flex-start; flex-direction: column; gap: 24px; }
  .blog-card-link { grid-template-columns: 1fr; }
  .blog-image-wrap { min-height: 0; aspect-ratio: 1.7; }
  .blog-card h2 { min-height: 0; }
  .contact-form, .plugin-form { padding: 26px 18px; }
  .contact-form > label:not(.consent):not(.honeypot) { grid-template-columns: 1fr auto; gap: 5px 8px; }
  .contact-form input:not([type="checkbox"]), .contact-form textarea { grid-column: 1 / -1; }
  .plugin-form .wpcf7-form > p:not(.akismet-fields-container):has(> .wpcf7-form-control-wrap) { grid-template-columns: 1fr auto; gap: 5px 8px; }
  .plugin-form .wpcf7-form > p:not(.akismet-fields-container):has(> .wpcf7-form-control-wrap) > .wpcf7-form-control-wrap { grid-column: 1 / -1; grid-row: 2; }
  .plugin-form .wpcf7-form > p:not(.akismet-fields-container):has(.wpcf7-validates-as-required)::after { grid-column: 2; grid-row: 1; }
  .plugin-form .contact-field { grid-template-columns: 1fr auto; gap: 5px 8px; }
  .plugin-form .contact-field__label, .plugin-form .contact-field__required { padding-top: 0; }
  .plugin-form .contact-field__label { grid-column: 1; grid-row: 1; }
  .plugin-form .contact-field__required { grid-column: 2; grid-row: 1; }
  .plugin-form .contact-field__control { grid-column: 1 / -1; grid-row: 2; }
  .submit-button { width: 100%; min-width: 0; }
  .plugin-form .wpcf7-submit { width: 100%; }
  .page-hero { padding-block: 70px; }
  .company-table > div { grid-template-columns: 1fr; }
  .company-table dt, .company-table dd { padding: 14px 16px; }
  .company-access { margin-top: 68px; padding-top: 52px; }
  .company-map, .company-map iframe { min-height: 360px; }
  .entry-content .alignwide, .entry-content .alignfull { width: 100%; margin-left: 0; transform: none; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .not-found-actions { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-nav { grid-column: auto; }
  .footer-brand img { width: 230px; }
  .price-section-heading { margin-bottom: 28px; }
  .price-inner h2 { font-size: 34px; }
  .price-guide-grid { grid-template-columns: 1fr; }
  .price-guide-example { grid-column: auto; }
  .price-guide-card { padding: 20px 18px; }
  .price-guide-footer { grid-template-columns: 1fr; gap: 18px; }
  .price-guide-footer .primary-button { width: 100%; }
}

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