/*---------------------------------
店舗情報ページ
---------------------------------*/

/* ==============================
   セクション共通
   ============================== */

.section_content--shop_info {
    padding-bottom: 80px;
}

.section_content--shop_info .section_title,
.section_content--company_info .section_title {
    text-align: left;
    color: var(--text-color);
}

/* ==============================
   テーブル
   ============================== */

.shop_table {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.shop_table:not(:last-child) {
    margin-bottom: 40px;
}


.shop_table__row {
    padding-bottom: 10px;
    border-bottom: 1px solid #D9D9D9;
}

.shop_table__label {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.shop_table__data {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.7;
}

/* --- 電話番号リンク --- */

.shop_table__data a {
    color: var(--text-color);
    text-decoration: none;
}

/* --- 地図 --- */

.shop_map {
    margin-top: 10px;
    width: 100%;
    aspect-ratio: 335 / 209;
}

.shop_map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* --- 事業内容リスト --- */

.shop_business_list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.shop_business_list li {
    padding-left: 1em;
    text-indent: -1em;
}

.shop_business_list li::before {
    content: "・";
}

/* ==============================
   スライダー
   ============================== */

.shop_slider {
    position: relative;
    padding: 0 27px;
    margin-bottom: 25px;
}

.shop_slider__track {
    position: relative;
    aspect-ratio: 280 / 180;
}

.shop_slider__item {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.shop_slider__item.is-active {
    opacity: 1;
    pointer-events: auto;
}

.shop_slider__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- 矢印ボタン --- */

.shop_slider__btn {
    position: absolute;
    top: 0;
    width: 18px;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1;
    -webkit-appearance: none;
    appearance: none;
}

.shop_slider__btn:focus-visible,
.shop_slider__dot:focus-visible {
    outline: none;
}

.shop_slider__btn--prev {
    left: 0;
}

.shop_slider__btn--next {
    right: 0;
}

.shop_slider__btn span {
    display: block;
    width: 15px;
    height: 15px;
    border-top: 2px solid var(--text-color);
    border-right: 2px solid var(--text-color);
}

.shop_slider__btn--prev span {
    transform: rotate(-135deg) translate(-2px, 2px);
}

.shop_slider__btn--next span {
    transform: rotate(45deg) translate(-2px, 2px);
}

/* --- ドット --- */

.shop_slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.shop_slider__dot {
    -webkit-appearance: none;
    appearance: none;
    width: 50px;
    height: 2px;
    background: #D9D9D9;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;
}

.shop_slider__dot.is-active {
    background: var(--accent-color);
}

/* ==============================
   PC
   ============================== */

@media (min-width: 768px) {

    /* --- セクション共通 --- */

    .section_content--shop_info {
        padding: 0 20px 150px;
    }

    .section_content--company_info {
        padding: 0 20px;
    }

    .section_content--shop_info .section_title,
    .section_content--company_info .section_title {
        text-align: center;
        margin-bottom: 50px;
    }

    .section_content--shop_info .content_box,
    .section_content--company_info .content_box {
        max-width: 700px;
        margin: 0 auto;
    }


    /* --- テーブル --- */

    .shop_table {
        gap: 50px;
    }

    .shop_table__row {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }

    .shop_table__label {
        flex-shrink: 0;
        width: 185px;
        padding-top: 2px;
    }

    .shop_table__data {
        flex: 1;
    }

    .shop_map {
        margin-top: 15px;
        aspect-ratio: 515 / 230;
    }

    /* --- スライダー --- */

    .shop_slider {
        padding: 0 38px;
    }

    .shop_slider__track {
        aspect-ratio: 624 / 356;
    }

    .shop_slider__btn {
        width: 30px;
    }

    .shop_slider__btn span {
        width: 20px;
        height: 20px;
    }
}