@charset "UTF-8";

/* =========================================================
   投稿タイプ「ヨガスタジオ」studio用 ベーススタイル（PC・共通）
========================================================= */

/* --- 1. 全体設定 --- */
.studio .fab-btn, .studio .sns-share-bottom, .studio .p-fixed-btns, .studio #scroll-top {
    display: none !important;
}

.studio .article-header {
        padding: 8px 16px 10px;
}

.studio .sng-box p {
    font-size: 0.9em;
}

/* --- 2. 口コミレビュー --- */
.review_container { background-color: #e9e9e9; }

/* 横スクロール本体 */
.scroll-container {
    position: relative;
    display: flex !important;
    overflow-x: auto !important;
    margin: 16px 0;
    padding: 8px;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
}

.single-studio .review_item {
    flex: 0 0 300px !important;
    width: 300px !important;
    white-space: normal !important;
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}
.single-studio .review_header { display: flex; align-items: center; margin-bottom: 10px; }
.single-studio .review_name { font-weight: bold; display: block; }
.single-studio .review_icon { width: 50px; height: 50px; border-radius: 50%; margin-right: 10px; }
.single-studio .review_stars { color: #f1c40f; font-size: 0.6em; }
.single-studio .review_stars .rate-star-empty { color: #ddd !important; }
.single-studio .review_text { margin: 0; line-height: 1.6; color: #333; font-size: 0.8em; }
.single-studio .review_container .review_item .cited { font-size : 10px; text-align : right; margin-top: auto; padding-top: 15px; }

/* --- 3. テーブル＆スタジオ情報 --- */
.studio-detail-container {
    margin: 8px 0;
    overflow: hidden;
    background: #fff;
}
.entry-content table,
.entry-content tr:not(:last-child) {
    border-color: #EABD9A;
}
.studio-detail-header h3 {
    margin: 0;
    padding: 15px 20px !important;
    background: #f9f9f9;
    color: #333;
    font-size: 1.1rem !important;
    border-left: 5px solid #263a43 !important;
    border-bottom: 1px solid #ccc !important;
}
.studio-detail-table {
    width: 100%;
    border-collapse: collapse;
}
.studio-detail-table th {
    width: 35% !important;
    background: #fdfdfd;
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}
.studio-detail-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}
.studio-detail-btn-area {
    padding: 25px;
    text-align: center;
}
.studio-site-btn {
    background: #263a43;
    color: #fff !important;
    padding: 12px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}
.studio-feature-tag {
    display: inline-block;
    background: #f7f7f7;
    border: 1px solid #ddd;
    color: #666;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    margin: 2px 4px 2px 0;
    border-radius: 50px;
}

/* --- 4. Googleマップ --- */
.studio-map-wrapper {
    width: 100%;
    margin: 1em 0 0 0 !important;
}
.studio-map-wrapper iframe {
    width: 100%;
    height: 400px !important;
}
.map-app-btn-area {
    text-align: right;
    margin-top: 8px;
}
.map-app-btn {
    display: inline-block;
    background: #4285F4;
    color: #fff !important;
    text-align: center;
    padding: 5px 15px; 
    border-radius: 20px; 
    font-size: 12px; 
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.map-app-btn:hover {
    opacity: 0.8;
}
.map-app-btn i {
    margin-right: 4px;
}

/* --- 5. フッター・関連記事 --- */
.studio-taxo-footer {
    text-align: right;
    margin-bottom: 20px;
}
.studio-taxo-footer a {
    display: inline-block;
    background: #eef2f4;
    color: #778a94 !important;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 5px;
    text-decoration: none;
}
.related-posts.type_a.no_slide ul,
.related-posts.type_b.no_slide ul {
    border: none;
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(2, 1fr);
}
.rep p {
    text-align: center;
}


/* =========================================================
   レスポンシブ（メディアクエリ）まとめ
========================================================= */

/* --- PC表示用（769px以上） --- */
@media only screen and (min-width: 769px) {
    .related-posts.type_a ul, .related-posts.type_b ul {
        padding: 16px 10px;
    }
}

/* --- タブレット＆スマホ用（768px以下） --- */
@media screen and (max-width: 768px) {
    /* テーブルの余白調整 */
    .studio-detail-table td, 
    .studio-detail-table th {
        padding: 8px;
    }
    /* マップの高さを抑える */
    .studio-map-wrapper iframe,
    #entry .studio-map-wrapper iframe.executed,
    section.entry-content .studio-map-wrapper iframe {
        height: 250px !important;
        min-height: 250px !important;
    }
}

/* --- スマホ専用（520px以下） --- */

@media screen and (max-width: 520px) {
    /* 横スクロール対応 */
    .scroll-container {
        display: flex !important;
        overflow-x: scroll !important;
        -webkit-overflow-scrolling: touch;
    }
    .single-studio .review_item {
        width: 300px;
        height: stretch;
    }
	
	.studio-detail-table th {
    width: 10em !important;
    }
	
    /* テーブルの文字サイズ調整 */
    .studio-detail-table th, 
    .studio-detail-table td {
        font-size: 0.8rem;
    }
    
    /* マップボタンのpadding調整 */
    .map-app-btn {
        padding: 3px 8px !important; /* 強制的に効かせる魔法 */
        font-size: 11px !important;  /* スマホの時は文字も少し小さくすると可愛いです */
    }
}

/* =========================================================
   スタジオ詳細下部：体験レポートバナー（特別扱い）
========================================================= */
.studio-report-section, .studio-related-section {
    margin: 3em 0;
}
.studio-report-banner {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #fff;
    transition: transform 0.3s ease;
}
.studio-report-banner:hover {
    transform: translateY(-3px);
}
.studio-report-banner figure {
    margin: 0;
    width: 100%;
}
.studio-report-banner figure img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9; /* 画像を綺麗な比率で切り抜き */
    object-fit: cover;
}
.studio-report-banner .banner-text {
    padding: 15px 20px;
}
.studio-report-banner .banner-text span {
    display: inline-block;
    background: #F67280; /* 目立つアクセントカラー */
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 5px;
}
.studio-report-banner .banner-text p {
    margin: 0;
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
}


/* =========================================================
   スタジオ詳細下部：前準備の関連記事（横スクロール）
========================================================= */
.studio-related-scroll {
    display: flex !important;
    gap: 15px;
    padding-bottom: 20px; /* スクロールバー用の余白 */
}
.studio-related-card {
    flex: 0 0 240px; /* PCでもスマホでも横幅240pxで固定してスワイプさせる */
    text-decoration: none;
    background: #fdfdfd;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}
.studio-related-card figure {
    margin: 0;
}
.studio-related-card figure img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.studio-related-card .rep {
    padding: 12px;
}
.studio-related-card .rep p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: bold;
    color: #444;
    line-height: 1.4;
}

/* PCの時は u-scroll-hint の影やアイコンを消す（口コミの時と同じ処理） */
@media (min-width: 768px) {
    .studio-related-scroll.u-scroll-hint::before,
    .studio-related-scroll.u-scroll-hint::after {
        display: none !important;
    }
}




