/*
Theme Name: code_tcd090_child
Theme URI:
Description:WordPressテーマ「code」の自作子テーマです。
Template:code_tcd090
Author:
Author URI:https://tcd-theme.com/
Version:1.1.6
*/

#main_contents {
    background: #ffffff;
}
#main_contents:before {
    background: #fafafa;
}
/* #main_contents:after {
    background: #f3f3f3;
} */



.post_content h2 {
    font-size: 28px !important;
    text-align: left;
    color: #000;
    border-top: 0 solid #ddd;
    border-bottom: 2px solid #0068B7;
    border-left: 0 solid #ddd;
    border-right: 0 solid #ddd;
    padding: 0 15px 10px 0 !important;
    margin: 0 0 30px !important;
}

.post_content h3 {
	font-size: 24px !important;
	font-weight: 600 !important;
	padding: 12px 20px;
	border-left: 4px solid #0068B7;
	margin-bottom: 24px;
}
.post_content h4 {
	padding: 2px 12px;
    border-left: 2px solid #0068B7;
}


/* 418メンバー一覧ページ */
.page-id-4313 #one_col { width:100%!important; max-width: 100%; }
.page-id-4313 .post_content h2 {
	font-size:32px!important;
	text-align: center;
	border-bottom: 0;
	margin-bottom: 0!important;
	padding-right: 0!important;
}
#member_list {
	background:#f3f3f3; margin-bottom:-3px;
  display:-webkit-box; display:-webkit-flex; display:flex;
  -webkit-flex-wrap:wrap; flex-wrap:wrap;
}
#member_list .item {
	width:25%; height:407px; text-align:center; border-right:3px solid #fff; border-bottom:3px solid #fff;
  -webkit-box-sizing:border-box; box-sizing:border-box;
}
#member_list .item:nth-child(4n) { border-right:none; }
#member_list a { display:block; }
#member_list .avatar_area { margin:80px auto 0; display:block; width:180px; height:180px; border-radius:100%; position:relative; overflow:hidden; z-index:1; }
#member_list img.avatar { display:block; width:100%; height:auto; z-index:2; }
.page-id-4313 .post_content h3 { border: 0;	padding: 0; }
#member_list .name { font-size:18px!important; margin:20px 0 0 0!important; display:inline-block; word-wrap:break-word; z-index:2; position:relative; color:#000; z-index:2; }
#member_list .name:after {
	transition: width .2s; content:''; width:0px; display:block; position:relative; left:-8px; z-index:1;
	background:url(img/common/grunge_bg.png); background-blend-mode:color-dodge;
	filter:blur(1px); border-radius:4px; height:4px; bottom:0.05em;
  mask-image: url(img/common/grunge_bg_shape_small.png);
  background-color: #d9d900;
}
#member_list a:hover .name:after { width:calc(100% + 16px); }
#member_list .job { font-size:14px; color:#666; margin-top:15px; line-height:1; padding:0 20px;}
#member_418doctor { margin-top: 80px!important; }

@media screen and (max-width: 1201px) {
	.page-id-4313 #one_col { margin:0; }
	#member_list .avatar_area { margin:70px auto 0; width:130px; height:130px; }
	#member_list .item { height: 330px;	}
}
@media screen and (max-width:950px) {
	#member_list .item { width:calc(100% / 3); }
	#member_list .item:nth-child(4n) { border-right:3px solid #fff; }
	#member_list .item:nth-child(3n) { border-right:none; }
}
@media screen and (max-width:750px) {
	.page-id-4313 .post_content h2 { font-size:22px!important;}
	.page-id-4313 .post_content p { padding: 0 50px;}
	#member_list .item { width:50%; height:228px; border-right:2px solid #fff; border-bottom:2px solid #fff; }
  	#member_list .item:nth-child(3n) { border-right:2px solid #fff; }
  	#member_list .item:nth-child(2n) { border-right:none; }
  	#member_list .avatar_area { margin:27px auto 0; width:110px; height:110px; }
	#member_list .name { font-size:14px; margin-top:20px; }
	#member_list .name:after { display:none; }
	#member_list .catch { font-size:12px; margin-top:10px; }
}

/* 418メンバー個別ページ */
#member_page_header { border-top:1px solid #ddd; padding:100px 0 48px; }
#member_page_header .content { width:640px; margin:0 auto; }
#member_page_header .image img { width:180px; height:180px; border-radius:100%; display:block; margin:0 auto; }
#member_page_header .name { font-size:24px; text-align:center; margin:40px auto 0; position:relative; display:inline-block; left:50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); }
#member_page_header .name:after {
  -webkit-transition: width 0.4s ease 0.5s; transition: width 0.4s ease 0.5s;
	filter:blur(1px); border-radius:4px; height:4px; top:-2px;
	content:''; width:0px; display:block; position:relative; left:-8px; z-index:-1;
	background:url(img/common/grunge_bg.png); background-blend-mode:color-dodge;
  mask-image: url(img/common/grunge_bg_shape_small.png);
  background-color: #d9d900;
}
#member_page_header .name.animate:after { width:calc(100% + 16px); }
#member_page_header .name-loma { text-align:center; margin-top:15px;}
#member_page_header .nickname { text-align:center; margin-top:15px;}
#member_page_header .job { text-align:center; margin-top:15px;}
#member_page_header .clinic-name { text-align:center; margin-top:15px; line-height:1.9; }
#member_page_header .sns_button_list { margin-top:15px; }
#member_page_content { padding-top:48px; padding-bottom:48px; background-color:#f7fcff;}
#member_page_content .content { width:700px; margin:0 auto; }
#member_page_content .content img { width:700px; }
#member_page_content .item { margin-top:64px;}
#member_page_content h2 { font-size:24px; border-bottom: 2px solid #000; padding: 0 15px 10px 0; }
#member_page_content p { line-height:1.9; margin-top:16px;}
#member_page_content a { color:#ff6768; }
#member_page_content a:hover { opacity: 0.6; }
#member_page_content .message { margin-top:64px;}
#member_page_content .clinic-info { margin-top:64px; font-size: small; }
#member_page_content .clinic-info p { margin-top:4px;}
#member_page_content .clinic-info a { color:#000000; }
#member_page_content .clinic-info a:hover { opacity: 0.6; }
.back-to-archive { margin-top: 120px; text-align:center; }
#member_page_content .back-to-archive a { color:#000;}
.single-418member #next_prev_post, .single-418doctor #next_prev_post { margin: 0 auto; width: 700px; }
.single-418member #next_prev_post .item:first-of-type, .single-418doctor #next_prev_post .item:first-of-type { border-right: 2px solid #f7fcff; }
.single-418member #next_prev_post .next_post .title, .single-418doctor #next_prev_post .next_post .title { text-align: right; }

@media screen and (max-width:950px) {
	#member_page_header { padding:60px 0 120px; }
  	#member_page_header .content { width:auto; max-width:640px; }
	#member_page_header .image img { width:150px; height:150px; }
	#member_page_header .name { font-size:18px; margin:30px auto 0; }
	#member_page_header .catch { font-size:14px; margin-top:18px; }
	#member_page_header .sns_button_list { margin-top:20px; }
	#member_page_header .desc { font-size:14px; line-height:2; margin-top:30px; }
	.single-418member #next_prev_post, .single-418doctor #next_prev_post { width:auto; }
}
@media screen and (max-width:750px) {
  	#member_page_header .content { max-width:inherit; padding:0 20px; }
	#member_page_content { padding-right:20px; padding-left:20px; }
	#member_page_content .content { width:auto; } 
	#member_page_content .content img { width:100%; }
	#member_page_content h2 { font-size:18px; }
}
@media screen and (max-width:650px) {
	#member_page_header { padding:40px 0 48px; }
}


/* TOPページ　メインビジュアル */
/* 画面サイズ950px以上で適用 */
@media screen and (min-width:951px){
	#header_slider_wrap { height:80vh!important; }
	#header_slider {
		width:100%; height:80vh; overflow:hidden; position:relative;
		-moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box;
	}
	#header_slider .item { width:100%; height:80vh; position:relative; }
	#header_slider .post_item .image_wrap { display:block; width:100%; height:calc(80% - 215px); position:relative; overflow:hidden; }
	#header_slider .post_item .image_wrap .bg_image { width:100%; height:100%; position:absolute; top:0px; left:0px; z-index:1; }
	}

/*フッター：お口の個別相談室セクション*/
#advice { padding: 0 0 80px;}
.advice_sec_contents { width: 800px; margin: 0 auto 16px; display: flex; align-items: center; }
#advice .item-left { flex-basis: 52%; text-align: center; }
#advice .item-left img { width: 80%; }
#advice h3 { font-size: 24px; margin-bottom: 24px; color: #0066b8;}
#advice p { line-height: 2; margin-bottom: 8px; }
#advice .item-right img { width: 90%; }
@media screen and (max-width:1201px){
.advice_sec_contents { width: auto !important; margin: 0 50px; }
}
@media screen and (max-width:850px){
	.advice_sec_contents { margin: 0 30px; }
}
@media screen and (max-width:600px){
	.advice_wrapper { margin: 0 20px; }
	.advice_sec_contents { display: block; margin: 0; }
	#advice .item-left { margin-bottom: 40px; }
	#advice h3 { text-align: center; }
	#advice .catchcopy { text-align: center;}
	#advice .item-right img { width: 100%; }
	.sp-reverse { display: flex; flex-direction: column-reverse;}
}

/* クイックタグ */
/* マーカー（赤） */
.marker {
	background: -webkit-linear-gradient( transparent 60%, #ffe2e2 0% );
	background: linear-gradient( transparent 60%, #ffe2e2 0% );
}
/* マーカー（青） */
.marker2 {
	background: -webkit-linear-gradient( transparent 60%, #a9eaf2 0% );
	background: linear-gradient( transparent 60%, #a9eaf2 0% );
}

.fa-icon {
    margin-right: 3px;
    font-size: 16px;
}
/* アイコン：矢印（右） */
.fa-angle-right {
    color: #e9546b;
}
/* アイコン：情報information */
.fa-info-circle {
    color: #00bfff;
}
.iconbox{
    display: flex;
	padding:20px;
	align-items: center;
	margin: 20px;
    border-radius: 5px;
}
.iconbox-blue {
	background-color: #f2fbff;
}
.iconbox-icons {
    padding-right: 24px;
	padding-left: 4px;
    font-size: 24px;}

.iconbox-contents p {
    line-height: 1.8;
	margin-bottom: 0;
}
.iconbox .q_custom_button {
    margin: 20px auto 8px;
}
.simple-box {
	padding: 20px 25px;
	margin-bottom: 40px;
	max-width: 690px;
	box-sizing: border-box;
}
.simple-box.solidline {
	border: 3px solid #2294d6;
    border-radius: 4px;
}
.simple-box.doubleline {
	border: 3px double #2294d6;
    border-radius: 4px;
}
.simple-box.dashed {
	border: 3px dashed #f2bf7d;
    border-radius: 4px;
}
.simple-box.solidline-bg {
	border: 1px solid #7badd8;
    border-radius: 4px;
	background-color: #7badd80d;
}
.simple-box.dashed-bg {
	border: 1px dashed #e896c7;
    border-radius: 4px;
	background-color: #e896c70d;
}
.simple-box.bg {
	border-radius: 4px;
	background-color: #fffdef;
}
.simple-box.bold-solidline-bg {
	border: 10px solid #def1f9;
    border-radius: 4px;
	background-color: #ddf0f933;
}
.simple-box.leftline-bg {
	border-left: 5px solid #96ddc1;
	background-color: #96ddc11a;
}

.concept-box {
	position: relative;
    border: 1px solid #eee;
    border-radius: 4px;
	padding: 20px 25px;
	margin-top: 60px;
	margin-bottom: 60px;
	max-width: 690px;
	padding-top: 32px;
}
.concept-box:before {
    position: absolute;
    font-weight: bold;
    background: #fff;
    color: #555;
    line-height: 0;
    letter-spacing: 0;
	font-size: 20px;
    top: -21px;
    padding: 20px 8px 20px 51px;
}
.concept-box:after {
    position: absolute;
    background: #aaa;
    color: #fff;
    font-family: 'Font Awesome 5 Free';
	font-weight: 900;
    border: 5px solid #fff;
    text-align: center;
    width: 16px;
    height: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	left: 20px;
    top: -28px;
    padding-left: 12px;
    padding-right: 18px;
    padding-top: 13px;
    padding-bottom: 17px;
    border-radius: 40px;
    font-size: 1.4rem;
}
/* ボックス：注意点 */
.concept-box.attention {
    border-color: #f7cf6a;
}
.concept-box.attention:before {
	content: "注意点";
    color: #f7cf6a;
}
.concept-box.attention:after {
	content: '\f071';
	background-color: #f7cf6a;
	padding-top: 10px;
    padding-bottom: 20px;
}
/* ボックス：良い例 */
.concept-box.good {
    border-color: #86cee8;
}
.concept-box.good:before {
	content: "良い例";
    color: #86cee8;
}
.concept-box.good:after {
	content: '\f111';
	background-color: #86cee8;
	font-weight: 400;
}
/* ボックス：悪い例 */
.concept-box.bad {
    border-color: #ed8989;
}
.concept-box.bad:before {
	content: "悪い例";
    color: #ed8989;
}
.concept-box.bad:after {
	content: '\f00d';
	background-color: #ed8989;
	padding-left: 15px;
    padding-right: 15px;
}
/* ボックス：参考 */
.concept-box.reference {
    border-color: #9e9e9e;
}
.concept-box.reference:before {
	content: "参考";
    color: #9e9e9e;
}
.concept-box.reference:after {
	content: '\f02d';
	background-color: #9e9e9e;
	padding-left: 13px;
    padding-right: 17px;
    padding-top: 12px;
    padding-bottom: 18px;
}
/* ボックス：メモ */
.concept-box.memo {
    border-color: #8eaced;
}
.concept-box.memo:before {
	content: "メモ";
    color: #8eaced;
}
.concept-box.memo:after {
	content: '\f304';
	background-color: #8eaced;
}
/* ボックス：ポイント */
.concept-box.point {
	border-color: #85db8f;
}
.concept-box.point:before {
	content: "ポイント";
    color: #85db8f;
}
.concept-box.point:after {
	content: '\f00c';
	background-color: #85db8f;
}


.simple-box p {
	margin-bottom: 20px;
}
.simple-box ul,.simple-box ol,.concept-box ul,.concept-box ol  {
    margin: 0;
    padding: 0 40px;
}
/* タイトル付きボックスここから----------------------------- */
.title-box1,.title-box2 {
	position: relative;
	padding-top: 80px !important;
}
.title-box1,.title-box2,.title-box3,.innerlink-box1 {
	padding: 20px 25px;
    box-sizing: border-box;
	margin-bottom: 40px;
	max-width: 690px;
}
.title-box1:before {
    position: absolute;
    content: "";
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #F7F7F7;
    opacity: 0.15;
    border-radius: 4px;
    z-index: -1;
}
.title-box1-title {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    color: #fff;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    background: #aaa;
    letter-spacing: 0px !important;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
	font-size: 21px;
    font-weight: 500;
}
.title-box1:before,.title-box1-title {
	background-color: #ffb49e;
}

.title-box2 {
    position: relative;
    border: 10px solid #E3B66A;
    background: #369377;
    border-radius: 1px;
    color: #fff !important;
}
.title-box2-title {
    position: absolute;
    display: block;
    left: 0;
    top: 15px;
    color: #fff;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    letter-spacing: 0px !important;
	font-size: 21px;
    font-weight: 500;
}
.title-box2 ol, .title-box2 ul {
	margin-left: 0;
	padding: 0 20px 0 40px;
}
.title-box2 ol li, .title-box2 ul li {
    border-bottom: 2px solid rgba(255, 255, 255, 0.21);
    padding-bottom: 9px;
	margin-bottom: 12px;
}

.title-box3 {
    position: relative;
    border: 1px solid #ea91a9;
    border-radius: 4px;
    border-top-left-radius: 0;
	margin-top: 80px;
}
.title-box3-title {
    position: absolute;
    line-height: 0;
    font-size: 18px;
    left: -1px;
    top: -36px;
    color: #fff;
    padding: 18px 15px;
    background: #ea91a9;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    letter-spacing: 0px !important;
	font-weight: 500;
}
.innerlink-box1 {
    position: relative;
    padding-top: 40px !important;
    border: 1px solid #ff6868;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0);
	margin-top: 20px;
}
.innerlink-box1:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    z-index: -1;
	background-color: #ff6868;
}
.innerlink-box1-title {
    position: absolute;
    font-family: 'ヒラギノ角ゴ ProN W3', Hiragino Sans, 'ヒラギノ角ゴ ProN W3', Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, sans-seri;
    border: 3px solid #aaa;
    line-height: 0;
    color: #fff;
    border-radius: 2px;
    letter-spacing: 0;
	top: -14px;
    padding: 4px 8px 5px 8px;
    font-size: 14px;
    font-weight: 500;
	background-color: #ff6868;
    border-color: #ff6868;
}
.innerlink-box1-title .fas {
	font-size: 16px;
}


.aqt-btn-01 {
	font-size: 17px;
    font-weight: 600;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	padding: 0 20px;
	padding: 15px 40px;
    position: relative;
    overflow: hidden;
    z-index: 3;
	-webkit-box-sizing: border-box;
    box-sizing: border-box;
	transition: all 0.35s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
	background-color: #54dcef;
	color: #fff !important;
	border: 1px solid #54dcef;
	border-radius: 70px;
	height: 70px;
	max-width: 400px;
	margin: 20px 0;
}
.aqt-btn-01 span {
    position: relative;
}
.aqt-btn-01 span:after {
    transition: width 0.4s ease 0s;
    content: '';
    width: 0px;
    height: 4px;
    display: block;
    position: absolute;
    left: -8px;
    z-index: -1;
    background: url(img/common/grunge_bg.png);
    background-blend-mode: color-dodge;
    filter: blur(1px);
    border-radius: 4px;
    height: 4px;
    bottom: 0.1em;
    mask-image: url(img/common/grunge_bg_shape_small.png);
	background-color: #ffffff;
}
.aqt-btn-01:hover span:after {
    width: calc(100% + 16px);
}
.post_content a.aqt-btn-01 {
	text-decoration: none;
} 


@media (min-width: 1024px) {

}
@media (min-width: 768px) {

}
@media (max-width: 767px) {
	.iconbox{
		margin: 0px;
	}
	.simple-box {
		width: auto;
	}
	.concept-box {
		margin-top: 40px;
		margin-bottom: 40px;
	}
	.concept-box::before {
		font-size: 18px;
		top: -21px;
		padding: 20px 8px 20px 32px;
	}
	.concept-box:after {
		left: 12px;
		top: -23px;
		padding-left: 9px;
		padding-right: 11px;
		padding-top: 8px;
		padding-bottom: 12px;
		border-radius: 28px;
		font-size: 1.15rem;
	}
	.concept-box.attention:after {
	    padding-top: 8px;
    	padding-bottom: 12px;
	}
	.concept-box.reference:after {
		padding-left: 10px;
		padding-right: 10px;
		padding-top: 8px;
		padding-bottom: 12px;
	}
	.concept-box.good:after {
		padding-top: 9px;
    	padding-bottom: 11px;
	}
	.concept-box.bad:after {
		padding-left: 10px;
    	padding-right: 10px;
    	padding-top: 9px;
	    padding-bottom: 11px;
	}
	.concept-box.memo:after {
		padding-top: 9px;
    	padding-bottom: 11px;
	}
	.title-box1-title,.title-box2-title {
		font-size: 18px;
	}

	.simple-box ul,.simple-box ol,.concept-box ul,.concept-box ol  {
		margin: 0;
		padding: 0 12px;
	}
	.title-box2 ol, .title-box2 ul {
		margin-left: 12px;
		padding: 0 4px 0 4px;
	}
	.innerlink-box1-title {
		font-size: 11px;
	}
	.innerlink-box1-title .fas {
		font-size: 13px;
	}
	.aqt-btn-01 {
		font-size: 14px;
		padding: 15px 20px;
		height: 60px;
		width: 260px;
		max-width: 260px;
		width: 400px;
		max-width: 100%;
	}

	
}





@media screen and (max-width: 750px) {
	.post_content h2 {
		font-size: 20px !important;
		margin: 0 0 20px !important;
	}
	.post_content h3 {
		font-size: 18px !important;

		padding: 10px 15px;
		margin-bottom: 16px !important;
	}
}
