@charset "utf-8";



/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");
@import url("footer.css");
/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
/*@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel&display=swap');*/
@import url("https://fonts.googleapis.com/css2?family=BIZ+UDPMincho:wght@400;700&family=Noto+Sans+JP:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/*Bootstrap Iconsの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.0/font/bootstrap-icons.css");

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("animation.css");


/*テーマカラーの定義（CSS変数）
ここのカラーコードを変更するだけで、テンプレートのテーマカラーが変わります。
---------------------------------------------------------------------------*/
:root {
    --primary-color: #c8b79c;
}

/*全体の設定
---------------------------------------------------------------------------*/
html,
body {
    font-size: 16px;
    /*基準となるフォントサイズ。*/
    height: 100%;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

    html,
    body {
        font-size: 17px;
        /*基準となるフォントサイズ。*/
    }

}

/*画面幅900px以上の追加指定ここまで*/




body {
    /* font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;*/
    /*フォント種類（ゴシック）*/
    /*font-family: "Noto Serif JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;	/*フォント種類（明朝）*/
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
    -webkit-text-size-adjust: none;
    background: #fff;
    /*背景色#837256*/
    color: #524a3e;
    /*文字色*/
    line-height: 2;
    /*行間*/
    /*    background-image: url(../images/body_bg.png);
    background-repeat: repeat;*/

}

h1,
h2,
h3,
h4 {
    font-family: "BIZ+UDPMincho", "游明朝", "YuMincho", serif;
    font-weight: 800;
}

.btn-list1,
.btn-list2,
.btn-list3 {
    font-family: "BIZ+UDPMincho", "游明朝", "YuMincho", serif;
}

/*リセット*/
figure {
    margin: 0;
}

dd {
    margin: 0;
}

nav {
    margin: 0;
    padding: 0;
}

/*table全般の設定*/
table {
    border-collapse: collapse;
}

/*画像全般の設定*/
img {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/*videoタグ*/
video {
    max-width: 100%;
}

/*iframeタグ*/
iframe {
    width: 100%;
}

/*他*/
input {
    font-size: 1rem;
}

section {
    margin-bottom: 50px;
}

.mt20 {
    margin-top: 20px
}

.mt30 {
    margin-top: 30px;
}

.mt50 {
    margin-top: 50px;
}

.ml20 {
    margin-left: 20px;
}

.mr20 {
    margin-right: 20px;
}

.mtlr10 {
    margin: 10px 10px;
}


.bd15 {
    font-weight: bold;
    color: #ffffff;
    font-size: 15x;
}

.bd18 {
    font-weight: bold;
    color: #ffffff;
    font-size: 18x;
}

.bd22 {
    font-weight: bold;
    color: #ffffff;
    font-size: 22px;
}

.t-r {
    text-align: right
}

.t-c {
    text-align: center
}




/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
    color: #555;
    text-decoration: none;
    /*文字色*/
    transition: 0.3s;
    /*hoverまでにかける時間。0.3秒。*/
}

a:hover {
    opacity: 0.8;
    /*マウスオン時に50%の透明度にする*/
}

@media (min-width: 900px) {
    a[href*="tel:"] {
        pointer-events: none;
        color: #543E36;
        cursor: default;
        text-decoration: none;
    }
}

@media (max-width: 899px) {
    a[href*="tel:"] {
        text-decoration: none;
        color: #543E36;
    }
}

/*container
---------------------------------------------------------------------------*/
#container {
    /*max-width: 1800px;*/

    width: 100%;

    /*サイトの最大幅。これ以上広がらない。*/
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
    padding: 0px 3%;
    /*上下、左右へのヘッダー内の余白*/
    /*背景色 #DECEBC*/
    /* background-image: url(../images/head_bg.png);
    background-repeat: repeat-x;*/
    background: #f5f5f5;
    /*#fcfbf6;  */
    color: #fff;
    /*文字色*/
}




header a {
    color: inherit;
}

/*ロゴ*/
#logo img {
    display: block;
}

#logo {
    font-size: 2em;
    margin: 0.67em 0;
    max-width: 300px;
    /*ロゴの幅*/
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

    /*ヘッダーブロック*/
    header {
        display: flex;
        /*flexボックスを使う指定*/
        justify-content: space-between;
        /*並びかたの種類の指定*/
        align-items: center;
        /*垂直揃えの指定。天地中央に配置されるように。*/
    }

}

/*画面幅900px以上の追加指定ここまで*/


/*トップページのスライドショー（vegasを使用）
背景画像をレスポンシブにする為の設定ですが、画像比率を変更したい場合はテンプレート内マニュアルをご覧下さい。
---------------------------------------------------------------------------
#mainimg-box {
	width: 100%;
	height: 0;
	padding-top: 40%;
	position: relative;
	z-index: -1;
}

#mainimg {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

*/



/* メインビジュアル 固定化 20261109 */
#mainimg-box {
    width: 100%;
    height: auto;
    padding-top: 0;
    position: relative;
    z-index: 0;
}

/* 旧スライドショー用 */
#mainimg {
    position: relative;
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
}


/*メニューブロック設定
---------------------------------------------------------------------------*/
#menubar a {
    display: block;
    text-decoration: none;

}

#menubar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    /* font-family: "Noto Serif JP", serif;*/
    font-family: "游明朝", "YuMincho", serif;
    font-weight: bold;
}

#menubar.d-n,
#menubar_hdr.d-n,
#menubar .ddmenu_parent ul {
    display: none;
}

#menubar.d-b {
    display: block;
}

#menubar_hdr.d-b {
    display: flex;
}

#menubar {
    animation: opa1 0.3s 0.2s both;
    /*0.2秒の間だけ非表示にし、その後0.3秒かけてフェードイン表示*/
    position: relative;
    /*   z-index: 1;*/
    /*スライドショーがある場合にドロップダウンが下に隠れないようにするため*/
    font-size: 17px;
    /*文字サイズ。端末サイズで文字サイズが変わると不具合が出る場合があるので、ここで統一しています。*/
}



/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/
.p #menubar {
    /*背景色 #DECEBC*/

    /* background-image: url(../images/head_bg.png);
    background-repeat: repeat-x;*/
    background: #f5f5f5;
}

.p #menubar nav {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}



.p #menubar > nav > ul {
    display: flex;
    /*flexボックスを使う指定*/
    justify-content: space-between;
    /*並びかたの種類の指定*/


}


/*----------- 中心から外に線が伸びる（下部）----------*/

.p #pc-nav li a {
    /*線の基点とするためrelativeを指定*/
    position: relative;
}

.p #pc-nav li.current a,
.p #pc-nav li a:hover {
    color: #837256;
}

.p #pc-nav li a::after {
    content: "";
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 10%;
    /*線の形状*/
    width: 80%;
    height: 2px;
    background: #837256;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);
    /*X方向0、Y方向1*/
    transform-origin: center top;
    /*上部中央基点*/
}

/*現在地とhoverの設定*/
.p #pc-nav li.current a::after,
.p #pc-nav li a:hover::after {
    transform: scale(1, 1);
    /*X方向にスケール拡大*/
}



/*=========================== 上部メニュー　スクロール時に固定させるためのCSS ===================================*/

.p #menubar {
    display: flex;
    position: absolute;
    justify-content: space-between;
    box-shadow: 0 5px 5px rgba(0, 0, 0, .3);
    width: 100%;
    top: 100px;
}

.p #menubar.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

/* スクロール時の隙間調整 */
.main-cont

/* スクロール先をセレクタに */
    {
    margin-top: -55px;
    padding-top: 55px;
    transition: 0.8s all;
}

/*===========================　▲ 上部固定ここまで ====================================*/


/*メニュー１個あたりの設定*/
.p #menubar li {
    text-align: center;
    /*テキストをセンタリング*/
    flex: 1;
    /*個々のメニューを均等にし、幅いっぱいまで使う設定*/
    position: relative;
    /*ドロップダウンの幅となる基準を作っておく*/
}

.p #menubar a {
    padding: 10px;
    /*メニュー内の余白*/
    /*背景色 #DECEBC*/
    /*  background-image: url(../images/head_bg.png);
    background-repeat: repeat-x;*/
    background: #f5f5f5;
    /*背景色#393122*/
    /*これを付け足し*/
    color: #420809;
    /*文字色*/
}

/*現在表示中メニュー（current）*/
.p #menubar li.current > a {
    background: #bb8000;

    /*背景色*/
}

/*現在表示中メニューの下部にある「▼」*/
.p #menubar li.current::before {
    content: "▼";
    /*この文字（▼マーク）を出力します*/
    font-size: 20px;
    /*サイズ*/
    color: #bb8000;
    /*色*/
    position: absolute;
    /*絶対配置する*/
    bottom: -1.2em;
    /*下からの配置場所の指定*/
    left: calc(50% - 0.5em);
    /*左からの配置場所の指定*/
    transform: scale(1.5, 0.8);
    /*大きさを少し横長にする。横に1.5倍、縦に0.8倍です。*/
}





/*大きな端末用のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
.p #menubar ul ul {
    position: absolute;
    z-index: 100;
    width: 100%;
    border: 1px solid #ccc;
    /*枠線の幅、線種、色*/
}


/*---------900以上 表示しない　------------------------*/
.p #menubar .btn-sm li {
    display: none;
}

.p #menubar .icons li {
    display: none;
}


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.s #menubar.d-b {
    position: fixed;
    overflow: auto;
    z-index: 100;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    padding: 100px 20px 20px;
    /*ブロック内の余白。上、左右、下。*/
    background: rgba(0, 0, 0, 0.9);
    /*背景色。0,0,0は黒の事で0.9は色が90%出た状態。*/
    text-align: center;
    /*内容をセンタリング*/
    animation: animation1 0.2s both;
    /*animation.cssのanimation1を実行する。0.2sは0.2秒の事。*/
}

/*メニュー１個あたりの設定*/
.s #menubar a {
    padding: 10px;
    /*メニュー内の余白*/
    color: #fff;
    /*文字色*/
}

/* pc用の予約・問診ボタン非表示 */
.s .btn {
    display: none;
}


/*headerボタン / インスタなどのアイコンブロック
---------------------------------------------------------------------------*/
.s #menubar .icons li {
    display: inline-block;
    /*横並びにする指定*/
    margin: 10px;
    /*アイコンの外側に空けるスペース*/
    font-size: 20px;
    /*文字サイズですが、これでアイコンサイズを変更できます。*/
}

.s #menubar .btn-sm {
    display: inline-block;
}

.s #menubar .btn-sm li {
    display: inline-block;
}



/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*大きな端末では非表示にしておく*/
.p #menubar_hdr {
    display: none;
}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*大きな端末では非表示にしておく*/
.p #menubar_hdr {
    display: none;
}

/*３本バーを囲むブロック*/
.s #menubar_hdr {
    position: fixed;
    z-index: 101;
    cursor: pointer;
    right: 30px;
    /*右からの配置場所指定*/
    top: 30px;
    /*上からの配置場所指定*/
    padding: 16px 14px;
    /*上下、左右への余白*/
    width: 46px;
    /*幅（３本バーが出ている場合の幅になります）*/
    height: 46px;
    /*高さ*/
    display: flex;
    /*flexボックスを使う指定*/
    flex-direction: column;
    /*子要素（３本バー）を縦並びにする*/
    justify-content: space-between;
    /*並びかたの種類の指定*/
    /*background: rgb(164, 147, 103, 0.8);*/
    background: rgb(180, 151, 51, 0.7);
    /*背景色*/
    border-radius: 10%;
    /*円形にする*/
}

/*画面幅400px以下の追加指定*/
@media screen and (max-width:400px) {

    /*３本バーを囲むブロック*/
    .s #menubar_hdr {
        right: 10px;
        /*右からの配置場所指定*/
        top: 10px;
        /*上からの配置場所指定*/
    }

}

/*画面幅400px以下の追加指定ここまで*/


/*バー１本あたりの設定*/
#menubar_hdr span {
    display: block;
    transition: 0.3s;
    /*アニメーションにかける時間。0.3秒。*/
    border-top: 2px solid #fff;
    /*線の幅、線種、色*/
}

/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
    transform-origin: center center;
    /*変形の起点。センターに。*/
    width: 20px;
    /*バーの幅*/
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1) {
    transform: rotate(45deg) translate(3.8px, 5px);
    /*回転45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3) {
    transform: rotate(-45deg) translate(3.8px, -5px);
    /*回転-45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2) {
    display: none;
    /*２本目は使わないので非表示にする*/
}


/*mainブロック設定
---------------------------------------------------------------------------*/
/*mainブロックの設定*/
main {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin: 0 0 50px 0;
    ブロックの外側に空けるスペース*/
}

.main-cont {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-top: 30px;
    position: relative;
    z-index: -1;
}


.main-00 {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 10px 10px;
    background: #ffffff;
}


.main-01 {
    max-width: 1280px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    background: #F3EFE9;
    border-radius: 10px;
    padding: 10px 10px;
}

.main-02 {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 10px 10px;
    background: #F3EFE9;
    background: url(../images/main_bg1.jpg) no-repeat center center / cover;
    background-color: rgba(255, 255, 255, 0.8);
    background-blend-mode: lighten;

}

.main-wrap {
    max-width: 1280px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.bg-pink {
    background: #F3EFE9;
}

@media screen and (min-width:900px) {

    .main-cont {
        padding-top: 130px;
        z-index: -1;
    }


    .main-00 {
        margin-bottom: 50px;
        padding: 30px 20px;
    }


    .main-01 {
        margin-bottom: 50px;
        padding: 30px 20px;
    }


}




/*画面幅900px以上の追加指定
@media screen and (min-width:900px) {

    main {
        margin: 50px;
        ブロックの外側に空けるスペース
        flex: 1;
    }

    2カラムで使う為の指定
    main.c2 {
        display: flex;
        justify-content: space-between;
    }

    2カラムの中にある.main要素（頭にドットがない「main」とは異なるので注意して下さい）
    main.c2 .main {
        width: calc(100% - 280px);
       幅。ここの280pxの数字は下の.subの幅(230px)と、左右ブロックの間の余白(50px)を追加したものです。
        order: 1;
    }

    2カラムの中にある.sub要素
    main.c2 .sub {
        width: 230px;
        幅
    }

}*/

/*画面幅900px以上の追加指定ここまで*/




/*h2タグ*/
main h2 {
    font-size: 1.8rem;
    /*文字サイズ*/

    letter-spacing: 0.1rem;
    /*文字間隔を少しだけ広くとる*/
    /*border-bottom: 1px solid #a49367;*/
    margin-bottom: 30px;

}



/*h3タグ*/
main h3 {
    font-size: 1.8rem;
    /*文字サイズ*/
    text-align: center;
    /*h3の外側にとるスペース。上、左右、下への順番。*/
    letter-spacing: 0.1rem;
    /*文字間隔を少しだけ広くとる*/
    /*border-bottom: 1px solid #a49367;*/
    margin-bottom: 30px;

}

/*h4タグ*/
main h4 {
    font-size: 1.1rem;
    /*文字サイズ*/
    margin: 0 1rem 1rem;
    /*h4の外側にとるスペース。上、左右、下への順番。*/
}

/*pタグ*/
main p {
    margin: 0 1rem 2rem;
    /*pの外側にとるスペース。上、左右、下への順番。*/
}

/*微調整*/
main p + p {
    margin-top: -1rem;
    /*段落が続いた場合に、少し上に詰める。*/
}


.head00 {
    font-size: 3rem;
    font-style: oblique;
}



.head01 {
    font-size: 1.5rem;

}

.head01 span {
    display: flex;
    align-items: center;
    color: #a49367;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.head01 span::before {
    content: "";
    display: inline-block;
    margin-right: 20px;
    width: 40px;
    height: 1px;
    background-color: #a49367;
}



.head02 span {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-align: center;
    color: #a49367;
}

.head02 span::before,
.head02 span::after {
    content: "";
    width: 70px;
    height: 1px;
    background-color: #a49367;
}

.head02 span::before {
    margin-right: 20px;
}

.head02 span::after {
    margin-left: 20px;
}



@media screen and (max-width:900px) {
    main h2 {
        font-size: 1.5rem;
    }

    main h3 {
        font-size: 1.5rem;
    }

    .head00 {
        font-size: 2.2rem;
    }
}

/*フッターのスライドバナー
---------------------------------------------------------------------------*/
.top-banner {
    display: flex;
    flex-wrap: wrap;
}

.top-banner li {
    width: calc(100%/4);
    /*←画像を横に4つ並べる場合*/
    padding: 10px 40px 10px 0;
    /*←画像の左右に5pxの余白を入れる場合*/
    box-sizing: border-box;
    list-style: none;
    margin-top: 25px;
}

.top-banner li img {
    max-width: 100%;
    /*画像のはみだしを防ぐ*/
    height: auto;
    /*画像の縦横比を維持 */
    border: solid 1px #ccc;
    /*←画像を1pxのグレーの枠線で囲む指定の場合*/
}

/*画面幅900px以下の追加指定*/
@media screen and (max-width: 900px) {

    .top-banner {
        display: flex;
        flex-wrap: wrap;
        padding: 0 5px;
        margin: 0;
    }

    .top-banner li {
        width: 50%;
        padding: 10px 5px;
        box-sizing: border-box;
        list-style: none;
        margin-top: 25px;
    }

    .top-banner li img {
        display: block;
        width: 100%;
        height: auto;
        border: solid 1px #ccc;
        box-sizing: border-box;
    }
}


/*フッターのコンテンツ（住所やマップが入っているブロック）
---------------------------------------------------------------------------*/
/*ブロック全体*/
#footer-contents {
    /*background: #F3EFE9;*/
    /*背景色*/
    background-image: url(../images/body_bg.png);
    background-repeat: repeat;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    color: #837256;
    /*文字色*/
    padding: 50px 3%;
    /*上下、左右へのボックス内の余白*/
    font-size: 0.95rem;
    /*文字サイズ*/
    line-height: 1.5;
}

#footer-contents a {
    color: inherit;
}

/*フッターコンテンツ内のh4*/
#footer-contents h4 {
    margin: 0;
    font-size: 1.3em;
    /*文字サイズを親要素の1.2倍に*/
}

/*フッターコンテンツ内のロゴ*/
#footer-contents #footer-logo {
    max-width: 350px;
    /*最大幅*/
}


a.footer-tel {
    display: block;
    vertical-align: middle;
    text-decoration: none;
    margin: auto;
    letter-spacing: 0.5rem;
    color: #4e473b;
    transition: 0.5s;
}

/*左側のブロック*/
#footer-contents .left {
    margin-bottom: 50px;
    /*下に空けるスペース*/
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

    #footer-contents {
        display: flex;
        /*flexを使う指定*/
        justify-content: space-between;
        /*並びかたの種類の指定*/
    }

    /*左側のブロック*/
    #footer-contents .left {
        margin-bottom: 0;
        /*下のマージンをリセット*/
        width: 50%;
        /*幅。leftとrightで合計100になれば、お好みで変更してもらって構いません。*/
    }

    #footer-contents .right {
        width: 50%;
        /*幅。leftとrightで合計100になれば、お好みで変更してもらって構いません。*/
        padding-left: 3%;
        /*左側に空ける余白。左右ブロックの間の隙間です。*/
    }

}

/*画面幅900px以上の追加指定ここまで*/



/*テーブル（week）footer-contents内で使っています。
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.week caption {
    border: 1px solid #ccc;
    /*枠線の幅、線種、色*/
    border-bottom: none;
    /*下線だけ消す*/
    background: #a49367;
    /*背景色*/
    padding: 0.7rem 0.7rem;
    /*caption内の余白。上下、左右に１文字分ずつとる。*/
    color: #ffffff;
}

/*weekテーブルブロック設定*/
.week {
    width: 100%;

    text-align: center;
    /*テーブル内のテキストをセンタリング*/
    font-size: 0.85rem;
}

.week th {
    padding: 0.7rem 0.7rem;
    background: #f2f2f2;
}

.week,
.week td,
.week th {
    border: 1px solid #ccc;
    /*テーブルの枠線の幅、線種、色。*/
}

.week td {
    table-layout: fixed;
    background: #ffffff;
}

.nowrap {
    white-space: nowrap
}

/*footer-contents内のマップ(iframe)をレスポンシブにする設定。
---------------------------------------------------------------------------*/
.iframe-box {
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    /*アスペクト比を調整するところです*/
    position: relative;
}

.iframe-box iframe {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}



/*フッター設定

footer small {
	font-size: 100%;
}


.footer {
	font-size: 0.8rem;
	background: #393122;
	color: #fff;
	text-align: center;
	padding: 10px 50px;
}



.footer a {
	color: #fff;
	text-decoration: none;
}


.footer a:hover {
	color: #fff;
}

.md-flex a {
	margin: 15px 15px;
}

@media (min-width: 768px) {
	.footer {
		display: flex;
		justify-content: space-between;
	}

	.md-flex {
		display: flex;
	}

	.md-flex a {
		margin: 15px 15px;
	}
}
*/



/* Top 初診の方へ
---------------------------------------------------------------------------*/


/*list　2つ　　　list-grid1-parts, list-grid2-parts 共通   index
---------------------------------------------------------------------------*/
/*list-partsブロック全体を囲むブロック*/
.list-grid1-parts,
.list-grid2-parts {
    display: grid;
    padding: 0 15px;
}

/*ボックス１個あたり*/
.list-grid1-parts .list-parts,
.list-grid2-parts .list-parts {
    display: grid;
}

/*list内の全ての要素のmarginとpaddingを一旦リセット*/
.list-grid1-parts .list-parts *,
.list-grid2-parts .list-parts * {
    margin: 0;
    padding: 0;
}

/*ボックス内のp要素*/
.list-grid1-parts .list-parts p,
.list-grid2-parts .list-parts p {
    font-size: 1.0 rem;
    /*文字サイズを85%に*/
    line-height: 1.5;
    /*行間を少し狭く*/
    padding: 15px 10px;
}


/*ボックス内のp要素*/
.list-grid1-parts .list-parts ul,
.list-grid2-parts .list-parts ul {
    font-size: 1.0 rem;
    /*文字サイズを85%に*/
    line-height: 1.5;
    /*行間を少し狭く*/
    padding: 15px 20px;
}

/*list-grid1-parts
-------------------------------------------------------*/

/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

    /*listブロック全体を囲むブロック*/
    .list-grid1-parts {
        grid-template-columns: repeat(2, 1fr);
        /*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
        gap: 1rem;
        /*ブロックの間に空けるマージン的な指定*/
    }

}


/*２列　ボックス１個あたり*/
.list-grid1-parts .list-parts {
    padding: 1.5rem;
    /*ボックス内の余白*/
    background: #fff;
    /*背景色*/
    /* grid-template-rows: auto 1fr;*/
    grid-template-rows: auto;
    /*１つ目（この場合はfigure要素のサイズ）は自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
    /*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
    margin-bottom: 20px;
}

/*ボックス内のfigure画像*/
.list-grid1-parts .list-parts figure img {
    margin-bottom: 0.5rem;
    /*画像の下に空けるスペース*/
}




/*２列　ボタン 1つ　*/
.list-grid1-parts .btn-parts a {
    display: inline-block;
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    /*テキストをセンタリング*/
    background: #eee;
    /*背景色*/
    border: 1px solid #999;
    /*枠線の幅、線種、色*/
    padding: 5px 10px;
    /*ボタン内の余白*/
    margin-top: 1rem;
    /*ボタンの上に空けるスペース*/
}




/*list-grid2-parts　３列
-------------------------------------------------------*/



/*listブロック全体を囲むブロック*/
.list-grid2-parts {
    grid-template-columns: repeat(3, 1fr);
    /*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
    gap: 2rem;
    padding: 0 15px;
    max-width: 1180px;
    margin: auto;
}


/*h3タグ*/
.list-grid2-parts h3 {
    font-size: 1.5em;
    text-align: center;
    line-height: 1.5;

    color: #b49733
        /*#B39460*/
    ;
}

.list-grid2-parts p {
    font-size: 1.1em;
    text-align: center;
    font-weight: 400;
}

/*ボックス１個あたり*/
.list-grid2-parts .list-parts {
    padding: 2rem;
    /*ボックス内の余白*/
    background: rgb(255, 255, 255, 0.7);
    /* background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 246, 233, 1) 100%); グラデーション*/


    border-radius: 5px;
    /*背景色*/
    grid-template-rows: auto 1fr;
    /*１つ目（この場合はfigure要素のサイズ）は自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
    /*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
    margin-bottom: 30px;
}

/*ボックス内のfigure画像*/
.list-grid2-parts .list-parts figure img {
    margin-bottom: 0.5rem;
    /*画像の下に空けるスペース*/
}



/*div要素全体にリンクをつける方法*/

.list-grid2-parts .list-parts {
    position: relative;
}


/* aタグの設定 */
.list-grid2-parts .list-parts a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hover {
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
    display: inline-block;
    padding: 0.6em 2em;
    margin: 0 0 1em;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.hover:hover {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.25);
    transform: translateY(-0.1875em);
}

/* ラベル部分 左上に表示 */
.list-grid2-parts .list-parts::before {
    content: "";
    top: 0;
    left: 0;
    border-bottom: 4em solid transparent;
    border-left: 4em solid #c12748
        /*#dd2e6b*/
    ;
    border-radius: 3px;
    /* #B39460/#c12748 */
    /* ラベルの色はここで変更 */
    position: absolute;
    z-index: 1;
}

.list-grid2-parts .list-parts::after {
    content: "Check!";
    display: block;
    top: 5px;
    transform: rotate(-45deg);
    color: #fff;
    /* 文字色はここで変更 */
    left: 0;
    position: absolute;
    z-index: 1;

}



.check a {
    text-decoration: none;
}

/*
@media screen and (max-width:900px) {


    .list-grid2-parts .list-parts::before {

        border-bottom: 3.5em solid transparent;
        border-left: 3.5em solid #c12748;

    }

    .list-grid2-parts .list-parts::after {
        top: 5px;
        font-size: 80%;
    }



    .list-grid2-parts .list-parts {
        padding: 1rem;
        margin-bottom: 10px;
    }

    .list-grid2-parts h3 {
        font-size: 1.1em;
    }

    .list-grid2-parts p {
        font-size: 0.9em;
    }
}

*/


@media screen and (max-width:900px) {

    /*listブロック全体を囲むブロック*/
    .list-grid2-parts {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.0rem;
        padding: 0px 5px;
        width: 95%;
    }

    .list-grid2-parts .list-parts::before {

        border-bottom: 3em solid transparent;
        border-left: 3em solid #c12748;

    }

    .list-grid2-parts .list-parts::after {
        top: 5px;
        font-size: 70%;
    }

    /*ボックス１個あたり*/
    .list-grid2-parts .list-parts {
        padding: 0rem;
    }


    .list-grid2-parts .list-parts .text-parts {
        line-height: 1.3;
        /*行間を少し狭く*/
        padding: 15px 0px 0px 0px;
    }


    .list-grid2-parts h3 {
        font-size: 0.9em;
        letter-spacing: -0.1em;
    }

    .list-grid2-parts p {
        font-size: 0.8em;
        letter-spacing: -0.1em;
    }
}



/*３列タイプのボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-container {
    padding: 20px;
}

.list-container .list {
    margin-bottom: 30px;
    /*ボックス同士の上下間に空けるスペース*/
    padding: 15px;
    /*ボックス内の余白*/
    background: #fff;
    /*背景色*/
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
    /*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のh4タグ*/
.list-container .list h4 {
    margin: 0;
}



/*ボックス内のfigure画像*/
.list-container .list figure {
    margin-bottom: 1rem;
    /*下に空けるスペース*/
}

.list-container .list {
    /*親div*/
    position: relative;
    /*相対配置*/
}

.list-container .list p {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 15px 0;
    width: 92%;
    background: rgb(134, 107, 81, 0.6);
    color: white;
    /*文字色*/
    font-size: 25px;
    text-align: center;
    /*文字サイズ*/
    font-family: "BIZ+UDPMincho", "游明朝", "YuMincho", serif;
    font-weight: 800;
}


.example img {
    width: 100%;

}




/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

    /*listブロック全体を囲むブロック*/
    .list-container {
        display: flex;
        /*flexボックスを使う指定*/
        flex-wrap: wrap;
        /*折り返す指定*/
    }

    /*１個あたりのボックス設定*/
    .list-container .list {
        width: 32%;
        /*幅。３列になります。*/
        margin-right: 2%;
        /*右側へのマージン。ボックス同士の左右の余白です。*/
    }

    /*3の倍数目のボックスの右側のマージンをなくす*/
    .list-container .list:nth-of-type(3n) {
        margin-right: 0;
    }

    /*ボックス内のtextブロック*/
    .list-container .list .text {
        flex: 1;
    }

}

/*画面幅900px以上の追加指定*/
@media screen and (max-width:900px) {

    /*listブロック全体を囲むブロック*/
    .list-container {
        padding: 0px;
        display: flex;
        /*flexボックスを使う指定*/
        flex-wrap: wrap;
        /*折り返す指定*/
    }

    /*１個あたりのボックス設定*/
    .list-container .list {
        width: 48%;
        /*幅。2列になります。*/
        margin-right: 2%;
        /*右側へのマージン。ボックス同士の左右の余白です。*/
        padding: 8px;
    }

    /*3の倍数目のボックスの右側のマージンをなくす*/
    .list-container .list:nth-of-type(2n) {
        margin-right: 0;
    }

    /*ボックス内のtextブロック*/
    .list-container .list .text {
        flex: 1;
    }

    .list-container .list p {
        font-size: 15px;
    }


}



/*ボタン ２つ
------------------------------------------------------*/

.btn-menu2 {
    width: 100%;
    display: table;
    border-spacing: 8px;
    margin: -8px;
}

/*アクセントカラー*/
.btn-list1 {
    display: table-cell;
    height: 50px;
    width: 40%;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    color: #ffffff;
    font-weight: bolder;
    border-radius: 3px;
    background-color: #a49367;
    margin: 10px;
    position: relative;
    transition: ease .2s;
}

.btn-list1 a:hover {
    background-color: #a49367;
    opacity: 0.8;
    transition-property: background-color;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;

}

/* 矢印が右に移動 */

.btnarrow1::after {
    content: "";
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    top: 42%;
    right: 13px;
    /*矢印の形状*/
    width: 5px;
    height: 5px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    /*アニメーションの指定*/
    transition: all .3s;
}

/*hoverした際の移動*/
.btnarrow1:hover::after {
    right: 11px;
}


/*========= レイアウトのためのCSS ========




/*中林レディースクリニックカラー*/
.btn-list2 {
    display: table-cell;
    height: 50px;
    width: 80%;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    color: #ffffff;
    font-weight: bolder;
    border-radius: 3px;
    background-color: #e0adad;
    margin: 10px;
    position: relative;
    transition: ease .2s;
    font-size: 90%;
}

.btn-list2 a:hover {
    background-color: #86C8AC;
    opacity: 0.8;
    transition-property: background-color;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;

}




/*.listブロック共通
---------------------------------------------------------------------------*/
.list {
    position: relative;
    /*子要素のアイコンを絶対配置する為の設定*/
}

/*ボックス内のアイコン*/
.list .list-icon {
    font-size: 0.6rem;
    /*文字サイズ*/
    background: #ff0000;
    /*背景色*/
    color: #fff;
    /*文字色*/
    width: 50px;
    /*幅*/
    line-height: 50px;
    /*高さ*/
    border-radius: 50%;
    /*角丸のサイズ。円形になります。*/
    text-align: center;
    /*テキストをセンタリング*/
    position: absolute;
    /*親のブロックのrelative（この場合は.list）に対して絶対配置する*/
    left: -10px;
    /*listブロックに対して左からの配置場所の指定*/
    top: -10px;
    /*listブロックに対して上からの配置場所の指定*/
}

/*figure画像*/
.list figure {
    margin-bottom: 2rem;
    /*下に空けるスペース。2文字分。*/
}


/*2カラムブロック（※900px未満では１カラム）
---------------------------------------------------------------------------*/
/*２カラムを囲むブロック*/
.list-half .list {
    display: flex;
    /*flexボックスを使う指定*/
    flex-direction: column;
    /*子要素を縦並びにする*/
    margin-bottom: 2rem;
    /*ボックスの下に2文字分のスペースを空ける*/
}

/*画像ブロック共通*/
.list-half .image-l,
.list-half .image-r {
    margin-left: 1rem;
    margin-right: 1rem;
    /*画像の左右に1文字分のスペースを空ける*/
    position: relative;
    /*子要素のアイコンを絶対配置する為の設定*/
}

.list-half .image-l img,
.list-half .image-r img {
    border-radius: 50px;
    /*角を丸くする指定。*/
    box-shadow: 10px 10px rgba(0, 0, 0, 0.1);
    /*ボックスの影。右へ、下へ、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

    /*２カラムを囲むブロック*/
    .list-half .list {
        flex-direction: row;
        /*子要素を横並びにする*/
        justify-content: space-between;
        /*並びかたの種類の指定*/
        align-items: center;
        /*垂直揃えの指定。天地中央に配置されるように。*/
    }

    /*画像ブロック共通*/
    .list-half .image-l,
    .list-half .image-r {
        width: 50%;
        /*幅。下のテキストブロックのwidthと調整して下さい。*/
    }

    /*画像を右に配置する場合*/
    .list-half .image-r {
        margin-left: 2rem;
        /*画像の左側に空けるスペース*/
    }

    /*画像を左に配置する場合*/
    .list-half .image-l {
        order: -1;
        margin-right: 2rem;
        /*画像の右側に空けるスペース*/
    }

    /*テキストブロック*/
    .list-half .text {
        width: 50%;
        /*幅。上の「画像ブロック共通」のwidthと調整して下さい。*/
    }

}

/*画面幅900px以上の追加指定ここまで*/


/* top topics
---------------------------------------------------------------------------*/



/* 全体の枠 */
.image-top {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

/* 重ねる文字 */
.top-text {
    position: absolute;
    top: 60px;
    left: 0px;
    width: 100%;
}

.top-text h2 {
    width: 60%;
    color: #ffffff;
    background: linear-gradient(to right, rgb(131, 114, 86, 1), rgb(181, 176, 160, 0.7));
    padding: 20px 0px 20px 30px;
    line-height: 1.5;
    font-size: 2.0em;
    /*	font-family: "Noto Serif JP", serif;*/
    font-family: "游明朝", "YuMincho", serif;
}


.top-text p {
    width: 70%;
    margin: 0 auto;
}

.top-text p img {
    margin-top: 30px;
}


/*画面幅900px以上の追加指定*/
@media screen and (max-width:1200px) {

    .top-text {
        max-width: auto;
        top: 60px;
    }

    .top-text h2 {
        width: 60%;
        line-height: 1.4;
        font-size: 1.5em;
    }


}

@media only screen and (min-width : 479px) and (max-width : 900px) {
    .top-text {
        max-width: auto;
        top: 20px;
    }

    .top-text h2 {
        width: 70%;
        padding: 15px;
        line-height: 1.4;
        font-size: 1.3em;
    }

    .top-text p img {
        margin-top: 0px;
    }

}



@media screen and (max-width:479px) {

    .top-text {
        max-width: auto;
        top: 10px;
    }

    .top-text h2 {
        width: 80%;
        padding: 12px;
        line-height: 1.2;
        font-size: 1.0em;
    }


    .top-text p img {
        margin-top: 0px;
    }


}


/*ulで使うbtn（当テンプレートではheader内でのみ使用）
---------------------------------------------------------------------------*/
/*ボタンブロック全体*/
ul.btn {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    /*flexボックスを使う指定*/
}

/*ボタン１個あたり*/
ul.btn li {
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);
    /*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.2は色が20%出た状態。*/
    margin: 3px;
    /*ボタン同士の間に空けるスペース*/
}

ul.btn a {
    display: block;
    text-decoration: none;
    /*font-family: "Noto Serif JP", serif;*/
    font-family: "游明朝", "YuMincho", serif;

    font-weight: bold;
    /*background: linear-gradient(#86C8AC, #86C8AC);*/
    /*background: linear-gradient(#A49367, #907d4d);*/
    background: linear-gradient(#b49733, #b49733);

    /*「#ff9000」から「#ff6000」へのグラデーション。*/
    padding: 0.2em 2em;
    /*上下、左右へのボタン内の余白*/
    border-radius: 3px;
    /*角を丸くする指定*/
}

.btn-ya {
    position: relative;
    transition: ease .2s;
}

/* 900以下　ulで使うbtn（当テンプレートではheader内でのみ使用）
---------------------------------------------------------------------------*/
/*ボタンブロック全体*/
ul.btn-sm {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    /*flexボックスを使う指定*/
}

/*ボタン１個あたり*/
ul.btn-sm li {
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);
    /*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.2は色が20%出た状態。*/
    margin: 2.5px;
    /*ボタン同士の間に空けるスペース*/
}

ul.btn-sm a {
    display: block;
    text-decoration: none;
    /*background: linear-gradient(#A49367, #907d4d);*/
    background: linear-gradient(#b49733, #b49733);
    padding: 0.2em 1.7em;
    /*上下、左右へのボタン内の余白*/
    border-radius: 3px;
    /*角を丸くする指定*/
}


a.btn-tel {
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 90%;
    margin: auto;

    border: 1px solid #fff;
    color: #A49367;
    transition: 0.5s;
}




/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {
    display: block;
}

/*ボタンの設定*/
.pagetop a {
    display: block;
    text-decoration: none;
    text-align: center;
    z-index: 99;
    position: fixed;
    /*スクロールに追従しない(固定で表示)為の設定*/
    right: 20px;
    /*右からの配置場所指定*/
    bottom: 40px;
    /*下からの配置場所指定*/
    color: #fff;
    /*文字色*/
    font-size: 1.5em;
    /*文字サイズ*/
    /*background: rgb(164, 147, 103, 0.8);*/
    background: rgb(180, 151, 51, 0.5);
    /*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
    width: 60px;
    /*幅*/
    line-height: 60px;
    /*高さ*/
    border-radius: 50%;
    /*円形にする*/
}


@media screen and (max-width:900px) {
    .pagetop a {
        bottom: 120px;
}
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/*角丸*/
.kadomaru {
    border-radius: 20px;
}

.kadomaru2 {
    /*2つの値で指定する方法*/
    border-radius: 0px 80px 0 80px;
}


/*個別に指定
border-top-left-radius: 左上の値;
border-top-right-radius: 右上の値;
border-bottom-right-radius: 右下の値;
border-bottom-left-radius: 左下の値;
*/

@media screen and (max-width:500px) {
    .kadomaru2 {
        /*2つの値で指定する方法*/
        border-radius: 0px 30px 0 30px;
    }
}


.color-check,
.color-check a {
    color: #ff0000 !important;
}

.color-theme,
.color-theme a {
    color: #88291a !important;
}

.c {
    text-align: center !important;
}

.r {
    text-align: right !important;
}

.ws {
    width: 98%;
    display: block;
}

.wl {
    width: 98%;
    display: block;
}

.mb30 {
    margin-bottom: 30px !important;
}



.look {
    display: inline-block;
    padding: 0px 10px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 5px 0;
    word-break: break-all;
}

.small {
    font-size: 0.75em;
}

.medium {
    font-size: 0.90em;
}


.large {
    font-size: 3em;
    letter-spacing: 0.1em;
}

.pc {
    display: none;
}

.dn {
    display: none !important;
}

.img {
    margin: 0 0 1rem;
}



/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

    .ws {
        width: 48%;
        display: inline;
    }

    .sh {
        display: none;
    }

    .pc {
        display: block;
    }

}

/*画面幅900px以上の追加指定ここまで*/



/* Top お知らせ
------------------------------------------------------------------*/
/*.new {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.new dt,
.new dd {
    padding: 5px 0;
}

.new dt {
    width: 16em;
}

.new dd {
    width: calc(100% - 16em);
}

*/


/* 背景画像の上にバナー
=========================*/
.top-info {
    position: relative;
}

.top-info.section {
    padding: 80px 0;
}

.top-info {
    background: url("../images/fun-bg.jpg");
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}


/*お知らせのバナー
---------------------------------------------------------------------------*/

.info-banner {
    display: flex;
    justify-content: center;
}

.info-banner img {
    width: 80%;
    /* 画像が2つ並ぶように設定 */
    height: auto;
    margin-bottom: 30px;
}


@media screen and (max-width:479px) {
    .info-banner {
        flex-wrap: wrap;
        /* 画像を折り返す */
    }

    .info-banner img {
        width: 90%;
        /* 2つ並べる */
        margin-bottom: 20px;
    }
}


/*メインヘッダー
---------------------------------------------------------------------------*/

.main-headline-parts {
    max-width: 1280px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    line-height: 1.4;
}

.main-headline-parts .headline-top {
    display: block;
    font-size: 30px;
    margin-bottom: 10px;
}

.main-headline-parts .headline-bottom {
    font-size: 22px;
    position: relative;
    padding: 0 25px;
    display: block;
    color: #836e1a;
}

.main-headline-parts .i-br {
    display: inline-block;
}

@media screen and (max-width: 700px) {
    .main-headline-parts .headline-top {
        font-size: 24px;
    }

    .main-headline-parts .headline-bottom {
        font-size: 14px;
    }
}

/* PCメニューの初期表示を横並びにする */
@media screen and (min-width: 900px) {

    #menubar > nav > ul#pc-nav {
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

}

/* スマホ：メニューの初期表示を非表示 */
@media screen and (max-width: 899px) {

    #menubar {
        display: none;
    }

    #menubar.d-b {
        display: block;
    }


}

/* PC表示 */
@media screen and (min-width: 900px) {
    header .btn {
        display: flex;
    }

    #menubar .btn-sm {
        display: none;
    }
}

/* スマホ表示 */
@media screen and (max-width: 899px) {
    header .btn {
        display: none;
    }

    #menubar .btn-sm {
        display: inline-block;
    }
}

/* ===== 中林レディースクリニック 2026 トップ改修 ===== */
/* 背景写真は images/main-visual.jpg に配置（CSSからは ../images/） */










.nb-stat {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

















/* PCヘッダー */
header .nb-header-actions {
    gap: 7px;
}

header .nb-header-actions li {
    margin: 0;
    box-shadow: none;
}

header .nb-header-actions a {
    box-sizing: border-box;
    min-width: 125px;
    padding: 7px 16px;
    background: linear-gradient(to bottom, #CDAE56, #806830);
    border-radius: 4px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.35;
}

header .nb-header-actions small {
    font-size: 11px;
}

header .nb-header-actions strong {
    font-size: 17px;
}

.nb-mobile-actions {
    display: none;
}

@media (max-width:899px) {




















    .nb-mobile-actions {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 120;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, .16);
        padding: 5px 8px max(5px, env(safe-area-inset-bottom));
    }

    .nb-mobile-action-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .nb-mobile-action-links a {
        background: linear-gradient(to bottom, #CDAE56, #806830);
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 48px;
        line-height: 1.3;
    }

    .nb-mobile-action-links small {
        font-size: 10px;
    }

    .nb-mobile-action-links strong {
        font-size: 16px;
    }

    .nb-mobile-actions p {
        margin: 3px 0 0;
        text-align: center;
        font-size: 11px;
        line-height: 1.4;
        color: #524a3e;
    }

    .nb-mobile-actions p a {
        color: #524a3e;
        font-weight: 700;
    }

    .nb-mobile-actions p small {
        font-size: 10px;
    }

    body {
        padding-bottom: 95px;
    }
}


/* 2026-11-09: 初期表示時にメインメニューがトップ画像の背後に隠れないよう修正 */
/*@media screen and (min-width: 900px) {
	.p #menubar {
		z-index: 50;
		visibility: visible;
	}

	.p #menubar.fixed {
		z-index: 100;
	}

	#mainimg-box.nb-hero {
		z-index: 0;
	}
}*/


/* PC：メインビジュアルの重なりを解消 */

/* 2026-11-09: Unified hero layout; keep all sections in normal document flow */
#container {
    height: auto;
    min-height: 100vh;
    justify-content: flex-start;
}

#container > header,
#container > #menubar,
#container > #mainimg-box,
#container > main {
    flex-shrink: 0;
}

.p #menubar {
    position: relative;
    top: auto;
    z-index: 50;
}

.p #menubar.fixed {
    position: fixed;
    top: 0;
    z-index: 100;
}

#mainimg-box.nb-hero {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 28px 18px 32px;
    margin: 0;
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('../images/main-visual.jpg') center center/cover no-repeat #b9aaa1;
    overflow: visible;
    flex-shrink: 0;
}

#mainimg-box.nb-hero .nb-hero-content {
    position: relative;
    inset: auto;
    transform: none;
    width: min(100%, 560px);
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#mainimg-box.nb-hero .nb-hero-logo {
    display: block;
    width: 150px;
    height: auto;
    max-height: none;
    object-fit: contain;
}

#mainimg-box.nb-hero .nb-hero-panel {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: auto;
    padding: 14px 16px 16px;
    background: rgba(134, 116, 89, 0.69);
    text-align: center;
}

#mainimg-box.nb-hero .nb-results-image {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

#mainimg-box.nb-hero .nb-results-link {
    display: inline-block;
    margin: 8px auto 0;
    padding: 7px 20px;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, .12);
    font-family: 'Yu Mincho', '游明朝', serif;
    line-height: 1.5;
}

#container > main {
    position: relative;
    z-index: 0;
    margin-top: 0;
}

@media(max-width:899px) {
    #mainimg-box.nb-hero {
        padding: 24px 12px 28px;
        background-position: center center;
        background-size: cover;
    }

    #mainimg-box.nb-hero .nb-hero-content {
        width: 100%;
        gap: 14px;
    }

    #mainimg-box.nb-hero .nb-hero-logo {
        width: min(42vw, 170px);
    }

    #mainimg-box.nb-hero .nb-hero-panel {
        padding: 12px 8px 14px;
    }

    #mainimg-box.nb-hero .nb-results-image {
        width: 100%;
        max-width: 100%;
    }

    #mainimg-box.nb-hero .nb-results-link {
        font-size: 14px;
        padding: 7px 12px;
    }
}


/* 2026-11-09 WEB予約・問診ボタン：PDFデザインに合わせた最終上書き */
header .nb-header-actions {
    gap: 10px;
    align-items: center;
}

header .nb-header-actions li {
    margin: 0;
}

header .nb-header-actions a.nb-action {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-sizing: border-box;
    min-width: 0;
    height: 55px;
    padding: 6px 12px;
    border-radius: 3px;
    background: linear-gradient(to bottom, #CDAE56, #806830);
    color: #fff;
    font-family: "游明朝", "YuMincho", serif;
    text-decoration: none;
    line-height: 1.1;
}

header .nb-header-actions .nb-action-reserve {
    width: 220px;
}

header .nb-header-actions .nb-action-interview {
    width: 88px;
    gap: 5px;
    padding: 6px 8px;
}

header .nb-header-actions .nb-action-icon {
    display: block;
    width: 52px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

header .nb-header-actions .nb-action-interview .nb-action-icon {
    width: 29px;
    height: 36px;
}

header .nb-header-actions .nb-action-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
}

header .nb-header-actions .nb-action-label small {
    font-size: 10px;
    font-weight: 400;
}

header .nb-header-actions .nb-action-label strong {
    font-size: 24px;
    font-weight: 600;
    white-space: nowrap;
}

header .nb-header-actions .nb-action-interview .nb-action-label small {
    font-size: 10px;
}

header .nb-header-actions .nb-action-interview .nb-action-label strong {
    font-size: 16px;
}

@media (max-width:899px) {
    .nb-mobile-actions {
        box-sizing: border-box;
        padding: 0 0 max(3px, env(safe-area-inset-bottom));
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, .15);
    }

    .nb-mobile-action-links {
        display: grid;
        grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
        gap: 1px;
        background: #fff;
    }

    .nb-mobile-action-links a.nb-action {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: clamp(5px, 2vw, 14px);
        min-width: 0;
        min-height: 70px;
        padding: 7px 5px;
        box-sizing: border-box;
        background: linear-gradient(to bottom, #CDAE56, #806830);
        color: #fff;
        text-decoration: none;
        font-family: "游明朝", "YuMincho", serif;
    }

    .nb-mobile-action-links .nb-action-icon {
        width: clamp(38px, 13vw, 68px);
        height: 53px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .nb-mobile-action-links .nb-action-interview .nb-action-icon {
        width: clamp(28px, 9vw, 48px);
        height: 49px;
    }

    .nb-mobile-action-links .nb-action-label {
        display: flex;
        flex-direction: column;
        align-items: center;
        white-space: nowrap;
        line-height: 1.12;
    }

    .nb-mobile-action-links .nb-action-label small {
        font-size: clamp(10px, 2.9vw, 14px);
        font-weight: 400;
    }

    .nb-mobile-action-links .nb-action-label strong {
        font-size: clamp(21px, 6vw, 35px);
        font-weight: 600;
    }

    .nb-mobile-action-links .nb-action-interview .nb-action-label small {
        font-size: clamp(10px, 2.8vw, 14px);
    }

    .nb-mobile-action-links .nb-action-interview .nb-action-label strong {
        font-size: clamp(16px, 4.5vw, 24px);
    }

    .nb-mobile-actions p.nb-mobile-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0 6px;
        margin: 0;
        padding: 5px 4px 3px;
        line-height: 1.3;
        font-family: "游明朝", "YuMincho", serif;
        color: #524a3e;
        font-size: clamp(10px, 2.7vw, 14px);
    }

    .nb-mobile-actions p.nb-mobile-phone a {
        font-size: clamp(17px, 4.8vw, 26px);
        font-weight: 400;
        color: #524a3e;
        white-space: nowrap;
    }

    .nb-mobile-actions p.nb-mobile-phone small {
        font-size: clamp(9px, 2.3vw, 12px);
        white-space: nowrap;
    }

    body {
        padding-bottom: 120px;
    }


    .nb-mobile-actions p.nb-mobile-phone a,
    .nb-mobile-actions p.nb-mobile-phone a:link,
    .nb-mobile-actions p.nb-mobile-phone a:visited,
    .nb-mobile-actions p.nb-mobile-phone a:hover,
    .nb-mobile-actions p.nb-mobile-phone a:active {
        display: inline-block;
        font-size: clamp(17px, 4.8vw, 26px);
        font-weight: 600;
        color: #524a3e !important;
        opacity: 1 !important;
        visibility: visible !important;
        -webkit-text-fill-color: #524a3e;
        text-decoration: none;
        white-space: nowrap;
    }




}

/* スマホ：メニューの最下部までスクロール可能にする */
@media screen and (max-width: 899px) {

    .s #menubar.d-b {
        position: fixed;
        top: 0;
        bottom: 0;
        height: 100dvh;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
        padding-bottom: 100px;
        -webkit-overflow-scrolling: touch;
        z-index: 100;
    }


}



/* PC・スマホ共通：通常時 */
#mainimg-box.nb-hero .nb-results-link {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    transition: background-color 0.3s ease,
        color 0.3s ease;
}

/* PC：hover時 */
@media (hover: hover) {
    #mainimg-box.nb-hero .nb-results-link:hover {
        background: #fff;
        color: #806830;
        border-color: #fff;
        opacity: 1;
    }
}

/* スマホ：タップ時 */
#mainimg-box.nb-hero .nb-results-link:active {
    background: #fff;
    color: #806830;
    border-color: #fff;
    opacity: 1;
}
