@charset "UTF-8";
.site-policy-content {
        max-width: 956px;
        margin: 0 auto;
        padding: 1rem 0;
    }

    .tab-section h2 {
        margin-bottom: 1rem;
    }

    .tab-section__desc {
        margin-bottom: 3rem;
    }

    .policy-content-registration {
        text-align: center;
        max-width: 956px;
        margin: 0 auto 2rem;
        padding: 0 1rem;
    }

    .btn-wrapper {
        margin-top: 1rem;
        max-width: 500px;
        margin: auto;
    }

    /*== ボタン共通設定 */
    .btn-see-more {
        /*アニメーションの起点とするためrelativeを指定*/
        position: relative;
        overflow: hidden;

        /*ボタンの形状*/
        text-decoration: none;
        display: block;
        border: 1px solid #571E24;/* ボーダーの色と太さ */
        padding: 1rem 2rem;
        text-align: center;
        outline: none;
        margin: 32px auto 0;
        border-radius: 3px;
        background-color: #571E24;

        /*アニメーションの指定*/   
        transition: ease .2s;
        cursor: pointer;
    }

    /*ボタン内spanの形状*/
    .btn-see-more span {
        position: relative;
        z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
        color: #fff;   
    }

    .btn-see-more:hover span{
        color:#571E24;
    }

    /*== 背景が流れる（中央から横全体） */
    .bgcenterx:before {
        content: '';

        /*絶対配置で位置を指定*/
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;

        /*色や形状*/
        background: #F2F1EE;
        width: 100%;
        height: 100%;

        /*アニメーション*/
        transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
        transform: scale(0, 1);
        transform-origin: top;
    }

    /*hoverした際の形状*/
    .bgcenterx:hover:before{
        transform:scale(1, 1);
    }

    .tab-navigation__wrapper {
        padding: 0 1rem;
    }

    /* タブのスタイル */
    .tab-navigation__title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .tab-navigation__description {
        font-size: 1rem;
        color: #333;
        margin-bottom: 1.5rem;
    }

    .tab-navigation {
    background-color: #fff;
    padding: 1rem 0;
    }

    .tab-buttons {
    display: flex;
    justify-content: center; /* 中央寄せ */
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    }

    .tab-button {
        flex: 0 0 auto;
        min-width: 100px; /* 等幅指定 */
        margin: 0; /* 隙間をなくす */
        border: none;
        background-color: #fff;
        text-align: center;
        font-size: 14px;
        line-height: 40px;
        cursor: pointer;
        border-right: 1px solid #fff;
        color: #333;
    }

    .tab-button:last-child {
        border-right: none;
    }

    .tab-button.is-active {
        background-color: #F2F1EE;
        border-right: 1px solid #F2F1EE;
        color: #333;
        font-weight: bold;
    }

    .tab-button:last-child {
    border-right: none;
    }

    .tab-panel {
    animation: fadeIn 0.3s ease-in-out;
    }

    .tab-panels {
    padding: 1.5rem 0;
    }

    .tab-panel {
    display: none;
    }

    .tab-panel.is-visible {
    display: block;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* パネル内レイアウト */
    .content-box-important-content {
        background-color: #F2F1EE;
        padding: 1rem;
        margin-top: 1rem;
    }

    .page .content-box {
        min-height: 50px;
        font-size: 16px;
        overflow: hidden;
    }

    .page .content-box .content-box-title {
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        background: #F1F0ED;
        height: 50px;
        margin: 0;
        padding: 1em 1.5em;
        font-size: 18px;
        font-weight: 500;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .page .content-box .content-box-description {
        height: auto;
        padding: 2em;
        visibility: visible;
    }f

    .content-box-description p {
        font-size: 16px;
    }

    .content-box-description .card-thumbnail {
        width: auto;
        margin-bottom: 1rem;
    }

    .content-box-list {
        height: auto;
        padding: 2em;
        visibility: visible;
    }

    .content-box-images {
        max-width: 500px;
    }

    .content-box-sub-title {
        padding: 2em;
    }

    .content-box-shelf {
        display: flex;
        gap: 1rem;
        padding: 1em 1em 0 1em;
    }

    .content-box-shelf__item {
        flex: 0 0 auto;
        width: calc(100% / 2 - 0.5rem);
        padding: 0.5rem;
        text-align: center;
    }

    .content-box-notice {
        font-weight: bold;
        color: #571E24;
    }

    .content-description {
        margin-bottom: 4em!important;
    }

    .u-mt-24 {
        margin-top: 24px!important;
    }
    .u-ul {
        text-decoration: underline;
    }

    .u-mb-16 {
        margin-bottom: 16px!important;
    }

    .u-mb-24 {
        margin-bottom: 24px!important;
    }

    .u-mb-32 {
        margin-bottom: 32px!important;
    }

    .u-mb-40 {
        margin-bottom: 40px!important;
    }

    @media (min-width: 600px) {
        .page .content-box .content-box-title{
            font-size: 18px;
        }

        .tab-navigation__wrapper {
            padding: 0!important;
        }
    
        .site-policy-content {
            max-width: 956px;
            margin: 0 auto;
            padding: 2rem 0;
        }

        .tab-panels {
        padding: 1.5rem 1rem;
        }

        .tab-button--7 .tab-button {
            width: calc(100% / 7)!important; /* 7つのタブを等分 */
        }

        .tab-button--6 .tab-button {
            width: calc(100% / 6)!important; /* 6つのタブを等分 */
        }

        .tab-button--2 .tab-button {
            width: calc(100% / 2)!important; /* 2つのタブを等分 */
        }

        .tab-panels {
            min-height: 500px;
        }

        .content-box-receipt {
            max-width: 70%;
            margin-top: 1rem!important;
        }

        .content-box-description .card-thumbnail {
            height: 45px;
        }

        .content-box-shelf {
            padding: 1em 2em 2em 2em!important;
        }

    }
