/* ショップ一覧ページ専用スタイル */

/* サブビジュアル背景 */
body.shop-list-page .sub-visual {
    background-image: url('../../shop/images/svimg.jpg');
}

/* Shop Lineup セクション */
.shop-lineup-section {
    padding: 100px 0 80px;
    position: relative;
    background: #ffffff;
}

.shop-lineup-section h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 25px;
    color: #757575;
    position: relative;
    z-index: 10;
}


.shop-lineup-section .english-text {
    margin-bottom: 8px;
    display: block;
    position: relative;
    z-index: 10;
}

.shop-lineup-section .section-header p {
    text-align: center;
    margin: 0 auto 40px;
    font-size: 1em;
    line-height: 1.7;
    position: relative;
    z-index: 10;
    color: #474747;
}

#shop-lineup-heading {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 30px;
    color: #757575;
    font-weight: 400;
    position: relative;
    z-index: 10;
}

#shop-lineup-heading:not(.english-text) {
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

#shop-lineup-heading .english-text {
    font-family: 'Quattrocento', serif;
    font-size: 45px;
    display: block;
}

.shop-lineup-section .section-header {
    text-align: center;
    position: relative;
    z-index: 10;
    margin-bottom: 90px;
}

.shop-lineup-slides-container {
    width: 100%;
    margin: 40px auto;
    position: relative;
    z-index: 10;
    max-width: 1600px;
}

.shop-lineup-slide-row {
    display: flex;
    align-items: stretch;
    margin-bottom: 60px;
    width: 100%;
    column-gap: 20px;
    padding: 0 15px;
}

.shop-lineup-slide-row:nth-child(odd) {
    flex-direction: row;
    justify-content: flex-start;
    padding-right: 10%;
}

.shop-lineup-slide-row:nth-child(even) {
    flex-direction: row-reverse;
    justify-content: flex-start;
    padding-left: 10%;
}

.shop-lineup-slide {
    position: relative;
    text-align: center;
    flex: 2;
    margin: 0;
    overflow: hidden;
    max-height: 600px;
}

.shop-lineup-slide-row:nth-child(even) .shop-lineup-slide {
    margin: 0;
}

.shop-lineup-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.shop-lineup-slide-carousel {
    position: relative;
}

.shop-lineup-slide-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 600px;
    min-height: 560px;
    overflow: hidden;
}


.shop-lineup-slide-carousel .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.shop-lineup-slide-carousel .carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff80;
    cursor: pointer;
    transition: background 0.3s ease;
}

.shop-lineup-slide-carousel .carousel-indicators .indicator.active {
    background: #ffffff;
}

.shop-lineup-slide-row .shop-lineup-card {
    flex: 1;
    max-width: 360px;
}

.shop-lineup-card {
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.shop-lineup-card h3 {
    padding: 8px 0;
    font-size: 16px;
    color: #757575;
    margin: 0 0 8px 0;
    border-bottom: 1px solid #ccc;
}

.shop-lineup-card .english-text {
    font-family: 'Quattrocento', serif;
    font-weight: 400;
    font-size: 30px;
    margin-bottom: 0;
    display: block;
    word-break: break-all;
}

.shop-lineup-card p {
    padding: 0 0 20px;
    
    font-size: 0.95em;
    margin: 0;
}

.shop-lineup-card .logo-pair {
    margin-top: auto;
}

.shop-lineup-card .btn-more {
    width: 100%;
    border: 1px solid transparent;
    margin-bottom: 1px;
}

.shop-lineup-card .btn-more:hover {
    background: #ffffff;
    color: #1e3c72;
    border: 1px solid #1e3c72;
}

.shop-lineup-card .btn-more:hover::after {
    border-top-color: #1e3c72;
    border-right-color: #1e3c72;
}

/* ロゴリンク */
.logo-pair {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1 1 45%;
    min-width: 120px;
}

.logo-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 4px 6px 4px 6px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    background: #ffffff;
    transition: opacity 0.2s ease;
}

.logo-link::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.65em;
    color: #aaaaaa;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
}

.logo-link:hover img {
    opacity: 0.7;
}

.note-container {
    display: block;
    max-width: 100%;
    width: auto;
    margin: 20px auto 0;
    text-align: center;
}

.note-text {
    font-size: 0.75em; /* 12px相当 */
    
    color: #474747;
    margin: 0;
}

.logo-label {
    position: absolute;
    top: 4px;
    left: 4px;
    padding: 2px 6px;
    font-size: 0.6em;
    color: #474747;
    line-height: 1.2;
    background: #f5f5f5;
    border: none;
    border-radius: 3px;
}

.logo-item img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 36px;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

/* スライドフレーム共通 */
.slide-frame {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide-frame.active {
    opacity: 1;
    z-index: 1;
}

.slide-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-logo-overlay {
    position: absolute;
    bottom: 6px;
    left: 12px;
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 120px;
    min-height: 60px;
    z-index: 3;
    pointer-events: none;
}

.slide-logo-overlay img {
    display: block;
    width: auto;
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
}

/* タブレット */
@media (max-width: 1024px) {
    .shop-lineup-section {
        margin: 0;
    }
    #shop-lineup-heading {
        font-size: 0.75em;
    }
    #shop-lineup-heading .english-text,
    .shop-lineup-section .english-text {
        font-size: 3.25em;
    }
    #shop-lineup-heading:not(.english-text) {
        font-size: 0.75em;
    }
    .shop-lineup-slides-container {
        background-color: transparent;
        margin: 0;
    }
    .shop-lineup-slides-container h3 {
        font-size: 1em;
    }
    .shop-lineup-slides-container h3 .english-text {
        font-size: 2em;
    }
}

/* スマホ */
@media (max-width: 768px) {
    .note-container {
        text-align: left;
        padding-left: 1em;
        padding-right: 1em;
    }
    .logo-pair {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .logo-item {
        flex: 1 1 48%;
        min-width: 120px;
    }
    .logo-link {
        padding: 4px 6px;
    }
    .logo-item img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 36px;
        aspect-ratio: auto;
        object-fit: contain;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
    }
    .slide-logo-overlay {
        bottom: 4px;
        left: 10px;
        min-width: 110px;
        min-height: 52px;
    }
    .slide-logo-overlay img {
        max-width: 120px;
        max-height: 52px;
    }
    .shop-lineup-slide-row:nth-child(even) .shop-lineup-slide {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .shop-lineup-section {
        padding: 60px 0;
    }
    .shop-lineup-section .section-header p {
        text-align: left;
    }
    .shop-lineup-section .section-header {
        margin-bottom: 0;
    }
    .shop-lineup-slide-row {
        flex-direction: column;
        margin-bottom: 40px;
        min-height: auto;
        padding: 0 15px;
    }
    .shop-lineup-slide-row:last-child {
        margin-bottom: 0;
    }
    .shop-lineup-slide-row:nth-child(odd),
    .shop-lineup-slide-row:nth-child(even) {
        flex-direction: column;
        padding: 0 15px;
    }
    .shop-lineup-slide {
        margin: 0;
        flex: 1;
        max-width: 100%;
        height: 200px;
        aspect-ratio: 16/9;
        overflow: hidden;
    }
    .shop-lineup-slide-wrapper {
        min-height: 0;
        max-height: none;
    }
    .shop-lineup-slide-row .shop-lineup-card {
        margin: 0;
        max-width: 100%;
        flex: none;
    }
    .shop-lineup-card h3 {
        font-size: 1em;
        padding: 15px 15px 8px;
        margin: 0 0 0.5em 0;
    }
    .shop-lineup-card p {
        padding: 0 15px 15px;
        font-size: 0.9em;
    }
    .shop-list-page .section-header .btn-more {
        width: 70%;
        margin: 0 auto 60px auto;
    }
}
