:root {
    color-scheme: light;
    --navy: #102340;
    --text: #425470;
    --blue: #1855cb;
    --blue-dark: #1646a1;
    --tint: #f2f6fc;
    --line: #c8d6e8;
    --white: #fff;
    --gutter: 16px;
    --header-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 16px); }
body {
    margin: 0;
    background: var(--white);
    color: var(--navy);
    font-family: Inter, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.75;
    text-align: left;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.35; }
h2 { font-size: clamp(1.625rem, 3.8vw, 2.75rem); text-wrap: balance; }
h3 { font-size: 1.125rem; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #4088ff; outline-offset: 4px; }
svg { width: 24px; height: 24px; flex: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 3; padding: 8px 16px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 2; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 800; letter-spacing: .06em; line-height: 1.3; }
.brand img { border-radius: 8px; }
.brand small { display: block; color: var(--text); font-size: .6875rem; letter-spacing: .04em; }
.menu-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); background: var(--white); cursor: pointer; }
.menu-toggle .menu-close, .menu-toggle.is-open .menu-open { display: none; }
.menu-toggle.is-open .menu-close { display: block; }
.nav { display: none; position: absolute; inset: 100% 0 auto; padding: 16px var(--gutter); background: var(--white); border-bottom: 1px solid var(--line); }
.nav.is-open { display: grid; gap: 8px; }
.nav a { font-size: .875rem; font-weight: 700; text-decoration: none; }
.nav a:not(.action) { display: block; padding: 8px 0; }
.nav a:not(.action):hover { color: var(--blue); }
.nav .action { justify-self: start; }

.hero {
    color: var(--white);
    background: linear-gradient(90deg, rgba(4,27,52,.88), rgba(4,27,52,.56)), url("images2/夕暮れの鳥取市街と城跡の丘.png") center / cover no-repeat, #041b34;
}
.hero-inner { min-height: 544px; display: grid; grid-template-rows: 1fr auto; gap: 24px; padding-block: 40px 16px; }
.issues, .pricing, .contact-grid { display: grid; gap: 24px; }
.hero-copy { display: grid; align-content: start; gap: 16px; }
.location, .eyebrow { color: var(--blue-dark); font-size: .8125rem; font-weight: 800; letter-spacing: .08em; }
.location { color: #c9deff; display: flex; align-items: center; gap: 8px; }
.location svg { width: 16px; height: 16px; }
h1 { font-size: clamp(1.875rem, 6vw, 3.75rem); font-weight: 800; letter-spacing: -.04em; }
h1 span { color: #b1d0ff; }
.lead { max-width: 32rem; color: #edf4ff; }
.actions { display: flex; flex-wrap: wrap; align-items: start; gap: 8px; padding-top: 8px; }
.action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 48px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    font-size: .875rem;
    text-decoration: none;
}
.action svg, .text-link svg { width: 16px; height: 16px; }
.action-primary { color: var(--white); background: var(--blue); }
.action-primary:hover { background: var(--blue-dark); }
.action-outline { color: var(--blue-dark); background: var(--white); border-color: var(--line); }
.action-outline:hover { background: #e4eeff; }

.hero .action-outline { color: var(--white); border-color: #a9c4e8; background: rgba(9, 23, 46, .8); }
.hero .action-outline:hover { background: #253f65; }
.hero-credit { justify-self: start; align-self: end; font-size: .75rem; }

.section { padding-block: 48px; }
.tinted { background: var(--tint); }
.section-heading { display: grid; align-content: start; gap: 8px; }
.section-heading > p:not(.eyebrow) { color: var(--text); }
.issue-list, .flow-list { list-style: none; margin: 0; padding: 0; }
.issue-list li { display: flex; gap: 8px; align-items: start; padding-block: 16px; border-top: 1px dashed var(--line); }
.issue-list li:last-child { border-bottom: 1px dashed var(--line); }
.issue-list svg { color: var(--blue); }
.service-grid, .flow-list { display: grid; gap: 16px; margin-top: 24px; }
.service-card { display: grid; align-content: start; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
.service-card p, .flow-list p, .price-note { color: var(--text); font-size: .9375rem; }
.icon-box { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 8px; color: var(--blue); background: var(--tint); }
.flow-list li { display: grid; align-content: start; gap: 8px; padding-top: 16px; border-top: 1px dashed var(--line); }
.step { font-size: 1.5rem; font-weight: 800; color: var(--blue); line-height: 1.25; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--blue-dark); font-weight: 700; font-size: .875rem; text-underline-offset: 4px; }
.flow-list + .text-link { margin-top: 16px; }

.price-panel { padding: 16px; background: var(--tint); border-radius: 16px; }
.price-panel h3 span { display: block; margin-top: 8px; color: var(--text); font-size: .8125rem; }
.price-list { margin-block: 16px 8px; }
.price-list div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding-block: 8px; border-top: 1px dashed var(--line); }
.price-list div:last-child { border-bottom: 1px dashed var(--line); }
.price-list dt { font-size: .875rem; }
.price-list dd { color: var(--blue-dark); font-weight: 800; font-variant-numeric: tabular-nums; }
.price-note { margin-top: 16px; }

.contact-section { background: var(--navy); color: var(--white); }
.contact-section .section-heading > p:not(.eyebrow) { color: #e2eaff; }
.contact-actions { display: grid; align-content: start; justify-items: start; gap: 8px; }
.contact-actions .action-primary { background: #2665dc; }
.contact-actions .action-primary:hover { background: var(--blue); }
.contact-actions .text-link { color: #d0e2ff; }
.site-footer { padding-block: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-block: 16px; font-size: .875rem; }
.footer-links a { padding-block: 8px; text-underline-offset: 4px; }
.footer-links a:hover { color: var(--blue); }
.copyright { font-size: .75rem; color: var(--text); padding-top: 16px; border-top: 1px dashed var(--line); }

@media (min-width: 600px) {
    :root { --gutter: 32px; }
    .service-grid, .flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .price-panel { padding: 24px; }
}
@media (min-width: 981px) {
    :root { --gutter: 48px; --header-height: 80px; }
    .menu-toggle { display: none; }
    .nav, .nav.is-open { display: flex; align-items: center; gap: 24px; position: static; padding: 0; border: 0; }
    .hero-inner { min-height: calc(92vh - var(--header-height)); padding-block: 32px 16px; }
    .hero-copy { align-content: center; gap: 24px; }
    .section { padding-block: 72px; }
    .issues, .pricing, .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
    .contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
    .service-grid, .flow-list { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; }
}
