/******************************************************************
 * 共通パーツ
******************************************************************/
/* p,table,div{
    font-family: "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
} */
[id] {
  scroll-margin-top: 80px;
}
.footer {
    margin-top: 100px;
}
#access {
  scroll-margin-top: 100px;
}
#nodoca{
scroll-margin-top: 100px;	
}
 .text_box p:not(:last-child) {
    margin-bottom: 1em;
}
.text_link{
    color: #e29b48;
    font-weight: 500;
	text-decoration: underline;
}
.inner{
max-width:1300px;
	margin:0 auto;
    padding: 0 20px;
}
.back_color{
    background-color: #f8faff;
    padding-top: 40px;
    margin-top: 80px;
	padding-bottom: 40px;
}
.back_color h3 {
    margin-top: 0px;
}
.sub_top{
	background-image: url("../img/sub_top.jpg");
	height: 280px;
	background-size: cover;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
    margin-top: 47px;
}

.sub_top h2{
display: flex;
    text-align: center;
    flex-direction: column;
    line-height: 1.6;
	    font-weight: 500;
	    color: #fff;
    font-size: 1.8rem;
  font-family: "fot-tsukuardgothic-std", sans-serif;
	    text-shadow: 2px 1px 7px rgba(0, 0, 0, 0.5);
}
.sub_top h2 span{
  font-family: "Outfit", sans-serif;
	font-weight: 600;
	    color: #fff;
}
	h3{
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 500;
    font-size: 1.35rem;
    border: solid #c9dbc3 9px;
    border-width: 1px 0;
    padding: 15px;
    text-align: center;
    margin-bottom: 70px;
    margin-top: 110px;
	}

h4{
    border-bottom: solid 2px #b9ceb8;
    margin-bottom: 25px;
    margin-top: 40px;
    font-size: 105%;
    background: #edf3ec;
    padding: 10px 20px;
    font-family: "fot-tsukuardgothic-std", sans-serif;
    border-radius: 10px 10px 0px 0px;
}

@media screen and (max-width: 782px) {
.sub_top {
    margin-top: 34px;
}	
}
@media screen and (max-width: 750px) {
.sub_top {
        margin-top: 6px;
}	
}
@media screen and (max-width: 600px) {
	.sub_top h2{
        font-size: 1.5rem;
}
	h3{
        font-size: 1.3rem;
        margin-bottom: 30px;
        margin-top: 60px;
        padding: 8px;
	}
	    .sub_top {
        height: 170px;
		margin-top: 52px;
	}
h3::before, h3::after {
    width: 80px;
}
}
.dot_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dot_list li {
  position: relative;
    padding-left: 0.8em;
  line-height: 1.8;
}

.dot_list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #c0cabf;
}
.content {
    justify-content: space-between;
    align-items: flex-start;
    display: flex;
    margin: 0 auto;
}
.con_pic img {
    display: block;
    width: 100%;
    height: auto;
}
.con_text span {
    display: block;
    font-size: 120%;
    margin-bottom: 10px;
    font-weight: 500;
       color: #8ec28a;
   font-family: "fot-tsukuardgothic-std", sans-serif;
}
.con_text {
    width: 48%;
}

@media (max-width: 750px){
	.content{
         flex-direction: column-reverse;
		gap: 20px;
		        align-items: center;
	}
.con_text {
    width: 100%;
}
}
/* こんなお悩みありませんか */
.list_box_wrap{
  max-width:1000px;
  width:90%;
  margin:0 auto;
}
.back2{
    background-color: #fafaf6;
    padding: 40px 0px 80px;
    margin-top: 80px;
    position: relative;
    z-index: 0;
}


/* タイトル */

.list_box_ttl{
  text-align:center;
  margin:20px auto 50px;
  color:#002f7b;
  position:relative;
}

.list_box_ttl:after{
content: "";
position: absolute;
top: 50%;
left: 0;
width: 100%;
height: 5px;
background:
  linear-gradient(90deg, #baecca, #daeda2) top / 100% 1px no-repeat,
  linear-gradient(90deg, #baecca, #daeda2) bottom / 100% 1px no-repeat;
transform: translateY(-50%);
}

.list_box_ttl span{
position: relative;
    z-index: 1;
    background: #fafaf6;
    color: #88be7d;
        padding: 12px 18px;
    font-size: 110%;
   font-family: "fot-tsukuardgothic-std", sans-serif;
}

/* 横並び */

.flex_list{
  display:flex;
  justify-content:space-between;
    font-size: 105%;
    font-weight: 500;
   font-family: "fot-tsukuardgothic-std", sans-serif;
}

.flex_list .list_box{
    width: 30%;
    background: #fff;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 110px;
    border-radius: 10px;
	    box-shadow: 0 8px 15px rgba(91, 144, 112, 0.12);
}

/* 中身 */

.list_box_con{
  padding:0;
}

.flex_list li{
  list-style:none;
  text-align:center;
}

/* SP */

@media(max-width:600px){

  .flex_list{
    flex-direction:column;
  }

  .flex_list .list_box{
    width:95%;
    margin:10px auto;
        height: 90px;	  
  }
}

/* 流れテンプレ */
.fever-flow {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.fever-flow__item {
    position: relative;
    border-radius: 24px;
    background: #fff;
    padding: 45px 60px;
    margin-bottom: 50px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: 0 8px 15px rgba(91, 144, 112, 0.12);
}

.fever-flow__item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -45px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 28px solid transparent;
    border-right: 28px solid transparent;
    border-top: 20px solid #e7cbaa;
    border-radius: 5px;
}

.fever-flow__item:last-child {
  margin-bottom: 0;
}

.fever-flow__item:last-child::after {
  display: none;
}

.fever-flow__num {
    background: #a5d2a2;
    color: #fff;
    min-width: 40px;
    height: 40px;
    display: flex;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.fever-flow__body_ttl {
  margin: 0 0 18px;
  font-weight: bold;
}

.fever-flow__body p {
  margin: 0;
  line-height: 2;
}

@media screen and (max-width: 600px) {
  .fever-flow__item {
    padding: 30px 22px;
    gap: 14px;
    border-radius: 18px;
  }

  .fever-flow__num {
    min-width: 30px;
    height: 30px;
  }

  .fever-flow__body_ttl{
    margin-bottom: 12px;
  }
}

/* クリニック紹介 */

.medical-policy {
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  box-sizing: border-box;
  background: url("/wp-content/themes/yamagtata/img/policy_back.jpg") center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.medical-policy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18) 25%, transparent 25%) 0 0 / 80px 80px,
    linear-gradient(315deg, rgba(255,255,255,0.14) 25%, transparent 25%) 0 0 / 80px 80px;
  opacity: 0.35;
}

.medical-policy__box {
  position: relative;
  z-index: 1;
width:100%;
    max-width: 800px;
    height: 350px;
  padding: 38px 40px;
  box-sizing: border-box;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 16px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  box-shadow: 0 16px 35px rgba(80, 120, 115, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.medical-policy__en {
  color: #86c9c1;
  letter-spacing: 0.16em;
  line-height: 1.4;
  font-weight: 500;
  font-size: 180%;
    font-family: "Outfit", sans-serif;
}

.medical-policy__jp {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-size: 1.3rem;
}

.medical-policy__text {
    margin-top: 15px;
  line-height: 2;
  letter-spacing: 0.12em;
}

@media screen and (max-width: 768px) {
  .medical-policy {
    min-height: 340px;
    padding: 40px 16px;
  }

  .medical-policy__box {
    padding: 32px 22px;
    border-width: 10px;
    border-radius: 20px;
  }

  .medical-policy__en {
    font-size: 140%;
    letter-spacing: 0.12em;
  }

  .medical-policy__text {
    text-align: left;
    letter-spacing: 0.06em;
  }
}
@media screen and (max-width: 600px) {
.medical-policy__jp {
    font-size: 1.1rem;
}
}
/* 当院の特徴カード */
/* ========================================
  clinic feature
======================================== */
/* ========================================
  clinic feature service style
======================================== */

.clinic-feature--service::before {
  left: 24px;
  bottom: 36px;
}

.clinic-feature--service::after {
  right: 48px;
  top: 70px;
}

.clinic-feature__inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.clinic-feature__head {
  margin-bottom: 54px;
  text-align: center;
}

.clinic-feature__label {
  margin-bottom: 8px;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 420%;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.clinic-feature__title {
  color: #fff;
  font-size: 120%;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.clinic-feature__lead {
  max-width: 720px;
  margin: 18px auto 0;
  color: #fff;
  line-height: 2;
}

.clinic-feature__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.clinic-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 24px 18px 22px;
  border: 6px solid rgba(255, 255, 255, 0.35);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(54, 98, 62, 0.16);
}

.clinic-feature-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.clinic-feature-card__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
    background: linear-gradient(272deg, #8eca8a, #a0c57e);
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
    font-family: "fot-tsukuardgothic-std", sans-serif;
}

.clinic-feature-card__text {
  line-height: 1.9;
}

@media screen and (max-width: 1100px) {
  .clinic-feature__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .clinic-feature-card {
    min-height: 300px;
  }
}
@media screen and (max-width: 780px) {
   .bottom_inner .l-footer__info-inner {
        padding-left: 0px;
        padding-right: 0px;
    }
}
@media screen and (max-width: 760px) {
  .clinic-feature--service {
    padding: 64px 0;
  }

  .clinic-feature__label {
    font-size: 260%;
  }

  .clinic-feature__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {

  .clinic-feature__head {
    margin-bottom: 36px;
  }

  .clinic-feature__cards {
    grid-template-columns: 1fr;
  }

  .clinic-feature-card {
    min-height: auto;
  }
	.clinic-feature--service{
	        padding: 0px 0;	
	}
}

.clinic_pic{
	margin:0 auto;
}
.clinic_pic img{
    width: 100%;
    max-width: 900px;
    display: block;
    margin: 0 auto;
}
.slider{
	    max-width: 1000px;
    margin: 0 auto;
}
/* カード決済一覧 */
/* アイコン一覧 */
.cost-grid{
  padding: 40px 0px;
}

.cost-grid__box{
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255,255,255,0.85);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  padding: 28px 24px 34px;
  position: relative;
    width: 100%;	
}

/* 上の帯 */
.cost-grid__head{
  background: #7b7bb8;
  color: #fff;
  font-weight: 700;
  text-align: center;
  border-radius: 8px;
  padding: 14px 10px;
  margin: 0 0 26px;
}

/* グリッド（PCは5列） */
.cost-grid__items{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

/* カード */
.cost-grid__item{
  background: #fff;
  border-radius: 18px;
  padding: 18px 10px 14px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  text-decoration: none;
}

/* アイコン枠 */
/* セクション */
.cost-grid{
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 外枠 */
.cost-grid__box{
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 30px 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* 上の帯 */
.cost-grid__head{
    background:#8f8fb8;
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 10px 5px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 2rem;
}

/* グリッド */
.cost-grid__items{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

/* カード */
.cost-grid__item{
    background: #fff;
    border-radius: 18px;
    padding: 20px 10px 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform .2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* アイコン枠 */
.cost-grid__icon{
    height: auto;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 40px;
    padding: 5px;
}

.cost-grid__icon img{
  max-width: 90px;
  height: auto;
  display: block;
}

/* ラベル */
.cost-grid__label{
  font-weight: 700;
  line-height: 1.4;
    font-family: "fot-tsukuardgothic-std", sans-serif;	
}

/* タブレット */
@media (max-width: 1024px){
  .cost-grid__items{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* スマホ */
@media (max-width: 600px){
  .cost-grid__items{
    grid-template-columns: repeat(2, 1fr);
	     gap: 10px;
  }
.cost-grid__box {
    padding: 30px 20px;
}
	.cost-grid {
		padding: 60px 0px;
	}
}

.menu-list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.menu-item{
width:260px;
}

.menu-item img{
width:100%;
height:auto;
display:block;
border-radius:8px;
}

.menu-name{
margin-top:2px;
}

.menu-price{
    font-size: 105%;
}
@media (max-width: 600px){
.menu-item {
    width: 48%;
}
.menu-list {
    gap: 8px;
}
	.menu-item p{
        font-size: 15px;		
	}
}
.price-table-wrap {
  margin: 30px 0;
}

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: #6f777a;
  border: 1px solid #d8e3d7;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.price-table th {
    padding: 14px 22px;
    background: #96ba91;
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid #a8bea8;
}



.price-table td {
  padding: 14px 22px;
  border-bottom: 1px solid #e5ece4;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table td:last-child {
  width: 180px;
  white-space: nowrap;
  color: #5f6d72;
  font-weight: 600;
}

.price-table tbody tr:nth-child(even) {
  background: #fafcf9;
}

@media screen and (max-width: 600px) {
  .price-table {
    letter-spacing: 0.04em;
  }

  .price-table th,
  .price-table td {
    padding: 12px 14px;
  }

  .price-table td:last-child {
    width: 110px;
  }
}

.text_colorbox{
background-color: #eff7ea;
    padding: 20px;
    margin-top: 15px;
    display: block;	
    border-radius: 8px;
}
.text_colorbox ul{
display:flex;
    gap: 7px 28px;
  flex-wrap: wrap;
}

/* -------------------医師挨拶---------------- */
.content{
    justify-content: space-between;
    align-items: flex-start;
    display: flex;
    margin: 0 auto;
}
.doc_con{
	    max-width: 1100px;	
}
.con_text{
    width: 48%;
}
.docpic{
    max-width: 320px;
	position:relative;
}
.docpic img{
	    border-radius: 30px;
}
.con_text .name_box{
    padding-top: 20px;
    display: block;
font-size: 1.4rem;
    text-align: right;
	display: flex;
    justify-content: end;
}
.con_text .namettl{
    margin-right: 20px;
    background-color: #8ec28a;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 20px;
}
@media (max-width: 750px){
	.content{
         flex-direction: column-reverse;
		gap: 20px;
		        align-items: center;
	}
.con_text {
    width: 100%;
}
.docpic {
    max-width: 280px;
    margin: 0 auto;
}
}

.profile-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
    margin-top: 80px;
}

@media(max-width:600px){
  .profile-box{
    grid-template-columns:1fr;
	      gap: 20px;
    margin-top: 60px;
  }
	    .docpic {
			max-width: 230px;
	}

}

.profile-item{
  border:2px solid transparent;
 padding: 20px 40px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
    border-radius: 30px;
}

.profile-item h5{
  margin:0 auto 15px;
background: #a5d2a2;
    border-bottom: solid 3px #ecdac8;
  color:#fff;
  width:70%;
  text-align:center;
  padding:10px 0;
  font-weight:500;
  letter-spacing:.2em;
font-size:110%;
}

.profile-item ul{
  list-style:none;
  padding:0;
  margin:0 0 40px;
}

.profile-item li{
  line-height:1.8;
  color:#666;
}

@media(max-width:600px){
  .profile-item{
    padding:40px 20px;
  }
}

.secondbox{
    justify-content: center !important;
    gap: 30px;
    margin-top: 20px;	
}
@media(max-width:600px){

	.secondbox{
	    gap: 0px;
    margin-top: 0px;	
	}
}
