@charset "UTF-8";

/* * {
  outline: 2px solid blue;
} */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  background-color: #fff;
  color: #292929;
  max-width: 1920px;
  font-family: YuMincho, Hiragino Mincho ProN, serif;
  overflow-x: hidden;
  font-size: 18px;
  font-weight: 500;
}

html,
body {
  height: 100%;
	 overflow-x: hidden;
}

/* リンク設定 */
a {
  color: inherit;
  text-decoration: none;
  transition-duration: 0.5s;
}

p {
  line-height: 30px;
  /* 187.5% */
  letter-spacing: 2.72px;
  font-family: "Noto sans JP"!important;
}

/* 画像 */
img {
  max-width: 100%;
  height: auto;
}

/* PCでは表示しない（改行しない） */
.sp-br {
  display: none;
}

/* モバイルだけ改行させる */
@media (max-width: 768px) {
  .sp-br {
    display: block;
  }
}

/* ■デスクトップ版のみ改行 */
.pc-br {
  display: block;
}

@media (max-width: 768px) {
  .pc-br {
    display: none;
  }
}
/* 共通ｈ２ */
.page-h2 {
  color: #fff;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  padding: 15px 0;
  background: linear-gradient(90deg, #FFF 0%, #6A8DC7 29.81%, #6A8DC7 70.19%, #FFF 100%);
  display: block;
  /* デフォルトのブロック要素に戻す */
}

/* 共通ｈ３ */
.page-h3 {
  color: #6A8DC7;
  font-size: 32px;
  background: #dfefff;
  box-shadow: 0px 0px 0px 5px #dfefff;
  border-top: solid 2px white;
  border-bottom: solid 2px white;
  padding: 0.2em 0.5em;
  font-weight: 400;
}

/* 共通ｈ３ー２ */
.page-h3-2 {
  padding: 0.25em 0.5em;
    font-size: 32px;
     font-weight: 400; 
  color: #6A8DC7;
  background: transparent;
  border-left: solid 5px #6A8DC7;
}

/* 共通ｈ４ */
.page-h4 {
  color: #6A8DC7;
  text-shadow: 0 1px 3px #6A8DC7;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 4px;
}

/* ボタンデザイン */
/* .button-more {
  margin-top: 30px;
} */

.button-link {
  display: inline-block;
  padding: 10px 60px;
  border: 1px solid #6A8DC7;
  color: #6A8DC7;
  text-decoration: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.button-link:hover {
  background: #9E8868;
  color: #fff;
  border: 1px solid #fff;
}

.button-link::after {
  content: "▶";
  transition: transform 0.3s ease;
  font-size: 10px;
}

.doctor-link:hover::after {
  transform: translateX(4px);
}


/* 見出し */
.info-header {
  height: 50vh;
  position: relative;
  display: grid;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

/* 画像を暗くするためのバックグラウンド設定 */
.info-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(https://nakaya-shika.jp/wp-content/uploads/2025/11/img_clinic01.jpg) center / cover no-repeat;
  filter: brightness(0.7);
  /* 画像を暗くする */
  z-index: 1;
  /* 画像をテキストの下に配置 */
}

/* テキスト部分 */
.main-header {
  display: flex;
  flex-direction: column;
  /* 縦に並べる */
  align-items: center;
  /* 水平中央揃え */
  justify-content: center;
  /* 垂直中央揃え */
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0px 0px 7px rgb(0 0 0 / 38%);
  text-align: center;
  /* 文字を中央揃え */
  z-index: 2;
  /* テキストを画像の上に表示 */
}

.main-header p {
  font-size: 27px;
  margin: 0;
}

.main-header span {
  font-size: 16px;
  margin: 0;
}

/* パンくずリスト */
.breadcrumb {
  padding: 10px 3rem;
  margin: 50px auto;
  font-size: 16px;
}

.breadcrumb a {
  font-weight: 500;
}

.breadcrumb a:hover {
  color: #6A8DC7;
}

/*アイコンのスタイル調整 */
.breadcrumb i {
  color: #6A8DC7;
  margin: 0 10px;
  font-size: 15px;
}


/* -----------------------------------ここから-------------------------------------
------------------------------------- 下層の型 ------------------------------------ */

/* ----------文字だけｈ２---------- */
.page-section-h2 {
  width: 100%;
  max-width: 1500px;
  margin: 70px auto;
}

.page-text {
  width: 100%;
  margin: 50px auto;
  padding: 20px;
}

/* ----------写真付きｈ２---------- */
.page-section-h2-image {
  width: 100%;
  max-width: 1500px;
  margin: 60px auto;
}

.page-text-flex {
  width: 100%;
  margin: 50px auto;
  padding: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

/* 必要に応じてサイズ変更 */
.page-text-flex img {
  width: 45%;
}

.page-text-flex p {
  width: 50%;
}

/* ----------もじだけH3----------  */
.page-section-h3 {
  width: 95%;
  margin: 30px auto;
}

.page-text-h3 {
   width: 100%;
  margin: 20px auto;
  padding: 20px; 
}

/* ----------もじだけH3その２----------  */
.page-section-h3-2 {
  width: 95%;
  margin: 30px auto;
}

.page-text-h3-2 {
   width: 100%;
  margin: 20px auto;
  padding: 20px; 
}

/* ----------写真付きｈ３---------- */
.page-section-h3-image {
  width: 95%;
  margin: 30px auto;
}

.page-text-flex-h3 {
  width: 100%;
  margin: 20px auto;
  padding: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

/* 必要に応じてサイズ変更 */
.page-text-flex-h3 img {
  width: 30%;
}

.page-text-flex-h3 p {
  width: 60%;
}

.page-section-h4 {
  width: 90%;
  margin: 30px auto;
}

.page-text-h4 {
   width: 100%;
  margin: 15px auto;
}

/* ----------写真付きｈ３その２---------- */
.page-section-h3-image02 {
  width: 95%;
  margin: 30px auto;
}

.page-section-h3-image02-flex {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.page-h3-image02-text {
  width: 55%;
}

.page-h3-image02-text p {
  padding-top: 35px;
}

.page-section-h3-image02-flex-img {
  width: 30%;
}

/* 反対 */
.row-reverse {
  flex-direction: row-reverse;
}

/* モバイル版 */
@media screen and (max-width: 480px) {
  /* 文字だけｈ２ */
.page-text {
    margin: 25px auto;
    padding: 20px;
}
/* 文字だけｈ３ */
.page-text-h3 {
    margin: 0 auto;
    padding: 20px 10px;
} 
/* 文字だけｈ３その２ */
.page-text-h3-2 {
    margin: 0 auto;
    padding: 20px 10px;
} 

/* 写真付きｈ３ */
.page-text-flex-h3 {
    margin: 0 auto;
    padding: 20px 10px;
    flex-direction: column;
}

.page-text-flex-h3 img {
    width: 100%;
}

.page-text-flex-h3 p {
    width: 100%;
}

/* 写真付きｈ３その２ */
.page-section-h3-image02-flex {
    margin: 0 auto;
    flex-direction: column;
}
.page-h3-image02-text {
    width: 100%;
}
.page-h3-image02-text p {
  padding: 20px 10px;
}
.page-section-h3-image02-flex-img {
  width: 100%;
}

/* 写真付きｈ２ */
.page-text-flex {
    margin: 0px auto;
    padding: 25px 15px;
    flex-direction: column;
}
.page-text-flex img {
    width: 100%;
}
.page-text-flex p {
    width: 100%;
}
}







/* --------------ここから--------------
---------------- 医院案内 ------------- */






/* ----------------アクセス------------------ */
.access-section {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.access-map {
  display: flex;
  justify-content: center;
  /* 地図を中央寄せ */
  margin: 80px 0;
  /* 上下に余白を追加 */
}

.access-map iframe {
  width: 100%;
  max-width: 1000px;
  /* 最大幅を指定 */
  height: 600px;
  border: 0;
}

.access-flex {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
}

.access-flex img {
  width: 370px;
  height: 250px;
  box-shadow: 0 0 6px #292929;
}

/* 交通情報 */
.access-info {
  width: 100%;
  max-width: 1300px;
  margin: 120px auto;
}

.access-info-flex {
  width: 90%;
  height: auto;
  margin: 80px auto 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.access-box {
  width: 40%;
  height: auto;
  padding: 35px 0;
  background: rgba(255, 255, 255, .8);
  margin: 0 auto;
  box-shadow: 0px 0px 10px -5px #777777;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.access-box img {
  width: 60%;
  margin: 0 auto;
}


/* ---------------医院詳細------------------- */
.clinic-info-section {
  width: 100%;
  max-width: 1500px;
  margin: 80px auto;
}

.clinic-info {
  width: 80%;
  margin: 80px auto;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 1行ごとの医院データ */
.clinic-data {
  display: flex;
  border-bottom: 1px solid #ccc;
  padding: 20px 0;
  align-items: flex-start;
}

/* 左ラベル部分 */
.clinic-data dt {
  width: 170px;
  font-weight: 600;
  color: #333;
  flex-shrink: 0;
  padding-left: 10px;
  margin-right: 20px;
  border-left: 3px solid #6A8DC7;
}

/* 内容部分 */
.clinic-data dd {
  flex: 1;
  margin: 0;
  line-height: 1.7;
}

/* 診療時間 */
.clinic-hours-section {
  width: 100%;
  max-width: 1500px;
  margin: 80px auto;
}

.clinic-hours-time-table {
  font-size: 18px;
  width: 80%;
  margin: 80px auto 15px auto;
}

/* --------------タブレット----------------------
-------------------アクセス------------------ */
@media screen and (max-width: 768px) {
  .access-map {
    margin: 50px 0;
  }

  .access-map iframe {
    max-width: 90%;
    height: 450px;
  }

  .access-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .access-info {
    max-width: 90%;
    margin: 60px auto;
  }

  .access-info-flex {
    width: 100%;
    margin: 65px auto;
  }

  .access-box {
    width: 45%;
    padding: 35px 10px;
  }

}

@media screen and (max-width: 480px) {
  .access-map {
    margin: 30px 0;
  }

  .access-flex {
    gap: 10px;
  }

  .access-flex img {
    width: 95%;
    height: 120px;
  }

  .access-info-flex {
    width: 100%;
    margin: 40px auto;
    flex-direction: column;
    gap: 20px
  }

  .access-box {
    width: 100%;
    padding: 35px 10px;
  }

  /* 医院詳細 */
  .clinic-info-section {
    max-width: 100%;
    margin: 65px auto;
}
  .clinic-info {
    padding: 0 20px;
  width: 90%;
    margin: 30px auto;  
  }

  .clinic-data {
    font-size: 15px;
  }

  .clinic-data dt {
    width: 90px;
    flex-shrink: 0;
    padding-left: 8px;
    margin-right: 10px;
    border-left: 2px solid #6A8DC7;
  }

  /* 診療時間表 */
.clinic-hours-time-table {
    font-size: 16px!important;
    width: 90%!important;
    margin: 25px auto 10px auto!important;
}
}















/* --------------ここから----------------------
-------------------院長紹介------------------ */
.doctor-section {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}

.doctor-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 100px 0;
  position: relative;
  z-index: 3;
  background: #fff;
}

.doctor-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 1300px;
  height: 80%;
  border: 1px solid #9E8868;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.doctor-text {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.doctor-image {
  position: relative;
  width: 35%;
  z-index: 1;
}

.doctor-image img {
  position: relative;
  z-index: 1;
}

.doctor-image::before {
  content: "";
  position: absolute;
  bottom: -90px;
  left: -25px;
  width: 80%;
  height: 540px;
  background: linear-gradient(180deg, rgba(106, 141, 199, 0.17) 0%, rgba(203, 221, 249, 0.70) 30%, rgba(238, 244, 255, 0.78) 80%, rgba(255, 255, 255, 0.85) 100%);
  clip-path: polygon(0 0, 100% 100%, 0% 100%);
  z-index: 0;
}

.doctor-lead {
  width: 55%;
}

/* 院長 中矢 崇 Takashi Nakaya */
.doctor-title {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  margin-top: 5px;
  margin-bottom: 15px;
  letter-spacing: 0.1em;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 20px;
  align-items: center;
  /* 中央に配置 */
}

/* 円形のバッジ（院長） */
.title-circle {
  background-color: #C1A58D;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.title-circle::after {
  content: "";
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border: solid 1px #fff;
  border-radius: 100%;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

/* "院長"の文字 */
.title-circle01 {
  color: #FFF;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* 名前（中矢 崇） */
.title-circle02 {
  font-size: 32px;
  margin: 0;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* サブタイトル（Takashi Nakaya） */
.doctor-subheading {
  font-size: 16px;
  color: #6A8DC7;
  margin-top: 5px;
  text-shadow: 0 1px 3px #6A8DC7;
}


/* 経歴のタイトル */
.career-title {
  margin: 25px 0 15px 0;
}

/* 経歴リスト */
.career-list,
.career-list02 {
  margin: 0;
  padding: 0;
}

.career-item {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.career-item dt {
  color: #9E8868;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 3.6px;
}

.career-item dd {
  font-size: 18px;
  margin: 0;
}

/* 学会リスト */
.career-item02 {
  list-style-type: none;
  padding-left: 0;
}

.career-item02 li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
  font-size: 18px;
}

/* カスタムの点（丸） */
.career-item02 li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #C1A58D;
  border-radius: 50%;
}


/* ------------------------------------------
-医療において最も大切なものは、医療技術の高さだと考えています------- */
.doctor-greet {
  width: 100%;
  margin: 50px auto;
}

.doctor-greet-box {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 80px 30px;
  position: relative;
  z-index: 3;
}

.doctor-greet-img::before {
  content: "";
  position: absolute;
  top: 180px;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(106, 141, 199, 0.20);
  z-index: 0;
}

.doctor-greet-img img {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
}

.doctor-greet-h3 {
  color: #292929;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: var(--Static-Display-Medium-Line-Height, 52px);
  /* 216.667% */
  letter-spacing: 7.2px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.doctor-greet-text01 {
  font-weight: 400;
  width: 650px;
  padding: 60px 30px 20px 30px;
  position: relative;
  z-index: 3;
}

.doctor-greet-flex {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 80px;
  margin-top: 130px;
  width: 100%;
  padding: 20px;
}

.doctor-greet-flexImage {
  position: relative;
  z-index: 3;
}

.doctor-greet-flexImage::before {
  content: "";
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 80%;
  width: 100px;
  height: 100px;
  background: rgba(106, 141, 199, 0.20);
  z-index: 0;
}

.doctor-greet-flex img {
  width: 100%;
  max-width: 420px;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 3;
}

.doctor-greet-text02 {
  width: 100%;
  max-width: 670px;
  font-weight: 400;
}

/* ------------------------------------------
-------------------スタッフ紹介------------------ */
.staff-section {
  width: 100%;
  margin: 0 auto;
}

.staff-message {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.staff-message img {
  display: block;
  margin: 0 auto;
  padding-top: 50px;
}

.staff-message p {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  font-size: 2vw;
  font-style: normal;
  font-weight: 500;
  border-bottom: 20px solid rgba(106, 141, 199, 0.20);
}

/* ------------------------------------------
-------------------歯科衛生士紹介------------------ */
.dental-hygienist {
  width: 100%;
  margin: 120px auto;
}

.dental-hygienist h3 {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}


.dental-hygienist-secsion {
  width: 100%;
  position: relative;
  z-index: 5;
}

.dental-hygienist-contents {
  max-width: 1300px;
  margin: 100px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 15px;
}

.dental-hygienist-block {
  width: 43%;
  height: 690px;
  padding: 20px 25px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid #85DACF;
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.06); */
}

/* 緑 */
.dental-hygienist-block-green {
  position: relative;
  z-index: 0;
  box-shadow: 0px 0px 0px 18px rgba(133, 218, 207, 0.30);
}

.dental-hygienist-block-green::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 10px;
  width: 80%;
  height: 57%;
  background: rgba(106, 141, 199, 0.30);
  z-index: -1;
  clip-path: polygon(0 0, 100% 100%, 0% 100%);
}

/* 水色 */
.dental-hygienist-block-blue {
  position: relative;
  z-index: 0;
  box-shadow: 0px 0px 0px 18px rgba(106, 141, 199, 0.30);
}

.dental-hygienist-block-blue::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 10px;
  width: 80%;
  height: 57%;
  background: rgba(133, 218, 207, 0.30);
  z-index: -1;
  clip-path: polygon(0 0, 100% 100%, 0% 100%);
}

.dental-hygienist-contents .dental-hygienist-block:nth-child(even) {
  margin-top: 120px;
  /* 左側のカードだけ下げる */
}

.dental-hygienist-block img {
  width: 100%;
  height: 400px;
  margin: 0 auto 40px auto;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.dental-hygienist-name,
.dental-hygienist-name02 {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 5px;
  margin-bottom: 15px;
  letter-spacing: 0.1em;
  border-bottom: 1px dotted #85DACF;
  padding: 0 10px 20px 10px;
  align-items: center;
}

.dental-hygienist-name02 {
  border-bottom: 1px dotted #6A8DC7;
}

.dental-hygienist-block-text {
  padding: 0 20px;
}

/* 共通 */
.dental-hygienist-name h4 {
  font-size: 24px;
}

.dental-hygienist-name span,
.dental-hygienist-name02 span {
  color: #6A8DC7;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}

.dental-hygienist-image-none {
  position: relative;
  z-index: 0;
  box-shadow: 0px 0px 0px 18px rgba(133, 218, 207, 0.30);
}

.dental-hygienist-image-none {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dental-hygienist-image-none img {
  object-fit: contain;
  box-shadow: none;
}

/* ------------------------------------------
-------------------歯科助手・受付------------------ */
.dental-assistant {
  width: 100%;
  margin: 100px auto;
}

.dental-assistant h3 {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.dental-assistant-secsion {
  width: 100%;
  position: relative;
  z-index: 5;
}

.dental-assistant-contents {
  max-width: 1300px;
  margin: 100px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 15px;
}

.dental-assistant-block {
  width: 43%;
  height: 690px;
  padding: 20px 25px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid #FFF36D;
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.06); */
}

/* 黄色 */
.dental-assistant-block-yellow {
  position: relative;
  z-index: 0;
  box-shadow: 0px 0px 0px 18px rgba(255, 243, 109, 0.30);
}

.dental-assistant-block-yellow::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 10px;
  width: 80%;
  height: 57%;
  background: rgba(255, 199, 227, 0.30);
  z-index: -1;
  clip-path: polygon(0 0, 100% 100%, 0% 100%);
}

.dental-assistant-contents .dental-assistant-block:nth-child(even) {
  margin-top: 120px;
  /* 左側のカードだけ下げる */
}

.dental-assistant-block img {
  width: 100%;
  height: 400px;
  margin: 0 auto 40px auto;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.dental-assistant-name {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 5px;
  margin-bottom: 15px;
  letter-spacing: 0.1em;
  border-bottom: 1px dotted #FFF36D;
  padding: 0 10px 20px 10px;
  align-items: center;
}

.dental-assistant-block-text {
  padding: 0 20px;
}

/* 共通 */
.dental-assistant-name h4 {
  font-size: 24px;
}

.dental-assistant-name span,
.dental-assistant-name02 span {
  color: #6A8DC7;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}

/* ------------------------------------------
-------------------保育士------------------ */
.nursery {
  width: 100%;
  margin: 100px auto;
}

.nursery h3 {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.nursery-secsion {
  width: 100%;
  position: relative;
  z-index: 5;
}

.nursery-contents {
  max-width: 1300px;
  margin: 100px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 15px;
}

.nursery-block {
  width: 43%;
  height: 690px;
  padding: 20px 25px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid #CF7FA7;
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.06); */
}

/* ピンク */
.nursery-block-pink {
  position: relative;
  z-index: 0;
  box-shadow: 0px 0px 0px 18px rgba(255, 199, 227, 0.30);
}

.nursery-block-pink::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 10px;
  width: 80%;
  height: 57%;
  background: rgba(255, 243, 109, 0.30);
  ;
  z-index: -1;
  clip-path: polygon(0 0, 100% 100%, 0% 100%);
}

.nursery-contents .nursery-block:nth-child(even) {
  margin-top: 120px;
  /* 左側のカードだけ下げる */
}

.nursery-block img {
  width: 100%;
  height: 400px;
  margin: 0 auto 40px auto;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(255, 199, 227, 0.30);
  border-radius: 4px;
}

.nursery-name {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 5px;
  margin-bottom: 15px;
  letter-spacing: 0.1em;
  border-bottom: 1px dotted #CF7FA7;
  padding: 0 10px 20px 10px;
  align-items: center;
}

.nursery-block-text {
  padding: 0 20px;
}

/* 共通 */
.nursery-name h4 {
  font-size: 24px;
}

.nursery-name span {
  color: #6A8DC7;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}

.nursery-image-none {
  position: relative;
  z-index: 0;
  box-shadow: 0px 0px 0px 18px rgba(255, 199, 227, 0.30);
}

.nursery-image-none {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nursery-image-none img {
  object-fit: contain;
  box-shadow: none;
}

/* ----------タブレット---------------------------
-------------ここから--------------------- */
@media screen and (max-width: 768px) {
  body {
    max-width: 768px;
    overflow-x: hidden;
  }

  .page-h2 {
    font-size: 32px;
    padding: 12px 0;
	  background:none;
	background-color:#6A8DC7;!important
  }

  .page-h3 {
    font-size: 24px;
  }

  .page-h4 {
    font-size: 20px;
  }

  /* ボタンデザイン */
  /* .button-more {
  margin-top: 30px;
} */

  .button-link {
    display: inline-block;
    padding: 10px 60px;
    border: 1px solid #6A8DC7;
    color: #6A8DC7;
    text-decoration: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 10;
  }


  .page-header-logo img {
    width: 140px;
  }

  /* 医院案内見出し */
  .info-header {
    height: 30vh;
    margin-top: 0;
  }

  .main-header p {
    font-size: 24px;
  }

  .main-header span {
    font-size: 15px;
    margin: 0;
  }

  /* --------------タブレット-------------------
-------------------院長紹介------------------ */
  .doctor-section {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .doctor-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 100px 0;
    position: relative;
    z-index: 3;
    background: #fff;
  }

  /* 枠線 */
  .doctor-wrapper::after {
    max-width: 95%;
  }

  .doctor-text {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    flex-direction: column;
  }

  .doctor-image {
    width: 100%;
    height: 400px;
    z-index: 2;
  }

  .doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .doctor-image::before {
    bottom: -30px;
    left: 65px;
    width: 80%;
    height: 388px;
  }

  .doctor-lead {
    width: 90%;
    margin: 55px auto;
  }

  /* 院長 中矢 崇 Takashi Nakaya */
  .doctor-title {
    justify-content: center;
  }

  .doctorsCareer,
  .doctorsCareer02 {
    padding: 0 30px;
  }

  /* ---------------タブレット---------------------------
-医療において最も大切なものは、医療技術の高さだと考えています------- */

  .doctor-greet {
    margin: 0 auto;
  }

  .doctor-greet-box {
    max-width: 100%;
    padding: 80px 0;
  }

  .doctor-greet-h3 {
    margin-top: 150px;
    line-height: var(--Static-Display-Medium-Line-Height, 48px);
    letter-spacing: 7px;
    text-align: start;
    padding-left: 30px;
  }

  /* しかし医療は日進月歩。 */
  .doctor-greet-img {
    width: 100%;
    padding: 25px;
  }

  .doctor-greet-img::before {
    top: 540px;
    right: 0;
    left: 0;
  }

  .doctor-greet-img img {
    right: 0;
  }

  .doctor-greet-text01 {
    width: 100%;
    padding: 0;
    margin-top: 90px;
  }

  .doctor-greet-flex {
    margin-top: 40px;
    width: 100%;
    padding: 25px;
    flex-direction: column;
  }

  /* 待合室写真 */
  .doctor-greet-flexImage {
    width: 100%;
    height: auto;
  }

  .doctor-greet-flex img {
    max-width: 100%;
    height: auto;
  }

  /* そのため医師はもちろん、スタッフ一同常に勉 */
  .doctor-greet-text02 {
    max-width: 100%;
  }

  .doctor-greet-flexImage::before {
    bottom: -202px;
    right: -15px;
    width: 80%;
    height: 90%;
    background: rgba(106, 141, 199, 0.1);
  }

  /* ---------------タブレット---------------------------
------------------スタッフ紹介------------------------ */
  .staff-message {
    max-width: 100%;
    position: relative;
    z-index: 2;
  }

  .staff-message p {
    max-width: 100%;
    font-size: 32px;
    border-bottom: none;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 4px rgba(106, 141, 199, 0.30);
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 6px;
  }

  .staff-message p::before {
    content: "";
    position: absolute;
    bottom: -33px;
    left: 50%;
    width: 80%;
    height: 156px;
    background: rgba(106, 141, 199, 0.20);
    filter: blur(2.5px);
    z-index: 0;
    transform: translateX(-50%);
  }

  /* ----------------タブレット--------------------------
-------------------歯科衛生士紹介------------------ */
  .dental-hygienist h3 {
    max-width: 90%;
  }

  .dental-hygienist-contents {
    max-width: 100%;
    margin: 100px auto;
    flex-direction: column;
  }

  .dental-hygienist-block {
    width: 80%;
    height: 690px;
    margin: 0 auto;
    padding: 20px 25px;
  }

  .dental-hygienist-contents .dental-hygienist-block:nth-child(even) {
    margin-top: 80px;
    /* 左側のカードだけ下げる */
  }

  /* ------------------------------------------
-------------------歯科助手・受付------------------ */
  .dental-assistant h3 {
    max-width: 90%;
  }

  .dental-assistant-contents {
    max-width: 100%;
    margin: 100px auto;
    flex-direction: column;
  }

  .dental-assistant-block {
    width: 80%;
    height: 690px;
    margin: 0 auto;
    padding: 20px 25px;
  }

  .dental-assistant-contents .dental-assistant-block:nth-child(even) {
    margin-top: 80px;
    /* 左側のカードだけ下げる */
  }

  /* ------------------------------------------
-------------------保育士------------------ */
  .nursery h3 {
    max-width: 90%;
  }

  .nursery-contents {
    max-width: 100%;
    margin: 100px auto;
    flex-direction: column;
  }

  .nursery-block {
    width: 80%;
    height: 690px;
    margin: 0 auto;
    padding: 20px 25px;
  }
}

/* ----------スマホ---------------------------
-------------ここから--------------------- */
@media screen and (max-width: 480px) {
  body {
    max-width: 480px;
    font-size: 18px;
  }

  .page-h2 {
    font-size: 27px;
  }

  .page-h3 {
    font-size: 24px;
  }
	
  .page-h3-2 {
    font-size: 24px;
  }
	
  .page-h4 {
    font-size: 20px;
  }

  /* テキスト部分 */
  .main-header p {
    font-size: 24px;
  }

  .main-header span {
    font-size: 14px;
  }

  /* パンくず */
  .breadcrumb {
    padding: 10px 2rem;
    text-align: left;
    font-size: 14px;
    margin: 0 auto;
  }

  .header-nav {
    margin-top: 15px;
  }

  /* --------------スマホ-------------------
-------------------院長紹介------------------ */
  .doctor-section {
    margin: 30px auto 0 auto;
  }

  .doctor-wrapper {
    padding: 50px 0;
  }

  /* 枠線 */
  .doctor-wrapper::after {
    height: 85%;
  }

  .doctor-image {
    width: 90%;
    height: auto;
  }

  .doctor-image::before {
    bottom: -28px;
    left: -10px;
    width: 100%;
    height: 270px;
  }

  .doctor-lead {
    margin: 50px auto;
  }

  /* 院長 中矢 崇 Takashi Nakaya */
  .doctor-title {
    gap: 13px;
    margin-top: 5px;
    margin-bottom: 12px;
  }

  .title-circle01 {
    font-size: 16px;
  }

  .title-circle::after {
    width: calc(100% - 8px);
    height: calc(100% - 8px);
  }

  .title-circle {
    width: 60px;
    height: 60px;
  }

  .title-circle02 {
    font-size: 20px;
  }

  .doctor-subheading {
    font-size: 14px;
    margin-top: 3px;
  }

  .doctorsCareer,
  .doctorsCareer02 {
    padding: 0;
    max-width: 365px;
    margin: 0 auto;
  }

  .career-item dt {
    letter-spacing: 2.6px;
  }

  .doctor-greet-img {
    padding: 20px;
  }

  .doctor-greet-img img {
    right: 0;
    height: 300px;
    object-fit: cover;
  }

  /* 医療において最も大切なものは、医療技術の高さだと考えています。 */
  .doctor-greet-h3 {
    margin-top: 35px;
    padding-left: 20px;
  }

  /* しかし医療は日進月歩。 */
  .doctor-greet-text01 {
    margin-top: 60px;
  }

  .doctor-greet-img::before {
    top: 498px;
    width: 210px;
    height: 210px;
    background: rgba(106, 141, 199, 0.1);
  }

  .doctor-greet-flex {
    margin-top: 20px;
    padding: 0px;
    gap: 65px;
  }

  .doctor-greet-text02 {
    max-width: 100%;
    padding: 0 20px;
  }

  .doctor-greet-flexImage::before {
    bottom: -264px;
    right: 0;
    width: 90%;
    height: 140%;
    background: rgba(106, 141, 199, 0.1);
  }

  /* -----------------スマホ-------------------------
-------------------スタッフ紹介------------------ */
  .staff-message img {
    padding-top: 30px;
  }

  .staff-message p {
    max-width: 315px;
    margin: 0 auto;
    font-size: 20px;
    text-align: start;
  }

  .staff-message p::before {
    width: 110%;
  }

  /* ---------------スマホ---------------------------
-------------------歯科衛生士紹介------------------ */
  .dental-hygienist {
    margin: 100px auto;
  }

  .dental-hygienist-contents {
    margin: 50px auto;
  }

  .dental-hygienist-block {
    width: 95%;
    height: 600px;
    margin: 0 auto;
    padding: 15px 20px;
  }

  /* 緑 */
  .dental-hygienist-block-green {
    box-shadow: 0px 0px 0px 10px rgba(133, 218, 207, 0.30);
  }

  .dental-hygienist-block-green::before {
    top: 50px;
    left: 10px;
    width: 75%;
    height: 34%;
    background: rgba(106, 141, 199, 0.30);
    z-index: -1;
    clip-path: polygon(0 0, 100% 100%, 0% 100%);
  }

  /* 水色 */
  .dental-hygienist-block-blue {
    box-shadow: 0px 0px 0px 10px rgba(106, 141, 199, 0.30);
  }

  .dental-hygienist-block-blue::before {
    top: 50px;
    left: 10px;
    width: 75%;
    height: 34%;
    background: rgba(133, 218, 207, 0.30);
    z-index: -1;
    clip-path: polygon(0 0, 100% 100%, 0% 100%);
  }

  .dental-hygienist-contents .dental-hygienist-block:nth-child(even) {
    margin-top: 40px;
    /* 左側のカードだけ下げる */
  }

  .dental-hygienist-block img {
    height: 230px;
    margin: 0px auto 30px auto;
  }

  .dental-hygienist-name,
  .dental-hygienist-name02 {
    gap: 15px;
  }

  .dental-hygienist-name h4 {
    font-size: 20px;
  }

  .dental-hygienist-name span,
  .dental-hygienist-name02 span {
    font-size: 14px;
  }

  /* ------------------------------------------
-------------------歯科助手・受付------------------ */
  .dental-assistant {
    margin: 100px auto;
  }

  .dental-assistant-contents {
    margin: 50px auto;
  }

  .dental-assistant-block {
    width: 95%;
    height: 600px;
    margin: 0 auto;
    padding: 15px 20px;
  }

  /* 黄色 */
  .dental-assistant-block-yellow {
    box-shadow: 0px 0px 0px 10px rgba(255, 243, 109, 0.30);
  }

  .dental-assistant-block-yellow::before {
    top: 50px;
    left: 10px;
    width: 75%;
    height: 34%;
    background: rgba(255, 199, 227, 0.30);
    z-index: -1;
    clip-path: polygon(0 0, 100% 100%, 0% 100%);
  }

  .dental-assistant-contents .dental-assistant-block:nth-child(even) {
    margin-top: 40px;
    /* 左側のカードだけ下げる */
  }

  .dental-assistant-block img {
    height: 230px;
    margin: 0px auto 30px auto;
  }

  .dental-assistant-name,
  .dental-assistant-name02 {
    gap: 15px;
  }

  .dental-assistant-name h4 {
    font-size: 20px;
  }

  .dental-assistant-name span,
  .dental-assistant-name02 span {
    font-size: 14px;
  }

  /* ------------------------------------------
-------------------保育士------------------ */
  .nursery {
    margin: 100px auto;
  }

  .nursery-contents {
    margin: 50px auto;
  }

  .nursery-block {
    width: 95%;
    height: 600px;
    margin: 0 auto;
    padding: 15px 20px;
  }

  /* 黄色 */
  .nursery-block-pink {
    box-shadow: 0px 0px 0px 10px rgba(255, 199, 227, 0.30);
  }

  .nursery-block-pink::before {
    top: 50px;
    left: 10px;
    width: 75%;
    height: 34%;
    background: rgba(255, 243, 109, 0.30);
    z-index: -1;
    clip-path: polygon(0 0, 100% 100%, 0% 100%);
  }

  .nursery-contents .nursery-block:nth-child(even) {
    margin-top: 40px;
    /* 左側のカードだけ下げる */
  }

  .nursery-block img {
    height: 230px;
    margin: 0px auto 30px auto;
  }

  .nursery-name {
    gap: 15px;
  }

  .nursery-name h4 {
    font-size: 20px;
  }

  .nursery-name span {
    font-size: 14px;
  }

  .opacity {
    display: none;
  }
}




/* --------------ここから--------------
---------------- 採用情報 ------------- */
.recruit-section {
  max-width: 1800px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 0 120px 0;
}

/* 一緒に働く仲間を募集しています */
.recruit-section-message {
  text-align: center;
  margin: 130px auto;
	font-family:serif,"Noto sans JP" !important;
}

.rec-message-top {
  font-size: 36px;
	font-family:serif,"Noto sans JP" !important;
}

/* 未経験やブランクがあっても大歓迎です */
.rec-message-bottom {
  font-size: 32px;
  margin-top: 45px;
  font-weight: 600;
		font-family:serif,"Noto sans JP" !important;
}

.recruit-section-brown {
  font-size: 48px;
  color: #9E8868;
  text-shadow: 0 2px 2px #8B785D;
}

.recruit-section-blue {
  color: #6A8DC7;
  text-shadow: 0 2px 2px #6A8DC7;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 3.84px;
  background: linear-gradient(180deg, transparent 70%, #FFF36D66 40%);
}

.recruit-section-img img {
  width: 90%;
  margin: 0 auto;
}


/* ---------------------------------------------
-------春日井市の中矢歯科はどんな職場？----------- */
.workplace-section {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding-bottom: 100px;
  background: url("https://nakaya-shika.jp/wp-content/uploads/2025/11/recruit-bg.png") center / cover no-repeat;
}

/* でかい吹き出し */
.balloon1 {
  position: relative;
  margin: 1.5em 0;
  padding: 70px 10px;
  max-width: 100%;
  background: #EEF4FF;
  text-align: center;
}

/* 吹き出しデザイン */
.balloon1:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -30px;
  border: 30px solid transparent;
  border-top: 30px solid #EEF4FF;
}

.wp-sec-h2 {
  color: #6A8DC7;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 1px;
}

.wp-bold {
  font-size: 48px;
}

.ws-blue {
  color: #6A8DC7;
  font-size: 60px;
  font-weight: 500;
}


/* 見出し */
.workplace-wrapper h3 {
  font-size: 32px;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: 5px;
  border-bottom: 2px solid rgba(106, 141, 199, 0.50);
  padding-bottom: 20px;
}

.eb-span {
  color: #CF7FA7;
  font-size: 36px;
  text-shadow: 2px 2px 2px #FFC7E3;
}

/* 上のボックス */
.employee-benefits01 {
  width: 100%;
  max-width: 1200px;
  height: 360px;
  margin: 80px auto;
  background: #FFF;
  box-shadow: 0 0 8px 0 rgba(41, 41, 41, 0.30);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 50px;
}

.childcare-text {
  width: 50%;
}

.childcare-img {
  /* 左に向かって消えるマスク */
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 99%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: relative;
  z-index: 2;
  width: 40%;
  height: 100%;
}

.childcare-img img,
.paid-leave-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* 下のボックス */
.employee-benefits02 {
  width: 100%;
  max-width: 1200px;
  height: 400px;
  margin: 0 auto;
  background: #FFF;
  box-shadow: 0 0 8px 0 rgba(41, 41, 41, 0.30);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 50px;
}


.paid-leave-img {
  /* 右に向かって消えるマスク */
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 99%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: relative;
  z-index: 2;
  width: 40%;
  height: 100%;
}

.paid-leave-text {
  width: 50%;
}

.mt30 {
  margin-top: 30px;
}

/* --------------タブレット--------------
---------------- 採用情報 ------------- */
@media screen and (max-width: 768px) {

  /* ご挨拶 */
  .recruit-section {
    max-width: 100%;
    padding: 50px 0 80px 0;
  }

  .recruit-section-message {
    margin: 50px auto;
  }

  .rec-message-top {
    font-size: 24px;
  }

  .rec-message-bottom {
    font-size: 24px;
    margin-top: 15px;
  }

  .recruit-section-brown {
    font-size: 30px;
  }

  .recruit-section-blue {
    font-size: 36px;
  }

  /* 春日井市の中矢歯科はどんな職場？ */
  .workplace-section {
    padding-bottom: 40px;
  }

  .balloon1 {
    padding: 50px 10px;
  }

  .wp-sec-h2 {
    font-size: 24px;
    line-height: 180%;
  }

  .wp-bold {
    font-size: 28px;
  }

  .ws-blue {
    font-size: 36px;
  }

  /* 見出し */
  .workplace-wrapper h3 {
    font-size: 24px;
    border-bottom: 2px solid rgba(106, 141, 199, 0.50);
    padding-bottom: 15px;
  }

  .eb-span {
    color: #CF7FA7;
    font-size: 32px;
    text-shadow: 2px 2px 2px #FFC7E3;
  }

  /* 上の段と下の段 */
  .employee-benefits01 {
    max-width: 90%;
    height: 812px;
    margin: 80px auto;
    gap: 30px;
    flex-direction: column;
  }

  .childcare-text,
  .paid-leave-text {
    width: 100%;
    padding: 50px 35px 0;
  }

  .childcare-img,
  .paid-leave-img {
    width: 100%;
    height: 100%;
  }

  /* 下のボックス */
  .employee-benefits02 {
    max-width: 90%;
    height: 812px;
    margin: 80px auto;
    align-items: center;
    gap: 30px;
    flex-direction: column-reverse;
  }
}

/* --------------スマホ--------------
---------------- 採用情報 ------------- */
@media screen and (max-width: 480px) {
  .recruit-section {
    max-width: 100%;
    padding: 35px 0 50px 0;
  }

  .rec-message-top {
    font-size: 20px;
  }

  .rec-message-bottom {
    font-size: 20px;
    margin-top: 8px;
    line-height: 185%;
  }

  .recruit-section-brown {
    font-size: 24px;
  }

  .recruit-section-blue {
    font-size: 32px;
  }

  .recruit-section-img img {
    width: 100%;
  }

  /* 春日井市の中矢歯科はどんな職場？ */
  .wp-sec-h2 {
    font-size: 20px;
    line-height: 180%;
  }

  .wp-bold {
    font-size: 25px;
  }

  .ws-blue {
    font-size: 32px;
  }

  .workplace-wrapper h3 {
    font-size: 20px;
  }

  .eb-span {
    font-size: 28px;
  }

  /* 上の段と下の段 */
  .employee-benefits01 {
    height: 580px;
    margin: 65px auto;
    gap: 22px;
  }

  .childcare-text,
  .paid-leave-text {
    padding: 25px 15px 0;
  }

  /* 下のボックス */
  .employee-benefits02 {
    height: 580px;
    margin: 65px auto;
    gap: 22px;
  }

  .mt30 {
    margin-top: 25px;
  }

  .childcare-img,
  .paid-leave-img {
    mask-image: none;
  }

}







/* --------------ここから--------------
---------------- 募集要項 ------------- */
.entry-section {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.entry-section-bg {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 200px 0;
  background: url("https://nakaya-shika.jp/wp-content/uploads/2025/11/entry-bg.png") center / cover no-repeat;
}

.entry-wrapper,
.entry-wrapper02 {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.entry-wrapper02 {
  margin-top: 80px;
}

/* 募集要項の表 */
.entry-table {
  width: 100%;
  max-width: 1000px;
  margin: 80px auto;
  border-collapse: collapse;
}

.entry-table th,
.entry-table td {
  padding: 12px;
  border: 1px solid #6A8DC7;
  text-align: left;
}

.entry-table th {
  background: #6A8DC7;
  color: #fff;
  font-weight: 500;
  border-bottom: 1px solid #fff;
}

.entry-table th:last-child {
  border-bottom: 1px solid #6A8DC7;
}

.entry-table td {
  background: #fff;
  font-weight: 400;
	line-height:1.6;
}


/* リスト（ul）のデザイン */
.holiday-list {
  list-style: disc;
  padding-left: 1.2em;
  margin: 0;
}

/* リストの丸（li）の色を青にする */
.holiday-list li {
  position: relative;
  margin-bottom: 4px;
}

.holiday-list li::marker {
  color: #6A8DC7;
}

.holiday-list-tel {
  color: #6A8DC7;
  font-size: 25px;
  font-weight: 900;
}

.holiday-list-tel i {
  margin-right: 10px;
}

.holiday-list-none{
	line-height:1.6;
}



/* モバイル対応 */
@media (max-width: 768px) {

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

  .entry-table {
    max-width: 90%;
    margin: 60px auto;
  }

  .entry-table tr {
    margin-bottom: 15px;
    border: none;
    background: #fff;
    padding: 0;
  }

  .entry-table th {
    background: #6A8DC7;
    color: #fff;
    /* font-weight: bold; */
    border-bottom: none;
    padding: 10px;
  }

  .entry-table td {
    padding: 10px;
    border-top: none;
    background: #fff;
  }

  .entry-section-bg {
    padding: 50px 0 25px 0;
    background: url("https://nakaya-shika.jp//wp-content/uploads/2025/11/entry-bg-sp-1.png") center / cover no-repeat;
  }
}

/* テーブルデザイン */
.price-table {
  width: 100%;
  max-width: 1000px; /* 最大幅を設定し、表をコンパクトに */
  margin-top: 25px;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #9E8868; /* 枠線の色 */
  margin-left: auto;
  margin-right: auto;
}

.price-table th,
.price-table td {
  padding: 18px 18px !important; /* パディング調整で見やすく */
  font-size: 16px; /* フォントサイズ調整 */
  line-height: 1.4;
  border-right: 1px solid #9E8868;
  border-bottom: 1px solid #9E8868;
  vertical-align: middle;
}

/* 最終行の下線を消す */
.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: none;
}

/* 最終列の右線を消す */
.price-table th:last-child,
.price-table td:last-child {
  border-right: none;
}

/* 左列（項目）：ブラウン塗り＋白文字 */
.price-table th {
  width: 50%;
  background: #A38E70;
  color: #fff;
  font-weight: 500;
  text-align: center;
}

/* 右列（価格）：白背景 */
.price-table td {
  width: 50%;
  background: #fff;
  color: #292929;
  text-align: center;
  white-space: nowrap;
}

/* スマホ版調整 */
@media screen and (max-width: 480px) {
  .price-table {
    min-width: 100%;
    max-width: 100%;
  }
  .price-table th,
  .price-table td {
    padding: 10px 12px; /* スマホ用にパディングを調整 */
    font-size: 14px; /* スマホ版でのフォントサイズを小さく */
  }
  
  /* スマホ版のテーブルの並びを縦に変更 */
  .price-table th, .price-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .price-table th {
    background-color: #A38E70;
    color: #fff;
    font-weight: bold;
    padding: 10px 0; /* テーブルヘッダーのパディング調整 */
    text-align: center;
  }

  .price-table td {
    padding: 8px 0; /* 各セルのパディング調整 */
    text-align: left;
    border-top: 1px solid #9E8868;
  }
  
  .price-table td:first-child {
    font-weight: bold; /* 商品名を太字にして目立たせる */
  }
}

/* --- 共通H4のスタイル --- */
.page-h4 {
  color: #6A8DC7;
  text-shadow: 0 1px 3px #6A8DC7;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 4px;
  margin-bottom: 30px;
  text-align: center;
}

/* 画像とテキストを並べるレイアウト */
.page-text-flex-h4 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  max-width: 1500px;
  width: 100%;
  flex-wrap: wrap;
  padding: 30px;
}

.page-text-flex-h4 img {
  width: 45%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.page-text-flex-h4 p {
  width: 50%;
  font-size: 18px;
  line-height: 1.6;
  color: #292929;
  text-align: left;
}

/* スマホ版調整 */
@media screen and (max-width: 768px) {
  .page-text-flex-h4 {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .page-text-flex-h4 img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .page-text-flex-h4 p {
    width: 100%;
    font-size: 16px;
  }
}

/* --- 電話予約ボタン専用スタイル（他への影響なし） --- */
.tel-btn-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.custom-tel-btn {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  background: #1a6fa5 !important;
  padding: 12px 25px !important;
  border-radius: 15px !important;
  border-bottom: 6px solid #104a6f !important;
  color: #fff !important;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  animation: poyon-animation 3s infinite ease-in-out;
}

.custom-tel-btn .btn-tag {
  background: #fff !important;
  color: #1a6fa5 !important;
  font-size: 16px;
  font-weight: bold;
  padding: 6px 15px;
  border-radius: 10px;
  white-space: nowrap;
}

.custom-tel-btn .btn-main-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-grow: 1;
  justify-content: center;
}

.custom-tel-btn .tel-number {
  font-size: 34px;
  font-weight: bold;
  letter-spacing: 1px;
  font-family: Arial, sans-serif !important;
}

.custom-tel-btn .btn-arrow::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

.custom-tel-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-30deg);
  animation: shine-animation 4s infinite;
}

@keyframes poyon-animation {
  0%, 15%, 100% { transform: scale(1); }
  5% { transform: scale(1.05, 0.95); }
  10% { transform: scale(0.95, 1.05); }
}

@keyframes shine-animation {
  0% { left: -100%; }
  20%, 100% { left: 150%; }
}

@media screen and (max-width: 480px) {
  .custom-tel-btn { padding: 10px 15px !important; }
  .custom-tel-btn .btn-tag { font-size: 11px; padding: 4px 8px; }
  .custom-tel-btn .tel-number { font-size: 24px; }
}

/* スマホ用：!importantを使わずに改行を防止 */
@media screen and (max-width: 480px) {
  /* 親要素から指定して詳細度を上げる */
  .tel-btn-wrapper .custom-tel-btn {
    padding: 10px 8px; /* 左右の余白をさらに詰め、内側の幅を確保 */
  }

  /* ラベルをさらにコンパクトに */
  .tel-btn-wrapper .custom-tel-btn .btn-tag {
    font-size: 10px;
    padding: 3px 5px;
    margin-right: 4px;
    letter-spacing: 0; /* ラベル内の文字間も詰める */
  }

  /* 電話番号部分の絶対改行禁止 */
  .tel-btn-wrapper .custom-tel-btn .tel-number {
    font-size: 23px; /* 1px単位で調整。これでも入らなければ22pxに */
    letter-spacing: -0.5px; /* 文字同士をわずかに近づける */
    white-space: nowrap; /* 1行を維持 */
    display: inline-block;
  }

  /* アイコンサイズを微調整して幅を節約 */
  .tel-btn-wrapper .custom-tel-btn .tel-icon svg {
    width: 16px;
    height: 16px;
  }

  /* 矢印（btn-arrow）が幅を取っている場合、スマホでは非表示にするのも手です */
  /* .tel-btn-wrapper .custom-tel-btn .btn-arrow { display: none; } */
}

/* モバイル版（既存のメディアクエリ内を修正・追記） */
@media screen and (max-width: 480px) {

  /* 写真付きｈ３の並び替え */
  .page-text-flex-h3 {
      margin: 0 auto;
      padding: 20px 10px;
      display: flex; /* 追加 */
      flex-direction: column;
  }

  .page-text-flex-h3 img {
      width: 100%;
      order: 1; /* 見出しの次（1番目）に配置 */
  }

  .page-text-flex-h3 p {
      width: 100%;
      order: 2; /* 写真の次（2番目）に配置 */
  }

  /* 写真付きｈ２（最初と最後のセクション）の並び替え */
  .page-text-flex {
      margin: 0px auto;
      padding: 25px 15px;
      display: flex; /* 追加 */
      flex-direction: column;
  }

  .page-text-flex img {
      width: 100%;
      order: 1;
  }

  .page-text-flex p {
      width: 100%;
      order: 2;
  }
}

/* --- 症例ページ：クリーン版（詳細度で制御） --- */
.case-template-root {
    --gold: #b69e6b;
    --gold-dark: #8e7a4d;
    --text: #333333;
    --bg-beige: #f9f7f2;
    --border: #e0d8c8;
    --white: #ffffff;
    display: block;
}

.case-template-root .case-inner-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.case-template-root .case-page-main-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--gold-dark);
}

/* ナビゲーション */
.case-template-root .case-category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.case-template-root .case-nav-link {
    text-decoration: none;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 0.95rem;
    background: transparent;
    transition: background 0.3s, color 0.3s;
}

.case-template-root .case-nav-link:hover {
    background: var(--gold);
    color: var(--white);
}

/* カテゴリラベル */
.case-template-root .case-cat-label {
    background: var(--bg-beige);
    border-left: 6px solid var(--gold);
    padding: 15px 25px;
    margin: 50px 0 30px 0;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text);
}

/* 症例グリッド */
.case-template-root .case-item-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

/* 症例カード本体 */
.case-template-root .case-item-card {
    border: 1px solid var(--border);
    background: var(--white);
    display: flex;
    flex-direction: column;
}

/* 画像エリア */
.case-template-root .case-visual-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border);
}

.case-template-root .case-img-box {
    position: relative;
    overflow: hidden;
}

.case-template-root .case-img-box img {
    width: 100%;
    height: auto;
    display: block;
}

.case-template-root .case-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    font-size: 11px;
    padding: 3px 8px;
    z-index: 2;
    letter-spacing: 0.05em;
}

/* テキストエリア */
.case-template-root .case-text-content {
    padding: 25px;
    flex-grow: 1;
}

.case-template-root .case-item-title {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--gold-dark);
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
}

.case-template-root .case-detail-list dt {
    font-weight: bold;
    color: var(--gold);
    font-size: 0.9rem;
    margin-top: 12px;
}

.case-template-root .case-detail-list dd {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
}

/* リンクボタン */
.case-template-root .case-link-area {
    text-align: center;
    margin: 35px 0 70px;
}

.case-template-root .case-more-button {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    padding: 14px 50px;
    border-radius: 60px;
    font-weight: bold;
    transition: opacity 0.3s, transform 0.2s;
}

.case-template-root .case-more-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .case-template-root .case-item-grid {
        grid-template-columns: 1fr;
    }
    
    .case-template-root .case-page-main-title {
        font-size: 1.6rem;
    }

    .case-template-root .case-cat-label {
        font-size: 1.2rem;
        padding: 12px 20px;
    }
}

/* 1. 画像の比率を4:3で固定する（詳細ページで画像サイズがバラバラでも揃うように） */
.case-template-root .case-img-box img {
    width: 100%;
    aspect-ratio: 4 / 3; /* ここが重要 */
    object-fit: cover;   /* 比率が違っても切り取ってフィットさせる */
}

/* 2. 「もっと見る」ボタンのエリアとデザイン（一覧ページにはなかった要素） */
.case-load-more-area {
    text-align: center;
    margin: 50px 0 20px;
}

.case-btn-load-more {
    display: none; /* JavaScriptが動くまでは隠しておく */
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 12px 60px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.case-btn-load-more:hover {
    background: var(--gold);
    color: #fff;
}

/* -------------------------　症例別デザイン追加　------------------------------ */
.new-case-block .case-inner-container{
    max-width: 100% !important;
    margin: 0 auto;
    padding: 40px 20px;
}

.cases__inner {
    width: 95%;
    margin: 0 auto;
}

.cases__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: start;
}

/* =========================
   case card
========================= */
.case-card {
  border: 1px solid #ddd6cb;
  background: #fff;
  overflow: hidden;
  align-self: start;
  height: fit-content;
}

.case-card[open] {
  border-color: #cfc5b7;
  box-shadow: 0 12px 30px rgba(30, 42, 55, 0.06);
}

.case-card__summary {
  list-style: none;
  cursor: pointer;
  padding: 34px;
  position: relative;
}

.case-card__summary::-webkit-details-marker {
  display: none;
}

.case-card__summary::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #c2ab7d 0%, #8f7650 100%);
}

.case-card__top {
  margin-bottom: 24px;
  padding-left: 10px;
}

.case-card__thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* .case-card__thumb {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f1ea;
    border: 1px solid #ece7df;
} */

.case-card__thumb {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f1ea;
    border: 1px solid #ece7df;
}

.case-card__thumb:not(:has(img))::before {
    content: "準備中";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: #8e7a4d;
    background: #f5f1ea;
    letter-spacing: 0.08em;
}

.case-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* toggle */
.case-card__toggle {
    display: block;
    position: relative;
    min-width: 250px;
    width: 60%;
    box-sizing: border-box;
    padding: 17px 25px;
    margin: 20px auto;
    line-height: 1;
    border-radius: 40px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
    background-color: #010066;
    color: white;
    border: 1px solid var(--color-emphasis2);
    transition: background-color 1s ease, color 1s ease;
    font-family: serif, "Noto sans JP";
}

.case-card__toggle::before {
  content: "詳しく見る";
}


.case-card[open] .case-card__toggle::before {
  content: "閉じる";
}

.case-card[open] .case-card__toggle::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.case-card__summary:hover .case-card__toggle {
  background: #6A8DC7;
  color: #fff;
}

.case-card__summary:hover .case-card__toggle::after {
  border-color: #fff;
}

.case-card__body {
  padding: 0 34px 34px;
}

/* =========================
   flow
========================= */
.case-flow {
  display: grid;
  gap: 24px;
  padding-top: 8px;
}

.case-step {
    padding: 28px;
    border: 2px solid #dfefff;
    background: #f4faff;
}

.case-step__head {
  margin-bottom: 18px;
}

.case-step__label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 700;
    background: #6a8dc7;
    padding: 7px 8px;
    border-radius: 50px;
}

.case-step__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.55;
    color: #5478b5;
    font-weight: 500;
    letter-spacing: 2px;
}

.case-step__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 2;
  color: #5e6470;
}

.case-step__photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 18px;
    margin-bottom: 10px;
}

.case-step__photo {
  margin: 0;
}

.case-step__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #f1f1f1;
  border: 1px solid #ece7df;
}

.case-step__photo figcaption {
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.04em;
    text-align: center;
    color: #ffffff;
    background: #8e7a4d;
    padding: 2px 0;
}

/* =========================
   info
========================= */
.case-info {
  margin: 32px 0 0;
  border-top: 1px solid #d9d1c6;
}

.case-info__row {
  display: grid;
  grid-template-columns: 190px 1fr;
  border-bottom: 1px solid #ece7df;
}

.case-info__row dt,
.case-info__row dd {
  margin: 0;
  padding: 17px 18px;
  line-height: 1.95;
}

.case-info__row dt {
  background: #f5f1ea;
  color: #374151;
  font-weight: 700;
}

.case-info__row dd {
  background: #fff;
  color: #5e6470;
}

/* =========================
   responsive
========================= */
@media (max-width: 767px) {
.cases__list {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}
	
  .cases {
    padding: 64px 0;
  }

.case-card__summary {
    padding: 20px 10px;
}
	
.case-card__body {
    padding: 0 10px 22px;
}

  .case-card__title {
    font-size: 22px;
    line-height: 1.55;
  }

  .case-card__lead {
    font-size: 14px;
    line-height: 1.9;
  }

.case-card__thumbs, .case-step__photos {
    gap: 1px;
    grid-template-columns: 1fr 1fr;
}

.case-card__toggle {
    width: 70%;
    min-width: 0;
    padding: 12px 0;
    font-size: 14px;
}

.case-step {
    padding: 14px 10px;
}

.case-step__title {
    font-size: 17px;
}

  .case-step__text {
    font-size: 14px;
    line-height: 1.9;
  }

.case-info__row {
    grid-template-columns: 1fr;
    font-size: 16px;
}

.case-info__row dt, .case-info__row dd {
    padding: 5px 14px;
}
	
.case-step__head {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 7px;
}

.case-step__label {
    margin-bottom: 0;
    font-size: 11px;
}

.case-step__photo figcaption {
    font-size: 12px;
}

}
