/* 参加費セクション専用（jof.html から切り出し）
 * 1rem = 10px 前提だった値は px に変換済み（他システムの html font-size に依存しない）
 */
.p-outdoorPrice,
.p-outdoorPrice * {
    box-sizing: border-box;
    line-height: 1.5;
}

.p-outdoorPrice {
    position: relative;
    margin: 24px 0 32px;
    padding: 24px 0 28px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", YuGothic, "Yu Gothic", メイリオ, Meiryo, "Noto Sans JP", sans-serif;
    background: #E2EED4;
}

.p-outdoorPrice img {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: bottom;
}

.p-outdoorPrice ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.p-outdoorPrice .l-inner {
    max-width: 1330px;
    margin: 0 auto;
    padding: 0 12.5px;
}

.p-outdoorPrice .c-title {
    margin: 0 auto 18px;
}

.p-outdoorPrice .c-title img {
    width: 650px;
    max-width: 100%;
}

.p-outdoorPrice .sp {
    display: none !important;
}

.p-outdoorPrice__list {
    max-width: 780px;
    margin: 0 auto;
}

.p-outdoorPrice__item {
    text-align: left;
    margin-bottom: 18px;
}

.p-outdoorPrice__item:last-of-type {
    margin-bottom: 12px;
}

.p-outdoorPrice__item h4 {
    display: inline-block;
    text-align: center;
    width: 280px;
    max-width: 100%;
    margin: 0 5px 15px 0;
    padding: 2px 5px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    background-color: #008E00;
    color: #fff;
    white-space: nowrap;
}

.p-outdoorPrice__item h4.main {
    background-color: #FF2A22;
}

.p-outdoorPrice__item p {
    margin: 0;
    font-size: 21px;
    color: #000;
}

.p-outdoorPrice__item > span {
    font-size: 14px;
    color: #000;
}

.p-outdoorPrice__saving {
    display: block !important;
    width: 500px !important;
    max-width: calc(100% - 24px);
    height: auto;
    margin: 0 auto 18px;
}

.p-outdoorPrice__actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 16px;
}

.p-outdoorPrice__link {
    display: block;
    width: 320px;
    padding: 13px 20px;
    border-radius: 30px;
    background: #009cc1 url(../img/camp/arrow_right.png) no-repeat right 15px center / 15px 16px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.p-outdoorPrice__link-label,
.p-outdoorPrice__link small {
    display: block;
}

.p-outdoorPrice__link-label {
    font-size: 18px;
}

.p-outdoorPrice__link small {
    margin-top: 3px;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.3;
}

.p-outdoorPrice__link--member {
    background-color: #FE6883;
    background-image: url(../img/camp/arrow_right.png);
}

.p-outdoorPrice__link:hover,
.p-outdoorPrice__link:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 0 rgba(0, 80, 129, 0.2);
}

.p-outdoorPrice__link--single:hover {
    background-color: #007f9c;
}

.p-outdoorPrice__link--member:hover {
    background-color: #e8526d;
}

.p-outdoorPrice__link:active {
    transform: translateY(0);
    box-shadow: none;
}

.p-outdoorPrice__benefits {
    margin: 20px auto 0;
    text-align: center;
}

.p-outdoorPrice__benefits-preview {
    max-width: 879px;
    max-height: 0;
    margin: 0 auto;
    overflow: hidden;
    transition: max-height 240ms ease;
}

.p-outdoorPrice__benefits-preview img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.p-outdoorPrice__benefits.is-expanded .p-outdoorPrice__benefits-preview {
    max-height: 700px;
}

.p-outdoorPrice__benefits-toggle {
    position: relative;
    display: inline-block;
    margin-top: 12px;
    padding: 8px 42px 9px 18px;
    border: 2px solid #111;
    border-radius: 30px;
    background: #fff900;
    color: #111;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.35;
    text-align: center;
    transition: background-color 180ms ease, transform 180ms ease;
}

.p-outdoorPrice__benefits-toggle::after {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 18px;
    height: 18px;
    content: "";
    background: url(../img/camp/icon_arrow.svg) center / contain no-repeat;
    transform: translateY(-50%) rotate(90deg);
    transition: transform 180ms ease;
}

.p-outdoorPrice__benefits-toggle[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(-90deg);
}

.p-outdoorPrice__benefits-toggle:hover,
.p-outdoorPrice__benefits-toggle:focus-visible {
    background-color: #fff33b;
    transform: translateY(-2px);
}

.p-outdoorPrice__benefits-toggle:hover::after,
.p-outdoorPrice__benefits-toggle:focus-visible::after {
    transform: translate(2px, -50%) rotate(90deg);
}

.p-outdoorPrice__benefits-toggle[aria-expanded="true"]:hover::after,
.p-outdoorPrice__benefits-toggle[aria-expanded="true"]:focus-visible::after {
    transform: translate(2px, -50%) rotate(-90deg);
}

@media (max-width: 767px) {
    .p-outdoorPrice__benefits-preview {
        max-height: 0;
    }

    .p-outdoorPrice__benefits.is-expanded .p-outdoorPrice__benefits-preview {
        max-height: 700px;
    }

    .p-outdoorPrice__benefits-toggle {
        margin-top: 10px;
        padding: 7px 36px 8px 14px;
        font-size: 15px;
    }

    .p-outdoorPrice__item > span {
        display: block;
        width: auto;
        margin: -8px 0 12px;
        transform: none;
        font-size: 12px;
        line-height: 1.5;
    }

    .p-outdoorPrice__actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .p-outdoorPrice__link {
        width: 100%;
        max-width: 360px;
        padding: 13px 18px;
    }

    .p-outdoorPrice__link-label {
        font-size: 17px;
        white-space: nowrap;
    }

    .p-outdoorPrice__item h4 {
        width: 280px;
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .p-outdoorPrice__benefits-preview,
    .p-outdoorPrice__benefits-toggle,
    .p-outdoorPrice__benefits-toggle::after {
        transition: none;
    }
}
