@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*あとでメインのエディターに統合*/
header.article-header.entry-header {
    display: none!important;
}
/*ヘッダーナビの背景色*/
#navi {
  background-color: transparent !important;
}
#navi.scrolled {
  background-color: #fff !important;
}
.content {
    margin-top: -10px;
}
/*本文*/
*{
	    color: #254e7e;
}
main#main {
    padding: 0;
}
.wrap {
    width: auto;
}
.entry-content {
    margin-top: 0em;
}
/*ヘッダー*/
.navi-in > ul {
    justify-content: flex-end;
        padding-top: 0px;
}
.navi-in > ul li {
    display: block;
    width: 120px;
    height: auto;
    position: relative;
}
.header-container-in.hlt-top-menu .logo-header {
    max-height: none;
}
.header-container-in.hlt-top-menu .logo-header img {
    padding: 10px 5px;
    margin-bottom: 0px;
    max-height: 80px;
}
.item-label {
    color: #254e7e;
    font-weight: 900;
    font-size: 15px;
}
/*メニューアイコン*/
li.navi-menu-button.menu-button {
    display: flex;
    justify-content: flex-end;
    margin: 0 10px 0 0;
    /* width: 495px; */
}
span.fas.fa-bars.fa-lg {
    color: #254e7e;
}


/*デフォルトのフッターロゴ*/
.footer-bottom-logo {
    display: none;
}


/*オンライン予約ボタン*/
li#menu-item-145 {
    width: 70px;
    margin-left: 20px;
	position: relative;
}
img.yoyakubtn-img {
    right: 0;
    margin-right: 10px;
    margin-top: -20px;
    position: absolute;
    z-index: 999999;
}
/*共通フッター*/
.alignnone {
    display: none;
}
div#fotter {
    background-color: #afd5e9;
}
img.fotterpic1-1 {
    margin-top: -5px;
}
img.fotterpic1-2 {
    width: 50%;
    max-width: 400px;
    margin: 0 auto 50px;
    display: block;
}

/*共通フッター-アドレス*/
p.place-address {
    color: #000;
}
a.address-tel {
    font-size: 58px;
    line-height: 1;
    letter-spacing: 0.3em;
    display: inline-block;
    margin: 5px 0;
    color: #254e7e;
    text-decoration: none;
    font-weight: bold;
}
.fotter-address {
    display: flex;
    justify-content: center;
	margin-bottom: 50px;
}
.fotter-address-left {
    margin-right: 30px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/*共通フッター-診療日*/

.midashi-title {
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-size: 16px;
    line-height: 1.3;
}
p.midashi {
    display: inline-block;
    font-size: 28px;
    letter-spacing: 0.1em;
    position: relative;
}

p.midashi::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #f9f4af;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
span.chushaku {
    font-size: 16px;
    margin-left: 10px;
}
.footer-schedule {
    margin-bottom: 50px;
}
.schedule-list {
        width: 75%;
	    max-width: 900px;
    display: flex;
    padding: 20px;
    margin: 0 auto ;
    justify-content: center;
    background-color: #ffff;
    background: linear-gradient(135deg, transparent 10px, #fff 0) top left, linear-gradient(-135deg, transparent 10px, #fff 0) top right, linear-gradient(-45deg, transparent 10px, #fff 0) bottom right, linear-gradient(45deg, transparent 10px, #fff 0) bottom left;
    background-size: 51% 51%;
    background-repeat: no-repeat;
}
img.fotterpic2-1 {
    margin-right: 40px;
    width: 48%;
    height: auto;
}
img.fotterpic2-2 {
    width: 48%;
    height: auto;
}

/*共通フッター-駐車場*/
.footer-parkings {
    display: flex;
    justify-content: center;
    width: 75%;
    max-width: 900px;
    margin: 0 auto;
}
.footer-parkings-left {
    max-width: 550px;
    width: 100%;
}
.footer-parkings-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    font-size: 16px;
    letter-spacing: 0.2em;
    margin-left: 50px;
}
img.fotterpic3-2 {
    margin-bottom: 20px;
    max-width: 250px;
}
.footer-parking {
    margin-bottom: 50px;
}

/*共通フッター-枠外下部*/
img.fotterpic1-3 {
    transform: rotate(180deg);
	margin-bottom: -2px;
}
img.fotterpic4 {
    display: block;
    margin: 0 auto;
    width: 20%;
    max-width: 100px;
}
.footer-bottom.fdt-logo.fnm-text-width.cf {
    display: none;
}
small.fotter5 {
    display: block;
    text-align: center;
    color: #000;
    padding-top: 50px;
    margin-bottom: -50px;
    font-size: small;
}
/* ===== Googleマップ ベベル + ボーダー =====
   仕組み:
   - .map-wrapper::before → 枠線色で塗った同形の多角形（下層）
   - .map-wrapper iframe  → 地図本体（上層、borderWidth分小さくclip）
   ========================================= */

/* ---- カスタマイズ用変数 ---- */
:root {
  --bevel: 16px;        /* ベベルのサイズ */
  --border-w: 5px;      /* 枠線の太さ */
  --border-color: #fff9b1; /* 枠線の色 */
}

/* ---- ラッパー ---- */
.map-wrapper {
  position: relative;
  display: inline-block; /* または display: block; */
  /* iframeと同サイズにするため幅・高さはiframeに合わせて自動調整 */
}

/* ---- 枠線レイヤー（下層） ---- */
.map-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--border-color);
  clip-path: polygon(
    var(--bevel) 0%,
    calc(100% - var(--bevel)) 0%,
    100% var(--bevel),
    100% calc(100% - var(--bevel)),
    calc(100% - var(--bevel)) 100%,
    var(--bevel) 100%,
    0% calc(100% - var(--bevel)),
    0% var(--bevel)
  );
  -webkit-clip-path: polygon(
    var(--bevel) 0%,
    calc(100% - var(--bevel)) 0%,
    100% var(--bevel),
    100% calc(100% - var(--bevel)),
    calc(100% - var(--bevel)) 100%,
    var(--bevel) 100%,
    0% calc(100% - var(--bevel)),
    0% var(--bevel)
  );
}

/* ---- 地図本体（上層） ---- */
.map-wrapper iframe {
  display: block;
  position: relative; /* ::before より手前に出す */
  /* 枠線の太さ分だけ内側にclip → 枠線色が縁として見える */
  clip-path: polygon(
    calc(var(--bevel) + var(--border-w)) var(--border-w),
    calc(100% - var(--bevel) - var(--border-w)) var(--border-w),
    calc(100% - var(--border-w)) calc(var(--bevel) + var(--border-w)),
    calc(100% - var(--border-w)) calc(100% - var(--bevel) - var(--border-w)),
    calc(100% - var(--bevel) - var(--border-w)) calc(100% - var(--border-w)),
    calc(var(--bevel) + var(--border-w)) calc(100% - var(--border-w)),
    var(--border-w) calc(100% - var(--bevel) - var(--border-w)),
    var(--border-w) calc(var(--bevel) + var(--border-w))
  );
  -webkit-clip-path: polygon(
    calc(var(--bevel) + var(--border-w)) var(--border-w),
    calc(100% - var(--bevel) - var(--border-w)) var(--border-w),
    calc(100% - var(--border-w)) calc(var(--bevel) + var(--border-w)),
    calc(100% - var(--border-w)) calc(100% - var(--bevel) - var(--border-w)),
    calc(100% - var(--bevel) - var(--border-w)) calc(100% - var(--border-w)),
    calc(var(--bevel) + var(--border-w)) calc(100% - var(--border-w)),
    var(--border-w) calc(100% - var(--bevel) - var(--border-w)),
    var(--border-w) calc(var(--bevel) + var(--border-w))
  );
}
/*モバイル予約ボタン*/

.footerbtn-smh {
display: none;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*トップの高さ調整*/
.entry-content {
            margin-top: 20px;
}
  /*トップのスクロール背景色・透明から白へ*/
.mobile-header-menu-buttons {
    background-color: transparent;
    transition: background-color 0.3s ease;
  }

  .mobile-header-menu-buttons.scrolled {
    background-color: #fff;
  }
  /*モバイルメニューボタン*/
	.mobile-menu-buttons .menu-button{
    justify-content: space-between;
margin: 10px;
}
	    .mobile-header-menu-buttons {
	        box-shadow: none;		
	}
/*モバイルメニューの"メニュー"表記*/
.mobile-menu-buttons .menu-caption {
    display: none;
}
/*モバイルメニューのメニュー調整*/
.menu-content {
    max-width: 100%;
    background: #afd5e991;
}
div#navi-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    justify-content: center;
}
.menu-close-button {
        cursor: pointer;
        text-align: end;
        align-items: stretch;
        width: 160px;
        position: absolute;
        top: 55px;
        right: 10px;
    }
.fa, .fas {
    color: #fff;
}
.menu-drawer li {
    display: block;
    width: 192px;
    font-size: 23px;
}
.menu-drawer a {
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.3em;
}
	
	/*共通フッター・アクセス*/
img.fotterpic1-2 {
    max-width: 400px;
    width: 100%;
    padding: 0 30px;
}
    .fotter-address {
        font-size: 15px;
        margin: 0 auto 30px;
        max-width: 690px;
        padding: 10px;
    }
a.address-tel {
    letter-spacing: 0.3em;
        margin: 0;
}
.fotter-address-left {
    margin-right: 10px;
}
p.place-address {
    font-size: 13px;
}
	iframe {
    max-height: 400px;
}

/*共通フッター・スケジュール*/
.midashi-title {
    align-items: center;
    font-size: 13px;
    flex-direction: column;
    justify-content: center;
}
p.midashi {
    font-size: 24px;
}
span.chushaku {
    font-size: 13px;
    margin-left: 0;
}
.schedule-list {
        width: 95%;
        margin: 10px auto 0;
        justify-content: space-between;
        background-repeat: no-repeat;
        flex-direction: column;
        align-items: center;
        max-width: 670px;
        padding: 30px;
    }
img.fotterpic2-1 {
    margin-right: 0;
    width: 100%;
    margin-bottom: 50px;
}
img.fotterpic2-2 {
    width: 100%;
    height: auto;
}
/*共通フッター・駐車場*/
.footer-parking {
    margin-bottom: 0;
}
.footer-parkings {
    display: flex;
        width: 95%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 10px auto;
        max-width: 670px;
}

.footer-parkings-right {
    flex-direction: row;
    align-items: center;
        padding: 0;
            font-size: 18px;
	        justify-content: center;
	        margin: 0 auto;
}
.footer-parkings-left {
    margin-bottom: 30px;
}
img.fotterpic3-2 {
    width: 40%;
    margin: 0 10px 0 0;
}
	/*モバイル予約ボタン*/
.footerbtn-smh {
        position: fixed;
        z-index: 999999;
        bottom: 5px;
        width: 95%;
        max-width: 500px;
        right: 0;
        left: 0;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }
}
/*834px以下*/
@media screen and (max-width: 834px){
  	/*共通フッター・アクセス*/

}

/*480px以下*/
@media screen and (max-width: 480px){

  /*モバイルメニューの中身調整*/
	.menu-content {
        max-width: 100%;
    }
    .body, .menu-content {
        font-size: 18px;
    }


      	/*共通フッター・アクセス*/
img.fotterpic1-2 {
    max-width: 300px;
    padding: 0;
    margin:0 auto 30px;
}
a.address-tel {
    font-size: 40px;
        margin: 15px 0;
}
.fotter-address {
    font-size: 15px;
}
    
      	/*共通フッター・スケジュール*/
.schedule-list{
    padding: 15px;
    }
        span.chushaku {
        padding: 0 10px;
    }
    
      	/*共通フッター・駐車場*/
    .footer-parkings-right {
        font-size: 13px;
        letter-spacing: 0;
    }
    img.fotterpic3-2 {
    width: 45%;
    }
    .footer-parking-text{
            font-size: 14px;
}
}
