/*
Theme Name: OLTANA-001 Child
Version: 1.0.0
Template: oltana-001
Author: CROOVER inc.
Author URI: https://croover.co.jp
*/

/*------- 共通 -------*/
h2{
font-weight: 400!important;
	color: #005d39!important;
}
h2.wp-block-heading,h4.wp-block-heading {
	margin:1em 0;
}
h3.wp-block-heading {
margin: 1em 0;
	    border-left-width: 3px;
}
body{
	font-size: 18px!important;
	font-weight:400!important;
}
.page:not(.home) p.mt0{
	margin-top:0;
}

.ol-btn-text,.ol-category__item-anchor,time,.ol-news__category,.ol-news__title,.ol-text-s {
	    font-size: clamp(12px, 1.2vw, 16px);
	font-weight: 400;
}

.wp-block-separator {
    border-top: 1px solid #005d39;
}
.wp-block-image {
	width:100%;
margin:24px 0;}
.single p, .page:not(.home) p{
    margin-top: clamp(15px, 1.5vw, 12px);
    margin-bottom: clamp(15px, 1.5vw, 12px);
}
.font-m{
font-size:1.15em;
	border-bottom: 1px solid #e95f1c;
}
.color_or{
color:#E95F1C;
}
.color_green{
	color:#005d39;
}

.rk-cc_td{
	width:28%
}

.sp-only{
	display:none;
}

/* .page:not(.home) .ol-bold, .page:not(.home) strong, .page:not(.home) b {
    font-weight: 600;
} */
@media (max-width: 781px) {
	.wp-block-separator {
		margin: 2em 0;
	}
	.sp-only{
	display:block;
}
		.wp-block-columns{
		gap:0;
		margin-bottom:0;
	}
	.oltana-list{
		margin:0;
	}
}
@media (max-width: 540px) {
	.ol-heading,.ol-concept__maincopy{
		font-size: 18px;
	}
	.ol-concept__description,.ol-text-s,.ol-btn-text.ol-font-en,.ol-product__content-list li,p,th,td{
		font-size: 14px;
	}
    .ol-text {
       font-weight:400!important;
    }
	.ol-heading{
		margin-bottom:40px;
	}
	.ol-heading-sub.ol-font-en {
		margin-bottom:5px;
	}
}
/*------- KV -------*/
.ol-firstview__title-maincopy{
	color: #005d39;
	text-shadow: 0 0 5px #fff, 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #fff;
	font-weight:400;
}
.ol-firstview__title-text{
	color: #E95F1C!important;
}
.ol-heading-sub.ol-font-en{
color:#E95F1C;
font-weight:400!important;	
}

/* 診療案内の表 */
.ol-firstview__hours:not(.ol-firstview__nohours) {
width:100%!important;
}
.ol-firstview__hours:not(.ol-firstview__nohours) .ol-hours__component {
	max-width: 630px!important;
}

#olFirstview .ol-hours__component{
	padding-left:clamp(24px, 4.5vw, 45px)!important;
	border: 1px solid #005d3933;
}
#olFirstview .ol-hours__col-title,#olFirstview .ol-hours__col-day-title,#olFirstview .ol-hours__desc1-text,#olContact .ol-hours__desc1-text{
    font-size: clamp(12px, 1.2vw, 16px);
	font-weight: 400;
}


/* サイドとCONTACTの診療案内の表の太さ調節 */
.ol-column-content-side .ol-hours__desc1,.ol-column-content-side .ol-hours__col-title,.ol-column-content-side .ol-hours__col-day-title,#olContact .ol-hours__col-title,#olContact .ol-hours__col-day-title{
	font-weight: 400;
}

@media (max-width: 1100px) {
	#olFirstview .ol-hours__component{
		padding:20px;
	}
}
@media (max-width: 840px) {
	
	.js-firstview-hours{
		width:100%;
	}
	#olFirstview .ol-hours__component{
		border:none;
		padding-left:0;
	}

}
@media (max-width: 550px) {
	.ol-firstview__hours:not(.ol-firstview__nohours) .ol-hours__contact {
        flex-wrap: wrap;
		gap:10px;
    }
		.ol-firstview__hours:not(.ol-firstview__nohours) .ol-hours__phone_number {
    justify-content: center;
}
}
@media (max-width: 380px) {
#olFirstview .ol-hours__component {
		padding: 20px 0!important;}
}

/*------- お知らせ -------*/
.ol-news__meta time {
    width: auto;
}


/*------- 診察案内 -------*/
.ol-list-title{
color:#E95F1C;
font-weight:400!important;	
}

.ol-service__list-item-content
{width: 100%;}

.ol-service__list-item-image{
	background-color:#d5fcda78;
}
.ol-service__list .ol-service__list-item-image img {
	padding:8px;
}
#service2 .ol-service_item-link{
	margin-top:0;
	justify-content:space-between;
}
#service2 .ol-service_item-link:nth-of-type(2){
	margin-top:20px}

@media (max-width: 840px) {
    #service2 .ol-service_item-link{
	flex-direction: column;
    align-items: flex-end;
		gap:20px;
    }
}
/*------- アクセス -------*/
.ol-access__image {
    flex-basis: 55%;
}
@media (max-width: 840px) {
    .ol-access__image {
		flex-basis: 100%;
    }
}
@media (max-width: 540px) {
	    .ol-access__info-item dt {
			width: 20vw;}
}


/*------- 下層＿院長・スタッフ紹介 -------*/
.ol-article__title {
	font-weight: 300;
}
@media (max-width: 781px) {
	.doctor_item .wp-block-image img  {
	width: 100%;
   height: 50vh;
	max-height:570px;
    object-fit: cover;
}

	.rk-cc tr {
		display:flex;
		flex-wrap:wrap;
		margin-bottom: 0.5em;
	}
	.rk-cc_td {
    width: 100%;
}
	}


/*------- 下層＿診療時間・アクセス -------*/
.time_table .ol-hours__col-title,.time_table .ol-hours__col-day-title,.time_table .ol-hours__desc1,.time_table .time_table{
    font-size: 18px;
}
.time_table  .ol-hours__col-day {
	font-size: 13px;
}
@media (max-width: 781px) {
	.time_table .ol-hours__col-title,.time_table .ol-hours__col-day-title,.time_table .time_table,.time_table  .ol-hours__col-day{
    font-size: clamp(11px, 1.2vw, 14px);
}
	.time_table .ol-hours__desc1{
		font-size:13px;
	}
	iframe{
		height: 330px;
	}
}
/*------- 下層＿よりよい睡眠のために -------*/
@media (max-width: 840px) {
	.deal_container .wp-block-image img{
		width:170px;
		margin:0 auto;
	}
}

/*------- 下層＿お問い合わせ -------*/
.wpcf7 p>label {
    display: flex;
	font-weight: 500;
    justify-content: space-between;
}
.wpcf7 p::after {
	bottom:0;
}
.wpcf7-form-control-wrap {
    width: 70%;
}
.address {
	display: block !important;
}
.address_span .wpcf7-form-control-wrap textarea {
    height: 50px !important;
}
.address span {
    display: flex;
    justify-content: space-between;
}

.required{
	color: #E95F1C;
    font-weight: bold;
    display: contents;
    font-size: 14px;
}
.privacy span {
    display: block;
}

@media (max-width: 840px) {
	.wpcf7 p>label,.address span {
   flex-wrap:wrap;
}
	.wpcf7-form-control-wrap {
    width: 100%;
}
}	
	
	
/* ハンバーガーメニュー　*/
.ol-header__nav-item.show {
    display: block !important;
}

#menu-item-4,#menu-item-5,#menu-item-6,#menu-item-8,#menu-item-9,#menu-item-10,#menu-item-11,
#menu-item-12,#menu-item-14,#menu-item-15,#menu-item-16,#menu-item-17,#menu-item-18,#menu-item-20,#menu-item-21,#menu-item-22{
    display: none;
    margin-left: 18px;
}

#menu-item-3 a,#menu-item-7 a ,#menu-item-13 a ,#menu-item-19 a {
    pointer-events: none;
}

#menu-item-3>a::before,#menu-item-7>a::before,#menu-item-13>a::before,#menu-item-19>a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 1px;
    height: 14px;
    background-color: #2e9568;
    transform: translateY(-50%);
}

#menu-item-3>a::after,#menu-item-7>a::after,#menu-item-13>a::after,#menu-item-19>a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 6px;
    width: 14px;
    height: 1px;
    background-color: #2e9568;
}

#menu-item-3.show>a::before,#menu-item-7.show>a::before,#menu-item-13.show>a::before,#menu-item-19.show>a::before {
    display: none !important;
}

/*------- 症例一覧(眉アート等) -------*/
.nonomura-case-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 24px;
}
.nonomura-case-item {
	border: 1px solid #005d3933;
	border-radius: 12px;
	background-color: #fff;
	padding: clamp(16px, 2vw, 24px);
}
.nonomura-case-item__title {
	color: #005d39;
	font-weight: 400;
	font-size: clamp(18px, 2vw, 22px);
	border-left: 3px solid #005d39;
	padding-left: 12px;
	margin: 0 0 12px;
}
.nonomura-case-item__images {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
}
.nonomura-case-item__images figure {
	flex: 1;
	margin: 0;
	text-align: center;
}
.nonomura-case-item__images img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}
.nonomura-case-item__images figcaption {
	margin-top: 6px;
	color: #E95F1C;
	font-weight: 500;
	font-size: clamp(12px, 1.2vw, 16px);
}
.nonomura-case-item__meta {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
}
.nonomura-case-item__meta dt {
	color: #005d39;
	font-weight: 500;
	font-size: 1em;
	flex: 0 0 9em;
	white-space: nowrap;
	margin-top: 6px;
}
.nonomura-case-item__meta dt:nth-of-type(1),
.nonomura-case-item__meta dd:nth-of-type(1) {
	margin-top: 0;
}
.nonomura-case-item__meta dd {
	flex: 1 0 calc(100% - 9em);
	margin: 6px 0 0;
	line-height: 1.5;
}

@media (max-width: 781px) {
	.nonomura-case-item__images {
		flex-direction: column;
	}
}

	