/*====================================================================
agreement-common
=====================================================================*/

#policy, #company {
    scroll-margin-top: 120px;
}

/*====================================================================
パンくず
=====================================================================*/

.breadcrumb {
    background-color: var(--bg-color);
}

/*====================================================================
agreement
=====================================================================*/

.bg-color {
    background-color: var(--bg-color);
    padding: 100px 0;
}

.terms-content {
    margin-top: 80px;
}

.terms-content__detail {
    margin-top: 50px;
}

.terms-content__title {
    font-size: 24px;
    font-weight: normal;
    text-indent: -0.5em;
    /* かぎかっこの分だけ左に戻す */
}

.terms-content__title span {
    font-size: 16px;
}


/*====================================================================
policy
=====================================================================*/

:root {
    /* --card-max-w: 760px; */
    --scroll-height: 280px;
    /* ← 枠の表示高さ（必要に応じて調整） */
    --radius: 14px;
    --border: #333;
}

.policy {
    max-width: var(--card-max-w);
    /* margin: 24px auto; */
    margin-top: 100px;
    padding: 80px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    /* background: #fff; */
}

.policy-container {
    width: 100%;
}

/* スクロール枠 */
.policy-scroll {
    max-height: var(--scroll-height);
    /* ← これが要。固定にしたいなら height に */
    overflow: auto;
    /* 中だけスクロール */
    padding: 14px 16px;
    /* border: 2px solid #2f5fbf1a;        /* 薄い枠色はお好みで */
    border-radius: 8px;
    /* background: #fff; */
    margin-top: 30px;
    /* iOSの慣性スクロール */
    -webkit-overflow-scrolling: touch;
}

/* （任意）読みやすさ */
.policy-text {
    margin: 0;
    padding-left: 1.5em;
    line-height: 1.9;
}

.policy-text li+li {
    margin-top: .5em;
}

/* （任意）スクロールバーの装飾（WebKit系） */
.policy-scroll::-webkit-scrollbar {
    width: 10px;
}

.policy-scroll::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 8px;
    border: 2px solid #fff;
}

.policy-scroll::-webkit-scrollbar-track {
    background: #f4f4f4;
    border-radius: 8px;
}

/* （任意）印刷時は全量表示 */
@media print {
    .policy-scroll {
        max-height: none;
        overflow: visible;
        border-color: transparent;
    }
}



/*====================================================================
company
=====================================================================*/

.company {
    margin-top: 100px;
}


.company-table {
    margin-top: 80px;
    border-top: 1px solid #ccc;
}

.company-table div {
    display: flex;
    border-bottom: 1px solid #ccc;
    padding: 1.2em 20px;
    gap: 2em;
}

.company-table span {
    padding: 0 10px;
}

.company-table dt {
    flex: 0 0 120px;
    font-weight: 600;
}

.company-table dd {
    flex: 1;
    margin: 0;
    line-height: 1.8;
}

.company-table a {
    color: #4169e1;
    text-decoration: none;
}

.company-table a:hover {
    text-decoration: underline;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .company-table div {
        flex-direction: column;
        gap: 0.3em;
    }

    .company-table dt {
        flex: none;
    }
}


.company-link {
    margin-top: 50px;
    text-align: center;
}

.company-link a {
    display: inline-block;
    padding: 8px 0;
    width: 30vw;
    max-width: 300px;
    border: 1px solid #999;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s;
}

.company-link a:hover {
    background-color: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}



/*====================================================================
shop-list
=====================================================================*/

.shop-list {
    margin-top: 100px;
}

.shop-list__content {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
}

.shop-list__content li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 45%;
}

.shop-list__img {
    width: 50%;
    height: auto;
}

.shop-list__box {
    width: 45%;
}

.shop-list__box span {
    font-size: 14px;
}

.shop-map {
    color: rgb(62, 62, 255);
    font-size: 14px;
    text-decoration: none;
}

.shop-map:hover {
    opacity: 0.7;
}

.shop-btn a, .contact-btn a {
    max-width: 200px;
}

.shop-btn {
    margin-top: 20px;
}

.shop-btn a {
    display: inline-block;
    padding: 3px 0;
    text-align: center;
    width: 15vw;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 9999px;
    /* 完全な丸み */
    text-decoration: none;
    transition: all 0.3s;
}

.shop-btn a:hover {
    background: #fff;
    color: #000;
    border-color: #000;
}

.contact-btn {
    margin-top: 10px;
}

.contact-btn a {
    display: inline-block;
    padding: 3px 0;
    width: 15vw;
    text-align: center;
    border: 1px solid #000;
    border-radius: 9999px;
    color: #000;
    text-decoration: none;
    background: #fff;
    transition: all 0.3s;
}

.contact-btn a:hover {
    background: #000;
    color: #fff;
}

/*====================================================================








ここからレスポンシブ対応
タブレット









=====================================================================*/




/* --- レスポンシブ --- */
@media (max-width: 960px) {


    /*====================================================================
terms
=====================================================================*/

    .terms-container {
        width: 90%;
    }

    /*====================================================================
policy
=====================================================================*/

    .policy {
        width: 90%;
    }

    /*====================================================================
company
=====================================================================*/

    .company-link a {
        width: 300px;
    }

    /*====================================================================
shop-list
=====================================================================*/

    .shop-list__content {
        display: block;
    }

    .shop-list__content li {
        width: 90%;
        margin: 0 auto;
        padding-bottom: 50px;
        border-bottom: 1px solid #000;
        align-items: flex-start;
    }

    .shop-list__content li:not(:first-child) {
        margin-top: 50px;
    }

    .shop-btn a {
        width: 50vw;
    }

    .contact-btn a {
        width: 50vw;
    }

    .banner {
        text-align: center;
    }

    .banner img {
        width: 50%;
    }
}

/*====================================================================








ここからレスポンシブ対応
スマホ









=====================================================================*/


@media (max-width: 480px) {

    /*====================================================================
shop-list
=====================================================================*/

    .shop-btn a {
        width: 160px;
    }

    .contact-btn a {
        width: 160px;
    }

}