:root {
    --text: #20242a;
    --muted: #68717d;
    --line: #dfe3e8;
    --background: #ffffff;
    --background-muted: #f5f7f9;
    --primary: #153f70;
    --primary-dark: #0d2d53;
    --max-width: 1120px;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(24, 39, 58, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI",
        "Hiragino Kaku Gothic ProN", "Hiragino Sans",
        "Yu Gothic", "Meiryo", sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 40px), var(--max-width));
    min-height: 78px;
    margin-inline: auto;
}

.site-brand {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.25;
}

.site-brand-name {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.site-brand-sub {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.global-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.global-nav a {
    position: relative;
    display: block;
    padding: 26px 0 23px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.global-nav a::after {
    position: absolute;
    right: 0;
    bottom: 17px;
    left: 0;
    height: 2px;
    background: var(--primary);
    content: "";
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.global-nav a:hover::after,
.global-nav a.is-current::after {
    transform: scaleX(1);
}

.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    padding: 70px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(21, 63, 112, 0.08), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: center;
    gap: 70px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.hero h1,
.page-header h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.hero-lead {
    max-width: 690px;
    margin: 25px 0 0;
    color: #434b55;
    font-size: 18px;
}

.hero-photo img,
.profile-photo img {
    width: 100%;
    border-radius: var(--radius);
    background: var(--background-muted);
    box-shadow: var(--shadow);
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: var(--primary);
}

.button-primary:hover {
    background: var(--primary-dark);
}

.button-secondary {
    color: var(--primary);
    background: #fff;
}

.button-secondary:hover {
    background: #eef4fa;
}

.button-wide {
    width: 100%;
    margin-top: auto;
}

.section {
    padding: 80px 0;
}

.section-muted {
    background: var(--background-muted);
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading h2,
.cta-box h2,
.contact-note h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.4;
}

.card-grid {
    display: grid;
    gap: 22px;
}

.card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.contact-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.info-card {
    padding: 28px;
}

.info-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.info-card p {
    margin: 0;
    color: var(--muted);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.cta-box p {
    max-width: 760px;
    margin-bottom: 0;
}

.page-header {
    padding: 56px 0;
    border-bottom: 1px solid var(--line);
    background: var(--background-muted);
}

.page-header p:last-child {
    max-width: 780px;
    margin: 18px 0 0;
    color: var(--muted);
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(230px, 340px) minmax(0, 1fr);
    align-items: start;
    gap: 58px;
}

.profile-main h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.4;
}

.profile-main h2 span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.profile-main h3 {
    margin: 36px 0 10px;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--primary);
    font-size: 22px;
}

.profile-role {
    margin: 0 0 8px;
    color: var(--primary);
    font-weight: 800;
}

.profile-list {
    padding-left: 1.4em;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    padding: 34px;
}

.contact-card-label {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.contact-card h2 {
    margin: 6px 0 12px;
    font-size: 30px;
}

.contact-card p {
    margin-top: 0;
    color: #4d5661;
}

.contact-card ul {
    margin: 8px 0 28px;
    padding-left: 1.3em;
}

.contact-note {
    margin-top: 40px;
    padding: 28px 32px;
    border-radius: var(--radius);
    background: var(--background-muted);
}

.contact-note h2 {
    font-size: 23px;
}

.contact-note p {
    margin-bottom: 0;
}

.site-footer {
    padding: 34px 0;
    color: #fff;
    background: #18212b;
}

.footer-inner {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
}

.copyright {
    margin: 20px 0 0;
    color: #bec6cf;
    font-size: 13px;
}

@media (max-width: 859px) {
    .header-inner {
        min-height: 66px;
    }

    .menu-button {
        display: block;
    }

    .global-nav {
        position: fixed;
        top: 66px;
        right: 0;
        left: 0;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid var(--line);
        background: #fff;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
    }

    .global-nav.is-open {
        max-height: calc(100vh - 66px);
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
    }

    .global-nav ul {
        display: block;
        width: min(calc(100% - 40px), var(--max-width));
        margin-inline: auto;
        padding: 10px 0 22px;
    }

    .global-nav li + li {
        border-top: 1px solid var(--line);
    }

    .global-nav a {
        padding: 17px 4px;
        font-size: 16px;
    }

    .global-nav a::after {
        display: none;
    }

    .hero {
        padding: 45px 0 58px;
    }

    .hero-grid,
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-content {
        order: 2;
    }

    .hero-photo {
        order: 1;
        width: min(72%, 330px);
        margin-inline: auto;
    }

    .card-grid-3,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        display: block;
    }

    .cta-box .button {
        margin-top: 24px;
    }
}

@media (max-width: 520px) {
    .container,
    .header-inner,
    .footer-inner,
    .global-nav ul {
        width: min(calc(100% - 28px), var(--max-width));
    }

    body {
        font-size: 15px;
    }

    .hero h1,
    .page-header h1 {
        font-size: 32px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .section {
        padding: 56px 0;
    }

    .page-header {
        padding: 38px 0;
    }

    .button-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .contact-card,
    .info-card {
        padding: 24px;
    }

    .profile-main h2 {
        font-size: 30px;
    }
}


.section-compact {
    padding: 26px 0;
}

.ad-area {
    min-height: 120px;
    padding: 12px 0;
    text-align: center;
}

.ad-label {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 11px;
}

.profile-article {
    max-width: 900px;
}

.profile-section + .profile-section {
    margin-top: 58px;
    padding-top: 52px;
    border-top: 1px solid var(--line);
}

.profile-section h2 {
    margin: 0 0 22px;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.45;
}

.profile-section p {
    margin: 0 0 20px;
}

.profile-section a {
    color: var(--primary);
    font-weight: 700;
    text-underline-offset: 3px;
}

.profile-note {
    padding: 16px 18px;
    border-left: 4px solid var(--primary);
    background: #fff;
    color: #4d5661;
}

.book-list {
    margin: 0;
    padding-left: 1.4em;
}

.book-list li + li {
    margin-top: 9px;
}

.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.link-list a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
}

@media (max-width: 520px) {
    .profile-section + .profile-section {
        margin-top: 42px;
        padding-top: 38px;
    }

    .link-list {
        display: grid;
    }

    .link-list a {
        width: 100%;
    }
}


.external-link-icon {
    display: inline-block;
    margin-left: 0.28em;
    font-size: 0.78em;
    line-height: 1;
    transform: translateY(-0.05em);
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
