@charset "UTF-8";

/*------------------------------------------------------------
　テーブル
-------------------------------------------------------------*/
table.tb-responsive::-webkit-scrollbar {
height: 5px;
}
table.tb-responsive::-webkit-scrollbar-track {
border-radius: 5px;
background: #F3F3F3;
}
table.tb-responsive::-webkit-scrollbar-thumb {
border-radius: 5px;
background: #CCCCCC;
}

/*------------------------------------------------------------
　テーブルのスタイル
-------------------------------------------------------------*/
@media only screen and (min-width: 768px){
.entry-content table.tb-responsive {
	width: 100%;
}
}

@media screen and (min-width: 769px){
.table_style1 {
    border-top-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-left-style: solid;
    border-top-color: #999999;
    border-right-color: #999999;
    border-bottom-color: #999999;
    border-left-color: #999999;
	width: 100%;
}
}

@media screen and (min-width: 769px){
.table_style1 th {
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-right-style: solid;
    border-bottom-style: solid;
    color: #373028;
    white-space: nowrap;
    border-top-color: #999999;
    border-right-color: #999999;
    border-bottom-color: #999999;
    border-left-color: #999999;
    text-align: left;
    padding-top: 6px;
    padding-bottom: 6px;
    background-color: #FFEFE0;
    width: 30%;
    padding-right: 10px;
    padding-left: 10px;
    font-weight: bold;
}
}

@media (max-width: 960px) and (min-width: 641px){
.table_style1 {
    border-top-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-left-style: solid;
    border-top-color: #999999;
    border-right-color: #999999;
    border-bottom-color: #999999;
    border-left-color: #999999;
    margin-bottom: 20px !important;
    margin-left: auto !important;
    width: 95% !important;
    margin-right: auto;
}
}

@media (max-width: 960px) and (min-width: 641px){
.table_style1 th {
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-right-style: solid;
    border-bottom-style: solid;
    color: #373028;
    white-space: nowrap;
    border-top-color: #999999;
    border-right-color: #999999;
    border-bottom-color: #999999;
    border-left-color: #999999;
    text-align: left;
    padding-top: 6px;
    padding-bottom: 6px;
    background-color: #FFEFE0;
    width: 30%;
    padding-right: 10px;
    padding-left: 10px;
    font-weight: bold;
}
}

@media screen and (max-width: 640px){
.table_style1 {
    width: 95%;
    border-top-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-left-style: solid;
    border-top-color: #999999;
    border-right-color: #999999;
    border-bottom-color: #999999;
    border-left-color: #999999;
    font-size: 15px !important;
    margin-top: 0px;
    margin-right: auto !important;
    margin-bottom: 0px;
    margin-left: auto !important;
}
}

@media screen and (max-width: 640px){
.table_style1 th {
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-right-style: solid;
    border-bottom-style: solid;
    color: #373028;
    white-space: nowrap;
    border-top-color: #999999;
    border-right-color: #999999;
    border-bottom-color: #999999;
    border-left-color: #999999;
    text-align: left;
    padding-top: 6px;
    padding-bottom: 6px;
    background-color: #FFEFE0;
    width: 20%;
    padding-right: 10px;
    padding-left: 10px;
    font-weight: bold;
}
}

@media screen and (min-width: 769px){
.table_style2 {
    border-top-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-left-style: solid;
    border-top-color: #999999;
    border-right-color: #999999;
    border-bottom-color: #999999;
    border-left-color: #999999;
	width: 100%;
}
}

@media screen and (min-width: 769px){
.table_style2 th {
    border-right-width: 1px;
	border-bottom-width: 5px;
    border-right-style: solid;
    border-bottom-style: solid;
    color: #373028;
    white-space: nowrap;
    border-top-color: #999999;
    border-right-color: #999999;
    border-bottom-color: #999999;
    border-left-color: #999999;
    text-align: center;
    padding-top: 6px;
    padding-bottom: 6px;
    background-color: #C5E5EF;
    padding-right: 10px;
    padding-left: 10px;
    font-weight: bold;
}
}

@media (max-width: 960px) and (min-width: 641px){
.table_style2 {
    border-top-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-left-style: solid;
    border-top-color: #999999;
    border-right-color: #999999;
    border-bottom-color: #999999;
    border-left-color: #999999;
    margin-bottom: 20px !important;
    margin-left: auto !important;
    width: 95% !important;
    margin-right: auto;
}
}

@media (max-width: 960px) and (min-width: 641px){
.table_style2 th {
    border-right-width: 1px;
    border-bottom-width: 5px;
    border-right-style: solid;
    border-bottom-style: solid;
    color: #373028;
    white-space: nowrap;
    border-top-color: #999999;
    border-right-color: #999999;
    border-bottom-color: #999999;
    border-left-color: #999999;
    text-align: center;
    padding-top: 6px;
    padding-bottom: 6px;
    background-color: #C5E5EF;
    padding-right: 10px;
    padding-left: 10px;
    font-weight: bold;
}
}

@media screen and (max-width: 640px){
.table_style2 {
    width: 95%;
    border-top-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-left-style: solid;
    border-top-color: #999999;
    border-right-color: #999999;
    border-bottom-color: #999999;
    border-left-color: #999999;
    font-size: 15px !important;
    margin-top: 0px;
    margin-right: auto !important;
    margin-bottom: 0px;
    margin-left: auto !important;
}
}

@media screen and (max-width: 640px){
.table_style2 th {
    border-right-width: 1px;
    border-bottom-width: 5px;
    border-right-style: solid;
    border-bottom-style: solid;
    color: #373028;
    white-space: nowrap;
    border-top-color: #999999;
    border-right-color: #999999;
    border-bottom-color: #999999;
    border-left-color: #999999;
    text-align: center;
    padding-top: 6px;
    padding-bottom: 6px;
    background-color: #C5E5EF;
    padding-right: 10px;
    padding-left: 10px;
    font-weight: bold;
}
}


/* =========================================================
   汎用：横スクロールヒント（どこでも使える共通クラス）
========================================================= */
/* 親要素（基準位置）＆ スクロール機能の合体 */
.u-scroll-hint {
    position: relative !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* PCでは出さない。タブレット・スマホ（1023px以下）でのみヒントを表示 */
@media (max-width: 1023px) {
    .u-scroll-hint::before {
        display: block;
        content: "↔ スクロールできます";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 100;
        
        /* --------------------------------------
           ▼ 黒塗りスタイル設定 ▼
        -------------------------------------- */
        background: rgba(0, 0, 0, 0.7); /* 黒の半透明 */
        color: #fff; /* 白文字 */
        border: none; /* 枠線なし */
        font-size: 16px; /* 長老ベストチョイス！ */
        padding: 10px 20px;
        border-radius: 20px;
        box-shadow: none; /* 影なし */
        /* -------------------------------------- */

        pointer-events: none;
        transition: opacity 0.5s, visibility 0.5s;
        white-space: nowrap;
    }
    
    /* スクロールされたら消す */
    .u-scroll-hint.is-scrolled::before {
        opacity: 0;
        visibility: hidden;
    }
}

/* --- スマホ専用（520px以下） --- */
@media screen and (max-width: 520px) {

    /* ▼ 横スクロール箱の中にあるテーブルだけを500pxにする！ ▼ */
    .u-scroll-hint .studio-detail-table {
        min-width: 500px;
    }

    /* テーブルの文字サイズ調整 (既存の記述) */
    .studio-detail-table th, 
    .studio-detail-table td {
        font-size: 0.8rem;
    }

    /* (マップボタンのpadding調整などはそのまま) */
}