/* Shop Detail Page Styles */

* {
    overscroll-behavior: auto;
}

.ec-section-title{
    margin-bottom: 20px;
}

.shop-caption {
    font-size: 1.4rem;
    line-height: 1.8;
    /*color: #333;*/
    margin: 20px 0 40px 0;
    padding: 20px;
    /*background-color: #f9f9f9;*/
    /*border-left: 4px solid #b1a433;*/
}

html {
    scroll-behavior: smooth;
}

#map2{
    margin: auto;
}

/* Reservation Link */
.reservation-link {
    margin: 122px 0 136px 0;
    text-align: center;
}

.reservation-link a {
    width: 590px;
    height: 120px;
    line-height: 120px;
    border-radius: 60px;
    background-color: #3d4173;
    border: 2px solid #2a2d54;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.reservation-link a span {
    flex: 1;
    padding-left: 60px;
    font-size: 32px;
    letter-spacing: 0.115em;
    color: #fff;
}

.reservation-link a img {
    margin-right: 60px;
    width: 20px;
    height: 27px;
}

/* Shop Image Slider */
.shop-image-slider {
    position: relative;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    margin-right:20px;
}

.shop-image-slider .slides-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}


.shop-image-slider .slide {
    display: none;
    width: 100%;
}

.shop-image-slider .slide.active {
    display: block;
}

.shop-image-slider .slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.shop-image-slider .slider-prev,
.shop-image-slider .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    line-height: 1;
}

.shop-image-slider .slider-prev:hover,
.shop-image-slider .slider-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.shop-image-slider .slider-prev {
    left: 10px;
}

.shop-image-slider .slider-next {
    right: 10px;
}

.shop-image-slider .slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    margin-top: 10px;
}

.shop-image-slider .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}

.shop-image-slider .slider-dot:hover {
    background-color: #999;
}

.shop-image-slider .slider-dot.active {
    background-color: #333;
}

/* Responsive Slider */
@media (max-width: 968px) {
    .shop-image-slider .slider-prev,
    .shop-image-slider .slider-next {
        font-size: 2rem;
        padding: 5px 15px;
    }

    .shop-image-slider .slider-prev {
        left: 5px;
    }

    .shop-image-slider .slider-next {
        right: 5px;
    }

    .shop-image-slider .slider-dots {
        padding: 10px 0;
        margin-top: 5px;
    }

    .shop-image-slider .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* Available Items Section */
.shop-available-items {
    margin-top: 10px;
    padding: 15px 20px;
    background-color: transparent;
}

.available-items-label {
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
    text-align: left;
    background-color: #c9bdb1;
    padding: 8px 30px;
    width: 250px;
    display: inline-block;
}

.available-items-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.available-item-badge {
    padding: 8px 24px;
    background-color: #FFF;
    color: #333;
    font-size: 1.2rem;
    border-radius: 20px;
    font-weight: 400;
    text-align: center;
    min-width: 140px;
    border: 1px solid #B2A49B;
}

/* Responsive Available Items */
@media (max-width: 768px) {
    .shop-available-items {
        margin-top: 8px;
        padding: 12px 15px;
    }

    .available-items-label {
        font-size: 1.2rem;
        margin-bottom: 10px;
        position: absolute;
        width: 100%;
        left: 0;
    }

    .available-items-list {
        gap: 10px;
    }

    .available-item-badge {
        padding: 6px 20px;
        font-size: 1.2rem;
        min-width: 120px;
        display: inline-block;
    }
}

/* Order Types Section */
.shop-order-types {
    margin-top: 15px;
    padding: 15px 20px;
    background-color: transparent;
    display: inline-block;
}

.order-types-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
/* shopinfo2セクションのPC用左右レイアウト */
.shopinfo2 {
    margin-top: 30px;
}

@media (min-width: 768px) {
    .shopinfo2 {
        display: flex;
        gap: 30px;
        align-items: flex-start;
    }

    .shopinfo2 .left {
        flex: 1;
        order: 1;
    }

    .shopinfo2 .right {
        flex: 0 0 auto;
        order: 2;
        min-width: 280px;
    }
}

/* スマホでは縦並び */
@media (max-width: 767px) {
    .shopinfo2 {
        display: block;
    }

    .shopinfo2 .right {
        margin-bottom: 20px;
    }

    .shopinfo2 .left {
        margin-top: 20px;
    }
}

/* 対応アイテムのスタイリング */
.available-items-label {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
}

.shop-order-types,
.shop-available-items {
    margin-bottom: 20px;
}

.order-types-list,
.available-items-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.order-type-badge.premium {
    background-color: #f0e6ff;
    color: #6b2fb5;
    /*border: 1px solid #6b2fb5;*/
}

.order-type-badge.basic {
    background-color: #e6f3ff;
    color: #2f7ab5;
    /*border: 1px solid #2f7ab5;*/
}

.available-item-badge {
    color: #333;
    border: 1px solid #ddd;
}

/* 予約ボタンコンテナ */
.reservation-btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reservation-link {
    width: 100%;
}

@media (min-width: 768px) {
    .reservation-link {
        max-width: 280px;
    }
}
.order-type-badge {
    padding: 8px 24px;
    font-size: 1.3rem;
    border-radius: 20px;
    font-weight: 400;
    text-align: center;
    min-width: 140px;
    color: #333;
    background-color: #d9d9d9;
    border: 1px solid #c0c0c0;
}

.order-type-badge.premium {
    font-size: 1.2rem;
    background-color: #c9bdb1;
    color: #FFF;
}

.order-type-badge.basic {
    font-size: 1.2rem;
    background-color: #c9bdb1;
    color: #FFF;
}



/* Responsive Order Types */
@media (max-width: 968px) {
    .shop-order-types {
        margin-top: 50px;
        padding: 12px 15px;
    }

    .order-types-list {
        gap: 10px;
    }

    .order-type-badge {
        padding: 6px 20px;
        font-size: 1.2rem;
        min-width: 120px;
    }
}

/* enamu Description Section */
.enamu-description-section {
    background-color: #c8c0bc;
    padding: 40px 20px;
    margin: 60px 0;
}

.description-content {
    max-width: 1200px;
    margin: 0 auto;
}

.description-content p {
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
    text-align: left;
}

/* Footer Navigation Section */
.footer-navigation-section {
    /*background-color: #f5f5f5;*/
    padding: 0;
    margin: 60px 0 0 0;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.footer-nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 22px;
    background-color: #262959;
    color: white;
    text-decoration: none;
    border: 0.1px solid #ffffff;
    transition: background-color 0.3s ease;
}

.footer-nav-item:hover {
    background-color: #4a4e8a;
}

.nav-label {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.nav-arrow {
    font-size: 2.4rem;
    font-weight: 300;
}

/* Responsive Footer Navigation */
@media (max-width: 768px) {
    .enamu-description-section {
        padding: 30px 15px;
        margin: 40px 0;
    }

    .description-content p {
        font-size: 1.0rem;
        line-height: 1.8;
    }

    /*.footer-nav-grid {*/
    /*    grid-template-columns: 1fr;*/
    /*}*/

    .footer-nav-item {
        padding: 20px 20px;
    }

    .nav-label {
        font-size: 1.4rem;
    }

    .nav-arrow {
        font-size: 2rem;
    }
}

/* Common Section Styles */
.shop-guide-section,
.personal-stylist-section,
.personal-styling-section,
.order-flow-section,
.order-method-section {
    margin: 60px 0;
    max-width: 1200px;
    padding: 0;
    overflow: hidden;
}

.section-header {
    background-color: #c9bdb1;
    padding: 15px 30px;
    margin-bottom: 0;
}

.section-header .section-title {
    font-size: 1.8rem;
    font-weight: 400;
    color: #1A1311;
    letter-spacing: 0.05em;
    margin: 0;
    text-align: left;
}

.section-header2 .section-title {
    font-size: 1.8rem;
    font-weight: 400;
    color: #1A1311;
    letter-spacing: 0.05em;
    margin: 0;
    text-align: center;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #1A1311;
    font-weight: 300;
    margin-left: 15px;
}

.section-content {
    text-align: center;
}

/* Beginners Guide Section */
.shop-guide-section {
    /*background-color: #d9d4cc;*/
}

.shop-guide-section .section-content {
    padding: 40px 30px;
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.guide-box {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.guide-box:hover {
    transform: translateY(-5px);
}

.guide-box-large {
    height: 450px;
}

.guide-box-small {
    height: 215px;
}

.guide-box-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-box-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Guide Footer Text */
.guide-footer-text {
    text-align: center;
    margin-top: 30px;
}

.guide-footer-text p {
    font-size: 1.6rem;
    font-weight: 600;
    color: #dc3545;
    letter-spacing: 0.05em;
}

/* Personal Stylist Section */
.personal-stylist-section {
    /*background-color: #d9d4cc;*/
}

.personal-stylist-section .section-content {
    padding: 40px 30px;
}

.stylist-intro {
    text-align: left;
    font-size: 1.4rem;
    line-height: 2;
    color: #333;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stylist-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.stylist-item {
    text-align: center;
    flex: 0 0 calc(25% - 23px);
    max-width: calc(25% - 23px);
}

.stylist-image {
    width: 100%;
    overflow: hidden;
    margin: 0 auto 15px;
    /*border-radius: 8px;*/
}

.stylist-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.stylist-name {
    margin-top: 0;
    font-size: 1.4rem;
    color: #333;
    font-weight: 400;
}

/* Personal Styling Section */
.personal-styling-section {
    background-color: #f4f4f4;
    padding: 50px 20px;
    margin: 60px 0;
    max-width: 1200px;
    border-radius: 10px;
}

.styling-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.styling-image {
    flex: 0 0 300px;
}

.styling-image img {
    width: 100%;
    height: auto;
    display: block;
}

.styling-text {
    flex: 1;
    text-align: left;
}

.styling-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.styling-description {
    font-size: 1.3rem;
    line-height: 2;
    color: #333;
    margin-bottom: 20px;
}

.styling-note {
    font-size: 1.2rem;
    color: #666;
}

.styling-link {
    color: #4169e1;
    font-size: 1.3rem;
    text-decoration: underline;
    display: inline-block;
    margin-top: 15px;
}

.styling-link:hover {
    color: #3155c2;
}

/* Order Flow Section */
.order-flow-section {
    background-color: #f4f4f4;
}

.order-flow-section .section-content {
    padding: 40px 30px;
}

.flow-description {
    font-size: 1.4rem;
    line-height: 2;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

/* Order Method Sections (Store & Online) */
.order-method-section {
    background-color: #ebebeb;
    border-radius: 10px;
    padding: 15px;
}

.order-method-section .section-content {
    padding: 40px 30px;
    position: relative;
}

.store-section {
    background-color: #f4f4f4;
}

.online-section {
    background-color: #ebebeb;
}


.order-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.order-step {
    text-align: center;
    max-width: 150px;
    position: relative;
}

/* 番号間の線 */
.order-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 103px;
    left: calc(50% + 18px);
    width: 90px;
    height: 2px;
    background-color: #999;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ccc;
}

.step-icon img {
    width: 50%;
    height: 50%;
    object-fit: contain;
}

.step-number {
    font-size: 1.6rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 5px;
}

.step-title {
    font-size: 1.3rem;
    color: #333;
    line-height: 1.5;
}

/* Shop List Footer Section */
.shop-list-footer-section {
    max-width: 1200px;
    padding: 60px 20px;
    margin: auto;
}

.shop-list-footer-header {
    text-align: center;
    margin-bottom: 20px;
}

.enamu-logo-footer {
    display: inline-block;
}

.logo-text-footer {
    font-size: 3.5rem;
    font-weight: 300;
    color: #333;
    letter-spacing: 0.1em;
    font-family: 'Georgia', serif;
}

.shop-list-footer-title {
    font-size: 2rem;
    font-weight: 400;
    color: #333;
    text-align: left;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.shop-area-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: #b1a433;
    text-align: left;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: solid 1px #b1a433;
}

.shop-list-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.shop-list-footer-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.shop-list-footer-info {
    flex: 1;
}

.shop-list-footer-name {
    font-size: 1.4rem;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.shop-list-footer-address {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.shop-list-footer-btn {
    background-color: #2a2d54;
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    font-size: 1.3rem;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.shop-list-footer-btn:hover {
    background-color: #3d4173;
    color: white;
}

/* PC Flex Utility */
.pc-flex {
    display: flex !important;
}

/* Responsive Design */
@media (max-width: 968px) {
    /* SP版で線のスタイルを調整 */
    .order-step:not(:last-child)::after {
        left: calc(50% + 10px);
        width: calc(100%);
    }

    /* SP版で3つで改行 - 3の倍数の後ろの線を非表示 */
    .order-step:nth-child(3n)::after {
        display: none;
    }

    .pc-flex {
        display: none !important;
    }

    .shop-caption {
        font-size: 1.2rem;
        margin: 15px 0 30px 0;
        padding: 15px;
    }

    .reservation-link {
        margin: 60px 0 80px 0;
    }

    .reservation-link a {
        width: 90%;
        max-width: 400px;
        height: 80px;
        line-height: 80px;
        border-radius: 40px;
    }

    .reservation-link a span {
        padding-left: 30px;
        font-size: 20px;
    }

    .reservation-link a img {
        margin-right: 30px;
        width: 15px;
        height: 20px;
    }

    .shop-guide-section,
    .personal-stylist-section,
    .personal-styling-section,
    .order-flow-section,
    .order-method-section {
        /*margin: 40px 15px;*/
    }

    .section-header {
        padding: 12px 20px;
        position: absolute;
        width: 100%;
        left: 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-left: 10px;
    }

    .shop-guide-section .section-content,
    .personal-stylist-section .section-content,
    .personal-styling-section .section-content,
    .order-flow-section .section-content,
    .order-method-section .section-content {
        margin-top: 60px;
        padding: 20px 9px;
    }

    .shop-guide-section .section-content {
        padding: 30px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .guide-grid {
        display: flex;
        flex-direction: row;
        gap: 15px;
        padding: 0 20px;
        min-width: min-content;
    }

    .guide-box-column {
        display: flex;
        flex-direction: row;
        gap: 15px;
    }

    .guide-box-large,
    .guide-box-small {
        flex: 0 0 280px;
        width: 280px;
        height: 350px;
    }

    .guide-footer-text p {
        font-size: 1.4rem;
    }

    .stylist-list {
        gap: 20px;
    }

    .stylist-item {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .stylist-image {
        /*border-radius: 5px;*/
    }

    .stylist-name {
        font-size: 1.3rem;
    }

    .personal-styling-section {
        padding: 30px 15px;
        /*margin: 40px 15px;*/
    }

    .styling-content {
        flex-direction: column;
        gap: 20px;
    }

    .styling-image {
        flex: 0 0 30px;
        max-width: 300px;
        width: 300px;
        margin: 0 auto;
    }

    .styling-text {
        flex: 1;
    }

    .styling-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .styling-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .styling-link {
        font-size: 1.1rem;
    }

    .order-steps {
        flex-wrap: wrap;
        align-items: center;
        gap: 20px;
        justify-content: center;
        place-self: flex-start;
    }


    .order-step {
        flex: 0 0 calc(33.333% - 14px);
        max-width: 150px;
        align-self: flex-start;
    }

    .shop-list-footer-section {
        padding: 40px 15px;
        width: 90%;
    }

    .logo-text-footer {
        font-size: 2.8rem;
    }

    .shop-list-footer-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .shop-area-title {
        font-size: 1.4rem;
        margin: 20px 0 15px 0;
        padding-bottom: 8px;
    }

    .shop-list-footer-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .shop-list-footer-item {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .shop-list-footer-name {
        font-size: 1.3rem;
    }

    .shop-list-footer-address {
        font-size: 1.1rem;
    }

    .shop-list-footer-btn {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
        font-size: 1.2rem;
    }
    .shop-order-types{
        width: 100%;
    }
}
