@charset "UTF-8";
:root {
    --ink:#292d30;
    --accent:#344b59;
    --accent-light:#8496a0;
    --line:#cbd2d5;
    --soft:#f5f7f7
}
* {
    box-sizing:border-box
}
html {
    -webkit-text-size-adjust:100%
}
body {
    margin:0;
    background:#fff;
    color:var(--ink);
    font-family:"Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    Meiryo,
    sans-serif;
    font-size:15px;
    line-height:1.9;
    letter-spacing:.025em
}
.page {
    padding:80px 28px 110px
}
.notice {
    max-width:820px;
    margin:0 auto
}
.notice-header {
    text-align:center;
    margin:0 0 55px;
    padding:0 0 43px;
    position:relative;
    border-bottom:1px solid var(--line)
}
.notice-header:after {
    content:"";
    position:absolute;
    bottom:-2px;
    left:calc(50% - 42px);
    width:84px;
    height:3px;
    background:var(--accent)
}
h1 {
    margin:0;
    color:var(--accent);
    font-family:"Hiragino Mincho ProN",
    "Yu Mincho",
    "Noto Serif JP",
    serif;
    font-size:clamp(24px,2.85vw,31px);
    font-weight:600;
    line-height:1.65;
    letter-spacing:.06em
}
p {
    margin:0 0 17px
}
.intro {
    margin:0 0 58px;
    padding:0 0 0 24px;
    border-left:3px solid #9aaab1
}
.intro p:last-child {
    margin-bottom:0
}
.notice-section {
    margin:0 0 58px
}
.notice-section h2 {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:17px;
    text-align:center;
    margin:0 0 31px;
    color:var(--accent);
    font-family:"Hiragino Mincho ProN",
    "Yu Mincho",
    "Noto Serif JP",
    serif;
    font-size:21px;
    font-weight:600;
    line-height:1.55;
    letter-spacing:.045em
}
.notice-section h2:before,
.notice-section h2:after {
    content:"";
    display:block;
    flex:1 1 0;
    min-width:22px;
    height:1px;
    background:linear-gradient(to right,transparent,#aab6bc)
}
.notice-section h2:after {
    background:linear-gradient(to left,transparent,#aab6bc)
}
.notice-section p:last-child {
    margin-bottom:0
}
.contact-panel {
    margin:32px 0;
    padding:29px 22px 28px;
    text-align:center;
    background:var(--soft);
    border-top:2px solid var(--accent);
    border-bottom:1px solid var(--line)
}
.contact-label {
    margin:0 0 17px;
    color:var(--accent);
    font-size:16px;
    font-weight:700;
    letter-spacing:.06em
}
.contact-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:13px;
    min-height:52px;
    padding:12px 28px;
    background:var(--accent);
    border:1px solid var(--accent);
    color:#fff;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    line-height:1.5;
    transition:background-color .2s
}
.contact-button:hover {
    background:#223743
}
.contact-button:focus-visible {
    outline:2px solid var(--accent);
    outline-offset:3px
}
.deadline {
    margin:17px 0 0;
    font-size:14px;
    font-weight:700;
    color:#3c464b
}
.closing {
    position:relative;
    margin-top:62px;
    padding:38px 0 0;
    border-top:1px solid var(--line)
}
.closing:before {
    content:"";
    position:absolute;
    top:-2px;
    left:0;
    width:62px;
    height:3px;
    background:var(--accent)
}
.signature {
    margin:37px 0 0;
    text-align:right;
    font-weight:700;
    color:var(--accent)
}
@media(max-width:700px) {
    body {
        font-size:14px;
        line-height:1.85
    }
    .page {
        padding:45px 19px 75px
    }
    .notice-header {
        margin-bottom:38px;
        padding-bottom:29px
    }
    .notice-header:before {
        font-size:10px;
        margin-bottom:19px
    }
    h1 {
        font-size:21px;
        line-height:1.65;
        letter-spacing:.025em;
        overflow-wrap:anywhere
    }
    .desktop-break {
        display:none
    }
    .intro {
        margin-bottom:43px;
        padding-left:15px;
        border-left-width:2px
    }
    .notice-section {
        margin-bottom:44px
    }
    .notice-section h2 {
        gap:9px;
        font-size:17px;
        line-height:1.6;
        margin-bottom:23px;
        letter-spacing:.01em
    }
    .notice-section h2:before,
    .notice-section h2:after {
        min-width:12px
    }
    .contact-panel {
        padding:24px 13px;
        margin:25px 0
    }
    .contact-label {
        font-size:14px
    }
    .contact-button {
        width:100%;
        max-width:360px;
        padding:12px 8px;
        font-size:13px
    }
    .deadline {
        font-size:12px
    }
    .closing {
        margin-top:45px;
        padding-top:29px
    }
    .signature {
        font-size:12px;
        margin-top:29px
    }
}

/* ===== Decorative refinements ===== */
.notice {
    position: relative;
}

.notice-header {
    border-top: 1px solid var(--line);
    padding-top: 45px;
}

.notice-header::before {
    content: "◆";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 16px;
    background: #fff;
    color: var(--accent);
    font-size: 11px;
}

.notice-header::after {
    width: 110px;
    height: 2px;
    bottom: -2px;
    left: calc(50% - 55px);
}

.intro {
    position: relative;
    padding: 22px 25px;
    background: linear-gradient(90deg, #f4f6f6, #fff 90%);
    border-left-width: 2px;
}

.intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 75px;
    height: 1px;
    background: var(--accent);
}

.notice-section {
    position: relative;
}

/* 見出し上の数字を廃止し、短い飾り罫に変更 */
.notice-section::before {
    content: "";
    display: block;
    width: 42px;
    height: 1px;
    margin: 0 auto 16px;
    background: var(--accent-light);
}

.notice-section h2 {
    padding-top: 0;
}

.notice-section h2::before,
.notice-section h2::after {
    max-width: 105px;
    background: #b5bec3;
    box-shadow: 0 4px 0 -0.5px #e1e5e6;
}

.contact-panel {
    position: relative;
    border: 1px solid #d6dce0;
    padding: 36px 23px;
}

.contact-panel::before,
.contact-panel::after {
    content: "";
    position: absolute;
    width: 23px;
    height: 23px;
    pointer-events: none;
}

.contact-panel::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.contact-panel::after {
    right: -1px;
    bottom: -1px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
}

.contact-label {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 18px;
}

.closing::before {
    content: "◆";
    top: -9px;
    left: 50%;
    width: auto;
    height: auto;
    transform: translateX(-50%);
    padding: 0 15px;
    background: #fff;
    color: var(--accent);
    font-size: 10px;
}

@media (max-width: 700px) {
    .notice-header {
        padding-top: 32px;
    }

    .intro {
        padding: 18px 15px;
    }

    .notice-section h2::before,
    .notice-section h2::after {
        max-width: 27px;
    }

    .contact-panel {
        padding: 29px 13px;
    }

    .contact-label {
        font-size: 16px;
    }
}

/* ===== Additional editorial ornament ===== */
.notice-header {
    background-image: linear-gradient(to right, transparent, #e7ebed 30%, #e7ebed 70%, transparent);
    background-repeat: no-repeat;
    background-position: center bottom 9px;
    background-size: 48% 1px;
}

/* 各セクションの装飾は控えめに変化を付ける */
.notice-section:nth-of-type(even)::before {
    width: 66px;
    background: linear-gradient(to right, transparent, var(--accent-light), transparent);
}

.notice-section:nth-of-type(odd)::before {
    width: 32px;
    height: 2px;
    background: var(--accent);
}

.notice-section h2 {
    position: relative;
    padding-bottom: 15px;
}

.notice-section h2::before,
.notice-section h2::after {
    box-shadow: none;
    background: #bdc7cb;
}

.notice-section h2::after {
    background: #bdc7cb;
}

.notice-section > p:first-of-type {
    padding-top: 5px;
}

.contact-panel {
    background: #f7f8f8;
    box-shadow: inset 0 0 0 6px #fff;
}

.contact-button {
    border-bottom: 3px solid #203541;
}

.signature {
    padding-top: 13px;
    border-top: 1px solid #e2e6e8;
}

@media (max-width: 700px) {
    .notice-header {
        background-size: 68% 1px;
    }

    .notice-section h2 {
        padding-bottom: 8px;
    }

    .notice-section::before {
        margin-bottom: 14px;
    }
}

/* 冒頭のお詫び文：枠線・背景装飾を削除 */
.intro {
    padding: 0;
    border: none;
    background: none;
}

.intro::before,
.intro::after {
    content: none;
    display: none;
}

@media (max-width: 700px) {
    .intro {
        padding: 0;
        border: none;
        background: none;
    }
}
