@charset "utf-8";
/*
Theme Name: CURE child
Theme URI:https://tcd-theme.com/tcd082
Description:WordPressテーマ「CURE」の子テーマ
Template:cure_tcd082
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/

/*
  ここから下にCSSを追記してください。
*/
/* =余白の削除
------------------------------------------------------------------- */
/* 横の余白を完全除去 */



/* =H2のデザイン
------------------------------------------------------------------- */
h1.wp-block-heading {
  font-size:1.5rem;
  margin-bottom: 40px !important;
  text-align:center;
  font-family:'Times New Roman', Times, serif;
}


h2.wp-block-heading {
  font-size:1.5rem;
  position: relative;
  margin-bottom: 40px !important;
  text-align:center;

}

h2.wp-block-heading:before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #e91b2b;
  border-radius: 2px;
}

h2.top_headline {
  border-top:none;
  font-size:1.5rem;
  
  position: relative;
  margin-bottom: 50px !important;
  text-align:center;
   font-family:Arial, Helvetica, sans-serif !important;
}

h2.top_headline:before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #e91b2b;
  border-radius: 2px;
}
#service_single .top_headline {
  border-top:none !important;
}

/* =TABLEのデザイン
------------------------------------------------------------------- */
.wp-block-table thead th,
.wp-block-table td.addHd {
  background-color:#203155;
  color:#ffffff;
  font-weight:bold;
}
.wp-block-table thead {
   border-bottom: 1px solid;
}


/* =固定ページのヘッダー設定指示
------------------------------------------------------------------- */
/* ページ上部の余白を削除 */
.page .post_content {
  padding-top: 0 !important;
}

/* カバーの上の隙間を消す */
.wp-block-cover {
  margin-top: 0 !important;
}

/* ヘッダー直下の余白を消す */
#main_content {
  margin-top: 0 !important;
}


/* =Annoy
------------------------------------------------------------------- */
.motive {	
	width:100%;
	background-color:#fff;
}

.annoy {
	
	margin:0 auto 40px;
	display:flex;
	justify-content: space-around;
	flex-wrap: wrap;
}
.annoy dl {
	width:30%;
	margin-bottom:20px;
	text-align:center;
}
.annoy dl dt {
	margin-bottom:10px;
}
.annoy dl dt img {
	width:100%;
	border-radius:50%;
}
.annoy dl dd {
	font-size:.9rem;
}

@media screen and (max-width: 767px) {
	.annoy {
		width:90%;
	}
	.annoy dl {
		width:45%;
	}
}
/* =Flow
------------------------------------------------------------------- */
.flow {
	
	padding:40px;
	margin:0 auto 40px;
	background-color:#e7e8ec;
}

.step {
  position: relative;
  background: #fff;
  max-width: 750px;
  margin: 0 auto 60px;
  padding: 40px 30px;
  border-radius: 6px;
  text-align:center;
}

/* 上の斜め */


/* 下の斜め */
.step::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background: #fff;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.step:last-child {
	margin:0 auto;
}

.step:last-child::after {
  display: none;
}

/* 見出し */
.step h3 {
  color: #00a0c6;
  font-size: 1.2rem;
  font-weight:bold;
  margin-bottom: 10px;
}

/* テキスト */
.step p {
  line-height: 1.8;
  font-size: .9rem;
  color: #333;
}

@media screen and (max-width: 767px) {
	.flow {
		width:90%;
    padding:4%;
	}
}

/* =Advance
------------------------------------------------------------------- */
.advPt {
	
	padding:40px;
	margin:0 auto 40px;
	background-color:#e7e8ec;
}
.advPt dl {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	background: #fff;
	width: 100%;
	margin: 0 auto 40px;
}

/* 左側の濃紺アイコン領域 */
.advPt dl dt {
	background-color: #1e3050;
	width: 140px;
	min-width: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.advPt dl dt img {
	width: 60px;
	height: 60px;
	object-fit: contain;
}

.advPt dl dt.kinds {
	background-color: none;
	width: 280px;
	min-width: 140px;
	display: block;
	padding: 0;
	box-sizing: border-box;
}

.advPt dl dt.kinds img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 右側のテキスト領域 */
.advPt dl dd {
  padding: 25px 25px 25px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 見出し */
.advPt dl dd h3 {
  color: #00a0e9;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
}

/* 見出し左側の■マーク */
.advPt dl dd h3::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #00a0e9;
  margin-right: 8px;
}

/* 説明文 */
.advPt dl dd p {
  color: #333333;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* スマホ表示向けのレスポンシブ対応 */
@media screen and (max-width: 767px) {
	.advPt {
		width:90%;
		padding:4%;
	}
	.advPt dl {
		flex-direction: column;
	}
	.advPt dl dt {
		width: 100%;
		padding: 15px;
	}
	.advPt dl dt.kinds {
		width: 100%;
		background-color:#ffffff;
		padding: 0;
	}
	.advPt dl dt.kinds img{
		display: block;
		width: 100%;
		height: auto;
		object-fit: cover;
	}
}

/* =Reception
------------------------------------------------------------------- */
.reception {
	width:100%;
	padding:40px 0 0 0;
	margin:0 auto 40px;
	background-color:#ede9c8;
}

.reception h2 {
	text-align:center;
	font-size:1.2rem;
	font-weight:bold;
	margin-bottom:40px;
}

.receptionBox {
	display:flex;
	justify-content: center;
	width:600px;
	margin:0 auto;
}
.receptionBox ul {
	width:65%;
	display:flex;
	flex-direction: column;
}

.receptionBox ul li {
	position: relative;
	display: inline-block;
	max-width:400px;
	margin-right: 16px;
	padding: 16px;
	border-radius: 12px;
	background-color: #ffffff;
	text-align: left;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #000000;
	margin-bottom:10px;
}

.receptionBox ul li::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	border-style: solid;
	border-width: 16px 0 0 16px;
	border-color: transparent transparent transparent #ffffff;
	translate: 100% calc(-50% + 0.4px);
	transform: skew(0, -10deg);
	transform-origin: left;
}

.receptionist {
	width:34%;
	text-align: right;
}
.receptionist img {
	max-width: 100%;
	height: auto;
}

@media screen and (max-width: 767px) {
	.receptionBox {
		width:90%;
	}
	.receptionBox ul li {
		max-width:100%;
	}
	.receptionist {
		position:relative;
	}
	.receptionist img {
		position:absolute;
		bottom:0;
		left:0;
	}
}

/* =Q&A
------------------------------------------------------------------- */
.faq {
	width:800px;	
	margin:0 auto 40px;
	border: 1px solid #ddd;
}

.faqItem {
  border-bottom: 1px solid #ddd;
}

.faqQ {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.faqIcon {
  width: 34px;
  height: 34px;
  background: #1bb3c7;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-weight: bold;
}

.faqText {
  flex: 1;
  font-weight: bold;
}

/* ＋ボタン */
.faqToggle {
  width: 20px;
  height: 20px;
  position: relative;
}

.faqToggle::before,
.faqToggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #333;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faqToggle::after {
  transform: rotate(90deg);
}

/* 回答（初期は閉じる） */
.faqA {
  max-height: 0;
  overflow: hidden;
  background: #f5f5f5;
  transition: all 0.3s ease;
  padding: 0 20px;
}

/* 開いた状態 */
.faqItem.active .faqA {
  max-height: 300px;
  padding: 20px;
  line-height:180%;
}

.faqItem.active .faqToggle::after {
  transform: rotate(0deg);
}
@media screen and (max-width: 767px) {
	.faq {
		width:90%;
	}
}

/* =APPEAL
------------------------------------------------------------------- */
.appeal {
	width:850px;	
	margin:0 auto 40px;
	border: 1px solid #ddd;
	display:flex;
	padding:2px;
}
.appeal dl {
	width:50%;
}
.appeal dl dt {
	margin-bottom:5px;
}
.appeal dl dt img {
	width:100%;
}
.appeal dl dd {
	padding:0 5px;
	font-size:.9rem;
}
.appeal dl dd h5 {
	font-weight:bold;
}

@media screen and (max-width: 767px) {
	.appeal {
		width:90%;
	}
}

/* =Visit Thesis
------------------------------------------------------------------- */
.visitThesis {	
	width:100%;
	margin:0 auto 40px;
	padding:40px 0;
	background-color:#b7e7f1;
	text-align:center;
}
.visitThesis p {
	font-size:1.2rem;
}
.visitThesis p span {
	background: linear-gradient(transparent 40%, #fdfa05 60%);
	line-height: 1;
}

/* =Compatible Area
------------------------------------------------------------------- */
.cptArea {	
	
	margin:0 auto 40px;
	padding:40px;
	background-color:#e7e8ec;
}
.cptAreaExp {
	width:100%;
	display:flex;
	margin-bottom:20px;
	justify-content: space-between;
}
.cptAreaExp .caePoint {
	width:49%;
	background-color:#ffffff;
	padding:20px;
	color:#000;
	line-height:150%;
}
.cptAreaExp .caePoint h4 {
	color:#02add3;
	font-weight:bold;
	font-size:1rem;
	margin-bottom:10px;
}
.cptArea iframe {
	width:100%;
}


@media screen and (max-width: 767px) {
	.cptArea {
		width:86%;
		padding:20px;
	}
	.cptAreaExp {
		flex-direction: column;
	}
	.cptAreaExp .caePoint {
		width:87%;
	}
	.cptAreaExp .caePoint:first-child {
		margin-bottom:20px;
	}
}


/* =WEB予約
------------------------------------------------------------------- */
/* ===== pとbrを無効化 ===== */
.wpcf7 .name-group p,
.wpcf7 .date-group p {
  display: contents;
}

.wpcf7 .name-group br,
.wpcf7 .date-group br {
  display: none;
}


/* ===== 入力欄デザイン（角丸復活） ===== */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  padding: 12px 14px;
  border-radius: 10px; /* ←角丸 */
  border: 1px solid #ccc;
  font-size: 16px;
  box-sizing: border-box;
  width: 100%;
}

/* ===== テキストエリア高さ ===== */
.wpcf7 textarea {
  min-height: 140px;
}

/* ===== 名前 横並び 強制 ===== */
.wpcf7 .name-group {
  display: flex !important;
  gap: 10px;
}

.wpcf7 .name-group span {
  width: 35%;
}

/* ===== ラジオ横並び ===== */
.wpcf7 .radio-group {
  display: flex;
  gap: 20px;
}

/* ===== 日付横並び ===== */
.wpcf7 .date-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ===== PCだけ幅を少し絞る ===== */
@media (min-width: 768px) {
  .wpcf7 input[name="your-tel"],
  .wpcf7 input[name="your-email"],
  .wpcf7 input[name="your-email-confirm"] {
    max-width: 420px;
  }
}

/* ===== 送信ボタン（赤に戻す） ===== */
.wpcf7 input[type="submit"] {
  background: #e60023; /* ←赤 */
  color: #fff;
  padding: 14px 40px;
  border-radius: 10px;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: block;
  margin: 30px auto 0;
}

/* ホバー */
.wpcf7 input[type="submit"]:hover {
  opacity: 0.85;
}


/* ===== 日付 横並び 強制 ===== */
.wpcf7 .date-group {
  display: flex !important;
  gap: 10px;
  flex-wrap: wrap;
}

.wpcf7 .date-group .wpcf7-form-control-wrap {
  width: auto !important;
}

/* ===== ラジオ 横並び 強制 ===== */
.wpcf7 .radio-group {
  display: flex !important;
  gap: 20px;
}

.wpcf7 .radio-group .wpcf7-list-item {
  display: inline-flex !important;
  margin: 0 15px 0 0;
}

.wpcf7-form-control-wrap {
  display: inline-block !important;
}

.wpcf7 form .name-group {
  display: flex !important;
  gap: 10px;
}

.wpcf7 form .name-group > span.wpcf7-form-control-wrap {
  width: 50% !important;
  display: block !important;
}

/* =Bunner Button
------------------------------------------------------------------- */	
.bnrLink {
	max-width:100%;
	width: 100%;
	margin:0 auto;
	padding-top:100px;
	padding-bottom:100px;
}


.linkBtn a {
    background: #ea1b2b;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 400px;
    padding: 10px 25px;
    color: #fff !important;
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-weight: 500;
	font-size:1.5rem;
}
.linkBtn a:hover {
    background: #e74652;
    color: #FFF !important;
}
.linkBtn a:after {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: 2px solid #ffffff; /* 矢印の色 */
  border-right: 2px solid #ffffff; /* 矢印の色 */
  transform:translateX(0) rotate(45deg) ;
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -6px;
   transition: transform 0.3s ease-in-out;
}
.linkBtn a:hover:after {
    border-color: #FFF;
	 transform:translateX(5px) rotate(45deg);
}
@media screen and (max-width: 767px) {
	.linkLink {
		width:80%;
	}
}

.bnrBtn {
	margin: 0 auto;
    max-width: 600px;
}
.bnrBtn a {
	text-decoration: none;
    transition: 0.3s ease-in-out;	
}

.bnrBtn a:hover {
	opacity: 0.7;
}

.bnrBtn a img {
	width:100%;
	border:solid 1px #cccccc;
}

@media screen and (max-width: 767px) {
	.bnrBtn {
		width:80%;
	}
}

.bnrImage {
	margin: 0 auto;
    max-width: 600px;
}
.bnrImage img {
	width:100%;
	border:solid 1px #cccccc;
}

/* =Doctor Career
------------------------------------------------------------------- */	
.doctorCareer {
	max-width:100%;
	width: 100%;
	margin:0 auto;
	display:flex;
	justify-content: space-between;	
}

.staffFrame:first-child {
	width:34%;
}
.staffFrame:last-child {
	width:64%;
}

@media screen and (max-width: 767px) {
	.doctorCareer {
		flex-direction: column;
	}
	.staffFrame {		
		width:100%;
	}

	.staffFrame:first-child {
		margin-bottom:20px;
	}
}

.staffCareer {
	max-width:100%;
	width: 100%;
	margin:0 auto;
}


.staffDetail {
	width:100%;
	font-size:.9rem;
	line-height:140% !important;
	margin-top:10px !important;
}


.design2_content2 .name_area {
	margin: 0 0 20px 0 !important;
}
.design2_content2 .content_inner {
	padding: 12px 30px 0;
}