@charset "UTF-8";

:root {
    --background: #f7f6f0;
    --surface: #ffffff;
    --text: #3e3a36;
    --muted: #77716b;
    --accent: #8fd4da;
    --accent-dark: #397d83;
    --accent-soft: #eaf7f8;
    --border: #ddd7cf;
    --wood-dark: #7a583e;
    --wood-light: #b48a67;
    --shadow: 0 18px 45px rgba(83, 70, 56, 0.10);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--background);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.9), transparent 42%),
        var(--background);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        "Yu Gothic",
        YuGothic,
        Meiryo,
        sans-serif;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
}

.site-header__inner {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding: 14px 0 16px;
    text-align: center;
}

.site-header__eyebrow {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.site-logo {
    margin: 0;
    color: #171717;
    font-family:
        "Hiragino Mincho ProN",
        "Yu Mincho",
        YuMincho,
        serif;
    font-size: clamp(1.75rem, 5vw, 2.55rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.07em;
}

.site-logo__dot,
.site-logo__com {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -0.04em;
}

.site-logo__com {
    font-size: 0.88em;
    font-weight: 400;
}

.wood-line {
    height: 16px;
    border-top: 1px solid rgba(84, 54, 35, 0.24);
    border-bottom: 1px solid rgba(84, 54, 35, 0.24);
    background:
        linear-gradient(
            90deg,
            rgba(76, 48, 30, 0.22),
            transparent 13%,
            rgba(255, 255, 255, 0.15) 27%,
            rgba(80, 51, 31, 0.24) 49%,
            transparent 68%,
            rgba(80, 51, 31, 0.20)
        ),
        linear-gradient(180deg, var(--wood-light), var(--wood-dark));
}

.main-content {
    flex: 1;
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(42px, 8vw, 88px) 0;
    display: grid;
    place-items: center;
}

.notice-card {
    width: min(720px, 100%);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.notice-card__accent {
    height: 12px;
    background: var(--accent);
}

.notice-card__body {
    padding: clamp(34px, 7vw, 64px);
    text-align: center;
}

.notice-card__label {
    margin: 0 0 10px;
    color: var(--accent-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

h1 {
    margin: 0;
    font-family:
        "Hiragino Mincho ProN",
        "Yu Mincho",
        YuMincho,
        serif;
    font-size: clamp(1.65rem, 5vw, 2.35rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.06em;
}

h1::after {
    display: block;
    width: 52px;
    height: 2px;
    margin: 22px auto 30px;
    background: var(--accent);
    content: "";
}

.notice-card__message {
    margin: 0 auto;
    max-width: 560px;
}

.notice-card__message p {
    margin: 0 0 18px;
}

.notice-card__message p:last-child {
    margin-bottom: 0;
}

.renewal-message {
    margin-top: 28px !important;
    padding: 16px 18px;
    border: 1px solid #cce9ec;
    background: var(--accent-soft);
    color: #35666b;
    font-weight: 600;
}

.contact-box {
    margin-top: 40px;
    padding: 28px;
    border: 1px solid var(--border);
    background: #fbfaf7;
}

.contact-box__title {
    margin: 0 0 6px;
    font-weight: 700;
}

.contact-box__text {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 0.94rem;
}

.contact-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 10px 34px;
    border: 1px solid var(--accent-dark);
    border-radius: 2px;
    background: var(--accent);
    color: #173e42;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.contact-button:hover {
    background: var(--accent-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.contact-button:focus-visible {
    outline: 3px solid rgba(57, 125, 131, 0.28);
    outline-offset: 4px;
}

.site-footer {
    border-top: 2px solid #8c6a4f;
    background: #ffffff;
    padding: 22px 20px;
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
}

@media (max-width: 600px) {
    .site-header__inner,
    .main-content {
        width: min(100% - 28px, 920px);
    }

    .site-header__inner {
        padding: 12px 0 14px;
    }

    .site-header__eyebrow {
        font-size: 0.63rem;
        line-height: 1.5;
    }

    .wood-line {
        height: 11px;
    }

    .main-content {
        padding: 30px 0 44px;
    }

    .notice-card__body {
        padding: 30px 20px 26px;
    }

    h1 {
        letter-spacing: 0.03em;
    }

    .notice-card__message {
        text-align: left;
    }

    .contact-box {
        margin-top: 30px;
        padding: 22px 16px;
        text-align: center;
    }

    .contact-button {
        width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-button {
        transition: none;
    }
}
