/******************************************************************
 * 共通パーツ
******************************************************************/
.site-footer{
    margin-top: 100px;	
}
/* 本文テキストの共通設定（PC・スマホ） */
p,li,div {
  font-size: 17px;
  font-weight: 500;
}

@media screen and (max-width: 600px) {
p,li,div{
    font-size: 16.3px;
  }
}
html{
  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("./assets/img/sub_top.jpg");
	height: 280px;
	background-size: cover;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
    margin-top: 80px;
}

.sub_top h2{
display: flex;
    text-align: center;
    flex-direction: column;
    line-height: 1.6;
	    font-weight: 500;
	    color: #fff;
    font-size: 1.8rem;
	    text-shadow: 2px 1px 7px rgba(0, 0, 0, 0.5);
}
.sub_top h2 span{
font-family: var(--font-en);
	font-weight: 600;
	    color: #fff;
}
	h3{

    font-weight: 500;
    font-size: 1.35rem;
  border: solid #c0af8d 9px;
    border-width: 1px 0;
    padding: 15px;
    text-align: center;
    margin-bottom: 70px;
    margin-top: 110px;
	}

h4{
    border-bottom: solid 1px #dbc5a1;
    margin-bottom: 25px;
    margin-top: 40px;
    font-size: 105%;
    background: #fff9ec;
    padding: 5px 10px;
    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:#f7c8b4;
}
.content {
    justify-content: center;
    align-items: flex-start;
    display: flex;
    margin: 0 auto;
    gap: 30px;
}
.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;
}
.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%;
}

/* 横並び */

.flex_list{
  display:flex;
  justify-content:space-between;
    font-size: 105%;
    font-weight: 500;
}

.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-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;

}

.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;

}

/* タブレット */
@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;	
	}
}
.top-info__inner{
max-width: 1000px;
    margin: 0 auto;
    width: 95%;	
}




/* ===================================
   看護師 1日のスケジュール
=================================== */

.timelime_box {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
}

.timelime_box .img_box {
    width: 50%;
    min-width: 0;
}

.timelime_box .img_box img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.timetex_box {
    display: block;
    margin-top: 20px;
    padding: 30px;
    border-radius: 20px;
	    background: #fff;
    box-shadow: 0 1px 14px 6px rgba(37, 41, 50, 0.05);
}

.timeline_wrap {
    width: 50%;
    min-width: 0;
    padding: 40px 20px 20px;
    background: #fff;
    border-radius: 30px;
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: #ffeac6;
}

.timeline__item {
    position: relative;
    margin-bottom: 40px;
}

.timeline__item:last-child {
    margin-bottom: 0;
}

.timeline__dot {
    position: absolute;
    left: -32px;
    top: 8px;
    width: 14px;
    height: 14px;
        border: 3px solid #f3cb86;
    border-radius: 50%;
    background: #fff;
}

.timeline__time {
    margin-bottom: 6px;
    color: #f2b92d;
    font-weight: 600;
}

.timeline__text {
    line-height: 1.8;
}

.break {
    display: inline-block;
    padding: 2px 8px;
    color: #fff;
    background: #77cac2;
    border-radius: 4px;
}

.break.lunch {
    background:#ecc87d;
}

.break.end {
    background: #e99270;
}

/* ===================================
   スマートフォン
=================================== */

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

    .timelime_box {
        flex-direction: column;
        gap: 30px;
    }

    .timelime_box .img_box,
    .timeline_wrap {
        width: 100%;
    }

    .timetex_box {
        padding: 15px;
    }

    .timeline_wrap {
        padding: 30px 15px 20px;
        border-radius: 20px;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline::before {
        left: 18px;
    }

    .timeline__dot {
        left: -28px;
    }

    .timeline__item {
        margin-bottom: 30px;
    }
}



/* ===================================
   募集要項テーブル
=================================== */

.recruit-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.recruit-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-top: 1px solid #b9ceb8;
}

.recruit-table th,
.recruit-table td {
       padding: 14px 20px;
    border-bottom: 1px solid #b9ceb8;
    vertical-align: top;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.recruit-table th {
    width: 28%;
    background: #fff9ec;
    text-align: left;
    font-weight: 600;
}

.recruit-table td {
    width: 72%;
    background: #fff;
}

.recruit-table .dot_list {
    margin: 0 0 10px;
}

.recruit-table .dot_list:last-child {
    margin-bottom: 0;
}

.recruit-table .recruit-table__note {
    margin-top: 12px;
}

.recruit-table__link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ===================================
   スマートフォン
=================================== */

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

    .recruit-table,
    .recruit-table tbody,
    .recruit-table tr,
    .recruit-table th,
    .recruit-table td {
        display: block;
        width: 100%;
    }

    .recruit-table th {
        padding: 12px 15px;
    }

    .recruit-table td {
        padding: 15px;
        border-bottom: none;
    }

    .recruit-table tr {
        border-bottom: 1px solid #b9ceb8;
    }

    .recruit-table .dot_list {
        margin-bottom: 10px;
    }
}


/* ===================================
   採用応募フォーム
=================================== */

.form_table {
    width: 100%;
    margin: 0 auto 100px;
}

.form_table table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #dbc5a1;
}

.form_table th,
.form_table td {
    padding: 10px;
    border-bottom: 1px solid #c4c4c4;
    vertical-align: middle;
    text-align: left;
}

.form_table th {
    width: 30%;
    background: #fff9ec;
    font-weight: 600;
}

.form_table td {
    width: 70%;
    background: #fff;
}

.form_table th label {
    display: inline;
    font-weight: inherit;
}

/* 必須ラベル */
.form_table .required {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 7px;
    background: #e99270;
    color: #fff;
    font-size: 80%;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 2px;
    vertical-align: middle;
}

/* 入力欄 */
.form_table input[type="text"],
.form_table input[type="tel"],
.form_table input[type="email"],
.form_table textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    border: 1px solid #c4c4c4;
    border-radius: 3px;
    background: #fff;
    color: var(--color-ink);
    font-family: inherit;
    font-weight: 400;
    line-height: 1.8;
    transition: border-color .2s, background-color .2s;
}

.form_table input:focus,
.form_table textarea:focus {
        outline: 1px solid #f3cb86;
    border-color: #f3cb86;
    background: #fffdf8;
}

.form_table input::placeholder,
.form_table textarea::placeholder {
    color: #8c867c;
    opacity: .75;
}

/* テキストエリア */
.form_table textarea {
    min-height: 180px;
    resize: vertical;
}

/* ラジオボタン */
.form_table .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.form_table .wpcf7-list-item {
    margin: 0;
}

.form_table .wpcf7-radio .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: 1px solid #c4c4c4;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

.form_table input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #e99270;
    cursor: pointer;
}

.form_table .wpcf7-radio .wpcf7-list-item label:has(input:checked) {
    background: #fff9ec;
    border-color: #f3cb86;
}

.form_table .wpcf7-radio .wpcf7-list-item label:has(input:focus-visible) {
    outline: 2px solid #f3cb86;
    outline-offset: 2px;
}

/* 履歴書添付 */
.form_table input[type="file"] {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: 1px dashed #c4c4c4;
    border-radius: 8px;
    font-family: inherit;
}

.form_table input[type="file"]::file-selector-button {
    padding: 10px 16px;
    margin-right: 15px;
    border: 1px solid #c4c4c4;
    border-radius: 6px;
    background: #fff;
    color: var(--color-ink);
    font-family: inherit;
    cursor: pointer;
}

.form_table td p {
    margin: 0 0 12px;
}

.form_table td p:last-child {
    margin-bottom: 0;
}

.form_table .rirekisyo_post_note {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 14px;
    color: var(--color-muted);
}

/* 送信ボタン */
.form_table .submit_btn {
    width: 100%;
    margin: 50px auto 0;
    text-align: center;
}

.form_table .submit_btn input[type="submit"] {
    display: inline-block;
    width: 100%;
    max-width: 360px;
    min-height: 65px;
    padding: 15px 30px;
    border: none;
    border-radius: 100px;
    background: #e99270;
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
}

.form_table .submit_btn input[type="submit"]:hover {
    opacity: .8;
}

.form_table .submit_btn input[type="submit"]:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* エラーメッセージ */
.form_table .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 14px;
}

.form_table .wpcf7-response-output {
    margin: 25px 0 0;
    padding: 15px;
    line-height: 1.8;
}

/* ===================================
   スマートフォン 600px以下
=================================== */

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

    .form_table {
        width: 100%;
        margin-bottom: 60px;
    }

    .form_table table,
    .form_table tbody,
    .form_table tr,
    .form_table th,
    .form_table td {
        display: block;
        width: 100%;
    }

    .form_table tr {
        border-bottom: 1px solid #dbc5a1;
    }

    .form_table th {
        padding: 15px;
        border-bottom: none;
    }

    .form_table td {
        padding: 18px 15px 22px;
        border-bottom: none;
    }

    .form_table .required {
        margin-left: 8px;
    }

    .form_table input[type="text"],
    .form_table input[type="tel"],
    .form_table input[type="email"],
    .form_table textarea {
        padding: 12px;
        font-size: 16px;
    }

    .form_table textarea {
        min-height: 150px;
    }

    .form_table .wpcf7-radio {
        flex-direction: column;
        gap: 10px;
    }

    .form_table .wpcf7-radio .wpcf7-list-item,
    .form_table .wpcf7-radio .wpcf7-list-item label {
        width: 100%;
    }

    .form_table .wpcf7-radio .wpcf7-list-item label {
        padding: 12px 14px;
    }

    .form_table input[type="file"] {
        font-size: 14px;
        padding: 10px;
    }

    .form_table input[type="file"]::file-selector-button {
        margin-right: 8px;
        padding: 8px 10px;
    }

    .form_table .submit_btn {
        margin-top: 35px;
    }

    .form_table .submit_btn input[type="submit"] {
        max-width: 100%;
        min-height: 60px;
        font-size: 16.5px;
    }
}

/* ===================================
   スタッフインタビューページ
=================================== */

.sub_main {
    padding-top: 40px;
}

.sub_main .content_box_block {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    scroll-margin-top: 100px;
}

/* ===================================
   職種別ナビゲーション
=================================== */

.sub_main .job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px 0;
}

.sub_main .job-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 22px 18px;
    background: #ffffff;
    border: 1px solid #f5e7d1;
    border-radius: 999px;
    text-align: center;
    line-height: 1.45;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(201, 169, 115, 0.15);
    transition: transform .2s ease;
}

.sub_main .job-btn::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -14px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(
        90deg,
        rgba(243, 203, 134, .4),
        rgba(247, 200, 180, .4)
    );
    filter: blur(18px);
    z-index: -1;
    transition: opacity .2s ease, transform .2s ease;
}

.sub_main .job-btn:hover {
    transform: translateY(-4px);
}

.sub_main .job-btn:hover::after {
    opacity: .9;
    transform: translateY(4px);
}

.sub_main .job-btn:focus-visible {
    outline: 2px solid #e99270;
    outline-offset: 4px;
}

/* ===================================
   職種見出し
=================================== */

.sub_main .content_box_block > h3 {
    position: relative;
    margin: 0 0 60px;
    padding: 80px 0 15px;
    border: none;
    text-align: center;
    font-size: 140%;
    font-weight: 600;
}

.sub_main .content_box_block > h3::before {
    display: none;
}

.sub_main .content_box_block > h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    width: 55px;
    height: 5px;
    margin: auto;
    border: none;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        #f3cb86 0%,
        #f7c8b4 100%
    );
}

/* ===================================
   インタビュー紹介
=================================== */

.sub_main .content_box1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin: 0 auto;
}

.sub_main .content_box1_img {
    position: relative;
    flex: 0 1 450px;
    min-width: 0;
}

.sub_main .content_box1_img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 250px;
}

/* タイトルボックス */
.sub_main .content_box1_ttl {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 1 450px;
    min-width: 0;
    min-height: 250px;
    padding: 30px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 1px 14px 6px rgba(37, 41, 50, 0.05);
}

/* Voice番号 */
.sub_main .voice_nomber {
    position: static;
    margin: 0px 0 5px;
    font-size: 20px;
    line-height: 1;
    color: #e99270;
    /* font-family: var(--font-en); */
    font-weight: 500;
    transform: none;
}

/* 職種・スタッフ情報 */
.sub_main .interview_name_wrap {
    width: 100%;
    line-height: 1.6;
}

.sub_main .name_box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 110%;
}

.sub_main .interview_name {
    font-size: 150%;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.interview_text_box h5{
font-size: 102%;
    border-bottom: solid #f2efea 2px;
    margin-bottom: 5px;
    margin-top: 25px;
}

/* ===================================
   スタッフインタビュー シンプル版
=================================== */

.sub_main .content_box1 {
    display: flex;
    align-items: stretch;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.sub_main .content_box1_img {
    width: 38%;
    max-width: 380px;
}

.sub_main .content_box1_img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.sub_main .content_box1_ttl {
    width: 62%;
    min-height: 240px;
    padding: 40px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

/* Voice番号 */
.sub_main .voice_nomber {
    position: static;
    margin: 0 0 5px;
    font-size: 20px;
    line-height: 1;
    color: #e99270;
    font-family: var(--font-en);
    font-weight: 500;
    transform: none;
}

/* タイトルまわり */
.sub_main .interview_name_wrap {
    width: 100%;
    line-height: 1.8;
}

.sub_main .name_box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
}

.sub_main .interview_name {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--color-ink);
    letter-spacing: 0.03em;
}

.sub_main .content_box1_ttl p,
.sub_main .content_box1_ttl div {
    text-align: left;
}

/* ===================================
   スマートフォン 600px以下
=================================== */

@media screen and (max-width: 600px) {
	.sub_main .content_box_block{
		    padding: 0px;
	}
	
	
.sub_main .job-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0px 0px 0;
	            gap: 8px 5px;
	}
	.sub_main .job-btn{
	    min-height: 65px;
    padding: 15px 10px;	
	}
    .sub_main .content_box1 {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        width: 100%;
        max-width: 100%;
    }

    /* 画像 */
    .sub_main .content_box1_img {
        flex: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .sub_main .content_box1_img img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 15px;
    }

    /* タイトルボックス */
    .sub_main .content_box1_ttl {
        flex: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: auto;
        padding: 25px 20px;
        border-radius: 18px;
        box-sizing: border-box;
    }

    /* Voice番号 */
    .sub_main .voice_nomber {
        position: static;
        margin: 0 0 8px;
        font-size: 20px;
        line-height: 1.4;
        transform: none;
    }

    /* 名前・タイトル */
    .sub_main .interview_name_wrap {
        width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .sub_main .name_box {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 10px;
        font-size: inherit;
    }

    .sub_main .interview_name {
        font-size: 20px;
        line-height: 1.5;
    }

    /* 本文 */
    .sub_main .interview_text_box {
        width: 100%;
        max-width: 100%;
    }
}