@charset "utf-8";
/*
Theme Name:MONAD
Theme URI:https://tcd-theme.com/tcd110/
Description:WordPress theme "MONAD" was developed with a clinic site such as a psychosomatic clinic. It is characterized by gentle animations that give the image of a reassuring clinic, and has features that make it easy to create a medical information page and a FAQ page.
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.5.11
Text Domain:tcd-monad
*/


/* テーブル */
.sch-tb {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    text-align: center;
    font-size: 16px;
    /* 文字を大きくして見やすさ向上 */
    min-width: 700px;
    /* スマホで縮んで字が小さくなるのを完全に防ぐ */
}

.sch-tb th {
    background-color: #519fd8;
    color: #ffffff;
    font-weight: bold;
    padding: 16px 10px;
    border: none;
    font-size: 16px;
}

.sch-tb th.sat {
    background-color: #71b1e0;
    /* 土曜（青） */
}

.sch-tb th.sun {
    background-color: #ec8e8e;
    /* 日祝（赤） */
}

.sch-tb td {
    padding: 18px 20px !important;
    border-bottom: 1px solid #eef6fc;
    background-color: #ffffff;
    vertical-align: middle;
}

.sch-tb tr:last-child td {
    border-bottom: none;
}

.sch-tb td.time {
    background-color: #f6fafd;
    font-weight: bold;
    color: #2b6a9c;
    border-right: 2px solid #d4e8f7;
    /* 縦の区切り線を太く */
    font-size: 16px;
    width: 25%;
}

.sch-tb .m-ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #eef6fc;
    color: #519fd8;
    font-weight: bold;
    font-size: 18px;
    /* シンボルを大きく */
}

.sch-tb .m-note-star {
    font-size: 12px;
    color: #d93838;
    /* 赤色で注意を促す */
    font-weight: bold;
    vertical-align: super;
    margin-left: 2px;
}

.sch-tb .m-ng {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 20px;
    background-color: #f5f5f5;
    color: #777777;
    /* コントラストを高めの濃いグレーに */
    font-size: 13px;
    font-weight: bold;
}

.cell-thursday-morning {
    display: table-cell;
    /* テーブルセルとしての挙動を維持 */
    vertical-align: middle;
}

.sch-tb .m-note-sub {
    display: block;
    /* ◯の下に回り込ませるためにブロック化 */
    font-size: 11px;
    /* 小さすぎず、スマホでもはみ出さない適切なサイズ */
    font-weight: bold;
    /* 視認性を高める太字 */
    color: #d93838;
    /* はっきりとした注意用の赤色 */
    margin-top: 4px;
    /* ◯マークとの隙間を調整 */
    line-height: 1.2;
    white-space: nowrap;
    /* スマホ画面で文字が途中で不自然に改行されるのを防ぐ */
}

.alert {
    font-size: 15px;
    font-weight: bold;
    color: #d93838;
    margin: 0 0 8px 0;
    line-height: 1.6;
    background-color: #fdf2f2;

    padding: 12px 16px;
    border-left: 5px solid #d93838;
 
}

.generic-tb {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    text-align: center;
    font-size: 16px;
    border: 1px solid #eef6fc; 
    min-width: 500px;
}

.generic-tb th {
    background-color: #519fd8;
    color: #ffffff;
    font-weight: bold;
    padding: 16px 10px;
    border: none;
    border-right: 1px solid #ffffff; 
}

.generic-tb th:last-child {
    border-right: none;
}

.generic-tb td {
    padding: 18px 20px !important;
    border-bottom: 1px solid #eef6fc;
    border-right: 1px solid #eef6fc;
    background-color: #ffffff;
    vertical-align: middle;
}

.generic-tb td:last-child {
    border-right: none;
}

.generic-tb tr:last-child td {
    border-bottom: none;
}

.generic-tb td.row-header {
    background-color: #f6fafd;
    font-weight: bold;
    color: #2b6a9c;
    /* 縦の区切り線を少し太くして強調 */
    border-right: 2px solid #d4e8f7; 
}

@media screen and (max-width: 767px) {
    .sch-guide {
        font-size: 13px;
        padding: 12px;
    }

    .sch-tb td {
        padding: 16px 8px;
    }
       .generic-tb td {
        padding: 16px 8px !important;
        font-size: 14px; 
    }
}

/* グリッドスタイル（横並べ） */
.grid-cont {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.grid-item {
    flex: 1 1 0;
}

/* 横並べ最大3つ */
.grid-cont2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

@media screen and (max-width: 767px) {
    .grid-cont {
        display: block;
    }

    .grid-item {
        margin-bottom: 30px;
    }

    .grid-cont2 {
        grid-template-columns: 1fr;
    }
}

/* フォント設定 */
small {
    font-size: 14px;
}

/* 改行設定 */
.only-sp {
    display: none !important;
}

@media only screen and (max-width: 768px) {
    .only-pc {
        display: none !important;
    }

    .only-sp {
        display: block !important;
    }
}

/* マージントップ（ユーティリティクラス） */
.mt-10 {
    margin-top: 10px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.mt-50 {
    margin-top: 50px !important;
}

.mt-60 {
    margin-top: 60px !important;
}

.mt-70 {
    margin-top: 70px !important;
}

.mt-80 {
    margin-top: 80px !important;
}

.mt-90 {
    margin-top: 90px !important;
}

.mt-100 {
    margin-top: 100px !important;
}

/* ヘッダー */
#global_menu>ul>li {
    margin: 0 0 0 30px;
}

/* フッター　キャラクター追加 */

#footer {
    position: relative;
}

#footer::before {
    content: "";
    position: absolute;
    bottom: 100%;
    right: 3%;
    width: 250px;
    height: 190px;
    background-image: url('./img/img-chara01.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    z-index: 10;
    transform: translateY(30px);
}

@media screen and (max-width: 800px) {
    #footer::before {
        width: 150px;
        height: 120px;
        right: 4%;
        transform: translateY(130px);
    }
}

/* ==============================================
   カスタムドットリスト（修正版）
============================================== */
.list-dot {
    list-style: none !important;
    /* テーマの標準設定（circle）を強制的に消去 */
    padding-left: 0 !important;
}

.list-dot__item {
    list-style: none !important;
    /* liタグ側にも念のため強制消去を適用 */
    position: relative;
    padding-left: 1.5em;
    /* ドットを大きくした分、テキストとの隙間を少し広げます */
    margin-bottom: 10px;
}

/* 最後の項目の下余白は0にする */
.list-dot__item:last-child {
    margin-bottom: 0;
}

/* 先頭のドットデザイン（疑似要素） */
.list-dot__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    /* 文字の中央に合うように少し下にずらしました */
    width: 10px;
    /* ドットを大きくしました（旧：6px） */
    height: 10px;
    /* ドットを大きくしました（旧：6px） */
    border-radius: 50%;
    background-color: #b2d9ea;
}

.list-dot__item span {
    color: #2b6a9c;
    font-weight: 700;
}


/* 12カラムグリッド */
.row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
	row-gap: 20px;
}

.row>[class*="col-"] {
	padding: 0 10px;
	box-sizing: border-box;
}

.row img {
	padding: 0 40px;
}

.col-l-3 {
	width: 25%;
}

.col-l-4 {
	width: 33.3333%;
}

.col-l-6 {
	width: 50%;
}

.col-l-12 {
	width: 100%;
}

@media only screen and (max-width: 768px) {
	.row img {
		padding: 0 10px;
	}

	.col-s-3 {
		width: 25%;
	}

	.col-s-4 {
		width: 33.3333%;
	}

	.col-s-6 {
		width: 50%;
	}

	.col-s-12 {
		width: 100%;
	}
}