@charset "UTF-8";

/* ===================================================
 * アーカイブ全幅化（PC表示での右側サイドバー跡地の隙間を消して中央寄せ）
 * =================================================== */
body.archive.tax-studio_area #sidebar,
body.archive.tax-studio_brand #sidebar {
    display: none;
}

@media only screen and (min-width: 769px) {
    html body.archive.tax-studio_area div#inner-content main#main,
    html body.archive.tax-studio_brand div#inner-content main#main {
        width: 100%;
        padding-right: 0;
    }
}

/* ===================================================
 * スタジオカタログ一覧（横長リストレイアウト）
 * =================================================== */
.studio-catalog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

/* カード全体の枠 */
.studio-catalog-item {
    display: flex;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 20px;
    align-items: center;
}

/* 画像ブロック */
.studio-item-thumb {
    width: 180px;
    flex-shrink: 0;
}
.studio-item-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* テキスト情報ブロック */
.studio-item-body {
    flex-grow: 1;
    padding: 0 25px;
}
.studio-item-title {
    font-size: 1.25rem;
    margin: 0 0 12px 0;
}
.studio-item-title a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

/* スタジオの特長バッジ（一覧カード用） */
.studio-item-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.studio-item-features .studio-feature-badge {
    display: inline-block;
    background: #f7f7f7;
    border: 1px solid #ddd;
    color: #666;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 50px;
    line-height: 1.4;
}

/* 最寄り駅スタイル（Googleアイコンと横並び ＆ 右寄せ化） */
.studio-item-station {
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end; /* PC・共通で右寄せにする */
    margin-top: 16px; /* 特長バッジとの間に綺麗なマージンを確保 */
}
.studio-item-station .material-symbols-outlined {
    font-size: 18px;
    color: #9BCBFA; 
}

/* ボタンブロック */
.studio-item-action {
    flex-shrink: 0;
}
.studio-detail-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #9BCBFA;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s;
}
.studio-detail-btn:hover {
    background: #87bceb;
    transform: translateY(-1px);
}

/* 📱 スマホ表示のときは縦長カードにスイッチ */
@media (max-width: 767px) {
    .studio-catalog-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    .studio-item-thumb {
        width: 100%;
        margin-bottom: 15px;
    }
    .studio-item-body {
        padding: 0;
        margin-bottom: 15px;
        width: 100%; /* ★最重要：テキストエリアを横幅100%に広げて右端を作ります */
    }
    /* スマホの時も右寄せ（flex-end）を維持し、マージンを微調整 */
    .studio-item-station {
        justify-content: flex-end;
        margin-top: 12px;
    }
    .studio-item-action {
        width: 100%;
    }
    .studio-detail-btn {
        display: block;
        text-align: center;
    }
}