/*
yous-clinic
Author: f.mignon
Description: This Theme is only yous-clinic.
Version: 0.0.1
*/

@charset "UTF-8";
@import url(https://use.typekit.net/ixk7don.css);
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

body, html {
    width: 100%;
	height: 100%;
	margin:0;
	padding: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.8em;
	min-width: 320px;
	font-family: source-han-sans-japanese, sans-serif;
	font-weight: 300;
	font-style: normal;
	color: #555;
}

*, *:before, *:after {
            box-sizing: border-box;
}

.center { text-align: center;}

.shortcut a{ text-decoration: none; display: block; }

/*              fadein                          

body {
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
*/

/*1.フェードインアニメーションの指定*/
.scrollanime {opacity: 0;} /*一瞬表示されるのを防ぐ*/
.fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.updelay1 { animation-delay:100ms;}
.updelay2 { animation-delay:500ms;}
.updelay3 { animation-delay:800ms;}
.updelay4 { animation-delay:1000ms;}
.updelay5 { animation-delay:1300ms;}

@keyframes fadeInDown {
    0% {
        opacity: 0;         
    }
    100% {
    opacity: 1;
    transform: translate(0);
    }
}
 
/*2.上下の動きを指定*/
.updown {transform: translateY(-100px);}
.downup {transform: translateY(100px);}
 
/*3.左右の動きを指定*/
.sect02{overflow: hidden;} /*横スクロールバーを隠す*/
.slide-right {transform: translateX(200px);}
.slide-left {transform: translateX(-200px);}


.fade-in{ 
	opacity:0;
	animation-name:sample01;
	animation-duration:3s;
	animation-fill-mode: forwards;
}
@keyframes sample01 {
0% {
 opacity: 0;
 transform: translateY(80px);
}

 100% {
 opacity:1;
 transform: translateY(0);
 } 
}


/*              clearfix                         */ 

.clearfix:after {
  content: ".";  
  display: block; 
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

* html .clearfix {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}

/*             Pagetop                        */ 

#pagetop {
	width: 60px;
    position: fixed;
    bottom: 2%;
    right: 4%;
    padding: 10px;
    -ms-filter: "alpha(opacity=80)";
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
}

#pagetop img{ width: 100%;}

a.reserve {
	background: radial-gradient(#0080c0, #005b88);
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	font-size: 13px;
	margin: 0 5px;
	padding: 3px 5px;
}

/*          pc-header                        */ 

.filter h1 {
	width: 100%;
	text-align: center;
	padding-top: 200px;
}

.filter h1 img{
	width: 94%;
	max-width: 400px;
}


p.slider-scroll {
	text-align: center;
	margin-top: 60px;
}

p.slider-scroll img  {
	width: 40px;
}

#doctor h2, article h1 {
	font-size: 18px;
	border-bottom: solid 1px #222;
	letter-spacing: .5em;
	margin: 25px 0;
	background: none;
	
}

#contents {
	padding-top: 130px;
	background-size:cover;
	min-height: 100vh;
}

.e-cap {
	display: block;
	font-size: 13px;
	letter-spacing: 0;
}

.wide { 
	letter-spacing: 1em;
}

.insta-icon {
	max-width: 60px;
	margin: 25px auto 0 auto;
}


.insta-icon img { width: 100%;}


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

.mobile-menu, #mobile-header, .mobile-only {display: none;}

.filter h1 img{
	width: 94%;
	max-width: 400px;
	background: rgba(255,255,255,0.8);
	padding: 25px;
}

.name-for-pc {
	width: 50%;
	max-width: 400px;
}

.name-for-pc a{
	padding: 15px 0 5px 10%;
	display: block;
}

.name-for-pc a img{ width: 100%;}



.header-logo img {
	width: 70px;
	margin-left: 15px;
	margin-top: 10px;
}

nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
}



.pc-header{
	background: #fff;
	padding: 5px 0 20px 0;
	box-shadow: 0 0 5px 5px #aaa;
}

.pc-header-inner{
	display: flex;
	justify-content: space-between;
	max-width: 1200px;
	margin: auto;
}

.pc-menu {
	max-width: 1000px;
	margin: auto;
	width: 100%;
}

.pc-menu ul{
	max-width: 1000px;
	display: flex;
	justify-content: space-between;
}

.pc-menu ul li{
	width: 14%;
	text-align: center;
}


.pc-menu ul li a{
	text-decoration: none;
	color: #555;
}

.pc-menu ul li:last-child a{
	background: #005b88;
	border-radius: 20px;
	padding: 10px;
	color: #fff;
}
.pc-menu ul li:last-child a:hover{
	color: white;
	background: #0b7d3c;
}

.shortcut {
}

.shortcut ul{
	position: fixed;
	left: 5px;
	top: 280px;
	font-size: 11px;
	text-align: center;
	list-style: none;
	border-radius: 15px;
}

#home .shortcut ul{
	top: 140px;
}

.shortcut ul li a{
	width: 80px;
	margin: 15px 0;
	display: block;
	letter-spacing: 0;
	text-decoration: none;
	color: #cd9c8d;
}

.shortcut ul li a img{
	width: 40%;
} 

.shortcut ul li a img:hover{
	width: 50%;
}

}

@media screen and (min-width: 1350px){
#home header{
	height: 100vh;
	background: url(https://yous-clinic.jp/images/head.jpg) no-repeat fixed;
	background-size: cover;
}
}

@media screen and (max-width: 1349px) and  (min-width: 769px){
#home header{
	height: 100vh;
	background: url(https://yous-clinic.jp/images/head2.jpg) no-repeat fixed;
	background-size: cover;
}
}


/*          mobile-header                        */ 
@media screen and (max-width: 768px) {

.pc-menu,  .header-logo, .only-pc {display: none;}

#mobile-header {
	background: rgb(255,255,255);
	display: flex;
	z-index: 100;
	position: fixed;
	top: 0;
	width: 100%;
}

#mobile-header h1 {
	padding: 30px 0 0 15px;
	font-family: al-fresco, sans-serif;
	font-weight: 700;
	width: 55%;
}
#mobile-header h1 img{ width: 100%;}


#mobile-header h1 a{
	color: #555;
	text-decoration: none;
}

.filter {
	width: 100vw;
	height: 100vh;
}

.filter-inner {
	width: 100vw;
	height: 100%;
	background: url(https://yous-clinic.jp/images/headimage.jpg) no-repeat;
	background-size:cover;

}

.filter-inner h1 span {
	background: rgba(255,255,255,0.8);
	display: block;
	padding: 15px;
	width: 80%;
	margin: 8vh auto 0 auto;
}


.header-logo2 img{
	height: 60px;
	margin: 10px;
}

.shortcut {
	position: fixed;
	top: 80px;
	left: 0;
	width: 100%;
	background: #e8d1ca;
	text-align: center;
	z-index: 200;
	border-bottom: solid 1px #b88f83;
	box-shadow: 0 0 5px 2px #e0c0b6;
}

.shortcut ul{
	display: flex;
	list-style: none;
	height: 76px;
	padding: 12px 0;
	justify-content: space-between;
	width: 75%;
	margin: auto;
}

.shortcut ul li {
	width: 25%;
	text-align: center;
}

.shortcut ul li a{
	display: block;
	border-right: solid 1px #555;
	color: #fff;
	font-size: 12px;
}

.shortcut ul li:first-child{ border-left: solid 1px #222;}


.shortcut ul li a img{
	height: 30px;
}

}


footer {
	width: 100%;
	padding: 15px;
	text-align: center;
}
footer ul li a, footer {
	text-decoration: none;
	color: #222;
}


footer ul {
	display: flex;
	justify-content: center;
}


footer ul li a:after {
content:"|";
margin:0 1em;
}
footer ul li:last-child a:after {content:"";}



/*          toppage                        */ 

.screen-reader-text{
	visibility:hidden
}

#home p{
	padding:0 5%;
}

#home section {
	margin: auto;
	min-height: 100vh;
	background-size: cover;
	padding: 25px ,2vw;
	width: 100vw;
	margin-top:-100px;
	margin-bottom:100px;
	padding-bottom:100px;
}

#home section h2, #doctor h1, #clinic h1, h1.gallery , #price h1, #menu h1, #news h1, #gallery h1 {
	font-size: 18px;
	text-align: center;
	background: #F5E4DF;
	padding: 25px 0 25px 0;
	margin-bottom: 25px;
	text-align: center;
}

#part1 h1 {
	padding: 5px 15px;
}

.adjust-1 {height: 40px;}

p.mincho {
	font-family: kinuta-maruminshinano-stdn, serif;
	font-size: 18px;
	color: #CFAFA6;
	text-align: center;
	padding-bottom: 15px;
	position: relative;
}

p.mincho a {
	position: absolute;
	margin-left: 20px;
}

.p-right { text-align: right;}

#introduction { position: relative;}
.slider-scroll2 {
	position: absolute;
	bottom: 70px;
	left: calc( 50% + 40px);
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	padding-left: 80px;
}

@media screen and (max-width: 768px) {
.slider-scroll2 {
 padding-left: 0;
}
.part { position: relative;}
.slider-scroll3 {
	position: absolute;
top: 70%;
	left: 40%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%); padding-left: 80px;
}

#clinic-top {padding-top: 140px;}

}
slider-scroll2 a img { width: 40px;}



@media screen and (min-width: 769px) {
.section-inner2 {
	padding-left: 60px;
}

.slider-scroll3 { display: none;}

article{
	max-width:1000px;
	margin:auto;
}

.content-text {
	max-width: 800px;
	margin: auto;
	font-family: tbudrgothic-std, sans-serif;
	line-height: 1.5em;
	font-size: 16px;
	text-align: center;
	width: 100%;
}

.centerhold {
	width: 60%;
	margin: auto;
}
.centerhold img{ width: 100%; box-shadow: 5px 5px 5px #aaa;}

#introduction img{
	width:250px;
	float: right;
}

}


@media screen and (max-width: 768px) {
.content-text {
	font-size: 13px;
	letter-spacing: 0;
	text-align: center;
}


#introduction img{ width: 150px;}
#doctor h1, #clinic h1, h1.gallery, #price h1, #menu h1, #news h1 {
	margin: 15px 0;
	padding-top: 40px;
}



#home section h1 {
	margin: 15px 0;
	padding-top: 20px;
}

.part {
	min-height: 100vh;
	position: relative;
}
}

.jump a{
	padding: 7px 25px;
	text-decoration: none;
	display: block;
	background: #806158;
	border: solid 1px #666;
	border-radius: 15px;
	font-size: 18px;
	color: #fff;
	max-width: 360px;
	text-align: center;
}

.centerhold {
	padding: 0px 0;
}

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

.section-inner2, .introduction-inner  {
	max-width: 1000px;
	width: calc(100% - 80px);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: auto;
}

.introduction-inner { padding-left: 80px;}

.part {
	width: 48% ;
	text-align: center;
}
}

@media screen and (max-width: 768px) {
.part { width: 100%;}

.centerhold {
	width: 50%;
	margin: auto;
}
.centerhold2 {
	width: 90%;
	margin: auto;
	text-align: center;
}
.centerhold img{
	width: 100%;
	box-shadow: 5px 5px 5px #aaa;
}


}

.d-name {
	font-size: 18px;
	font-family: kinuta-maruminshinano-stdn, serif;
	color: #5a503a;
	letter-spacing: .5em;
	margin-top: 1em;
}

.flex {
	display: flex;
	justify-content: space-between;
	min-height: calc(100vh - 180px);
	align-items: center;
}

.portrait { 
	text-align: center;
}

.portrait-image {
	width: 100%;
	box-shadow: 7px 7px 10px #c4b5a8;
	max-width: 300px;
}

.profile {
	padding: 0 25px 0 50px;
}
@media screen and (min-width: 769px) {
.porteait { 	width: 40%;}
.profile {	width: 60%;}
}

@media screen and (max-width: 768px) {
.flex {
	display: inline;
}

.portrait, .profile {
	width: 100%;
	padding: 25px;
}
}

.c-image, .c-info {
	padding: 25px 0;
	margin: 25px 0;
	border-bottom: solid 1px #aaa;
	padding: 15px;

}
.c-image ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.c-image ul li{
	width: 24%;
}
.c-image ul li img{
	width: 100%;
}
.image-trim {
  position: relative;
  overflow: hidden;
  padding-top: 75%; /* 比率 */
}
.image-trim img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-info ul{
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	padding: 15px;
}

.c-info ul li {
	width: 50%;
	margin: 10px 0;
	display: flex;
	justify-content: space-between;
	font-size: 16px;
}

.root{	padding: 5px;}
.root h4 {
	font-size: 18px;
	text-align: center;
	margin: 25px auto;
}

.root ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	justify-content: space-between;
}

.root ul li img{
	width: 100%;
}

.root ul li:nth-child(-n+5) .root-txt{	height: 120px;}
.root ul li:nth-child(-n+5) { border-bottom: solid 1px #004080; margin-bottom: 2em;}
.root ul li:nth-child(n+6) .root-txt{	height: 60px;}


@media screen and (min-width: 700px) {.root ul li{	width: 20%;	padding: 5px;}}
@media screen and (max-width: 699px) and (min-width: 520px) {
.root ul li{	width: 25%;	padding: 5px;}
.root ul li:nth-child(-n+4) .root-txt{	height: 120px;}
.root ul li:nth-child(n+5) .root-txt{	height: 60px;}
.root ul li:nth-child(-n+8) { border-bottom: solid 1px #004080; margin-bottom: 2em;}

}
@media screen and (max-width: 519px) and (min-width: 395px) {
.root ul li{	width: 33.3%;	padding: 5px;}
.root ul li:nth-child(-n+3) .root-txt{	height: 100px;}
.root ul li:nth-child(n+4):nth-child(-n+6) .root-txt{	height: 120px;}
.root ul li:nth-child(n+7) .root-txt{	height: 60px;}
.root ul li:nth-child(-n+6) { border-bottom: solid 1px #004080; margin-bottom: 2em;}

}
@media screen and (max-width: 394px) {
.root ul li{	width: 50%;	padding: 5px;}
.root ul li:nth-child(2){	width: 48%;	padding: 5px;}
.root ul li:nth-child(-n+8) { border-bottom: solid 1px #004080; margin-bottom: 2em;}
.root h4 {	font-size: 15px;}
.root ul li:nth-child(1) .root-txt{	height: 80px;}
.root ul li:nth-child(2) .root-txt{	height: 80px;}
.root ul li:nth-child(3) .root-txt{	height: 100px;}
.root ul li:nth-child(4) .root-txt{	height: 100px;}
.root ul li:nth-child(n+5) .root-txt{	height: 60px;}
.root ul li:nth-child(9){	margin:auto; width:63%; }
.root ul li:nth-child(9) .root-txt{	height: 30px;}
}




@media screen and (max-width: 768px) {
.c-info ul li {
	width: 100%;
	}
}

.c-info-contents {
	width: calc(100% - 100px);
	padding-right: 1em;
}

.c-info i { font-size: 36px;
	background: rgba(255,255,255,.5);
	padding: 18px 9px 9px;
	color: #aaa;
	border: solid 1px #aaa;
	border-radius:5px;
	width: 70px;
	height: 70px;
	text-align: center;
	vertical-align: middle;
}

#gmap {margin-bottom: 170px;}

.gmap, .gmap iframe {
	width: 100%;
}
.gmap iframe { border: solid 3px #aaa;}
blockquote.ricoh-theta-spherical-image { width: 100%;}


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

.price-inner, .menu-inner, .clinic-inner, .doctor-inner, .news-inner {
	max-width: 800px;
	margin: auto;
	padding-right:15px;
}
}

#price h2, .menu-inner h2 {
	font-size: 18px;
	border-bottom: solid 1px #ccc;
	margin: 15px 0;
}
@media screen and (max-width: 768px) {

.price-inner, .menu-inner {
	padding: 10px 5% 0 5%;
}
}
#price h3, .menu-inner h3 {
	border-bottom: dashed 1px #575757;
	margin: 15px 0 0 1em;
}
#price h3::before {
content:"\f101";
font-family:"Font Awesome 5 Free","Font Awesome 5 Brands";
}

#price h4, .menu-inner h4 {
	margin-left: 2em;
}

#price ul { margin-left: 4em;}

.price-inner ul {
	list-style: disc;
	margin-left: 2em;
}

.yen:before {
	content:"¥";
	margin-left: 3em;
	font-family: source-han-sans-japanese, sans-serif; 
	}

.garelly-inner, .news-inner {padding: 1%;}

.gallery h1 i {
	color: #ce2cf1;
	font-size: 20px;
}

.cap-head { padding-left: 1em;}

@media screen and (min-width: 769px) and (max-width: 950px) {
.doctor-inner, .clinic-inner, .menu-inner, .price-inner, .news-inner, .garelly-inner {
	margin-left: 80px;
}
}

article h2 a {
	text-decoration:none;
	color:#555;
}

img.alignright{
	display: block;
	margin: 0 0 0 auto;
}
 
img.alignleft{
	display: block;
	margin: 0 auto 0 0;
}
 
img.aligncenter{
	display: block;
	margin: 0 auto;
}

footer ul li{
	list-style:none !important;
}

.menu-inner ul {
	margin-left:3em;
}

/*
#price, #clinic, #news, #doctor {
	margin-top:-30px;
}
*/

#doctor {
	padding-bottom:80px;
}

.indent1 {
	padding-left: 2.2em;
}
.indent2 {
	padding-left: 3em;
}


article h1 {
	letter-spacing:.1em;
}
@media screen and (min-width: 769px) {
	#price, #clinic, #news, #doctor {
	margin-top:－20px;
}

}
@media screen and (max-width: 768px) {
	#news, #price, #clinic {		margin-top:0px;}
}

.gallery-item {
	padding-bottom:50px;
}

.gall h2 {
	background-color:#fff !important;
	text-align:left !important;
	font-size:20px;
	border-bottom:solid 1px #aaa;
}

.wp-pagenavi {
	text-align:center;
	margin-bottom:20px;
	
}
.contents-below {
	max-width:1000px;
	margin:auto;
	padding:0 10%;
}

.c-image ul {
	list-style:none;
}



/* --- 当院が選ばれる理由リスト --- */
/* 当院が選ばれる理由（番号＋テキストをセンタリング） */
.reason-list {
  margin: 0;
  padding: 0;
	list-style:none;
}

.reason-item {
  margin-bottom: 2em;
}

.reason-item h2 {
  font-size: 16px;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.reason-item p {
  margin: 0;
}

/* --- カウンセリングの流れ --- */
.flow-steps {
  max-width: 800px;
  margin: 1.5em auto 0 auto;
  text-align: left;
}

.flow-step {
  margin-bottom: 1.5em;
}

.flow-step h2 {
  font-size: 16px;
  margin-bottom: 0.3em;
  font-weight: 600;
}

.flow-step p {
  margin: 0;
}

.flow-note {
  margin-top: 1em;
  font-size: 13px;
}

/* --- 予約直前メッセージ --- */
.pre-reserve {
  font-size: 14px;
}

#reservation .jump a {
  font-size: 16px;
  font-weight: 600;
}

/* トップページ（home）だけ、コンテンツの余白を消す */
.home .site-content,
.home .entry-content,
.home main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.flow-steps {
	text-align:center;
}


.scroll4 {
	text-align: center;
	padding:30px 0;
	margin: 0;
}
/*　カテゴリー1　*/

.news-item {
    padding: 0 0 30px;
    margin: 0 0 30px;
    border-bottom: 1px solid #ccc;
}

.news-item h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.4;
	border-bottom:dotted 4px #f5e4df;
	padding-bottom:2px;
}

.news-item h2 a {
    text-decoration: none;
    color: inherit;
}

.news-meta {
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
}

.news-excerpt {
    line-height: 1.9;
}

.read-more {
    margin-top: 15px;
}

.read-more a {
    text-decoration: none;
	color:#F59B80;
}

/* =========================
   NEWS 一覧
========================= */

.news-list {
    margin: 0;
    padding: 0;
}

.news-item {
    display: flex;
    gap: 24px;
    padding: 0 0 30px;
    margin: 0 0 30px;
    border-bottom: 1px solid #dcdcdc;
}

.news-thumb {
    width: 260px;
    flex-shrink: 0;
}

.news-thumb a {
    display: block;
    text-decoration: none;
}

.news-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.news-body {
    flex: 1;
    min-width: 0;
}

.news-title {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.4;
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-title a:hover {
    opacity: 0.7;
}

.news-meta {
    margin-bottom: 12px;
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

.news-excerpt {
    line-height: 1.9;
    word-break: break-word;
}

.read-more {
    margin-top: 16px;
}

.read-more a {
    text-decoration: none;
}

.read-more a:hover {
    text-decoration: underline;
}


/* =========================
   GALLERY 一覧
========================= */

.gallery-item {
    display: flex;
    gap: 24px;
    padding: 0 0 30px;
    margin: 0 0 30px;
    border-bottom: 1px solid #dcdcdc;
}

.gallery-thumb {
    width: 260px;
    flex-shrink: 0;
}

.gallery-thumb a {
    display: block;
    text-decoration: none;
}

.gallery-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.gallery-body {
    flex: 1;
    min-width: 0;
	padding:0 5%;
}

.gallery-title {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.4;
}

.gallery-title a {
    color: inherit;
    text-decoration: none;
}

.gallery-title a:hover {
    opacity: 0.7;
}

.gallery-title i {
    margin-right: 6px;
}

.gallery-excerpt {
    line-height: 1.9;
    word-break: break-word;
}


/* =========================
   共通：スマホ対応
========================= */

@media (max-width: 768px) {
    .news-item,
    .gallery-item {
        display: block;
    }

    .news-thumb,
    .gallery-thumb {
        width: 100%;
        margin-bottom: 14px;
    }

    .news-title,
    .gallery-title {
        font-size: 22px;
    }
}

.top-doctor-contents {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
}

.top-doctor-photo {
    width: 50%;
    flex: 0 0 50%;
}

.top-doctor-photo img {
    display: block;
	width:100%;
    max-width:360px;
    height: auto;
}

.top-doctor-text {
    flex: 1;
    max-width: 600px;
}

.top-doctor-name {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
    line-height: 1.4;
}

.top-doctor-name-text {
    font-size: 30px;
}

.top-doctor-instagram {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.top-doctor-instagram img {
    display: block;
    width: 30px;
    height: auto;
}

.top-doctor-message {
    margin-bottom: 0;
    line-height: 2;
	font-size:14px;
		text-align:left;
}

.top-doctor-link {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .top-doctor-contents {
        display: block;
        text-align: center;
    }

    .top-doctor-photo {
        max-width: 260px;
        margin: 0 auto 25px;
    }

    .top-doctor-text {
        max-width: 100%;
    }

    .top-doctor-name {
        justify-content: center;
        gap: 14px;
        margin-bottom: 20px;
    }

    .top-doctor-name-text {
        font-size: 24px;
    }

    .top-doctor-message {
        margin-bottom: 24px;
    }
}

#price .price-toc{
  margin: 24px 0 36px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  clear: both;
  position: relative;
  z-index: 1;
		max-width:calc(100% - 200px);
	  margin:auto;
}

#price .price-toc__head{
  margin-bottom: 16px;
}

#price .price-toc__title{
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-align:center;
}

#price .price-toc__lead{
  margin: 6px 0 0;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
	text-align:center;
}

#price .price-toc__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 900px){
  #price .price-toc__grid{
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
  }
}

#price .price-toc details{
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

#price .price-toc summary{
  list-style: none;
  cursor: pointer;
  margin: 0;
  padding: 12px 16px;
  background: #f7f8fb;
  border: 1px solid #e3e6ee;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

#price .price-toc summary::-webkit-details-marker{
  display: none;
}

#price .price-toc summary::after{
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  line-height: 1;
  color: #666;
}

#price .price-toc details[open] > summary{
  background: #eef3ff;
  border-color: #cfd9f3;
}

#price .price-toc details[open] > summary::after{
  content: "−";
}

#price .price-toc__group > ul,
#price .price-toc__subgroup > ul{
  margin: 10px 0 0;
  padding: 0 0 0 1.2em;
}

#price .price-toc li{
  margin: 6px 0;
  line-height: 1.6;
}

#price .price-toc a{
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.22);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

#price .price-toc a:hover{
  opacity: 0.7;
  border-color: rgba(0,0,0,0.45);
}

#price .price-toc__subgroup{
  margin-top: 4px;
}

#price .price-toc__subgroup > summary{
  background: #fbfbfb;
  border: 1px solid #ececec;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
}

#price .price-toc__subgroup > summary::after{
  font-size: 18px;
  right: 12px;
}

/* 固定ヘッダー対策 */
#price h2,
#price h3,
#price h4,
#price .price-inner [id^="menu-"]{
  scroll-margin-top: 500px !important;
}

@media (max-width: 768px){
  #price .price-toc{
    margin: 18px 0 28px;
    padding: 16px;
    border-radius: 14px;
	max-width:100%;

  }

  #price .price-toc__title{
    font-size: 20px;
  }

  #price .price-toc summary{
    padding: 11px 14px;
    font-size: 15px;
  }
}

:root{
    --topbar-height-pc: 44px;
    --topbar-height-sp: 40px;
}

/* モーダル表示中は背景スクロールを止める */
body.modal-open{
    overflow: hidden;
}

/* =========================================================
   告知バー
========================================================= */

.topbar-notice-wrap{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: #806158;
    border-bottom: 1px solid rgba(0,0,0,0.10);
    box-sizing: border-box;
	
}

.topbar-notice{
    width: 100%;
}

.topbar-notice-summary{
    max-width: 1200px;
    min-height: var(--topbar-height-pc);
    margin: 0 auto;
    padding: 7px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-sizing: border-box;
}

.topbar-notice-label{
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    color: #555;
}

.topbar-notice-title{
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-notice-open{
    flex: 0 0 auto;
    appearance: none;
    border: 1px solid rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.65);
    color: #555;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    padding: 7px 12px;
    border-radius: 999px;
}

.topbar-notice-open:hover{
    background: rgba(255,255,255,0.7);
}

/* =========================================================
   モーダル
========================================================= */

.header-info-modal{
    position: fixed;
    inset: 0;
    z-index: 11000;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.header-info-modal.is-open{
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.header-info-modal-bg{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.header-info-modal-dialog{
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92vw, 760px);
    max-height: min(84vh, 760px);
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.header-info-modal-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.header-info-modal-title{
    margin: 0;
    font-size: 22px;
    line-height: 1.4;
    color: #333;
}

.header-info-modal-close{
    position: relative;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 6px;
    background: #e8d1ca;
    cursor: pointer;
    padding: 0;
}

.header-info-modal-close span::before,
.header-info-modal-close span::after{
    content: "";
    position: absolute;
    top: 20px;
    left: 10px;
    width: 22px;
    height: 2px;
    background: #fff;
}

.header-info-modal-close span::before{
    transform: rotate(45deg);
}

.header-info-modal-close span::after{
    transform: rotate(-45deg);
}

.header-info-modal-body{
    overflow-y: auto;
    padding: 20px;
}

.header-info-modal-content{
    font-size: 15px;
    line-height: 1.9;
    color: #444;
}

.header-info-modal-content > *:first-child{
    margin-top: 0;
}

.header-info-modal-content > *:last-child{
    margin-bottom: 0;
}

.header-info-modal-buttons{
    margin-top: 22px;
}

.header-info-modal-button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #005b88;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1.2;
}

.header-info-modal-button:hover{
    opacity: .85;
}

/* =========================================================
   既存 fixed ヘッダーを告知バーぶん下げる
   nav / shortcut の見た目自体は触らない
========================================================= */

@media screen and (min-width: 769px) {
    #mobile-header{
        top: var(--topbar-height-pc) !important;
    }

    header nav{
        top: var(--topbar-height-pc) !important;
    }

    .shortcut ul{
        top: calc(200px + var(--topbar-height-pc)) !important;
    }

    #home .shortcut ul{
        top: calc(180px + var(--topbar-height-pc)) !important;
    }

    #contents{
        padding-top: calc(120px + var(--topbar-height-pc)) !important;
    }
}

@media screen and (max-width: 768px) {
    .topbar-notice-summary{
        min-height: var(--topbar-height-sp);
        padding: 8px 12px;
        gap: 8px;
    }

    .topbar-notice-label{
        min-width: 56px;
        padding: 4px 8px;
        font-size: 11px;
    }

    .topbar-notice-title{
        font-size: 13px;
    }

    .topbar-notice-open{
        font-size: 12px;
        padding-left: 8px;
    }

    .header-info-modal-dialog{
        width: 94vw;
        max-height: 88vh;
        border-radius: 12px;
    }

    .header-info-modal-head{
        padding: 14px 14px 12px;
    }

    .header-info-modal-title{
        font-size: 18px;
    }

    .header-info-modal-body{
        padding: 14px;
    }

    .header-info-modal-content{
        font-size: 14px;
        line-height: 1.8;
    }

    .header-info-modal-button{
        width: 100%;
    }

    #mobile-header{
        top: var(--topbar-height-sp) !important;
    }

    header nav{
        top: var(--topbar-height-sp) !important;
    }

    .shortcut{
        top: calc(76px + var(--topbar-height-sp)) !important;
    }

    #contents{
        padding-top: calc(140px + var(--topbar-height-sp)) !important;
    }
}

.inner-link-button a{
	width:320px;
	margin:20px auto;
	text-align:center;
}

.scroll-button {
	margin-top:120px;
}

#home h3 {
	margin:15px auto;
}