/* 『ダービースタリオン2』アップデート情報ページ
   ガイドラインページのレイアウト／背景／戻るリンクに統一 */

.update-page {
    margin: 0;
    color: #fff;
    background-color: #111;
    background-image: url("../images/icon/img_icon_back.webp");
    background-position: center top;
    background-repeat: repeat;
    background-size: 1024px auto;
}

.update-main {
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 40px 20px 0;
    box-sizing: border-box;
}

.update-header {
    margin-bottom: 24px;
    color: #fff;
    text-align: center;
    -webkit-text-stroke: 2px #000;
    paint-order: stroke fill;
}

.update-title {
    margin: 0;
}

.update-title picture,
.update-title img {
    display: block;
}

.update-title img {
    width: min(48vw, 820px);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.update-lead {
    padding: 24px 20px 0;
}

.update-lead h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: .08em;
    -webkit-text-stroke: 1px #000;
    paint-order: stroke fill;
}

.update-panel {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.update-panel .content__inner {
    box-sizing: border-box;
    padding: clamp(28px, 5vw, 56px);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #d8d0c1;
    border-radius: 8px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .18);
}

.update-section + .update-section {
    margin-top: clamp(36px, 6vw, 60px);
    padding-top: clamp(36px, 6vw, 60px);
    border-top: 1px solid #ddd6cb;
}

.update-section p,
.update-section li {
    color: #34312c;
    font-size: 16px;
    line-height: 2;
}

.update-section p {
    margin: 0 0 1em;
}

.update-section p:last-child {
    margin-bottom: 0;
}

.update-section a {
    color: #7d5019;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.update-section-title {
    margin: 0 0 28px;
    padding: 0 0 14px;
    border-bottom: 3px solid #87642f;
    color: #2d2b27;
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 700;
    line-height: 1.45;
}

.update-note {
    margin-top: 30px;
    padding: 24px 28px;
    background: #f6f2e9;
    border-left: 5px solid #87642f;
}

.update-note h3,
.update-subtitle {
    margin: 0 0 14px;
    color: #413727;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
}

.update-note ul,
.update-steps {
    margin: 0;
    padding-left: 1.4em;
}

.update-subtitle {
    margin-top: 28px;
}

.update-steps li + li {
    margin-top: .35em;
    margin-bottom: .35em;
}

.update-closing {
    text-align: left;
}

.update-date {
    margin-top: 22px !important;
    text-align: right;
}

.update-back {
    margin-top: 32px;
    margin-bottom: 0;
    text-align: center;
}

.update-back a {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    -webkit-text-stroke: 1px #000;
    paint-order: stroke fill;
}

.update-page .l-footer__guide {
    padding-top: 4vw;
}

.update-page .l-footer__bottom-area {
    margin-top: 0;
    padding-top: 40px;
}

@media (max-width: 767px) {
    .update-page {
        background-position: center top;
        background-repeat: repeat-y;
        background-size: 100% auto;
    }

    .update-main {
        padding: 72px 0 0;
    }

    .update-header {
        margin-bottom: 16px;
        padding: 0 16px;
    }

    .update-title img {
        width: min(78vw, 420px);
        max-width: 100%;
    }

    .update-lead {
        padding: 18px 16px 0;
    }

    .update-panel {
        padding: 0 12px;
    }

    .update-panel .content__inner {
        padding: 26px 20px;
        border-radius: 0;
    }

    .update-section p,
    .update-section li {
        font-size: 12px;
        line-height: 1.75;
    }

    .update-note {
        padding: 18px 16px;
    }

    .update-note p {
        font-size: 12px;
        font-weight: 700;
        line-height: 1.6;
    }

    .update-note li {
        font-size: 11px;
        line-height: 1.7;
    }

    .update-back a {
        font-size: 18px;
        -webkit-text-stroke: 1px #000;
    }

    .update-page .l-footer__guide {
        padding-top: 6vw;
    }
}
