.noto-sans-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.zen-old-mincho-regular {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.oswald {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

p {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
}

a {
  text-decoration: none;
}

body {
    background-color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

.header {
    width: 100%;
    height: 60px;
    background-color: #4c4948;
}

.header-inner {
    width: 100%;
    max-width: 370px;
    height: 30px;
    margin: auto;
}

.header-inner p {
    width: 100%;
    padding-top: 20px;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 7px;
    color: white;
    text-align: center;
}

/* トップムービー（PC用） */
.top-movie {
    width: 100%;
    height: auto;
    margin: auto;
    display: block;
}

/* pc-only, sp-only の初期表示 */
.sp-only {
    display: none !important;
}

/* タイトル */
.title-obi {
    width: 100%;
    height: 85px;
    background-color: #1a194c;
    margin-top: -10px;
    margin-bottom: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.title-01 {
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 30px;
    color: white;
    text-align: center;
    letter-spacing: 8px;
    padding-top: 25px;
    margin: 0;
}

.title-02 {
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: white;
    text-align: center;
    letter-spacing: 3px;
    margin-top: -5px;
}

.main {
    width: 100%;
    max-width: 370px;
    height: auto;
    margin: auto;
}

.main-img {
    width: 100%;
}

.main-p-1 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a194c;
    text-align: center;
    letter-spacing: 3px;
    line-height: 35px;
}

.main-p-2 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #4c4948;
    text-align: center;
    letter-spacing: 3px;
    line-height: 25px;
    padding-bottom: 20px;
}

.contact {
    width: 100%;
    max-width: 370px;
    height: 60px;
    border-radius: 10px;
    background-color: #1a194c;
    margin: auto;
}

.contact p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 3px;
    text-align: center;
    padding-top: 20px;
    margin: 0;
    color: white;
}

/* =========================================
   サロン情報 (リスト表示部分)
   ========================================= */
.salon-info {
    margin: 60px 0;
}

.salon-title {
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: #333333;
    text-align: center;
    letter-spacing: 8px;
    margin-bottom: 30px;
}

.salon-inner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.salon {
    width: 220px;
    text-align: center;
    cursor: pointer; /* クリックできることを明示 */
}

.salon img {
    width: 100%;
    height: auto;
    display: block;
}

.salon p {
    margin-top: 15px;
    font-size: 14px;
    color: #333333;
}

/* =========================================
   モーダル（ポップアップ）ベーススタイル
   ========================================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-window {
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 50px 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 36px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    user-select: none;
}

.modal-close:hover {
    color: #000;
}

.modal-window .salon-detail {
    margin-bottom: 0;
}

/* =========================================
   モーダル内のテキスト・画像共通スタイル
   ========================================= */
.name-jp {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 5px;
    text-align: center;
}

.name-en {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 5px;
    text-align: center;
    margin-top: -10px;
}

.salon-ph {
    width: 300px;
}

ul {
    width: 300px;
    display: table;
    margin: auto;
    padding-inline-start: 0;
}

li {
    display: table-cell;
}

.pic-small-01,
.pic-small-02 {
    width: 150px;
}

.address {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    text-align: center;
    margin-top: -5px;
}

.ontime,
.holiday {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    text-align: center;
    margin-top: -8px;
}

/* =========================================
   PC用レイアウト (画面幅 769px 以上)
   ========================================= */
@media screen and (min-width: 769px) {
    .salon-detail {
        display: flex;
        flex-wrap: wrap; 
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 100px; 
    }

    .salon-left {
        width: 300px; 
    }

    .salon-right {
        width: 460px; 
        text-align: left;
        padding-top: 5px; 
    }

    .salon-right .name-jp,
    .salon-right .name-en,
    .salon-right .address,
    .salon-right .ontime,
    .salon-right .holiday,
    .salon-right .holiday p {
        text-align: left;
        margin-left: 0;
    }

    .salon-right .name-jp {
        font-size: 22px;
        margin: 0 0 6px 0;
    }

    .salon-right .name-en {
        font-size: 14px;
        color: #555555;
        margin: 0 0 35px 0;
    }

    .salon-right .address,
    .salon-right .ontime {
        font-size: 14px;
        margin: 0 0 15px 0;
    }

    .salon-right .holiday {
        font-size: 14px;
        margin: 0;
    }

    .map {
        width: 100%;
        margin-top: 40px; 
    }
}

/* =========================================
   モバイル用スタイル (画面幅 768px 以下)
   ========================================= */
@media screen and (max-width: 768px) {
    /* 動画・画像等のモバイル表示切り替え */
    .pc-only {
        display: none !important;
    }
    .sp-only {
        display: block !important;
    }

    .salon-inner {
        flex-direction: column; 
        align-items: center;    
        gap: 30px; 
    }

    .salon {
        width: 100%;
        max-width: 250px; 
    }

    .salon-left,
    .salon-right {
        display: contents; 
    }

    .salon-detail {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .map {
        width: 90%;
        margin-top: 20px;
    }
    
    .map iframe {
        height: 250px; 
    }

    /* モーダル内の順序制御 */
    .salon-detail .name-jp   { order: 1; margin-top: 0; }
    .salon-detail .name-en   { order: 2; margin-bottom: 20px; }
    .salon-detail .salon-ph  { order: 3; }
    .salon-detail ul         { order: 4; }
    .salon-detail .address   { order: 5; margin-top: 20px; }
    .salon-detail .ontime    { order: 6; margin-top: 10px; }
    .salon-detail .holiday   { order: 7; margin-top: 10px; }
    .salon-detail .map       { order: 8; }
}