/*
Theme Name: HOMME Child
Theme URI: https://tcd-theme.com/tcd107/
Template: homme_tcd107
Author: TCD
Author URI: https://tcd-theme.com/
Description: WordPress Theme "HOMME" is optimized for barbers and salons. It is designed to easily create style galleries and staff introduction pages and tie them to each other. Leads to reservation buttons are also built into the design.
Version: 1.5.1749960159
Updated: 2025-06-15 13:02:39

*/

/*========================================
ヘッダー部分
=========================================*/
#header #header_top {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#header #header_top #header_logo {
    position: static;
    left: auto;
    transform: none;
    top: auto;
    height: auto;
    display: block;
    text-align: center;
    margin: 20px auto 10px;
}

#header #header_top #site_catch {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    margin: 0 auto 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    z-index: 100;
    display: block;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    #header #header_top #site_catch {
        display: none;
    }
}

/*========================================
フッター
=========================================*/
/* フッター上部メッセージ*/
#footer_message {
    width: 100%;
    height: auto;
    background-color: #fff;
}

#footer_message p {
    padding: 50px 75px 20px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    color: #000;
}

@media screen and (max-width: 900px) {
    #footer_message p {
        padding: 50px 50px 20px;
    }
}

@media screen and (max-width: 600px) {
    #footer_message p {
        width: auto;
        border-right: none;
        padding: 40px 20px 20px;
    }
}

/* フッターの線を消す→⚠️消せてないから要確認　*/
.widget_nav_menu li a {
    border: none !important;
}

.widget_nav_menu ul:first-of-type {
    border-bottom: none !important;
}

/*========================================
トップページ
=========================================*/
/*トップページヘッダースライダー上*/
#header_slider_fixed_content {
    position: static;
    height: auto;
    width: 100%;
    background-color: #80756A;
    padding: 40px 0;
    pointer-events: auto;
}

#header_slider_fixed_content .header_slider_content {
    position: static;
    transform: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: #fff;
}

/* テキストスタイルの調整 */
#header_slider_fixed_content .catch {
    color: #fff;
    font-size: 24px;
    margin-bottom: 16px;
    line-height: 1.4;
}

#header_slider_fixed_content .desc {
    color: #fff;
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.6;
}

#header_slider_fixed_content .button {
    background-color: transparent;
    color: #fff;
    padding: 12px 80px;
    border-radius: 4px;
    border: 1px solid #fff;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: all 0.3s ease;
    height: auto;
    line-height: 1.4;
    width: auto;
    margin-top: 15px;
}

#header_slider_fixed_content .button:hover {
    background-color: #aeaeae;
    border-color: #aeaeae;
    color: #333;
}

/* ロゴタイプの場合の調整 */
#header_slider_fixed_content .logo img {
    max-width: 300px;
    height: auto;
}

/* スライダー画像の表示位置調整 */
#header_slider .bg_image img {
    object-position: center 30%;
}

/* 初期スクロール位置の調整 */
body.home {
    scroll-padding-top: 0;
}

/* ヘッダースライダーコンテナの高さ調整 */
#header_slider_container {
    margin-bottom: 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
    #header_slider_fixed_content {
        padding: 30px 0;
    }

    #header_slider_fixed_content .header_slider_content {
        padding: 0 15px;
    }

    #header_slider_fixed_content .catch {
        font-size: 20px;
    }

    #header_slider_fixed_content .desc {
        font-size: 14px;
    }

    #header_slider_fixed_content .button {
        padding: 10px 24px;
        font-size: 14px;
    }

    #header_slider_fixed_content .logo img {
        max-width: 250px;
    }
}

/*トップページのストア用*/
.store-content p:empty {
    display: none;
}

.store-more-button {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    /* 必要なら調整 */
}

.cb_free_space .post_content .store-list {
    max-width: 930px;
    margin: 0 auto;
}

/*========================================
店舗一覧ページ
=========================================*/

.store-list {
    display: grid;
    gap: 24px;
    padding: 20px;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    justify-content: center;
}

/* 1024px以上で 2:3:2（中央寄せ）配置 ※固定ページ用 */
@media (min-width: 1024px) {
    .store-list {
        grid-template-columns: repeat(6, 1fr);
    }

    /* 1行目: 2列（各カード幅2、開始2/4） */
    .store-list .store-box:nth-child(1) {
        grid-column: 2 / span 2;
    }

    .store-list .store-box:nth-child(2) {
        grid-column: 4 / span 2;
    }

    /* 2行目: 3列（各カード幅2、開始1/3/5） */
    .store-list .store-box:nth-child(3) {
        grid-column: 1 / span 2;
    }

    .store-list .store-box:nth-child(4) {
        grid-column: 3 / span 2;
    }

    .store-list .store-box:nth-child(5) {
        grid-column: 5 / span 2;
    }

    /* 3行目: 2列（各カード幅2、開始2/4） */
    .store-list .store-box:nth-child(6) {
        grid-column: 2 / span 2;
    }

    .store-list .store-box:nth-child(7) {
        grid-column: 4 / span 2;
    }
}

/* archive-shop.php 用: パンくず黒文字・ボーダー */
body.post-type-archive-shop #bread_crumb {
    border-bottom-color: #ddd;
}
body.post-type-archive-shop #bread_crumb li:after,
body.post-type-archive-shop #bread_crumb li.home a:before {
    color: #000;
}
body.post-type-archive-shop #bread_crumb li a {
    color: #000;
}
body.post-type-archive-shop #bread_crumb li:last-of-type {
    color: #999;
}

/* archive-shop.php 用 */
#archive_shop {
    margin-top: 60px;
    margin-bottom: 100px;
}

#archive_shop .post_content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----------------------------------------
   shop-grid: 店舗一覧グリッド
---------------------------------------- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 28px;
}

@media (max-width: 1023px) and (min-width: 600px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 24px;
    }
}

@media (max-width: 599px) {
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .shop-grid--home {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .shop-grid--home .shop-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }
    .shop-grid--home .shop-card__image-link {
        flex: 0 0 110px;
        width: 110px;
        height: 110px;
    }
    .shop-grid--home .shop-card__thumb {
        width: 110px;
        height: 110px;
        aspect-ratio: unset;
    }
    .shop-grid--home .shop-card__thumb img {
        width: 110px;
        height: 110px;
        object-fit: cover;
        object-position: center;
    }
    .shop-grid--home .shop-card__body {
        flex: 1;
        padding: 12px 12px 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .shop-grid--home .shop-card .shop-card__name {
        font-size: 15px !important;
        text-align: left;
        margin: 0;
    }
    .shop-grid--home .shop-card .shop-card__name::after {
        margin: 4px 0 4px;
        width: 100%;
    }
    .shop-grid--home .shop-card__name-en {
        font-size: 11px;
        text-align: left;
        margin: 0 0 8px;
    }
    .shop-grid--home .shop-card__actions {
        flex-direction: row;
        gap: 6px;
    }
    .shop-grid--home .shop-card__btn {
        width: auto;
    }
    .shop-grid--home .shop-card__btn {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* ----------------------------------------
   shop-card: 店舗カード
---------------------------------------- */
.shop-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    padding: 10px 10px 0;
}

.shop-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.shop-grid:has(.shop-card:hover) .shop-card:not(:hover) {
    opacity: 0.5;
}

.shop-card__image-link {
    display: block;
}

.shop-card__thumb {
    overflow: hidden;
    aspect-ratio: 8 / 5;
}

.shop-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.shop-card:hover .shop-card__thumb img {
    transform: scale(1.04);
}

.shop-card__body {
    padding: 18px 6px 16px;
}

.shop-card .shop-card__name {
    font-size: 18px !important;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

.shop-card .shop-card__name::after {
    content: '';
    display: block;
    width: 70%;
    margin: 6px auto 6px;
    border-bottom: 1px solid #ddd;
}

.shop-card__name-en {
    font-size: 12px;
    color: #80756a;
    margin: 0 0 12px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-align: center;
}

.shop-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-card__btn {
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    letter-spacing: 0.06em;
    transition: opacity 0.2s ease;
}

.shop-card__btn--detail {
    flex: 1;
    border: 1px solid #371c00;
    color: #371c00 !important;
    font-weight: bold;
    letter-spacing: 0.2em;
    transition: all 0.3s;
    background: transparent;
}

.shop-card__btn--detail:hover {
    background-color: #371c00;
    color: #fff !important;
}

.shop-card__btn--reserve {
    flex: 1;
    background-color: #80756a;
    color: #fff !important;
    font-weight: bold;
    border: none;
    transition: all 0.3s;
}

.shop-card__btn--reserve:hover {
    background-color: #694e32;
    border: 1px solid #694e32;
}

@media (max-width: 599px) {
    .shop-card__actions {
        flex-direction: column;
    }
    .shop-card__btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/*========================================
店舗詳細ページ
=========================================*/
.store-headline {
    display: flex;
    justify-content: center;
    margin: 100px auto 60px;
}

.cb_headline.longer {
    font-size: 26px;
    /* 少し小さくする */
}

@media screen and (max-width: 800px) {
    .cb_headline.longer {
        font-size: 16px;
    }
}

/*店舗情報エリア*/
.store-info-label-block {
    border-left: 4px solid #371c00;
    padding-left: 12px;
    margin-bottom: 1.5em;
}

.store-info-label-ja {
    text-transform: uppercase;
    font-size: 12px;
    color: #371c00;
    letter-spacing: 0.15em;
}

.store-info-label-en {
    font-weight: bold;
    margin-top: 0.7em;
}

.store-info-station {
    width: 100%;
    padding: 20px 0;
    border: 1px solid #371c00;
    margin-bottom: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 料金表エリア */
.store-price {
    margin-top: 100px;
}

.store-price .store-price-table {
    --sp-max: 1200px;
    --sp-gap: 28px;
    --sp-border: #e5e5e5;
    --sp-text: #333;
    --sp-muted: #666;
    --sp-btn-bg: #80756A;
    --sp-btn-bg-hover: #694e32;
    --sp-btn-text: #fff;

    max-width: var(--sp-max);
    margin: 0 auto;
    padding: 20px;
    color: var(--sp-text);
}

.store-price .store-price-row {
    display: grid;
    grid-template-columns: 1fr 280px;
    align-items: center;
    gap: var(--sp-gap);
    padding: 24px 0;
    border-bottom: 1px solid var(--sp-border);
}

.store-price .store-price-info {
    min-width: 0;
}

.store-price h3.store-price-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.store-price .store-price-amount {
    margin: 0;
    font-size: 14px;
    color: var(--sp-muted);
}

.store-price .store-price-amount span {
    font-size: 18px;
    font-weight: 700;
    color: var(--sp-text);
    margin-left: 6px;
}

.store-price .store-price-action {
    justify-self: end;
    padding-left: 24px;
    border-left: 1px solid var(--sp-border);
}

.store-price .store-price-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 16px 20px;
    border-radius: 6px;
    background: var(--sp-btn-bg);
    color: var(--sp-btn-text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .02em;
    transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .08);
}

.store-price .store-price-button::after {
    content: "→";
    display: inline-block;
    margin-left: 10px;
    transform: translateY(1px);
}

.store-price .store-price-button:hover {
    background: var(--sp-btn-bg-hover);
    border: 1px solid #694e32;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

@media (max-width: 1024px) {
    .store-price .store-price-row {
        grid-template-columns: 1fr 240px;
        gap: 20px;
    }

    .store-price .store-price-button {
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .store-price .store-price-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .store-price .store-price-action {
        justify-self: stretch;
        border-left: none;
        padding-left: 0;
    }

    .store-price .store-price-button {
        width: 100%;
    }
}

/* OUR STYLEエリア*/
.store-style-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.store-style-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-style-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.style-card-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.store-style-card:hover .style-card-img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.store-style-card:hover .card-overlay {
    transform: translateY(0);
}

.store-style-card .style-card-title {
    color: white;
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.store-style-card .style-card-txt {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}


/* OUR STYLE-タブレット用 */
@media (max-width: 1024px) {
    .store-style-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 16px;
    }

    .store-style-card {
        position: static;
        background: #fff;
        border-radius: 4px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .store-style-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .style-card-img {
        border-radius: 4px 4px 0 0;
    }

    .store-style-card:hover .style-card-img {
        transform: none;
    }

    .card-overlay {
        position: static;
        background: transparent;
        padding: 16px;
        transform: none;
        transition: none;
    }

    .store-style-card .style-card-title {
        color: #333;
        font-size: 16px;
        margin-bottom: 8px;
    }

    .store-style-card .style-card-txt {
        color: #666;
        font-size: 14px;
    }
}

/* OURSTYLE-モバイル用（カード縦並び・カード内横並び） */
@media (max-width: 768px) {
    .wp-block-group.store-style-container.is-layout-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 12px;
    }

    /* カード内は横並び（左：画像／右：テキスト） */
    .store-style-card {
        position: static;
        display: grid;
        grid-template-columns: 3fr 7fr;
        /* 画像:テキスト = 3:7 */
        align-items: center;
        gap: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    /* テキストは縦並びで中央寄せ */
    .card-overlay {
        grid-column: 2;
        position: static;
        background: transparent;
        padding: 12px;
        transform: none;
        transition: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }


    .store-style-card:hover .style-card-img {
        transform: none;
    }

    .store-style-card .style-card-title {
        font-size: 14px;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .store-style-card .style-card-txt {
        font-size: 12px;
        line-height: 1.4;
    }
}

/*店舗のスタッフ一覧エリア*/
.design_author_list.store-staff-grid {
    width: 100%;
    max-width: 930px;
    margin: 100px auto -46px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 46px;
    position: relative;
}

.design_author_list.store-staff-grid .item {
    width: 100%;
    background: #fff;
    margin: 0;
    padding: 40px 9% 30px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
    display: block;
}

.design_author_list.store-staff-grid .image_wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #f0f0f0;
}

.design_author_list.store-staff-grid .image_wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.design_author_list.store-staff-grid .item:hover .image_wrap img {
    transform: scale(1.1);
}

.design_author_list.store-staff-grid .job {
    font-size: 16px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    color: #fff;
    text-align: center;
    line-height: 1.3;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    margin: 0;
}

.design_author_list.store-staff-grid .name {
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    transition: color 0.25s ease;
    margin-top: 20px;
}

@media(hover: hover) {
    .design_author_list a:hover {
        color: #80756A;
    }
}

@media (max-width: 1024px) {
    .design_author_list.store-staff-grid {
        gap: 20px;
    }

    .design_author_list.store-staff-grid .job {
        padding: 10px 15px;
    }
}

@media (max-width: 750px) {
    .design_author_list.store-staff-grid {
        width: 100%;
        margin: 50px auto -30px;
        padding: 0 20px;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .design_author_list.store-staff-grid .item {
        padding: 15px 10px;
    }

    .design_author_list.store-staff-grid .job {
        padding: 10px 15px;
        font-size: 14px;
    }

    .design_author_list.store-staff-grid .name {
        font-size: 14px;
        margin-top: 15px;
    }
}

/* 小さなモバイル用 (480px以下) */
@media (max-width: 480px) {
    .design_author_list.store-staff-grid {
        padding: 0;
        gap: 10px;
    }

    .design_author_list.store-staff-grid .item {
        padding: 20px 15px;
    }

    .design_author_list.store-staff-grid .job {
        padding: 8px 12px;
        font-size: 13px;
    }

    .design_author_list.store-staff-grid .name {
        font-size: 13px;
        margin-top: 12px;
    }
}

.store-reserve-button {
    display: flex;
    justify-content: center;
    margin-top: 150px;
}

.store-reserve-button .design_button {
    width: 70%;
    background-color: #80756A;
    color: #fff !important;
}

.store-reserve-button .design_button:hover {
    background-color: #694e32;
    border: 1px solid #694e32;
}

/*========================================
予約ページ
=========================================*/

/* 予約ページ専用の改行（768px以下のみ有効） */
body .post_content br.reserve-br,
body .cb_free_space br.reserve-br {
    display: none;
}

#page_reserve {
    margin-top: 60px;
}

body .post_content .store-table-container,
body .cb_free_space .store-table-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(55, 28, 0, 0.15);
    overflow: hidden;
}

body .post_content .store-table,
body .cb_free_space .store-table {
    width: 100%;
    border-collapse: collapse;
}

body .post_content .store-table thead,
body .cb_free_space .store-table thead {
    background-color: #371c00;
    color: #fff;
}

body .post_content .store-table th,
body .cb_free_space .store-table th {
    background-color: #371c00;
    padding: 16px 12px;
    text-align: center;
    font-weight: bold;
    font-size: 0.95rem;
    color: #fff;
}

body .post_content .store-table th:first-child,
body .cb_free_space .store-table th:first-child {
    width: 46%;
}

body .post_content .store-table th:nth-child(2),
body .cb_free_space .store-table th:nth-child(2) {
    width: 18%;
}

body .post_content .store-table th:nth-child(3),
body .cb_free_space .store-table th:nth-child(3) {
    width: 18%;
}

body .post_content .store-table th:last-child,
body .cb_free_space .store-table th:last-child {
    width: 18%;
}

body .post_content .store-table tbody tr,
body .cb_free_space .store-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

body .post_content .store-table tbody tr:last-child,
body .cb_free_space .store-table tbody tr:last-child {
    border-bottom: none;
}

body .post_content .store-table td,
body .cb_free_space .store-table td {
    padding: 20px 12px;
    vertical-align: middle;
}

/* 店舗名と画像を横並びに */
body .post_content .store-name-with-image,
body .cb_free_space .store-name-with-image {
    display: flex;
    align-items: center;
    gap: 10px;
}

body .post_content .store-image,
body .cb_free_space .store-image {
    flex: 0 0 50%;
    width: 50%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

body .post_content .store-image img,
body .cb_free_space .store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(55, 28, 0, 0.15);
}

body .post_content .store-name-info,
body .cb_free_space .store-name-info {
    flex: 0 0 50%;
    width: 50%;
}

body .post_content .store-name,
body .cb_free_space .store-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #371c00;
    margin-bottom: 5px;
}

body .post_content .store-branch,
body .cb_free_space .store-branch {
    font-size: 0.9rem;
    color: #80756a;
}

/* アクセス情報 */
body .post_content .store-access,
body .cb_free_space .store-access {
    line-height: 1.6;
}

body .post_content .station,
body .cb_free_space .station {
    font-weight: bold;
    color: #371c00;
    margin-bottom: 3px;
    font-size: 1rem;
}

body .post_content .walking-time,
body .cb_free_space .walking-time {
    font-size: 0.9rem;
    color: #80756a;
}

/* 営業時間 */
body .post_content .store-hours,
body .cb_free_space .store-hours {
    line-height: 1.6;
}

body .post_content .hours,
body .cb_free_space .hours {
    color: #371c00;
    margin-bottom: 3px;
}

body .post_content .closed-day,
body .cb_free_space .closed-day {
    font-size: 0.9rem;
    color: #80756a;
}

/* 営業時間（常時縦積みの行形式） */
body .post_content .hours .hours-stack,
body .cb_free_space .hours .hours-stack {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    row-gap: 6px;
}

body .post_content .hours .hours-stack li,
body .cb_free_space .hours .hours-stack li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-bottom: 1px dashed #eeeeee;
}

body .post_content .hours .hours-stack li:last-child,
body .cb_free_space .hours .hours-stack li:last-child {
    border-bottom: none;
}

body .post_content .hours .label,
body .cb_free_space .hours .label {
    font-weight: 600;
    color: #371c00;
    font-size: 0.95rem;
    line-height: 1.2;
}

body .post_content .hours .time,
body .cb_free_space .hours .time {
    color: #333333;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* 予約ボタン */
body .post_content .reserve-btn-cell,
body .cb_free_space .reserve-btn-cell {
    text-align: center;
}

body .post_content .reserve-btn,
body .cb_free_space .reserve-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #694e32;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid #694e32;
}

body .post_content .reserve-btn:hover,
body .cb_free_space .reserve-btn:hover {
    background-color: #371c00;
    border-color: #371c00;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 28, 0, 0.25);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {

    /* 768px以下で改行を有効化 */
    body .post_content br.reserve-br,
    body .cb_free_space br.reserve-br {
        display: inline;
    }

    body .post_content .store-table-container,
    body .cb_free_space .store-table-container {
        margin: 0;
        border-radius: 0;
    }

    body .post_content .store-table,
    body .cb_free_space .store-table {
        font-size: 0.9rem;
    }

    body .post_content .store-table th,
    body .post_content .store-table td,
    body .cb_free_space .store-table th,
    body .cb_free_space .store-table td {
        padding: 12px 8px;
    }

    body .post_content .store-name-with-image,
    body .cb_free_space .store-name-with-image {
        gap: 12px;
    }

    body .post_content .reserve-btn,
    body .cb_free_space .reserve-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {

    /* 600px以下では予約用改行を無効化 */
    body .post_content br.reserve-br,
    body .cb_free_space br.reserve-br {
        display: none;
    }

    body .post_content .store-name-with-image,
    body .cb_free_space .store-name-with-image {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* 表をカード化（縦積み） */
    body .post_content .store-table thead,
    body .cb_free_space .store-table thead {
        display: none;
    }

    body .post_content .store-table,
    body .cb_free_space .store-table {
        border-collapse: separate;
        border-spacing: 0;
    }

    body .post_content .store-table tbody,
    body .cb_free_space .store-table tbody {
        display: grid;
        gap: 14px;
    }

    body .post_content .store-table tbody tr,
    body .cb_free_space .store-table tbody tr {
        display: block;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(55, 28, 0, 0.08);
        overflow: hidden;
        border-bottom: 0;
        padding: 5px 10px;
    }

    body .post_content .store-table td,
    body .cb_free_space .store-table td {
        display: block;
        padding: 12px 12px;
        border: 0;
    }

    body .post_content .store-table td+td,
    body .cb_free_space .store-table td+td {
        border-top: 1px solid #f5f5f5;
    }

    /* ラベル自動付与は使わない */
    body .post_content .store-table td::before,
    body .cb_free_space .store-table td::before {
        content: none;
        display: none;
    }

    /* アクセス・営業時間セルのみラベルを付ける */
    body .post_content .store-table td:nth-child(2)::before,
    body .cb_free_space .store-table td:nth-child(2)::before {
        content: "アクセス";
        display: block;
        font-weight: 600;
        color: #371c00;
        margin-bottom: 10px;
        font-size: 1.05rem;
        padding-bottom: 4px;
        border-bottom: 1px solid rgba(128, 117, 106, 0.4);
    }

    body .post_content .store-table td:nth-child(3)::before,
    body .cb_free_space .store-table td:nth-child(3)::before {
        content: "営業時間";
        display: block;
        font-weight: 600;
        color: #371c00;
        margin-bottom: 10px;
        font-size: 1.05rem;
        padding-bottom: 4px;
        border-bottom: 1px solid rgba(128, 117, 106, 0.4);
    }

    /* 予約ボタンは横幅いっぱいに */
    body .post_content .reserve-btn,
    body .cb_free_space .reserve-btn {
        width: 100%;
        text-align: center;
    }

    /* カード内の画像は横幅100%・浅め比率でセンタークロップ */
    body .post_content .store-image,
    body .cb_free_space .store-image {
        width: 100%;
        aspect-ratio: 5 / 1;
        /* 視認性重視で背を低く（約20%の見た目） */
        overflow: hidden;
        border-radius: 6px;
    }

    body .post_content .store-image img,
    body .cb_free_space .store-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        /* 自然に中央トリミング */
        display: block;
    }

    body .post_content .store-name,
    body .cb_free_space .store-name {
        margin-bottom: 3px;
    }

    /* アクセス欄はラベル + 縦積み（駅名／徒歩◯分） */
    body .post_content .store-access,
    body .cb_free_space .store-access {
        display: block;
        margin: 0;
    }

    body .post_content .station,
    body .cb_free_space .station {
        display: block;
        margin: 0 0 3px 0;
        font-size: 0.95rem;
    }

    body .post_content .walking-time,
    body .cb_free_space .walking-time {
        display: block;
        white-space: normal;
    }

    /* 2列目（最寄り駅）と3列目（営業時間）を横並びに */
    body .post_content .store-table tbody tr,
    body .cb_free_space .store-table tbody tr {
        display: flex;
        flex-wrap: wrap;
    }

    body .post_content .store-table td,
    body .cb_free_space .store-table td {
        width: 100%;
        box-sizing: border-box;
    }

    /* 2列目（アクセス）と3列目（営業時間）を横並びに */
    body .post_content .store-table td:nth-child(2),
    body .cb_free_space .store-table td:nth-child(2),
    body .post_content .store-table td:nth-child(3),
    body .cb_free_space .store-table td:nth-child(3) {
        width: 50%;
    }

    body .post_content .store-table td:nth-child(3),
    body .cb_free_space .store-table td:nth-child(3) {
        border-left: 1px solid #f5f5f5;
    }

}

@media (max-width: 480px) {}

/*========================================
shop 詳細ページ（single-shop.php）
=========================================*/

/* ── ヘッダーエリア ─────────────────────── */
.shop-page-header {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.shop-page-header .shop-header-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.shop-page-header .overlay {
    z-index: 1;
    background: rgba(0, 0, 0, 0.35);
}

/* パンくず：オーバーレイの上 + 左寄せ */
#page_header.shop-page-header #bread_crumb {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 750px) {
    .shop-page-header {
        min-height: 320px;
    }
}

/* ── 店舗名（ヘッダー直下） ─────────────── */
.shop-name-heading {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 0;
    text-align: center;
}

.shop-name-heading h1 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 750px) {
    .shop-name-heading h1 {
        font-size: 18px;
    }
}

/* ── コンテンツ全体 ─────────────────────── */
.shop-single-contents {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── 各セクション共通（枠線・角丸） ────── */
.shop-section {
    margin-top: 32px;
    border: 1px solid #e0d8d0;
    border-radius: 8px;
    padding: 40px;
}

@media (max-width: 750px) {
    .shop-section {
        padding: 24px 20px;
    }
}

/* セクション見出し */
.shop-section-heading {
    border-left: 3px solid var(--main_color);
    padding-left: 14px;
    margin-bottom: 28px;
}

.shop-section-heading .shop-section-label-ja {
    font-size: 12px;
    color: #999;
    margin: 0 0 4px;
    letter-spacing: 0.05em;
}

#page_contents .shop-section-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--main_color);
    margin: 0;
    text-align: left;
    letter-spacing: 0.05em;
}

@media (max-width: 750px) {
    #page_contents .shop-section-title {
        font-size: 17px;
    }
}

/* ── 店舗イントロ ───────────────────────── */
.shop-intro {
    margin-top: 40px;
    text-align: left;
}

.shop-intro-message {
    font-size: 14px;
    line-height: 2;
    color: #333;
    margin-bottom: 20px;
}

.shop-intro-access,
.shop-intro-cost {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    margin: 0 0 10px;
    letter-spacing: 0.03em;
}

.shop-intro-access:last-child,
.shop-intro-cost:last-child {
    margin-bottom: 0;
}

.shop-intro-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

/* ── ヘアスタイル ───────────────────────── */
.shop-style-group {
    margin-bottom: 40px;
}

.shop-style-group:last-child {
    margin-bottom: 0;
}

#page_contents .shop-style-group-name {
    font-size: 16px;
    font-weight: bold;
    color: #371c00;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 8px;
    margin: 0 0 20px;
}

.shop-style-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.shop-style-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .shop-style-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 8px;
    }
    .shop-style-item {
        flex: 0 0 65%;
        scroll-snap-align: start;
    }
}

/* ── こだわり ───────────────────────────── */
.shop-highlight-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
}

.shop-highlight-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.shop-highlight-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.shop-highlight-text {
    font-size: 14px;
    line-height: 2;
    color: #333;
}

.shop-highlight-text p {
    margin: 0;
}

@media (max-width: 750px) {
    .shop-highlight-item {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
        padding-bottom: 40px;
    }
}

/* ── おすすめメニュー ───────────────────── */
.shop-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.shop-menu-item {
    display: grid;
    grid-template-columns: 160px 1fr 200px;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.shop-menu-item:first-child {
    border-top: 1px solid #e5e5e5;
}

.shop-menu-image img {
    width: 160px;
    height: 120px;
    object-fit: cover;
    display: block;
}

.shop-menu-name {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px;
}

.shop-menu-cost {
    font-size: 14px;
    color: #80756A;
    margin: 0;
}

.shop-menu-action {
    text-align: right;
}

.shop-menu-action .shop-menu-btn {
    display: inline-block;
    padding: 14px 24px;
    background-color: #80756A;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.1em;
    transition: background-color 0.3s;
    min-width: 160px;
    text-align: center;
    line-height: 1;
}

.shop-menu-action .shop-menu-btn:hover {
    background-color: #694e32;
    color: #fff !important;
}

@media (max-width: 768px) {
    .shop-menu-item {
        grid-template-columns: 150px 1fr;
        grid-template-rows: 1fr auto;
        align-items: stretch;
        gap: 16px;
    }
    .shop-menu-image {
        grid-column: 1;
        grid-row: 1 / 3;
    }
    .shop-menu-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .shop-menu-info {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
    }
    .shop-menu-action {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
        align-self: end;
    }
    .shop-menu-action .shop-menu-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .shop-menu-item {
        grid-template-columns: 120px 1fr;
    }
}

/* ── スタッフ ───────────────────────────── */
.shop-staff-slider {
    position: relative;
}

/* 親テーマの margin を打ち消す */
.shop-staff-section .store-staff-grid {
    margin: 0;
    padding: 8px 0 12px;
}

.shop-staff-section .store-staff-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.shop-staff-section .store-staff-grid::-webkit-scrollbar {
    display: none;
}

.shop-staff-section .store-staff-grid .item {
    flex: 0 0 calc(100% / 3 - 16px);
    width: calc(100% / 3 - 16px);
    scroll-snap-align: start;
    margin: 0;
    padding: 16px 16px 20px;
    box-sizing: border-box;
    box-shadow: 0 3px 12px -2px rgba(0, 0, 0, 0.14), 0 1px 4px rgba(0, 0, 0, 0.08);
}

.staff-slider-btn.hidden {
    display: none;
}

.shop-staff-section .store-staff-grid .item:nth-child(2n) {
    margin-right: 0;
}

.shop-staff-section .store-staff-grid .image_wrap {
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

@media (hover: hover) {
    .shop-staff-section .store-staff-grid .item:hover .image_wrap {
        transform: scale(1.02);
    }
}

.staff-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    cursor: pointer;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease-in-out;
}

.staff-slider-btn::before {
    content: "";
    display: block;
    width: 23px;
    height: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #6c6c6c;
    mask-size: 23px auto;
    mask-repeat: no-repeat;
    -webkit-mask-size: 23px auto;
    -webkit-mask-repeat: no-repeat;
}

.staff-slider-prev::before {
    mask-image: url("img/arrow-left.svg");
    mask-position: 3px 1px;
    -webkit-mask-image: url("img/arrow-left.svg");
    -webkit-mask-position: 3px 1px;
}

.staff-slider-next::before {
    mask-image: url("img/arrow-right.svg");
    mask-position: -3px 1px;
    -webkit-mask-image: url("img/arrow-right.svg");
    -webkit-mask-position: -3px 1px;
}

.staff-slider-prev { left: -22px; }
.staff-slider-next { right: -22px; }

.staff-slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.staff-slider-btn:disabled {
    opacity: 0.25;
    cursor: default;
}

@media (max-width: 768px) {
    .shop-staff-section .store-staff-grid .item {
        flex: 0 0 38%;
        width: 38%;
    }
    .staff-slider-btn {
        display: none;
    }
}

/* ── サロンの雰囲気 ─────────────────────── */
.shop-atmosphere-body {
    width: 100%;
}

/* ── Instagram ──────────────────────────── */
.shop-instagram-body {
    width: 100%;
}

.shop-instagram-follow {
    text-align: center;
    margin-top: 32px;
}

.shop-instagram-btn {
    display: inline-block;
    width: 40%;
    box-sizing: border-box;
    padding: 14px 20px;
    border: 1px solid #371c00;
    color: #371c00;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.15em;
    text-align: center;
    transition: all 0.3s;
}

.shop-instagram-btn:hover {
    background-color: #371c00;
    color: #fff;
}

/* ── 店舗情報 ───────────────────────────── */
.shop-info-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    align-items: start;
    margin-bottom: 20px;
}

#page_contents .shop-info-table {
    margin: 0;
}

@media (max-width: 900px) {
    .shop-info-body {
        grid-template-columns: 1fr;
    }
    .shop-info-access-col .shop-info-row:first-child {
        border-top: none;
    }
}

.shop-info-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
}

.shop-info-row:first-child {
    border-top: 1px solid #e5e5e5;
}

.shop-info-row dt {
    font-size: 12px;
    font-weight: bold;
    color: #371c00;
    letter-spacing: 0.05em;
    padding-top: 2px;
}

.shop-info-row dd {
    font-size: 14px;
    color: #333;
    line-height: 1.7;
    margin: 0;
}

.shop-info-row dd a {
    color: #333;
    text-decoration: none;
}

.shop-info-row dd a:hover {
    color: #80756A;
}

.shop-info-hours-row {
    display: block;
    margin-bottom: 4px;
}

.shop-info-hours-label {
    display: inline-block;
    font-size: 11px;
    color: #80756A;
    border: 1px solid #80756A;
    padding: 1px 6px;
    margin-right: 8px;
    vertical-align: middle;
}

.shop-info-access-station {
    margin: 0 0 8px;
    font-size: 13px;
}

.shop-info-directions {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.8;
}

/* 下段：地図（全幅） */
.shop-info-map {
    width: 100%;
}

.shop-info-map iframe {
    width: 100%;
    height: 400px;
    display: block;
}


@media (max-width: 600px) {
    .shop-info-row {
        grid-template-columns: 80px 1fr;
    }
    .shop-info-map iframe {
        height: 280px;
    }
}

/* ── BACK SHOPS ボタン ──────────────────── */
.shop-menu-more {
    text-align: center;
    margin-top: 40px;
}

.shop-back-button {
    text-align: center;
    margin: 80px 0 60px;
}

.shop-back-link {
    display: inline-block;
    width: 40%;
    box-sizing: border-box;
    padding: 16px 20px;
    border: 1px solid #371c00;
    color: #371c00;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.2em;
    text-align: center;
    transition: all 0.3s;
}

.shop-back-link:hover {
    background-color: #371c00;
    color: #fff;
}
/* ── shop-menu.php ページ ───────────────── */
/* shop-menu.php のMENUタイトルのみ -90px を打ち消す */
#page_header.type2 + #archive_headline.shop-menu-headline {
    margin-top: 0;
}

.shop-menu-page-contents .post_content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.shop-menu-page-list {
    max-width: 800px;
    margin: 0 auto;
}

.shop-menu-page-empty {
    text-align: center;
    color: #999;
    margin: 60px 0;
}
