/*
Theme Name: hbn-cl
*/

@charset "utf-8";
@import url("./common/css/normalize.css");


/* 管理バーを下に表示 */
#wpadminbar {
  top: auto !important;
  bottom: 0 !important;
  position: fixed;
  width: 100%;
}

/* 管理バー分の余白調整（PC） */
html {
  margin-top: 0 !important;
  margin-bottom: 32px !important;
}

/* モバイル用（管理バー高さが違う） */
@media screen and (max-width: 782px) {
  html {
    margin-bottom: 46px !important;
  }
}

.wp-block-image {
  text-align: center;
}

.indsp{color:#c1272d;margin:0px 1em 0px 1em;font-size:90%;}
.noudock_area p{line-height:2em !important;}

.wpcf7-form input.wpcf7-text{padding:1em;border-radius:5px;border:solid 1px #ccc;margin-bottom:2em;width:80%;}
.wpcf7-form input.wpcf7-captchar{padding:1em;border-radius:5px;border:solid 1px #ccc;margin-bottom:2em;width:40%;}
textarea.wpcf7-textarea{padding:1em;border-radius:5px;border:solid 1px #ccc;margin-bottom:2em;width:90% !important;}
.page_contents .wpcf7-form p{margin-bottom:0px;line-height:1.4em;}
.wpcf7-form-control-wrap{margin-bottom:2em;display:block;}
.wpcf7-form  .submit-button input{padding:0.5em 1em 0.5em 1em;border-radius:5px;border:solid 1px #ccc;margin-bottom:2em;width:120px;font-size:100%;}

/* マップを包む外枠の設定 */
.gmap {
    position: relative;
    width: 100%;           /* コンテンツ幅いっぱいに広げる */
    padding-top: 56.25%;   /* 16:9のアスペクト比を維持（高さ ÷ 幅 × 100） */
    overflow: hidden;
    margin-bottom: 24px;   /* 下の要素との余白（任意） */
}

/* 中のiframe（Googleマップ本体）の設定 */
.gmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* ブラウザの自動スクロールを無効化し、JSに100%制御を渡す */
:root {
  scroll-behavior: auto !important;
}

/* ページ遷移時の一瞬のガタつきを抑えるための処理 */
html {
  overflow-anchor: none;
}

/* スマホなどで少し高さを出したい場合（任意） */
@media screen and (max-width: 600px) {
    .gmap {
        padding-top: 75%;  /* スマホでは 4:3 の比率にして見やすくする */
    }
}
/*
 * base CSS
 * ---------------------------------------------
 * レスポンシブ等、共通レイアウトに関わるCSS
 */
/* link */
a {
  color: #333;
  text-decoration: underline;
}
a:visited {
  color: #333;
  text-decoration: underline;
}
a:hover, a:focus, a:active {
  color: #333;
  text-decoration: none;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-block-button__link:visited,
.wp-block-button__link:active {
  color: var(--wp--preset--color--white);
}



.txtLeft{text-align:left !important;}
.has-text-align-left{text-align:left;}
.txtRight{text-align:right;}
.txtU{text-decoration:underline;}
.has-text-align-right{text-align:right;}
.txtCenter{text-align:center;}
.txtCenter_pc{text-align:center;}
.txtCenter_sp{text-align:left;}
.has-text-align-center{text-align:center;}

.imgRight{float:right;padding-left:2em;}
.imgLeft{float:left;padding-right:2em;}
.size-full{max-width: none;width:auto;height:auto;}
.img80{width:80%;margin: 0px auto 0px auto;display:block ;}


.mb10{margin-bottom:10px !important;}
.mb20{margin-bottom:20px !important;}
.mb30{margin-bottom:30px !important;}
.mb40{margin-bottom:40px !important;}
.mb50{margin-bottom:50px !important;}
.mb0{margin-bottom:0px !important;}

.pt0{padding-top:0px !important;}
.pt10{padding-top:10px !important;}
.pt20{padding-top:20px !important;}
.pt30{padding-top:30px !important;}
.pt40{padding-top:40px !important;}
.pt50{padding-top:50px !important;}

.lh1{line-height:1 !important;}


.clear_both{clear:both;}

.txtLarge{font-size:120%;}
.txtSmall{font-size:80%;}
.txtBold{font-weight:bold;}
.txtRed{color:#dd0404 !important;}

.noto{font-family: 'Noto Sans JP', sans-serif;}
.noto-s{font-family: 'Noto Serif JP', serif;}
.jost{font-family: "Jost", sans-serif;}


.f_left{float:left;}
.f_right{float:right;}

.line_orange{border-bottom:solid 5px #ffddbb;}

@media only screen and (max-width: 850px) {
.txtCenter_pc{text-align:left;}
.txtCenter_sp{text-align:Center;}
.txtLeft_pc{text-align:Center;}
}

/* clear, clearfix */
.clearfix {
  *zoom: 1;
}

.clearfix:before,
.clearfix:after {
  display: table;
  line-height: 0;
  content: "";
}

.clearfix:after {
  clear: both;
}

/* row */
.row {
  width: 100%;
  *zoom: 1;
}

.row:before,
.row:after {
  display: table;
  line-height: 0;
  content: "";
}

.row:after {
  clear: both;
}

.row .col {
  display: block;
  float: left;
  width: 100%;
  min-height: 1px;
  margin-left: 2.7624309392265194%;
  *margin-left: 2.709239449864817%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.row .col:first-child {
  margin-left: 0;
}

.row2 .col {
  width: 48.61878453038674%;
  *width: 48.56559304102504%;
}

.row3 .col {
  width: 31.491712707182323%;
  *width: 31.43852121782062%;
}


	/* loading */
	.loading-wrap {
	  position: fixed;
	  height:100vh;
	  width:100vw;
	  background-color:#ffffff;
	  border:none;
		  left: 0px;
		  top: 0px;
		  z-index: 999999999;
		  width: 100%;
		  height: 100%;
		display: grid;
		place-content: center center; 
		justify-content: center center;
		place-items: center center;
		}
	.loading-anime {
		  animation-name: loadinganime;
		  animation-timing-function:ease;
		  animation-duration: 3s;
		  animation-fill-mode: forwards;
		}
	@keyframes loadinganime {
		  from {
			transform: translateY(0);
			  opacity: 100%;
		  }
		  80% {
			  opacity: 100%;
		  }
		   99.999% {
			transform: translateY(0);
		  }   
		  to {
			transform: translateY(100%);
			  opacity: 0%;
		  }
			
		}
		.loading-animation img{
			width:260px;height:auto;}

		
@media screen and (max-width: 850px) {
	.loading-animation img{
		width:160px;height:auto;}
}



.loading-animation p{line-height:2em;margin-bottom:1em;}


/*1.一文字ずつ表示定*/
.txt_animation {opacity: 0;}
.txt_animation span{opacity: 0;}

/*1.フェードインアニメーションの指定*/
.scrollanime {opacity: 0;} /*一瞬表示されるのを防ぐ*/
.fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
@keyframes fadeInDown {
    0% {
        opacity: 0;         
    }
    100% {
    opacity: 1;
    transform: translate(0px);
    }
}
 
/*2.上下の動きを指定*/
.updown {transform: translateY(-100px);}
.downup {transform: translateY(100px);}
 
/*3.左右の動きを指定*/
.sect02{overflow: hidden;} /*横スクロールバーを隠す*/
.slide-right {transform: translateX(100px);}
.slide-left {transform: translateX(-100px);}




/* layout */
html {
  overflow-y: scroll;
  overflow-x: hidden;
  height:100%;
  margin:0px;
  padding: 0px;
scroll-padding-top: 120px; /* 固定ヘッダーの高さ分 */
}

body {
  height:100%;
  color: #333333;
  height:100%;
  word-break: break-all;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.05em;
  margin:0px;
  padding: 0px;
  font-size:18px;
}

p, li, td, th, figcaption{
transform: rotate(0.05deg);
}

section{clear:both;}
.sp{display:none;}
.pc{display:block;}
.sp-none{display:block;}
.sp-only{display:none;}

/* header */

#header 
{
width:100%;
position: fixed;
z-index:99999999999;
padding:0px 0px 0px 0px;
top:0px ;
left:0px;
background-color:rgba(255,255,255,1);
margin:0px;
height:120px;
}
#header.is-animation{  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;}

#header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0px;
  width: 100%;
  height: 26px;
  background-color: #4f2703;
  z-index:;
}


#h_inner{
  max-width:1200px;
  width:100%;
  position: relative;
  margin:0px auto 0px auto;
  height:auto;
  padding:0px;}

#header h1
{padding-bottom:0px;
margin-bottom:0px;
line-height: 0px;

}
#header .h_txt{color:#fff;margin:0px 0px 0px 10px;padding:7px 0px 0px 10px;font-size:12px;font-weight: 500;}

#header .h_sns{
  display: flex;
  align-items: center;
  top:60px;
  position: absolute;
  right:10px;
  margin: 0px
}
#header .h_sns li{
  display: flex;
  align-items: center;
  margin-left:5px;}
#header .h_sns img{height:20px;width:auto;}


#footer .h_sns{
  display: flex;
  align-items: center;
}
#footer .h_sns li{
  display: flex;
  align-items: center;
  margin-left:5px;}
#footer .h_sns img{height:20px;width:auto;}


#header .h_list {
  display: flex;
  align-items: center;
  top:0px;
  position: absolute;
  right:10px;
  margin: 0px;
  gap:5px;
  z-index: 999;

}

#header .h_list li {
  display: flex;
  align-items: center;
}

#header .h_list li a {
  color: #fff;
  background-color: #4f2703;
  border-radius: 0px 0px 5px 5px;
  height: 40px;
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 0 12px;
  line-height: 1;
}


#header .h_list li .material-symbols-outlined {
  display: flex;       /* ← 重要 */
  align-items: center;
  font-size: 1em;
  line-height: 1;
}


#header .h_list li.h_yoyaku{display: inline-block;font-family: "M PLUS Rounded 1c", sans-serif;}
#header .h_list li.h_yoyaku a{background-color: #f36620;}


#header .h_map{font-family: "Jost", sans-serif; display: inline-block;}
#header .h_map a{color:#fff;background-color: #4f2703;display: block;border-radius: 5px;height:40px;}

#header h1 img
{
width:180px;
height:auto;
margin:0px 0px 0px 10px;
padding-bottom:0px;
float:left;
}

/* menu */

#menu ul {
  font-weight: 700;
  font-size:17px;
  display: flex;
  align-items: center;   /* ← 修正 */
  position: absolute;
  top: 77px;
  left: 160px;
  margin: 0;
  gap: 1em;
}

@media only screen and (max-width: 1000px) {
#menu ul {
  font-size:15px;
}
}

/* 親 li */
#menu ul > li {
  position: relative;
  display: flex;
  align-items: center;  }

#menu ul li a {
  text-decoration: none;
  display: block;
  padding:0.7em 0px 0.7em 0px;
}
#menu ul:not(.sub-menu) > li > a::first-letter {
  color: #4f2703;
}

#menu ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0;

  margin: 0 0 0 0;
  padding: 0 0 0 0;
  background: #fff;
  white-space: nowrap;

  min-width: 180px;

box-shadow: 0 4px 12px -4px rgba(0,0,0,0.15);
  z-index: 1000;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: opacity 0.25s ease,
              transform 0.25s ease;
}

#menu li.menu-item-has-children:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#menu ul.sub-menu li {
  width: 100%;
}

#menu ul.sub-menu li a {
  display: block;
  width: 100%;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  box-sizing: border-box;
}

#menu ul.sub-menu li a:hover {
  background: #f5f5f5;
}

#sp-menu_area{display: none;}

@media only screen and (max-width: 850px) {
#sp-menu_area{display: none;
    width: 100%;
    height: 80vh; /* 画面高さの80％に制限 */
    background-color: #fff;
    z-index:9999 !important;
  position: fixed;
  top:0px;
  padding:3em 0px 2em 0px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow-y: auto; /* 縦スクロールを表示 */
    -webkit-overflow-scrolling: touch; /* iOSのスムーズスクロール */
  }

  #sp-menu {

  }

   #sp-menu ul{list-style: none;margin:0px;padding:0px;}
   #sp-menu ul li{list-style: none;}
   #sp-menu ul li a{text-decoration: none;display: block;padding:1em;border-bottom:dotted 1px #333;}
   #sp-menu ul li li a{padding-left:2em !important;}
#sp-menu_area .sp-menu_sns{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px;
  padding: 0px;
}
#sp-menu_area .sp-menu_sns li{
  display: flex;
  align-items: center;
  margin-left:5px;}
#sp-menu_area .sp-menu_sns img{height:20px;width:auto;}


  #menu {
    display: none;
  }
  #menu .menu-menu-1-container{
    background-color: #fff;
    width:100%;
  }
#header h1{line-height: 1;}
#header h1 img {
width:260px;
height:auto;
margin:0px 0px 0px 10px;
padding-bottom:0px;
float:left;
}

#header .h_sns{
  display: none;
}


}


#menu_btn{display: none;position: absolute;top:0px;right:10px;z-index:9999999999999999999 !important;}

#panel-btn{
  display: inline-block;
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  z-index:9999999999999999999 !important;
  cursor: pointer;
	background-color:#ffffff;
	border-radius:50%;
}
#panel-btn:hover{
}
/* 横棒中央の１本を表示表示 */
#panel-btn-icon{
  display: block;
  position: absolute;
  top: 45%;
  left: 50%;
  width: 25px;
  height: 3px;
  margin: 0px 0px 0px -12.5px;
  background: #333;
  transition: 0.2s;
}
 
/* 横棒上下の2本を表示表示 */
#panel-btn-icon:before, #panel-btn-icon:after{
  display: block;
  content: "";
  position: absolute;
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}
#panel-btn-icon:before{
  margin-top: -8px;
}
#panel-btn-icon:after{
  margin-top:8px;
    width: 15px;
}


#panel-btn .close{
  background: transparent;
}
#panel-btn .close:before{
  margin-top: 0;
}
 #panel-btn .close:after{
  margin-top: 0;
  width: 25px;
}
#panel-btn .close:before{
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
#panel-btn .close:after{
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}





/* mainvisual */
#mainvisual{width:100%;margin:120px auto 0px auto;
position: relative;
  padding: 0px;
z-index: 1;
}

.swiper-wrapper {
  width: 100%;
}

.swiper-slide {
  width: 100%;
  height: 460px;
  overflow: hidden;
  text-align: center;
  background-size: cover;
  background-position: center center;
  display: flex;
  justify-content: center; 
  align-items: normal;
}

.swiper-slide p{
	margin:2em 0px 0px 0px;
	display: inline-block;
	background-color: #000000c5;
	color:#fff;
	font-size: 180%;
	letter-spacing: 0.2em;
	padding:0.3em 0.8em 0.3em 0.8em;
	line-height:1.7em;

}
.swiper-slide div{max-width:1000px;width:100%;text-align: left;
    }
.swiper-slide.sl01{background-image: url(https://www.hbn-cl.com/wp2026/common/images/sl01.jpg);}
.swiper-slide.sl02 {background-image: url(https://www.hbn-cl.com/wp2026/common/images/sl03.jpg);}
.swiper-slide.sl03 {background-image: url(https://www.hbn-cl.com/wp2026/common/images/sl02.jpg);}
.swiper-slide.sl04 {background-image: url(https://www.hbn-cl.com/wp2026/common/images/sl04.jpg);
}
.swiper-pagination{top:86%;
　z-index: 9999999999 !important;
  position: absolute; /* 親要素に対して浮かせる */
  pointer-events: auto !important; /* クリックを有効化 */
}
.swiper-pagination span.swiper-slide-active{color:#000000 !important;}




@media only screen and (max-width: 850px) {
.swiper-slide {
  align-items: normal;
}
.swiper-slide div{text-align: left;}
.swiper-slide p{font-size: 110%;margin:2em 0px 0px 0px;letter-spacing: 0.08em;}
.swiper-slide.sl01{background-image: url(https://www.hbn-cl.com/wp2026/common/images/sl01_sp.jpg);}
.swiper-slide.sl02 {background-image: url(https://www.hbn-cl.com/wp2026/common/images/sl03_sp.jpg);}
.swiper-slide.sl03 {background-image: url(https://www.hbn-cl.com/wp2026/common/images/sl02_sp.jpg);}
.swiper-slide.sl04 {background-image: url(https://www.hbn-cl.com/wp2026/common/images/sl04_sp.jpg);}

.swiper-slide {
  height: 270px;}

.swiper-pagination{top:90%;}



    }



/* frontpage */
.front_info{
  margin: -30px auto 0px auto;
  border-radius: 10px;
  z-index: 999; 
  background: #fff; 
  width:96%;
  max-width:1000px;
 position:relative;
 }

.front_info_inner {
  display: flex;
  gap: 5%;      /* 中央の隙間 */
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  padding:1.5em;
}

.fr_info {
  flex: 0 0 65%;  /* そのまま 65% */
  box-sizing: border-box;
}

.fr_map {
  flex: 0 0 30%;  /* そのまま 35% */
  box-sizing: border-box;
}


.btn_yoyaku a{background-color:#f36620 ;}
.btn_machi a{background-color:#aacf41 ;}
.btn_kensa a{background-color:#4f2703 ;}

.fr_map img{width:100%;}


.fr_info ul {
  display: flex;       /* 横並び */
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 9px;            /* ボタン間の隙間 */
}

.fr_info ul li {
  flex: 1 1 0;         /* 均等幅、gap が効くように flex-basis を 0 に */
}

.fr_info ul li a {
  display: block;       /* li の幅いっぱいに広げる */
  width: 100%;          /* 念のため指定 */
  padding: 26px 0px;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;   /* 文字中央寄せ */
  transition: background 0.3s;
  box-sizing: border-box; /* padding を幅に含める */
  position: relative;
  letter-spacing: 0.05em;
  font-size: 108%;
  line-height: 1.4em;
}




.fr_info ul a::after {
  content: "chevron_right";
  font-family: 'Material Symbols Outlined';
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  font-size: 20px;
  color: #fff;
  line-height: 1;
  
}

.fr_info table{width:100%;  border-collapse: collapse;border-spacing: 0; margin:1.5em 0px 1em 0px;}
.fr_info table th{padding:0.9em 0px 0.9em 0px;border-bottom:solid 1px #bfb0a4;text-align: center;}
.fr_info table td{padding:0.9em 0.5em 0.9em 0.5em;border-bottom:solid 1px #bfb0a4;text-align: center;color:#bfb0a4;}
.fr_info table th.th_jikan{white-space:nowrap; text-align: left;padding-left:0.5em;}
.front_info p{line-height:1.6em;}

.fr_info ul.asterisk_list {
  all: revert;
	margin:0px;
	padding:0px;
}

.fr_info ul.asterisk_list li {
  all: revert;
  position: relative;
  padding-left: 1.5em;
  list-style: none;
  flex: initial;
	line-height:1.2em;
	margin-bottom:0.2em;
}

.fr_info ul.asterisk_list li::before {
  content: "※";
  position: absolute;
  left: 0;
}
.fr_info ul.asterisk_list li a {
  all: revert;
  color:#333333;
}


@media only screen and (max-width: 850px) {
.front_info{
  margin: 0px auto 0px auto;
  border-radius: initial;
  box-shadow:initial;
 }
  .front_info_inner {
    flex-direction: column; /* 横 → 縦 */
    gap: 1em;               /* 縦の隙間 */
    padding:1em 0.5em 0.5em 0.5em;
  }

  .fr_info,
  .fr_map {
    flex: none;
    width: 100%;            /* 強制的に全幅 */
  }

 .fr_map img.sp{width:60%;min-width:360px;margin:0px auto 0px auto;}

.fr_info table{border-top:solid 1px #bfb0a4;border-left:solid 1px #bfb0a4;margin:1em 0px 2em 0px;}
.fr_info table th{padding:0.9em 0px 0.9em 0px;border-bottom:solid 1px #bfb0a4;border-right:solid 1px #bfb0a4;text-align: center;background-color: #bfb0a42f;}
.fr_info table td{padding:0.9em 0.2em 0.9em 0.2em ;border-bottom:solid 1px #bfb0a4;border-right:solid 1px #bfb0a4;text-align: center;color:#bfb0a4;}

.fr_info ul li a {
  padding: 10px 0px;
}



}



.bg_white{background-color: #fff;
padding:3em 2em 2em 2em;
border-radius: 10px;
text-align: center;
margin:0px 0px 2em 0px;
}


.bg_white iframe{display: inline;width:100%;max-width:700px;height:500px;}

@media only screen and (max-width: 850px) {
  .bg_white{
    padding:2em 1px 1em 1px;}
.bg_white iframe{height:520px;}

}


.block table{margin:0px auto 0px auto !important;max-width:600px !important;}

.big_btn01{margin: 0px auto 0px auto;width:40%;min-width:500px;text-align: left;font-weight: 700;}
.big_btn01 a{color: #ffffff;text-decoration: none;background-color:#4f2703 ;border-radius: 5px;display: inline-block;width:100%
  ;padding:1em 0px 1em 0px;line-height: 2.3em;position: relative;}
.big_btn01 span.btn01_des{font-size: 100%;}
.big_btn01 span.btn01_txt{font-size: 200%;}
.big_btn01 span{display: block;padding:0px 0px 0px 30px;}
.big_btn01 a::after{
  content: "arrow_forward";
  font-family: 'Material Symbols Outlined';
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 70px;
  color: #fff;
  line-height: 1;
}

.btn02{
  margin: 0px auto 2em auto;
  width:30%;min-width:200px;
  text-align: left;
  font-weight: 700;
  text-align: center;
}
.btn02.btn_left_pc{text-align: left;margin: 0px;}

@media only screen and (max-width: 850px) {
.big_btn01{width:80%;min-width:260px;}
.big_btn01 a::after{
  font-size: 30px;
}
.big_btn01 a{line-height: 1.6em;}



.big_btn01 span.btn01_des{font-size: 90%;}
.big_btn01 span.btn01_txt{font-size: 130%;}

.btn02.btn_left_pc{text-align: center;  margin: 0px auto 2em auto;}

}


.btn02 .material-symbols-outlined {
  font-size: 1.6em;
  line-height: 1;
  margin:0px 0.2em 0px -1em;
}
.btn_left{margin:0px 0px 2em 0px !important;}
.btn02 a {
  display: flex;              /* ← flex のままにする */
  align-items: center;        /* 縦中央 */
  justify-content: center;    /* 横中央（不要なら削除） */

  color: #ffffff;
  text-decoration: none;
  background-color: #4f2703;
  border-radius: 2em;
  width: 100%;
  padding: 0.9em 0;
  line-height: 1.4;           /* ← 高すぎる line-height は削る */
  position: relative;
}

.btn02 a::after{
  content: "chevron_right";
  font-family: 'Material Symbols Outlined';
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 20px;
  color: #fff;
  line-height: 1;
}
@media only screen and (max-width: 850px) {
  
.btn02{
  margin: 0px auto 2em auto;
  width:70%;min-width:200px;
  text-align: center;
  font-weight: 700;
  text-align: center;
}
}

.contents ul.menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 10px; 
  padding: 0;
  margin: 0 0 3em 0;
  list-style: none;
}

.contents ul.menu-grid li {
  margin: 0;
  padding: 0;
  list-style: none;
}


.menu-grid img {
  width: 100%;
  height: auto;
  display: block;
}

/* タブレット（例：1024px以下） */
@media (max-width: 900px) {
.contents ul.menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* スマホ（例：600px以下） */
@media (max-width: 400px) {
.contents ul.menu-grid {
    grid-template-columns: repeat(2, 1fr);
    padding:0px 2em 0px 2em;
  }

}

.contents ul.news_list{list-style: none;margin: 0px 0px 2em 0px;padding: 0px;}
.contents ul.news_list li{list-style: none;margin: 0px;padding: 0px;border-bottom:dotted 1px #999;
  line-height: 1.8em;
}
.contents ul.news_list li a{
  display: flex;
  gap: 2em;
  padding: 1em;
  text-decoration: none;
  align-items: flex-start;
}
.contents ul.news_list li a:hover{background-color: #4f26030e;}
.contents ul.news_list li span.news_date{
  flex: 0 0 7em;
  font-size: 80%;
  font-family: "Jost", sans-serif;
  white-space: nowrap;
}
.contents ul.news_list li span.news_tit {
  flex: 1;
  line-height: 1.6;
}



.new{display: inline-block;background-color: #dd0404;color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: "Jost", sans-serif;
  border-radius: 1em;
  padding:0px 1em 0px 1em;
}

@media (max-width: 400px) {

  .contents ul.news_list li a{
    display: block;          /* flexをやめる */
    padding: 0.8em 0.6em;
  }

  .contents ul.news_list li span.news_date{
    display: block;
    flex: none;              /* 念のため */
  }

  .contents ul.news_list li span.news_tit{
    display: block;
  }

  .new{
  font-size: 10px;
}


}




.contents ul.info_btn {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  padding:0;
  text-align: center;  
}

.contents ul.info_btn li {
  flex: 1;
  list-style: none;
  margin: 0;
  padding:0;
}

.contents ul.info_btn li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 20px 20px 16px 20px;
  box-sizing: border-box; /* ← はみ出し防止 */
  background: #fff;
  text-decoration: none;
  color: #333;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  min-height: 90px;
  font-size: 1.2em;
  font-weight: 700;
}

.contents ul.info_btn li a span {
  font-size: 0.85em;
  margin-top: 0.4em;
  color: #666;
}

/* スマホ：1列 */
@media (max-width: 600px) {
  .contents ul.info_btn {
    flex-direction: column;
  }
}

/* Page Contents */
.page_contents h2{line-height:2em;margin-bottom:1.5em;padding-top:2em;}
.page_contents h3{line-height:2em;margin-bottom:1.5em;padding-top:2em;}
.page_contents h3 span.material-symbols-outlined{font-size:2.5em;vertical-align: -0.2em;color:#f36620;margin-right:0.2em;}

.page_contents p{line-height:2em;margin-bottom:2em;}
.page_contents ul{margin-bottom:2em;}
.page_contents ol{margin-bottom:2em;}
.page_contents li{line-height:1.7em;margin-bottom:1em;}
.page_contents .back_area{padding:3em 0px 2em 0px;}
.page_contents ul.wp-block-list{margin:1em 0px 2em 0px;}
.page_contents ol.wp-block-list{margin:1em 0px 2em 0px;}

.page_contents .wp-block-column.has-border-color p{padding:0px 1em 0px 1em;}
.wp-block-image {
  text-align: center;
}
.box01{padding:1.5em;}

.wp-pagenavi {
  clear: both;
  margin: 3em auto 2em auto;
	text-align: center;}

/* contents */

.bg01{background-color: #f4f1ef;}

.contents_area.bg02{background-color: #f5f9d6;padding:0px;margin:0px;line-height:1;}
.bg02 .contents{
  line-height:1;
  padding: 3em 0px 4em 0px;
  background-image: url(https://www.hbn-cl.com/wp2026/common/images/img_doctor.png);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  overflow: hidden; /
}
img.img_doctor_name{width:230px;height:auto;}

@media only screen and (max-width: 850px) {
  .bg02 .contents{
  background-image:none;
}
img.img_doctor_name{width:200px;height:auto;}

}

.bg03{background-image: url(https://www.hbn-cl.com/wp2026/common/images/bg_note.png);}



.contents_area{padding:4.2em 0px 4.2em 0px;margin:0px 0px 2.6em 0px;}
.contents{max-width:1000px;width:93%;margin:0px auto 0px auto;}

@media only screen and (max-width: 850px) {
	.contents_area{padding:0px 0px 0px 0px;margin:0px 0px 2.6em 0px;}
}


#wrap.page_cotents  {padding-top:100px;}
.contents h1{
    font-weight: 700;
    text-align: center;
    line-height: 1.7em;
    font-size: 230%;
    letter-spacing: 0.2em;
    position: relative;
    margin-bottom:1em;
}
@media only screen and (max-width: 850px) {
.contents h1{font-size: 180%;}
}

.contents h1::first-letter {
  color: #4f2703;
}
.h1_icon img{display: block;width:40px;height:auto;margin: 0px auto 0px auto;}


.contents p{
line-height:2em;
letter-spacing:0.1em;
margin-bottom:1.5em;
}

.contents ul{margin:0px 0px 2em 2em;letter-spacing:0.1em;}
.contents ul li{list-style: disc; margin-bottom:1em;line-height:1.4em;padding-left:1em;}

.contents ol{margin:0px 0px 2em 2em;letter-spacing:0.1em;}
.contents ol li{list-style: decimal; margin-bottom:1em;line-height:1.4em;padding-left:1em;}

.contents hr{
  display:block;
  width: 50%;
  height: 50px;
  margin-top:90px;
  padding:0px auto 0px auto;
  border-top: 1px solid #ccc;
  border-left:none;
  border-bottom:none;
  border-right:none;
  clear: both;
  background-color: transparent;
}

.contents h1 a{text-decoration:none;}
.contents h1 a:hover{text-decoration: underline;}

.contents h2 a{text-decoration:none;}
.contents h2 a:hover{text-decoration: underline;}

.contents h3 a{text-decoration:none;}
.contents h3 a:hover{text-decoration: underline;}

.contents .box01{border:solid 1px #999;
padding:2em 2em 0.5em 2em;margin-bottom:2em;}

.contents .box02{border:solid 1px #999;
padding:2em 2em 2em 2em;margin-bottom:2em;}


.h_page_contents {
  background-color: #f4f1ef;
  margin: 50px 0 0 0;
  height: 9em;

  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;     
  text-align: center;     
margin-bottom:2em;
}

@media only screen and (max-width: 850px) {
	.h_page_contents {
  margin: 0px 0 0 0;
  height: 7em;   
margin-bottom:2em;
}
}

.h_page_contents h1 {
  margin: 0;               
  line-height: 1.4;        
}
.page_contents{width:93%;max-width: 1000px;margin:0px auto 0px auto;}




h2.linkbtn{}
h2.linkbtn a{display:inline-block;background-color:#333; padding:0.3em 0.7em 0.2em 0.9em;text-decoration:none;color:#fff;margin:0em 0px 0em 0px;word-break: break-all;}
h2.linkbtn a:hover{text-decoration:none;}


span.wpcf7-list-item {display:block;}
span.wpcf7-list-item input{margin-right:1em;}
span.wpcf7-list-item .wpcf7-list-item-label{font-weight:normal;}
label{font-weight:bold;}
input.wpcf7-text{width:60%;}
textarea.wpcf7-textarea{width:100%;}

/* btn */

/* bread */

#bread{float:right;font-size:0.8em;padding:1em 0px 1em 0px;}
#bread li{display:inline-block;padding:0px 0px 0px 1em;}
#bread li a{padding:0px 1em 0px 1em;}
#bread li:after{content:">";}
#bread li:last-child:after{content:"";}
#bread:after{clear:both;}






/* footer  */


#footer {
  background: linear-gradient(
    to bottom,
    #231102 0%,
    #4f2703 100%
  );
  clear:both;
  padding:50px 0px 50px 0px;
  color:#fff;
}

#footer a{color:#fff;}
#footer p{line-height: 1.7em;}
#footer .f_tel_fax{border-top:solid 1px #fff;border-bottom:solid 1px #fff;line-height:1em;}
#footer .f_tel {font-family: "Jost", sans-serif;font-size: 200%;
  display: inline-flex;
  align-items: center;   /* ← 縦中央揃え */
  gap: 0.3em;}
#footer .f_tel .material-symbols-outlined{
  font-size: 110%;  line-height: 1;
}
#footer .f_tel a{text-decoration: none ;}
#footer span.f_fax{font-family: "Jost", sans-serif;font-size: 120%;}



#f_inner{max-width:1000px; margin:0px auto 0px auto;
  display: flex;
  gap: 40px;              /* 列間の余白 */
  max-width: 1200px;
  margin: 0 auto;
}

.f_tel_fax {flex: 0 0 50%;letter-spacing: 0.2em;}
.f_link01 { flex: 0 0 25%;}
.f_link02 {flex: 0 0 25%;}

@media only screen and (max-width: 850px) {
#footer{padding:0px 0px 5em 0px;font-size: 90%;text-align: center;}
#footer pre{
  text-align: left;
  width:23em;
  margin:0px auto 1em auto;
}
#f_inner{display: block;padding:1em;}
.f_tel_fax {flex:none;width:80%;margin:0px auto 0px auto;}
.f_link01 { display: none;}
.f_link02  { display: none;}
}

.f_link {list-style: none;}
.f_link li{list-style: none; line-height:1.4em;margin-bottom:0.2em;}
.f_link li a {text-decoration: none;}

#footer #copyright{text-align:center;font-size:0.9em;line-height:1.4em;clear: both;}

/* pagetop */
p#pagetop{
	position: fixed;
	bottom: 30px;
	right: 120px;
	color:"#999";
	z-index:999999;
}
* html p#pagetop{
	text-align:right;
	margin-right:20px;
	margin-bottom:20px;
}
p#pagetop a{text-decoration:none;font-size: 50px;color:#b9a99a;}
.material-icons-outlined{
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  font-size: 32px; /* 任意 */
  line-height: 1;
}


/*
 * tablet and smartphone START
 * ---------------------------------------------
 */
@media only screen and (max-width: 999px) {
  /* layout */



}
/*
 * tablet and smartphone END
 * ---------------------------------------------
 */
/*
 * tablet START
 * ---------------------------------------------
 */
@media only screen and (min-width:850px) and (max-width: 999px) {
  /* #header-nav-sp */



}
/*
 * tablet END
 * ---------------------------------------------
 */
/*
 * smart phone START
 * ---------------------------------------------
 */
@media only screen and (max-width: 850px) {
html{scroll-padding-top: 0px;}
body {
font-size: 90%;
}
.sp{display:block;}
.pc{display:none;}
.sp-none{display:none;}
.sp-only{display:block;}
  /* row */
  .row .col {
    float: none;
    margin-left: 0;
  }

  .row2 .col {
    width: auto;
  }

  .row3 .col {
    width: auto;
  }

	
/* header */
#header {width:100%; position: static;z-index:99999;padding:0px 0px 0px 0px;top:0px ;left:0px;height:60px;}
#h_inner{margin:0px;}

#header h1
{padding:0px;
margin:7px 0px 0px 0px;
overflow: hidden;

}
#panel-btn{position:fixed;
top:10px;
right:10px;
}


#header::before {
  height: 3px;
}

#header .h_txt{display: none;}

#header .h_list{
position: fixed;
bottom:0px;
top:auto;
width: 100%;
background-color:#eeebe7;height:60px;
justify-content: center;
gap:5px;
align-items: flex-end; 
}

#header .h_list li a {
  border-radius: 5px 5px 0px 0px ;
  height: 50px;
  text-decoration: none;
  padding: 0 12px ;
  line-height: 1em;
  width:80px;
justify-content: center;
text-align: center;
font-size: 90%;
font-weight: 500;
display: flex;
flex-direction: column; 
gap:0px;
}

#header .h_list li a span.material-symbols-outlined{font-size: 130%; }

#header .h_list li a span {
  display: block; 
}

#header .h_list li a span.pc {
  display: none; 
}

#header .h_list li a .h_label_yoyaku{line-height: 1.3em;}
#header .h_list li a .h_label{line-height: 1em;}

#header .h_list li.h_tel{order:2;}
#header .h_list li.h_yoyaku{order:1;}
#header .h_list li.h_map{order:3;}

/* menu-nav */

#menu_btn{display: block;z-index: 99999 !important;}






	
	
/* frontpage */

input.wpcf7-text{width:100%;}
textarea.wpcf7-textarea{width:100%;}
	
/* mainvisual */
#mainvisual{width:100%;margin:0px auto 0px auto;
}


/* wrap */
	
	
/* contents */




/* footer  */


/* pagetop */
p#pagetop{
	position: fixed;
	bottom: 60px;
	right: 30px;
	color:"#999";
}
* html p#pagetop{
	text-align:right;
	margin-right:20px;
	margin-bottom:20px;
}
p#pagetop a{text-decoration:none;font-size: 50px;}

}






body.page-access_print #header, body.page-access_print #footer, body.page-access_print header{
        display: none !important;
    }

body.page-access_print .content-area {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

body.page-access_print .page_contents {
  width: 93%;
  max-width: 700px;
}

body.page-access_print header.h_page_contents
	{display:none;}


body.page-access_print
	{font-size:12px;
	font-family: 'Noto Sans JP', sans-serif !important;
}

body.page-access_print  .contents_area {
  padding: 0px;
  margin:  0px;
}
body.page-access_print h2{margin:0px;padding:0px;}
body.page-access_print h3{margin:0px;padding:0px;}
body.page-access_print .page_contents p {
  line-height: 1.4em;
  margin-bottom: 1em;
}
body.page-access_print .page_contents ul{margin:0px 0px opx 1em;padding:0px;
}

body.page-access_print #pagetop{display:none;}
body.page-access_print .back_area{display:none;}

body.page-access_print .grecaptcha-badge{display:none !important;}
body.page-access_print .fr_info table td{color:#333;}

@media print {
.wp-block-buttons.is-content-justification-center{display:none !important;}
.grecaptcha-badge{display:none !important;}
  html, body {
    margin: 0;
    padding: 0;
    height: auto;
    overflow: hidden;
  }
body.page-access_print
	{font-size:12px;
	font-family: 'Noto Sans JP', sans-serif !important;
	}
}

