@charset "UTF-8";

/* 全体の基本スタイル設定 */
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: #333333; /* テキストの基本色 */
    line-height: 1.7;
    margin: 0;
    padding: 40px 20px;
    background-color: #ffffff;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* メインタイトル部分 */
h1 {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 5px;
    padding-bottom: 15px;
    position: relative;
}

/* タイトル下の細いアクセントライン（表と同じ #EB3349） */
h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: #EB3349;
}

/* 箇条書きリスト部分 */
.info-list {
    list-style-type: none;
    padding-left: 0;
    margin: 30px 0;
}

.info-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    font-size: 15px;
}

/* リストの先頭につく丸いドット（色をテキストと同じ #333333） */
.info-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #333333;
    font-size: 12px;
    top: 1px;
}

/* 注記テキスト */
.note {
    font-size: 13px;
    color: #666666;
    margin-bottom: 40px;
}

/* リーフレットセクション */
.leaflet-section {
    text-align: center;
    margin: 40px 0 60px 0;
}

.leaflet-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.leaflet-placeholder {
    width: 100%;
    display: block;
}

/* PC用画像：通常表示（大画面ではスマホ用を非表示に） */
.leaflet-placeholder img.pc {
    display: inline-block;
    width: 100%;
    max-width: 600px;
    height: auto;
    border: 1px solid #cccccc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.leaflet-placeholder img.sp {
    display: none;
}

/* 通常時（PCなどの大画面）はスクロール案内を非表示に */
.table-notice {
    display: none;
    font-size: 13px;
    color: #666666;
    margin-bottom: 8px;
    text-align: left;
}

/* -------------------------------------------
   お問い合わせ表（テーブル）のスタイル設定
------------------------------------------- */

/* レスポンシブ対応：スマホ画面で横スクロールを可能にする */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 10px;
}

.contact-table {
    width: 100%;
    min-width: 750px; /* 画面幅が狭まっても崩れないよう横幅を確保 */
    border-collapse: collapse;
    font-size: 15px;
    box-sizing: border-box;
    border: 1px solid #cccccc; /* テーブル全体の外枠 */
}

/* すべてのセルを細いグレーの線で囲み、線が消えるのを完全に防ぎます */
.contact-table td {
    border: 1px solid #cccccc;
    padding: 20px 15px;
    vertical-align: middle;
}

/* 左側の縦に長い大きなセル（指定色 #EB3349 で塗りつぶし） */
.contact-table td.main-label-cell {
    background-color: #EB3349;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    width: 40%;
    font-size: 16px;
    border-right: 1px solid #ffffff; 
}

/* 右側上部のヘッダーセル（電話番号・受付時間：指定色 #EB3349 で塗りつぶし） */
.contact-table td.header-cell {
    background-color: #EB3349;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    border-left: 1px solid #ffffff;
    border-bottom: 1px solid #cccccc; 
}

/* 電話番号の中身を表示するセル */
.contact-table td.content-cell {
    width: 35%;
    background-color: #ffffff;
}

/* 受付時間の中身を表示するセル */
.contact-table td.time-cell {
    width: 25%;
    text-align: center;
    background-color: #ffffff;
    color: #444444;
}

/* 電話番号テキストの強調 */
.phone-number {
    font-weight: bold;
    font-size: 16px;
    color: #333333;
}

/* 部署名のマージン */
.dept-name {
    margin-bottom: 8px;
    color: #333333;
}

/* スマートフォン向けの調整（画面幅768px以下） */
@media screen and (max-width: 768px) {
    body {
        padding: 20px 10px;
    }
    h1 {
        font-size: 20px;
    }
    .info-list li {
        font-size: 14px;
    }

    /* スマホ画面のときだけスクロール案内を表示させる */
    .table-notice {
        display: block;
    }

    /* スマホでの画像の切り替え設定 */
    .leaflet-placeholder img.pc {
        display: none;
    }
    .leaflet-placeholder img.sp {
        display: inline-block;
        width: 100%;
        max-width: 450px; /* スマホ用画像が大きくなりすぎないよう調整 */
        height: auto;
        border: 1px solid #cccccc;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        box-sizing: border-box;
    }
}
