@charset "utf-8";
/*
Theme Name: resunce
Theme URI: resunce


-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: Noto Serif JP;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}
html {
  scroll-behavior: smooth;
}
ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

body{font: 12px/1.5 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;color: #565656;-webkit-text-size-adjust: none;}

/* 虫歯治療パート スタイル */
.dental-section {
  position: relative;
  padding: 2em 0;
  line-height: 1.8;
  margin: 20px 0 80px 0;
}
/* ===== スライダーオーバーレイ ===== */
.slider-wrapper {
  position: relative;
}
.slider-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48%;
  padding: 0 3% 5%;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 10;
}
.slider-catchcopy {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.slider-main {
  font-size: 46px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.3;
  white-space: nowrap;
  text-align: left;
}
.slider-sub {
  font-size: 28px;
  font-weight: normal;
  white-space: nowrap;
  text-align: left;
}

.sp-call-banner {
  display: none;
}
@media screen and (max-width: 768px) {
  .sp-call-banner {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #608cdd;
    padding: 10px 16px;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    box-sizing: border-box;
  }
  .sp-call-info {
    display: flex;
    flex-direction: column;
  }
  .sp-call-label {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
  }
  .sp-call-number {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
  .sp-call-number::before {
    content: "☎";
    font-size: 16px;
    color: #fff;
  }
  .sp-call-btn {
    background: #fff;
    color: #608cdd;
    font-size: 13px;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
  }
  #pageTopBtn.show {
    margin: 0px -19px 40px 0px;
}
}

.dental-section::after {
  display: none;
}

.dental-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px 30px;
}

.dental-box {
  display: flex;
  flex-direction: column;
}

/* 大見出し */
.dental-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  text-align: center !important;
  padding: 12px !important;
  margin: 0 0 14px 0 !important;
  border-radius: 6px !important;
  color: #fff !important;
  border: none !important;
}

.dental-box-green .dental-title {
  background: #608cdd !important;
}

.dental-box-rose .dental-title {
  background: #C07A7A !important;
}

/* 各カードブロック */
.dental-block {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 14px;
  overflow: hidden;
}

.dental-block h4 {
  font-size: 15px !important;
  font-weight: 600 !important;
  text-align: center !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  color: #fff !important;
}

.dental-box-green .dental-block h4 {
  background: #608cdd !important;
}

.dental-box-rose .dental-block h4 {
  background: #C07A7A !important;
}

.dental-block ul {
  list-style: none !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  background: #fff;
}

.dental-block ul li,
.post .dental-block ul li {
  position: relative !important;
  padding-left: 1.4em !important;
  margin-bottom: 0.4em !important;
  color: #444 !important;
  font-size: 14px !important;
  list-style: none !important;
}

.dental-block ul li::before {
  content: "●" !important;
  position: absolute !important;
  left: 0 !important;
  font-size: 10px !important;
  top: 5px !important;
}

.dental-box-green .dental-block ul li::before {
  color: #608cdd !important;
}

.dental-box-rose .dental-block ul li::before {
  color: #C07A7A !important;
}

@media screen and (max-width: 768px) {
  .dental-section {
    margin: 20px 0 60px 0;
    padding: 1em 0;
  }
  .dental-grid {
    grid-template-columns: 1fr;
    gap: 30px 0px;
  }
}


/* ===== インプラント料金表 ===== */
.implant-price {
  --ip-max: 960px;
  --ip-mintxt: 14px;
  --ip-accent: #48b7a7;   /* 見出しカラー */
  --ip-note-bg: #e5f6ef;  /* 注記の薄緑バー */
  --ip-border: #e9e9e9;   /* 罫線色 */
  --ip-text: #333;
  --ip-sub: #666;

  max-width: var(--ip-max);
  margin: 0 auto 56px;
  padding: 0 20px;
  color: var(--ip-text);
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
}

/* 見出し */
.post .implant-price-title {
  text-align: center;
  font-weight: 600;
  color: #608cdd;
  font-size: 41px;
  letter-spacing: .08em;
  margin: 0 0 16px;
}

/* 注記バー */
.post .implant-price-note {
  background: #608cdd;
  text-align: center;
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 2px;
  font-size: 14px;
  margin: 0 0 30px;
}


/* 各行 */
.implant-price-row {
  display: grid;
  grid-template-columns: 1fr auto;  /* 左：項目 右：金額 */
  padding: 0 0 0px 0px;
  border-bottom: 1px solid #eee;
  align-items: center;
  margin: 00 0 30px 0;
}

/* 項目名（左） */
.implant-price-item {
  font-size: 16px;
  color: var(--ip-sub);
  line-height: 1.8;
}

/* 金額（右） */
.implant-price-amount {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ip-text);
  padding-left: 12px;
  font-weight: 600;
}

/* レスポンシブ: 幅が狭い時は上下積み＋金額右寄せキープ */
@media (max-width: 560px) {
  .implant-price-row {
         /* 1カラム */
         padding: 14px 2px;
         display: flex;
         flex-direction: column;
         padding: 0 0 10px 0px;
  }
  .implant-price-amount {
    text-align: right;
  }
}


/* インプラント治療の流れ - 外枠 */
.implant-flow {
  max-width: 960px;
  margin: 0 auto 60px;
  padding: 0 20px;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.implant-flow-title {
  text-align: center;
  font-size: 1.8rem;
  color: #48b7a7;
  margin-bottom: 40px;
}

/* 各ステップのボックス */
.implant-flow-step {
  position: relative;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px 40px 30px 0px;
  margin-bottom: 45px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* STEP番号表示 */
.implant-flow-step-num {
  width: 80px;
  min-width: 60px;
  font-weight: normal;
  font-size: 30px;
  color: #565656;
  text-align: center;
  line-height: 1.4;
  border-right: 1px solid #eee;
  padding: 20px 30px;
  font-family: 'Aboreto';
}

/* コンテンツ部分 */
.implant-flow-step-content {
  display: flex;
  flex: 1;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
}

.post .implant-flow-step-content img {
  width: auto;
  height: auto;
  flex-shrink: 0;
  padding: 0 35px;
}

.post .implant-flow-step-content h3 {
  margin: 0 0 10px 0px;
  font-size: 20px;
  font-weight: bold;
  color: #565656;
}

.post .implant-flow-step-content p {
  margin: 0;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  padding: 0 0px 0 0px;
}

/* 下に向かう三角形（▼） */
.implant-flow-step::after {
  content: "";
  position: absolute;
  bottom: -25px;


  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-top: 25px solid #ddd;
}

/* 最後のステップは▼非表示 */
.implant-flow-step:last-of-type::after {
  display: none;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  .implant-flow-step {
    padding: 16px;
  }

  .implant-flow-step-num {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 0 0 10px 0px;
    margin: 0px 0 20px 0;
  }

  .implant-flow-step-content {
    flex-direction: column;
  }

  .post .implant-flow-step-content img {
  padding: 0 0 15px 0px;
  }
}


/* インプラント治療の流れ用CSS */


.post .implant-flow-title {
  text-align: center;
  font-size: 41px;
  color: #608cdd;
  margin-bottom: 40px;
  font-weight: 600;
}













/* ================================

   MEDICALセクション専用CSS
   ================================ */

.medical-section {
  font-family: 'Yu Gothic', sans-serif;
  background: #fff;
  color: #333;
  width: 97%;
  margin: 0 auto;
}

.medical-section .medical-title p {
  font-size: 28px;
  margin: -40px 0 40px 0px;
}

.medical-section .medical-implant {
  display: flex;
  gap: 54px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.medical-section .medical-implant-image img {
  width: 100%;
  max-width: 670px;
  border-radius: 8px;
}

.medical-section .medical-implant-text {
  flex: 1;
  min-width: 300px;
  margin: -20px 0px 0px 0px;
}

.medical-section .medical-implant-text h3,.medical-section .medical-service-box h4 {
  font-size: 36px;
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 600;
  color: #565656;
}

.medical-section .medical-implant-text h3 span,.medical-section .medical-service-box h4 span {
  color: #608CDD;
  font-size: 18px;
  letter-spacing: 1px;
  font-family: 'Aboreto';
  font-weight: normal;
  bottom: -9px;
  position: relative;
}

.medical-section .medical-implant-text .lead {
  font-size: 25px;
  margin-bottom: 10px;
}

.medical-section .medical-implant-text p {
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 16px;
}

/* ===== 画像アニメーション（表示時） ===== */
@keyframes fadeSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.medical-section .medical-implant-image img {
  animation: fadeSlideInLeft 0.8s ease-out both;
  transition: transform 0.4s ease;
}

/* ===== 画像ホバー時ズーム ===== */
.medical-section .medical-implant-image:hover img {
  transform: scale(1.05);
}

/* ===== ボタンスタイル ===== */
.medical-section .medical-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: #608CDD;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s ease, transform 0.3s ease;
  position: relative;
}

/* ホバーで色変更＆軽く動かす */
.medical-section .medical-button:hover {
  background: #8eade7;
  transform: translateX(3px);
}

/* ボタン内に矢印を追加 */
.medical-section .medical-button::after {
  content: "→";
  margin-left: 8px;
  font-weight: bold;
  font-size: 14px;
  transition: transform 0.3s ease;
}

/* ホバー時に矢印を右に動かす */
.medical-section .medical-button:hover::after {
  transform: translateX(3px);
}

.medical-section .medical-button .arrow {
  margin-left: 10px;
}

/* ===== 診療項目カード ===== */

.medical-section .medical-services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.medical-section .medical-service-box {
  position: relative;
  flex: 1 1 calc(33.333% - 20px);
  background: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-sizing: border-box;
}

.medical-section .medical-service-box a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.medical-section .medical-service-box img {
  margin-bottom: -9px;
  width: 100%;
  height: 200px; /* 必要に応じて調整（例: 180px〜240px） */
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 4px;
}



.medical-section .medical-service-box h4 {
  text-align: left;
}

@media screen and (max-width: 425px) {
section.basic-policy-section .line { margin: 24px 0px 0px; }

}

.basic-policy-section { width: 97%; margin: 60px auto 80px; font-family: "Yu Gothic", "Noto Serif JP", sans-serif; }

.basic-policy-section .message-text p { font-size: 28px; margin: -40px 0px 50px; color: rgb(51, 51, 51); }

.basic-policy-list { border-top: 1px solid rgb(224, 224, 224); }

.basic-policy-item { display: flex; gap: 60px; padding: 30px 10px; border-bottom: 1px solid rgb(224, 224, 224); align-items: flex-start; }

.basic-policy-item h4 {min-width: 230px;font-size: 18px;font-weight: normal;color: #608CDD;line-height: 1.6;padding-top: 2px;}

.basic-policy-item p { font-size: 16px; color: rgb(86, 86, 86); line-height: 1.9; flex: 1 1 0%; }

@media screen and (max-width: 768px) {
.basic-policy-item { flex-direction: column; gap: 10px; padding: 20px 5px; }

.basic-policy-item h4 { min-width: unset; font-size: 14px; }

.basic-policy-item p { font-size: 13px; }

.basic-policy-section .message-text p { font-size: 20px; }

}

.message-text { flex: 1 1 500px; max-width: 600px; }

section.basic-policy-section .message-text { max-width: 800px; }

.message-text h2 { font-size: 38px; line-height: 1.3; margin-bottom: 20px; font-family: "Noto Serif JP"; color: rgb(86, 86, 86); font-weight: 600; letter-spacing: 2.5px; }

.message-text .en {color: #608CDD;font-size: 86px;font-weight: normal;display: inline-block;margin-top: 25px;font-family: Aboreto;letter-spacing: 4px;}

.line { float: right; width: 110px; height: 1px; background-color: rgb(73, 192, 163); margin: 60px 20px 0px 0px; }

.message-text p { font-size: 16px; line-height: 1.8; color: rgb(51, 51, 51); margin-bottom: 20px; text-align: justify; font-family: "Noto Serif JP"; max-width: 564px; }

@media screen and (max-width: 768px) {
section.basic-policy-section .message-text { max-width: 440px; }

}

@media only screen and (max-width: 1024px) {
.message-text { flex: 1 1 500px; max-width: 100%; }

.message-text p { max-width: 100%; }

}

@media only screen and (max-width: 425px) {
section.basic-policy-section .message-text { max-width: 240px; }

.message-text h2 { font-size: 29px; }

section.basic-policy-section h2 { line-height: 0.9; padding: 0px 0px 22px; margin: -30px 0px 20px; }

.line { width: 37px; height: 1px; background-color: rgb(73, 192, 163); margin: 39px 7px 0px 0px; }

.message-text .en { font-size: 50px; margin: 0px; }

}



.medical-section .medical-service-box p {
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  float: inline-end;
  margin: -50px 0px 0px 0px;
}

/* 診療項目カードホバーアニメーション */
.medical-section .medical-service-box {
  position: relative;
  flex: 1 1 calc(33.333% - 20px);
  background: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.medical-section .medical-service-box:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* gap: 20px; */
  /* width: 70%; */
  margin: 110px auto 180px;
  max-width: 1440px;
}
div#content3 {
    width: 80%;
    margin: -70px auto 0;
}

.engnaka {
    display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: white !important;
}


.thankyou-message {
  display: inline-block; /* テキスト幅に合わせる */
  background-color: #e06666;
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.8;
  text-align: left; /* テキストは左寄せ */
}

/* ===== レスポンシブ対応 ===== */

@media screen and (max-width: 1024px) {
  .medical-section .medical-implant-text {
    flex: 1;
    min-width: 300px;
    margin: -20px 0px 50px 0px;
    max-width: 670px;
}
  .medical-section {
    width: 95%;
    margin: -20px auto 0;
}
  .medical-section .medical-implant {
    gap: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
  .medical-section .medical-implant-image img {
}
  .medical-section .medical-service-box {
    flex: 1 1 calc(30% - 20px);
  }
}

@media screen and (max-width: 768px) {
      .whitening-image-only img {
        margin: -35px 0 40px 0;
    }
  .feature-intro br {
    display: none;
}
  .medical-section {
        width: 95%;
        margin: 20px auto 0;
    }
  .medical-section .medical-implant {
    flex-direction: column;
  }

  .medical-section .medical-services {
    flex-direction: column;
  }

  .medical-section .medical-service-box {
    flex: 1 1 100%;
  }

  .medical-section .medical-title h2 {
    font-size: 28px;
  }

  .medical-section .medical-title p {
  }
}

@media screen and (max-width: 480px) {
  .medical-section .medical-implant-text h3 {
    /* font-size: 20px; */
  }

  .medical-section .medical-implant-text p,
  .medical-section .medical-service-box p {
    /* font-size: 13px; */
  }

  .medical-section .medical-button {
    font-size: 14px;
    padding: 8px 16px;
  }

  .medical-section .medical-service-box h4 {
    /* font-size: 16px; */
  }
}



div#custom-success-message p {
    font-size: 12px;
    text-align: left;
}

div#custom-success-message {
  text-align: center; /* 子要素のインライン要素・インラインブロックを中央に */
  margin-top: 2rem;
}

.thankyou-message p {
  /* margin-bottom: 1.5rem; */
}

.thankyou-message .back-link {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}


div#wpcf7-f150-p33-o1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 120px 0;
}

.clinic-feature {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

.feature-intro {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: solid 1px #eee;
  padding: 0 0 45px 0px;
}



.post h2.feature-title {
  font-size: 41px;
  color: #608cdd;
  margin-bottom: 30px;
  font-weight: 600;
  float: left;
}

section.recruit-section {
    clear: both;
}
.recruit-section {
  font-family: "Noto Sans JP", sans-serif;
  /* max-width: 900px; */
  margin: 0 auto 60px;
  padding: 80px 20px 60px 20px;
  color: #333;
}

section.recruit-section .section-title {
  font-size: 32px;
  color: #608cdd;
  margin-bottom: 30px;
  font-weight: 500;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  border-left: none;
  padding: 0 0 15px 0;
}

.recruit-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recruit-list div {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 10px;
}

.recruit-list dt {
  width: 200px;
  font-weight: 500;
  font-size: 16px;
}

.recruit-list dd {
  flex: 1;
  margin: 0;
  /* color: #444; */
  /* line-height: 1.6; */
  font-size: 16px;
}


.feature-block {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-direction: column;
  margin: 25px 0 0 0;
  width: 70%;
  float: right;
  border-left: solid 1px #eee;
  padding: 0 0 0 50px;
}

article#post-29 .feature-block {
    gap: 0;
    margin: 0;
}


.feature-image {
  flex: 1 1 45%;
}

.feature-image img {
  max-width: 640px;
  height: auto;
  display: block;
  width: 100%;
}

.feature-text {
  flex: 1 1 50%;
}





.breadcrumb {
  font-size: 12px;
  margin: 10px 0px 40px;
}
.breadcrumb a {
  color: #007acc;

  text-decoration: none;
}
.breadcrumb span {
  color: #555;
}


.service-item {
  position: relative;
  overflow: hidden;
}

.service-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 100%;
  aspect-ratio: 16/9;
}

.text-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(255 255 255 / 50%);
  padding: 22px 40px 42px;
}

.text-box h3 {
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 10px;
  font-family: 'Noto Serif JP', serif;
  float: left;
}

.text-box h3 span {
  font-size: 16px;
  margin-left: 10px;
  font-weight: normal;
  color: #565656;
  font-family: 'Aboreto';
}

.text-box p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 -7px;
  font-family: Noto Serif JP;
  color: #565656;
  font-weight: 600;
  text-align: justify;
  clear: both;
}

.arrow {
  width: 50px;
  height: 50px;
  background-color: #608CDD;
  border-radius: 50%;
  position: relative;
  display: flex;
  float: right;
  top: -68px;
  align-items: center;
  justify-content: center;
}

/* 矢印のパーツ */
.arrow::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin: 0 0px 0px -5px;
}
.text-box a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.text-box a:hover {
  /* background-color: rgba(255, 255, 255, 0.8); */
  transform: translateY(-2px);
}

.text-box a:hover .arrow {
  background-color: #3cbf9c;
  /* transform: scale(1.1); */
}

.message-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin: 60px auto 50px;
  padding: 0px 0% 0 13%;
  max-width: 1920px;
}

.message-text {
  flex: 1 1 500px;
  max-width: 600px;
}

.message-text h2 {
  font-size: 38px;
  line-height: 1.3;
  margin-bottom: 20px;
  font-family: Noto Serif JP;
  color: #565656;
  font-weight: 600;
  letter-spacing: 2.5px;
}

.message-text .en {
  color: #608CDD;
  font-size: 86px;
  font-weight: normal;
  display: inline-block;
  margin-top: 25px;
  font-family: 'Aboreto';
  letter-spacing: 4px;
}

.news {
    margin: -130px auto -170px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px 20px;
  background-color: #EBF2FF;
  margin: -30px auto 0;
  clear: both;
}




.footer-item {
  display: block;
  max-width: 345px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* border-radius: 8px; */
  overflow: hidden;
}

.footer-item img {
  width: 100%;
  height: auto;
  display: block;
  /* border-radius: 8px; */
  transition: transform 0.3s ease;
}

.footer-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.footer-item:hover img {
  transform: scale(1.05);
}


.line {
  float: right;
  width: 110px;                /* 横幅は画像の見た目に合わせて調整 */
  height: 1px;                /* 線の太さ */
  background-color: #608cdd;  /* 線の色（エメラルドグリーン系） */
  margin: 60px 20px 0px 0px;          /* 中央揃えと上下余白 */
}


.message-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;
  font-family: Noto Serif JP;
  max-width: 564px;
}

.message-text .name {
  font-weight: normal;
  font-size: 16px;
}

.message-text .name strong {
    font-size: 24px;
    padding: 0 0 0 7px;
    font-weight: bold;
}

.message-images {
  flex: 1 1 300px;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.message-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* margin: 0px 0px 40px 20px; */
}

.message-images img.sub {
  width: 60%;
  align-self: flex-start;
  margin: -170px 0 0px -66px;
}

  a.phone {
    pointer-events: none;
    cursor: default;
    color: #608CDD;
    border: none !important;
  }

/* リンク設定
------------------------------------------------------------*/
a{margin:0;padding:0;text-decoration:none;outline:0;vertical-align:baseline;background:transparent;font-size:100%;color:#313131;}

p.shosai a {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    text-decoration: underline;
}

.feature-intro a {
    text-decoration: underline;
}
.thankyou-message a {
    text-decoration: underline;
}

iframe {
    width: 100%;
    height: 593px;
}

section.recruit-section a {
    border-bottom: 1px solid;
}

.feature-text a {
    border-bottom: solid 1px;
}

a:hover, a:active{outline: none;color: #608CDD;}


/**** Clearfix ****/
nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after,.post:after, ul.post li:after{content:""; display: table;clear: both;}
nav .panel,nav#mainNav,.newsTitle,.bg, .post, ul.post li{zoom: 1;}


/* フォーム
------------------------------------------------------------*/
input[type="text"], textarea{vertical-align:middle;/* max-width:90%; */line-height:30px;height:30px;padding:1px 5px;border:1px solid #d4d4d7;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;font-size:100%;color:#555;background:#fcfcfc;}

textarea{
height:auto;
line-height:1.5;
}

input[type="submit"],input[type="reset"],input[type="button"]{
padding:3px 10px;
background: #38ae52;
background: -moz-linear-gradient(top, #38ae52 0%, #039136 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#38ae52), color-stop(100%,#039136));
background: -webkit-linear-gradient(top, #38ae52 0%,#039136 100%);
background: -o-linear-gradient(top, #38ae52 0%,#039136 100%);
background: linear-gradient(to bottom, #38ae52 0%,#039136 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#38ae52', endColorstr='#039136',GradientType=0 );
border:0;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
line-height:1.5;
font-size:120%;
color:#fff;
}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
background: #38ae52;
background: -moz-linear-gradient(top, #039136 0%, #38ae52 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#039136), color-stop(100%,#38ae52));
background: -webkit-linear-gradient(top, #039136 0%,#38ae52 100%);
background: -o-linear-gradient(top, #039136 0%,#38ae52 100%);
background: linear-gradient(to bottom, #039136 0%,#38ae52 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#039136', endColorstr='#38ae52',GradientType=0 );
cursor:pointer;
}

*:first-child+html input[type="submit"]{padding:3px;}



/* レイアウト
------------------------------------------------------------*/
#wrapper, .inner{
    /* max-width: 97%; */
    margin: 0px auto 0;
}

#header{float: left;z-index: 1;}

#content{float: none;width: 100%;padding: 0px 0 100px;max-width: 1440px;display: block;margin: 190px auto 0;}

#sidebar{float:left;width:233px;padding:22px 0 50px;display: none;}

#footer{clear:both;font-family: Noto Serif JP;} 


/* ヘッダー
*****************************************************/
.migi {
    float: right;
    z-index: 1;
}
.kotei {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* 他の要素より前面に表示 */
    background: #fff; /* メニュー背景色を設定（透過だと重なりが見えにくい） */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 下に影をつけて区切る */
}
.yoyaku {
  display: inline-block;
}
.akusesu {
    display: inline-block;
    background-color: #4cc2a7;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease;
    margin: 42px 50px 0px 0px;
    display: none;
}
.yoyaku a {
  align-items: center;
  text-decoration: none;
  background-color: #608CDD;
  color: #fff;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s ease;
  margin: 40px 16px 0px 0px;
  width: 200px;
  height: 60px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.yoyaku.acsess.eng a {
    width: 60px;
    margin-right: 30px;
}

.yoyaku a:hover {background-color: #608cddb5;}

.yoyaku img {
  width: 20px;
  height: 20px;
  margin: 5px 5px -2px 0px;
  display: inline-block;
}

.yoyaku.acsess {
    display: none;
}

.yoyaku.acsess.eng {
    display: inline-block;
}

.yoyaku p {
  margin: 0;
  padding: 0;
  display: inline;
  font-size: 20px;
  font-weight: 200;
}



.yoyaku.eng p {
    font-size: 20px;
    font-family: Roboto;
    font-weight: normal;
}


/* サイト説明文
----------------------------------*/
#header h1{padding: 30px 0px 0px 25px;font-size:80%;font-weight:normal;}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2{
clear:both;
float:left;
padding:5px 0;
color: #515151;
font-size:160%;
font-weight:bold;
}


/* コンタクト
----------------------------------*/
.contact{float: left;padding:10px 0 10px;text-align:right;}

.contact .tel{
font-size:180%;
font-weight:bold;
}

  img.teltel {
    margin: -10px 5px -3px 0px;
    filter: hue-rotate(90deg) saturate(500%);
}


/* トップページ　メイン画像
----------------------------------*/
#mainImg{clear:both;margin-top:20px;line-height:0;text-align:center;z-index:0;position: relative;width: 100%;max-width: 1920px;margin: 0 auto;/* overflow: hidden; */}

#mainImg img {
    /* max-width: 1920px; */
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    display: block;
}
.catchcopy {
    position: absolute;
    top: 80%;
    left: 20%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    font-family: Noto Serif JP;
    font-weight: 500;
    letter-spacing: 0.1em;
}
#mainImg {
  position: relative;
  max-width: 97%;
  height: auto;
  z-index: 1000;
  top: 120px;
}

#mainImg img {
  width: 100%;
  height: auto;
  display: block;
  /* max-width: 1920px; */
}

#mainImg img.tooth , .seiretsh img.tooth {
    width: 18px;
    height: auto;
    margin: 4px 5px 0px 0px;
}

.seiretsh {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 5px 18px;
}

/* キャッチコピー（左下に重ねる） */
#mainImg .catchcopy {
  position: absolute;
  left: 340px;
  bottom: 0px;
  color: #fff;
  font-size: 50px;
  font-family: 'Noto Serif JP', serif;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
  text-align: left;
}

/* 診療時間表（右下に配置） */
#mainImg .clinic-hours {
  position: absolute;
  right: 0px;
  bottom: -69px;
  background-color: #f4fdfb;
  padding: 20px;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: auto;
  /* max-width: 100%; */
  z-index: 10000000;
}

/* テーブルスタイル */
.clinic-hours table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: Noto Serif JP;
  letter-spacing: 2px;
}
.clinic-hours th {
  padding: 20px 18px;
  color: #333;
  font-size: 16px;
  border-bottom: 1px solid #e3f2ed;
  text-align: center;
}
p.address {
    font-family: Noto Serif JP;
    font-size: 16px;
    /* padding: 30px 0px 17px; */
    /* text-align: left; */
    letter-spacing: 3px;
}

p.address a.map-btn {
    font-size: 10px;
}

/* 丸印（診療日） */
.circle {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #608CDD;
  border-radius: 50%;
}
.clinic-hours td {
    border-bottom: 1px solid #e3f2ed;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
.clinic-hours
    td {
    padding: 10px 8px;
    font-size: 13px;
    text-align: center;
}
	

.clinic-hours
    tr {
    border-bottom: 1px solid #e3f2ed;
}


/* 住所とマップボタン */
.address {
  margin-top: 8px;
}
.map-btn {
  font-size: 12px;
  color: #4cc2a7;
  border: 1px solid #4cc2a7;
  border-radius: 12px;
  padding: 2px 6px;
  text-decoration: none;
  margin-left: 5px;
}

.map-btn {
  display: inline-block;
  padding: 10px 12px;
  font-size: 0.85rem;
  color: #608CDD;
  border: 1px solid #608CDD;
  border-radius: 20px;

  background-color: transparent;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.map-btn:hover {
  transform: translateY(-3px);
  color: #608CDD;
  border-color: #608CDD;
}

.post{margin:0 0 20px 0;padding:20px 10px 20px 20px;/* border:1px solid #e9e2d8; */background: #fff;}

.toppage h4{
margin:0 0 10px;
font-size:16px;
font-weight:normal;
color:#333;

}

div#content2 .post {
    margin: 0;
    padding: 0;
    background: none;
}
.page2 {
    max-width: 1200px;
    margin: 0 auto 0px;
}

.toppage{padding:10px 10px 20px 20px;}


/* 記事ループ
*****************************************************/
.list{
padding:10px 0;
border-bottom:1px dashed #dcdcdc;
}

.list:last-child{border:0;}

.post .list p{padding:0;}

.list span{padding-left:10px;}


/* タイポグラフィ

*****************************************************/
h2.title{clear:both;margin:0;padding:6px 10px 6px 17px;font-size: 27px;/* border:1px solid #e9e2d8; */border-bottom:0;/* background:#f9f9f9 url(images/headingBg.png) repeat-x 0 100%; */}

.dateLabel{
text-align:right;
font-weight:bold;
color:#858585;
}

.post p{padding-bottom:15px;font-size: 16px;}

form.wpcf7-form.init .wpcf7-form-control-wrap {
	position: relative;
	margin: 0 auto;
	display: block;
	text-align: center;
}

article#post-33 p.feature-lead {
    color: #608cdd;
    font-size: 32px;
}



.policy-container p {
    text-align: center;
}
.privacy-box {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ccc;
  margin-bottom: 2rem;
}


.privacy-box::-webkit-scrollbar {
  width: 10px;
}

.privacy-box::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}

.privacy-box::-webkit-scrollbar-thumb {
  background-color: #2caf91;
  border-radius: 5px;
}

.privacy-box {
  scrollbar-color: #608cdd #f0f0f0;
  scrollbar-width: thin;
}

.privacy-box p {
    text-align: left;
    font-size: 12px;
}
.policy-text p {
    text-align: left;
}

.submit-btn {
  width: 100%;
  max-width: 600px;
  padding: 20px 0;
  background-color: #505050;
  color: #fff;
  font-size: 23px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
  display: block;
}

/* ホバーアニメーション */
.submit-btn:hover {
  background-color: #6a6a6a;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


form.wpcf7-form.init .wpcf7-form-control-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #555; /* ブラウザ対応：グレーに */
  cursor: pointer;
  position: relative;
  top: 3px;
}

.post p.feature-lead {
  font-weight: bold;
  font-size: 25px;
  margin-bottom: 15px;
}

.wpcf7 label {
  display: block;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 16px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 800px;
  /* padding: 12px; */
  border: 1px solid #e5e5e5;
  /* border-radius: 4px; */
  font-size: 16px;
  background-color: #fff;
  box-sizing: border-box;
  margin: 15px 0 0 0;
  height: 50px;
}

.wpcf7 textarea {
  min-height: 150px;
}

.required-label {
  display: inline-block;
  background-color: #DB7272; /* 赤系 */
  color: #fff;
  font-size: 14px;
  padding: 2px 8px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #82c4b0;
}

.wpcf7 input[type="submit"] {
  background-color: #82c4b0;
  color: #fff;
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #6ea997;
}

section.faq-section {
    clear: both;
}

.faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
}

.faq-title {
  font-size: 1.5rem;
  color: #27b191;
  margin-bottom: 30px;
  font-weight: bold;
  border-left: 5px solid #27b191;
  padding-left: 10px;
}

.faq-item {
  width: 70%;
  margin-left: auto;
  margin-right: 0;
  border-left: solid 1px #eee;
  padding: 0 0 0 50px;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

.faq-q,
.faq-a {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.faq-a {
    border-bottom: solid 1px #eee;
    padding: 0 0 20px 0px;
}

.faq-item:last-of-type .faq-a {
  border-bottom: 0;
}

.faq-q img,
.faq-a img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  filter: hue-rotate(90deg) saturate(500%);
}

.faq-q p {
  color: #608cdd;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  padding: 0 0 0 0;
}

.faq-a p {

  margin: 0;
  color: #333;
}


.post ul{margin: 0 0 15px 10px;}

.post ul li{margin-bottom:5px;padding-left:15px;list-style: disc;padding-left: 0em; /* インデント調整。初期値は約40px相当（2.5em） */list-style-position: outside; /* デフォルト。inside にするとテキストの左にディスクが来る */margin: 0px 0px 0px 10px;font-size: 16px;}
ul li::marker {
  color: #608cdd; /* 好きな色（例：ティール）に変更 */
}
.post ol{margin: 0 0 10px 30px;}

.post ol li{list-style:decimal;}

.post h1{margin:20px 0;/* padding:5px 0; */font-size:150%;color: #000;/* border-bottom:3px solid #000; */}

div#wrapper2 {
     /* ← 適宜調整。ロゴの高さに応じて */
      /* かぶせた分のスペースを空ける */
     clear: both;
     display: block;
     margin: 130px 0 0px 0px;
}

.page-hero {
  max-width: 1980px;
  margin: 0 auto 0px;
   /* ロゴの高さに応じて調整 */
   /* 必要に応じて */
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 500px;
  width: 100%;
  background-color: #EAF1FF; /* 任意の背景色 */
  overflow: hidden;
  padding: 0 0 0 5%;
  box-sizing: border-box;
}

.hero-content {
  width: 30%;
  padding: 0px 60px;
  /* background-color: #f5fffb; */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-size: 45px;
  color: #608cdd;
  letter-spacing: 1px;
  margin: 0 0 0px;
  font-family: 'Aboreto';
}

.hero-content p {
  font-size: 20px;
  color: #444;
  margin: 0;
  font-family: Noto Serif JP;
}

.hero-image {
  background-size: auto;
  background-position: bottom;
  background-repeat: no-repeat;
  /* flex: 1; */
  max-width: 70%;
  line-height: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  /* width: 500px; */
  /* text-align: center; */
  /* margin: 0 auto; */

  overflow: hidden;
}

.post h2{margin:10px 0;padding-bottom:2px;font-size:130%;font-weight:normal;color: #333;/* border-bottom:2px solid #515151; */}
h2.tittlepage {
    font-size: 32px;
    color: #608cdd;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding: 0px 0px 15px 0;
}

.whitening-section-only {
  padding: 0;
  background-color: #fff;
  color: #333;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

.whitening-container-only {
  display: flex;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto 40px;
  flex-direction: row;
  border-bottom: solid 1px #eee;
  padding: 10px 0 40px 0px;
  align-content: center;
  align-items: center;
}

#botox {
  scroll-margin-top: 150px; /* ← これを足すだけで調整できる！ */
}

.whitening-text-only {
  flex: 1 1 500px;
  margin-right: 50px;
}

.whitening-text-only h2 {font-size: 30px;color: #608cdd;margin-bottom: 14px;font-weight: 600;line-height: 1.2;}

.post .whitening-text-only h3 {
  font-size: 16px;
  margin: -5px 0px 0px 0px;
  color: #333;
  font-weight: 700;
}

.whitening-text-only p {
  margin-bottom: 16px;
  font-size: 15px;
}

.price-only {
  font-weight: bold;
  margin-top: -10px;
}

.whitening-image-only {
  flex: 1 1 400px;
}

.whitening-image-only img {
  max-width: 640px;
  height: auto;
  border-radius: 4px;
  /* margin: 80px 0px 0px 0px; */
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  #botox {
    scroll-margin-top: 100px;
}
  .whitening-container-only {
    flex-direction: column;
  }
  .whitening-text-only h2 {
    font-size: 24px;
  }
  .whitening-text-only h3 {
    font-size: 18px;
  }
}


.policy-container h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #608cdd;
}

.policy-section {
  width: 100%;
  margin: 0 auto;
}

.policy-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 60px;
}

.policy-item.reverse {
  flex-direction: row-reverse;
}

.policy-item:last-child {
    margin: 0 0 120px 0;
    padding: 0 0 15px 0px;
}

.policy-img, .policy-text {
  width: 50%;
  padding: 15px;
  box-sizing: border-box;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
}

.policy-image img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border: 1px solid #ccc;
}




.policy-text::-webkit-scrollbar {
  width: 10px;  /* スクロールバーの幅 */
}

.policy-text::-webkit-scrollbar-track {
  background-color: #f0f0f0;  /* スクロールバーの背景色 */
  border-radius: 5px;
}

.policy-text::-webkit-scrollbar-thumb {
  background-color: #608cdd;  /* スクロール部分の色（つまみ） */
  border-radius: 5px;
  border: 2px solid #f0f0f0;  /* 周囲の余白感 */
}


.policy-text ol {
  padding-left: 1.2rem;
}

.form-submit {
  margin-top: 1rem;
}

.submit-btn {
  background-color: #608cdd;
  color: white;
  border: none;
  /* padding: 0.6rem 1.2rem; */
  /* font-size: 1rem; */
  border-radius: 4px;
  cursor: pointer;
  font-family: Noto Serif JP;
}

.policy-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

[id^="eq"] {
  scroll-margin-top: 100px; /* 例：上に100pxの余白を取る */
}

.policy-text h2 {
  font-size: 23px;
  margin-bottom: 0.5em;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  border-bottom: none;
  font-weight: 600;
}

.policy-text h2 span {
  font-size: 40px;
  color: #608cdd;
  margin-right: 10px;
  display: inline-block;
  font-weight: 600;
  font-family: 'Aboreto';
  padding: 0px 5px 0px 0px;
}

.policy-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* モバイル対応 */
@media screen and (max-width: 834px) {
	.engnaka {
    display: block;
}
	.yoyaku.acsess.eng {
    display: none;
}
	.yoyaku.acsess {
    display: inline-block;
}

  .news {
    margin: 0px auto 0;
}
  .hero-image img {
    width: 100%;
}

  div#wrapper2 {

    margin: 90px 0 0px 0px;
}
  .policy-item {
    flex-direction: column !important;
  }

  .policy-img, .policy-text {
    width: 100%;
    padding: 10px;
    margin: 0 0 -20px 0px;
  }


}

.post h3{margin:10px 0;font-size:100%;font-weight:normal;color: #565656;/* border-bottom:1px solid #515151; */}

.post .feature-text h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.5;
}

.access {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* スマホで折り返し */
  gap: 2rem; /* 間隔 */
  margin: 40px 0;
}

.access-box {
  flex: 1 1 45%; /* PC時：横並び（2列） */
  min-width: 300px; /* 狭すぎ防止 */
  border-left: 3px solid #608cdd; /* 緑のライン */
  padding-left: 1rem;
}

.access-box h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.access-box p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

/* 📱スマホ表示（768px以下） */
@media screen and (max-width: 768px) {
  .access {
    flex-direction: column; /* 縦並び */
  }
  .access-box {
    flex: 1 1 100%;
  }
}


.post blockquote {
clear:both;
padding:10px 0 10px 15px;
margin:10px 0 25px 30px;
border-left:5px solid #ccc;
}
 
.post blockquote p{padding:5px 0;}

.post table{/* border: 1px #ccc solid; *//* border-collapse: collapse; *//* border-spacing: 0; */margin:10px 0 20px;}



.section-title {
  font-size: 1.6em;
  color: #5CC29E;
  border-left: 4px solid #5CC29E;
  padding-left: 0.5em;
  margin-bottom: 1.5em;
}

.post .overview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin: 30px 0px 100px 0;
}

.overview-table th {
  text-align: left;
  vertical-align: top;
  width: 17%;
  padding: 1.2em 0.5em;
  color: #333;
  font-weight: 600;
  border-bottom: 1px solid #e0e0e0;
}

.overview-table td {
  padding: 1em 0.5em;
  border-bottom: 1px solid #e0e0e0;
  color: #444;
  line-height: 28px;
}

.overview-table a {
  color: #0088cc;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .overview-table th, .overview-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .overview-table tr {
    display: block;
    margin-bottom: 1em;
  }

  .overview-table th {
    background: #f9f9f9;

    font-size: 0.95em;
  }
}


.post table th{/* padding:10px; *//* border: #ccc solid; *//* border-width: 0 0 1px 1px; *//* background:#efede7; */font-size: 16px;}

.post table td{/* padding:10px; *//* border: 1px #ccc solid; *//* border-width: 0 0 1px 1px; *//* background:#fff; */font-size: 16px;}

.post dt{font-weight:bold;}

.post dd{padding-bottom:10px;}

.post img{/* max-width:100%; */height:auto;}


img.aligncenter {
display: block;
margin:5px auto;
}

img.alignright, img.alignleft{
margin: 10px 10px 15px 15px;
display:inline;
}

img.alignleft{margin:10px 15px 15px 10px;}

.alignright{float:right;}
.alignleft{float:left;}

#gallery-1 img{
border:1px solid #eaeaea !important;
padding:5px;
background:#ffffff;
}



/* サイドバー　ウィジェット
*****************************************************/
section.widget ul, .widget_search, #calendar_wrap, .textwidget{
margin:0 0 20px 0;
padding:10px 10px 10px 17px;
border:1px solid #e9e2d8;
background: #fff;
}

section.widget ul ul{
border:0;
margin:0;
padding:0 0 0 10px;
}



p.banner{padding-bottom:15px;}

p.banner img{
max-width:233px;
height:auto;
}

p.banner img:hover{
cursor:pointer;
opacity:.8;
}

section.widget h3{
clear:both;
margin:0;
padding:6px 10px 6px 17px;
font-size:110%;
border:1px solid #e9e2d8;
border-bottom:0;
background:#f9f9f9 url(images/headingBg.png) repeat-x 0 100%;
}

section.widget li a{
display:block;
padding:7px 0 7px 12px;
background:url(images/arrow.gif) no-repeat 0 12px;
border-bottom:1px dashed #dcdcdc;
}

section.widget li:last-child a{border:0;}

#searchform input[type="text"]{
line-height:1.7;
height:24px;
width:90px;
vertical-align:bottom;
}

#calendar_wrap table{margin:0 auto;}

#calendar_wrap table th, #calendar_wrap table td{padding:3px;}


/* お知らせ　
-------------*/
.newsTitle{
clear:both;
margin:0;
padding:6px 10px 6px 17px;
font-size:110%;
border:1px solid #e9e2d8;
border-bottom:0;
background:#f9f9f9 url(images/headingBg.png) repeat-x 0 100%;
}

.newsTitle h3{
float:left;
font-weight:normal;
}

.newsTitle p{
float:right;
padding:0 0 0 10px;
font-size:80%;
background:url(images/arrow.gif) no-repeat 0 5px;
}

.news p{padding-bottom: 2px;float: left;}

.topmoji {
    float: right;
    width: 70%;
}

time {
    font-family: Roboto;
    font-size: 14px;
    color: #B7B7B7;
    margin: 0px 0px 0px 0px;
}

p.dateLabel3 {
    margin: 7px 0 0px 0px;
}

.news p:last-child{border:0;font-family: Noto Serif JP;font-weight: normal;}

.news p a{display:block;padding:5px 0;color:#333;text-align: justify;font-family: Noto Serif JP;}

.news a span{
color:#515151;
font:normal 90% Arial, 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
}

.news span{padding-left:10px;}

.news a:hover span{color:#039136;}



/* フッター
*****************************************************/
#footer ul{padding: 15px 0 30px;text-align:center;font-family: Noto Serif JP;font-size: 16px;}

#footer li{display:inline-block;padding: 2px 25px;/* border-left:1px dotted #d5d5d5; */}
*:first-child+html #footer li{display:inline;}

#footer li:first-child{border:0;}

#footer li a{text-decoration:none;color:#000;}

#footer li a:hover{color:#999;}

#footer ul ul{display:none;}

#copyright{
clear:both;
padding:10px 0 37px;
text-align:center;
color:#000;
font-size:10px;
}

#pageTopBtn {
	opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  position: fixed;
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: sans-serif;
  font-size: 14px;
  color: #AAAAAA;
  cursor: pointer;
  font-family: Roboto Flex;
}

/* 表示状態用のクラス */
#pageTopBtn.show {
  opacity: 1;
  visibility: visible;
}

div#pageTopBtn span {
    font-family: 'Roboto Flex', sans-serif;
}

.circle-arrow {
  width: 24px;
  height: 24px;
  background-color: #AAAAAA;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 9px;
}

#pageTopBtn:hover .circle-arrow {
  background-color: #999;
}


.top-header {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 130px 5%;
  font-family: 'Noto Sans JP', sans-serif;
  max-width: 1440px;
  margin: 0 auto;
}

.clinic-info {
  max-width: 524px;
}

.clinic-logo {
  max-width: 524px;
  height: auto;
  margin-bottom: 10px;
}

.clinic-address {
  font-size: 14px;
  margin-bottom: 20px;
  color: #444;
}

.clinic-nav,
.dept-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0px;
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  justify-content: space-between;
}

.clinic-nav li a {
  text-decoration: none;
  color: #444;
  font-size: 16px;
}

.dept-list li {
  color: #333;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background-color: #608CDD;
}

footer#footer .yoyaku {
    float: none;
    clear: both;
    /* width: 93%; */
    text-align: center;
    margin: 20px 0 15px 0px;
    display: block;
}

.clinic-hours .yoyaku a {
    margin: 0 auto;
    text-align: center;
    width: 100%;
}



.clinic-hours .yoyaku img {
    margin: 0 4px -3px 0px;
}

footer#footer .clinic-hours {
  /* flex: 1; */
  min-width: 440px;
  margin: 10px 0 0 0;
}

.clinic-hours table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 10px;
}

footer#footer .clinic-hours th, footer#footer .clinic-hours td {
  padding: 6px 8px;
  text-align: center;
}

.circle {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #608CDD;
  border-radius: 50%;
}

footer#footer .seiretsh {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 6px;
}

.address {
  font-size: 14px;
}

footer#footer .map-btn {
  display: inline-block;
  padding: 2px 10px;
  margin: 0px 0px 0px 0px;
  font-size: 8px;
  border: 1px solid #608cdd;
  color: #608cdd;
  border-radius: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.map-btn:hover {
  background-color: #608CDD;
  color: #fff !important;
}

.web-btn {
  display: inline-block;
  background-color: #57c3a8;
  color: white;
  font-size: 16px;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.web-btn:hover {
  background-color: #3ab79a;
}


.contact p {
  font-size: 16px;
  margin-bottom: -26px;
  color: #666;
  font-family: Noto Serif JP;
  text-align: left;
}

.feature-text .contact p {
    font-size: 22px;
}
span.contact-person {
    font-size: 16px;
}

.phone {
  font-size: 48px;
  font-family: Roboto Flex;
}
.dept-list {
  /* display: flex; */
  flex-direction: column;
  gap: 10px;
  padding: 0;
  list-style: none;
  margin: 0;
  flex-wrap: nowrap;
  align-items: flex-start;
}


.dept-list li a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dept-list li a:hover {
  color: #608cdd;
}

.dept-list .dot {
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background-color: #608cdd;
  flex-shrink: 0;
}



/* page navigation
------------------------------------------------------------*/
.pagenav{clear:both;width: 90%;height: 30px;margin: 5px auto 20px;}

.prev{float:left}

.next{float:right;}

#pageLinks{
clear:both;
color:#4f4d4d;
text-align:center;
}


/* トップページ 最新記事4件
------------------------------------------------------------*/
ul.post{
padding:0;
}

ul.post li{padding: 20px 10px 50px;border-bottom: 1px solid #eaeaea;}

ul.post li:last-child{border:0;}

ul.post img{
float:left;
margin:0 15px 5px 10px;
}

ul.post li {
  display: flex;
  margin-bottom: 40px;
  transition: transform 0.3s ease;
  justify-content: center;
}

ul.post li:hover {
  transform: translateY(-5px);
}

ul.post li img {
  transition: transform 0.4s ease;
  border-radius: 4px;
  max-width: 310px;
}

ul.post li:hover img {
  /* transform: scale(1.05); */
}

ul.post li .topmoji h3 {
  transition: color 0.3s ease;
}

ul.post li:hover .topmoji h3 {
  color: #608cdd; /* お好みでメインカラーに調整 */
}

ul.post li .topmoji a.more {
  display: inline-block;
  margin-top: 10px;
  transition: color 0.3s ease;
}

ul.post li:hover .topmoji a.more {
  color: #608cdd;
  text-decoration: underline;
}

ul.post h3{margin:0 0 10px 10px;font-size: 22px;font-weight: 500;color:#333;border:0;float: left;font-family: Noto Serif JP;}

ul.post li a{/* border-bottom:1px dashed #313131; */line-height: 1.6;}
ul.post li a:hover{border:0;}

/* ハンバーガーメニューを右上に固定 */
#mainNav {
  float: right;
  padding: 60px 0px 0px 0px;
}

/* ハンバーガーアイコン */
.hamburger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1101;
  padding: 0px 30px 0 0px;
  margin: 0 5px 0px 0px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: #000000;
  border-radius: 2px;
}

/* パネル */
.panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #608CDD;
  transition: right 0.4s ease;
  z-index: 1100;
  overflow-y: auto;
  padding: 80px 20px;
  box-sizing: border-box;
}
.panel.open {
  right: 0;
}
.panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  padding: 50px 0 0 0;
}
.panel ul li {
  padding: 10px 0;
  text-align: center;
}
.panel ul li a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}

/* PC表示 */
@media (min-width: 769px) {
  .panel {
    width: 625px;
    right: -625px;


  }
}



	nav#mainNav ul li{
	position: relative;
	}
	
	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	color: #ffffff;
	height:35px;
	line-height:45px;
	font-size:110%;
	font-weight:bold;
	margin-right:1px;
	padding: 10px 30px 0;
	}
	
	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	font-size: 29px;
	line-height:1.4;
	text-align: left;
	display: block;
	float: left;
	text-transform: uppercase;
	font-family: 'Aboreto', cursive;
	font-weight: normal;
	}
	
	nav#mainNav ul li a span{
	font-size: 16px;
	font-weight:normal;
	text-align: right;
	display: block;
	float: right;
	padding: 11px 0 0 0;
	font-family: 'Noto Serif JP', serif;
	}
/* 閉じるボタン */
#menu-close {
  position: absolute;
  top: 55px;
  right: 60px;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
}
#menu-close span {
  display: block;
  position: absolute;
  top: 14px;
  left: 5px;
  width: 40px;
  height: 1px;
  background: #000000;
}
#menu-close span:first-child {
  transform: rotate(45deg);
}
#menu-close span:last-child {
  transform: rotate(-45deg);
}

	nav div.panel{
  display:block !important;
  float:left;
  }
  
  a#menu{display:none;}
  
  nav#mainNav ul li.current-menu-item a, nav#mainNav ul li a:hover, nav#mainNav ul li.current-menu-parent a{
  color: #005aff;
  }
  
  nav#mainNav ul ul{width:160px;}
  
  nav#mainNav ul li ul{display: none;}
  
  nav#mainNav ul li:hover ul{
  display: block;
  position: absolute;
  top:42px;
  left:0;
  z-index:500;
  }
	
  nav#mainNav ul li li{
	margin:0;

  float: none;
  height:40px;
  line-height:40px;
  width:160px;
	background:none;
  }
	
  nav#mainNav ul li li a{
  width:100%;
  height:40px;
	padding:0 0 0 10px;
  line-height:40px;
  font-size:95%;
  text-align:left;
	background:#f3f3f3;
  }
	
	nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover{background:#fff;}


/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (max-width: 1300px){
    #mainImg .clinic-hours {
    position: relative;
    right: 0px;
    bottom: 0px;
    background-color: #f4fdfb;
    padding: 20px;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    /* max-width: 100%; */
    z-index: 10000000;
    margin: -20px auto 0;
}
  #mainImg .catchcopy {
    position: absolute;
    left: 50%;
    bottom: -120px;
    color: #fff;
    font-size: 50px;
    font-family: 'Noto Serif JP', serif;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    margin: 0 auto;
    text-align: center;
}
  .text-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(255 255 255 / 50%);
    padding: 22px 40px 42px;
    height: 130px;
}
}
/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (max-width: 1440px) {
  .footer-item {
    display: block;
    max-width: 315px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* border-radius: 8px; */
    overflow: hidden;
}
  
  .message-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 90px;
    margin: 120px auto 50px;
    padding: 0px 0% 0 5%;
    max-width: 1440px;
}
  
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 20px; */
    /* width: 70%; */
    margin: 110px auto 170px;
    max-width: 1320px;
}
  }

/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width: 1024px){
  .whitening-image-only img {
    margin: -35px 0 40px 0;
    width: 100%;
}
  .whitening-text-only {
    margin-right: 0;
}
  .whitening-container-only {
    display: block;
}
	[id^="eq"] {
    scroll-margin-top: 140px;
}
  article#post-29 .feature-block {
    gap: 0;
    margin: 0;
    padding: 0 0 0 0;
}
  .faq-item {
    width: 100%;
    margin: 0;
    border-left: none;
    padding: 0;
    border-top: 0;
}
  .feature-block {
    margin: 0;
    width: 100%;
    float: none;
    gap: 20px;
    margin: 0 0 -30px 0;
    border-left: none;
    padding: 40px 0 0 0px;
    border-top: solid 1px #eee;
}
  .post h2.feature-title {
    float: none;
    margin-bottom: 20px;
}
  .page2 {
    max-width: 80%;
    margin: 0 auto 0px;
}
  .message-images img.sub {
    width: 50%;
    align-self: flex-start;
    margin: -240px 0 0px -66px;
}
  .message-images img {
    margin: 0px 0px 0px 50px;
    float: right;
}
  ul.post h3 {
    margin: 0 0px;
}


  .contact p {
    text-align: center;
}
  .contact {
    float: none;
    padding: 10px 0 10px;
    text-align: center;
}
  .dept-list {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 0;
    list-style: none;
    margin: -50px 0 40px 0;
    justify-content: center;
    align-items: center;
}
  .clinic-info {
    max-width: 100%;
}
  .top-header {
    display: block;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding: 130px 5%;
    font-family: 'Noto Sans JP', sans-serif;
    max-width: 1440px;
    margin: 0 auto;
}
  ul.post li {
    display: block;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
    padding: 0 0 40px 0px;
    width: 80%;
    margin: 0px auto 40px;
}
  ul.post li img {
    transition: transform 0.4s ease;
    border-radius: 4px;
    max-width: 26%;
    margin: 11px 0 0 0;
}
.topmoji {
    float: right;
    width: 70%;
}
  .message-images {
    max-width: 100%;
}
      .message-section {
        display: block;
        align-items: flex-start;
        margin: 0 auto 80px;
        padding: 80px 5% 0;
        max-width: 100%;
    }
  .message-text {
    flex: 1 1 500px;
    max-width: 100%;
}
.message-text p {
    max-width: 100%;
}
  .text-box {
    padding: 12px 30px 0px;
    height: 170px;
}
  .arrow {
    top: -69px;
    margin: 5px 0 0 0;
}
      .services-grid {
        display: grid;

        grid-template-columns: 1fr 1fr;
        /* gap: 20px; */
        /* width: 70%; */
        margin: 60px auto 140px;
        max-width: 940px;
    }
  #mainImg .catchcopy {
    position: absolute;
    left: 50%;
    bottom: -200px;
    color: #fff;
    font-size: 47px;
    font-family: 'Noto Serif JP', serif;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    margin: 0 auto;
    text-align: center;
}

#mainImg .catchcopy br {
    display: none;
}
  
  #mainImg .clinic-hours {
    position: relative;
    right: 0px;
    bottom: 0px;
    background-color: #f4fdfb;
    padding: 20px;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* width: auto; */
    /* max-width: 100%; */
    z-index: 10000000;
}

}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 959px){
  #wrapper, .inner{width:100%;}

	#header{width: 50%;padding:0 2%;}
	
	#header h2{padding:0;}
	.contact{padding:10px 0 10px;}

  nav#mainNav{/* width:95%; */}

	nav#mainNav ul{margin:0 auto;}
	nav#mainNav ul ul{padding:0;}

	nav div.panel{float:none;}
	
	#mainImg img{/* width:98%; */height:auto;}

	#content, #sidebar{
	clear:both;
	width:95%;
	float:none;
	margin: 60px auto 0;
	padding:10px 0;
	}
	
	.banner{width:100%;margin:0 auto;text-align:center;}
  p.banner img{width:100%;height:auto;}
	
	section.widget_search{text-align:center;}
	
	#footer li{margin-bottom:10px;padding: 0px 0px 0px 20px;}
	
}
@media only screen and (max-width: 834px){
	div#content3 {
    margin: 60px auto 0;
}
	  a.phone {
pointer-events: auto;
  }


	
		.engnaka a {
    top: 0px;
    left: 0;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    font-size: 20px;
    display: flex;
    flex-direction: row;
    position: absolute;
    border: none;
    cursor: pointer;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}
	.engnaka a p {
    font-size: 20px;
    color: #608cdd;
    font-family: 'Roboto';
    font-weight: 500;
}
	.clinic-hours .yoyaku p {
    font-size: 24px;
}
	.clinic-hours .yoyaku img {
    margin: 0 4px -3px 0px;
    width: 28px;
    height: 26px;
}
	.clinic-hours .yoyaku a {
    margin: 0 0 20px 0px;
    text-align: center;
    width: 100%;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
}
	.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
    width: 100%;
}
		[id^="eq"] {
    scroll-margin-top: 100px;
}
      .message-images img {
        margin: 0px 0px 0px 49px;
        float: right;
    }
  p.dateLabel3 {
    margin: 0 0 -5px 0px;
}
      ul.post h3 {
        margin: 0 0px;
        clear: both;
    }
      .message-images img.sub {
        width: 50%;
        align-self: flex-start;
        margin: -180px 0 0px -49px;
    }
      #mainImg .catchcopy {
        font-size: 37px;
        bottom: -227px;
    }
      .topmoji {
        float: none;
        width: 100%;
        margin: 10px 0 0 0px;
    }
      ul.post li img {
        max-width: 100%;
    }
      ul.post li {
        display: flex;
        margin-bottom: 40px;
        transition: transform 0.3s ease;
        width: 90%;
        margin: 0 auto 40px;
        flex-direction: column;
        align-items: flex-start;
    }
      .message-section {
        display: block;
        align-items: flex-start;
        margin: 70px auto 30px;
        padding: 0 30px;
        max-width: 100%;
    }
      .text-box {
        padding: 12px 30px 0px;
        height: 161px;
    }
  .service-item {
    position: relative;
    overflow: hidden;
    margin: 20px 0 0 0;
}
      .services-grid {
        display: block;
        grid-template-columns: 1fr 1fr;
        /* gap: 20px; */
        width: 70%;
        margin: 60px auto 0px;
        max-width: 940px;
    }
      .contact {
        padding: 0;
    }
  #mainImg {
    /* position: relative; */
    max-width: 100%;
    /* height: auto; */
    /* z-index: 1000; */
    top: 80px;

}

      nav#mainNav {
        /* width: 70px; */
        /* height: 70px; */
        /* background-color: #8F8F8F; */
    }
  #mainNav {
    float: right;
    padding: 0;
}
  .hamburger {
    padding: 35px 30px;
    background-color: #8F8F8F;
    margin: 0 0 0 1px;
}
  .hamburger span {
    background: #ffffff;
}
  .yoyaku img {
    margin: 0;
}
  .yoyaku p {
   
font-size: 14px;
}
  .yoyaku a {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-direction: column;
    /* padding: 22px 10px; */
    border-radius: 0;
    margin: 0 1px;
    float: left;
    width: 92px;
    height: 92px;
}
  .yoyaku {
    /* padding: 22px 10px; */
    /* border-radius: 0; */
    /* margin: 0 2px; */
    /* float: left; */
}

  .migi {
    float: right;
    width: 40%;
    display: flex;
    justify-content: flex-end;
}

  #header h1 {
    padding: 20px 0px 0px 0;
    font-size: 80%;
    font-weight: normal;
    width: 100%;
}
  h1 img {
    width: 100%;
}
   .page-hero {
    flex-direction: column;
    height: auto;
    padding: 0;
  }

  .hero-content {
    width: 100%;
    text-align: center;
    padding: 40px 0px 15px;
  }

  .hero-image {
    width: 100%;
    height: 200px;
    max-width: fit-content;
  }
  }

/* 幅425px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 425px){
.dental-section::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    backgroun
  }
      .dental-section {
        position: relative;
        padding: 0em;
        background: none;
        line-height: 1.8;
        margin: -70px 0 40px 0;
    }
  #botox {
    scroll-margin-top: 60px;
}
  .post .implant-flow-step-content h3 {
    text-align: center;
}
  .whitening-container-only {
    margin: 0 0 30px 0;
    padding: 0 0 0px 0px;
}
      .medical-section .medical-implant {
        gap: 4px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
      .medical-section .medical-title p {
    margin: -30px 0 10px 0;
    }
	    div#content3 {
        margin: 0px auto 0;
        width: 95%;
    }

	    .clinic-hours .yoyaku a {
        padding: 15px 0;
    }
	    .message-images img {
        margin: 0px 0px 0px 39px;
        float: right;
    }
	    .yoyaku a {
        display: flex;
        align-items: center;
        text-decoration: none;
        flex-direction: column;
        /* padding: 22px 10px; */
        border-radius: 0;
        margin: 0 1px;
        float: left;
        width: 50px;
        height: 50px;
    }
	.feature-intro br {
    display: none;
}
	.policy-text ol {
    padding-left: 0rem;
}
		[id^="eq"] {
  scroll-margin-top: 60px; /* 例：上に100pxの余白を取る */
}
	.hero-content h1 {
    font-size: 28px;
}
  iframe {
    width: 100%;
    height: 313px;
}
    .recruit-section {
    padding: 15px;
  }

  .section-title {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
  }

  .recruit-list dt {
    width: 100%;
    margin-bottom: 5px;
    color: #000000;
  }

  .recruit-list dd {
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.7;
  }

  .recruit-list div {
    flex-direction: column;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
  }
  .recruit-list dt {
    font-weight: 500;
}
  span.contact-person {
    font-size: 16px;
    display: flex;
    justify-content: center;
    margin: -8px 0 0 0;
}
  img.teltel {
    margin: -10px 5px -3px 0px;
    width: 26px;
}
  .phone {
    font-size: 33px;
    font-family: Roboto Flex;
}
  .faq-q, .faq-a {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 15px;
}
  .faq-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 0px 0px 0px;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
}
      .post h2.feature-title {
        float: none;
        margin: 0 0 10px 0;
    }
  .breadcrumb {
    font-size: 12px;
    margin: 10px 0px 30px;
}
  .clinic-feature {
    padding: 0;
}
      .page2 {
        max-width: 90%;
        margin: 0px auto 0px;
    }
      .news {
        margin: 60px auto 0px;
    }
      .hero-image {
        width: 100%;
        height: 130px;
        max-width: fit-content;
    }
      div#wrapper2 {
        margin: 60px 0 0px 0px;
    }
      #mainImg {
        /* position: relative; */
        max-width: 100%;
        /* height: auto; */
        /* z-index: 1000; */
        top: 50px;
    }
  p.dateLabel3 {
        margin: 10px 0 -3px 0px;
    }
      .message-images img.sub {
        width: 63%;
        align-self: flex-start;
        margin: -97px 0 0px -46px;
    }
  footer#footer .yoyaku {
    border-radius: 10px;
}
  footer#footer .yoyaku p {

    font-size: 24px;
}

footer#footer .yoyaku img {
    width: 28px;
    height: auto;
}
      .top-header {
        padding: 50px 5%;
    }
  .message-text h2 {
    font-size: 29px;
}
  footer#footer .clinic-hours th, footer#footer .clinic-hours td {
    padding: 6px 1px;
    text-align: center;
}
footer#footer .seiretsh {
    display: none;
}
  ul.post h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    color: #333;
    border: 0;
    float: left;
    font-family: Noto Serif JP;
}
      .topmoji {
        float: none;
        width: 100%;
    }
      ul.post li img {
        transition: transform 0.4s ease;
        border-radius: 4px;
        width: 100%;
        margin: 11px 0 0 0;
        max-width: 100%;
    }
      ul.post li {
        display: block;
        margin-bottom: 40px;
        transition: transform 0.3s ease;
        /* margin: 0 auto 40px; */
        flex-direction: column;
        align-items: center;
    }
  .services-grid .service-item:nth-of-type(3) .arrow {
    top: -139px;
}
      .arrow {
        top: -71px;
        /* margin: 58px 0px 0px 0; */
    }
  .text-box h3 span {
    margin-left: 0;
    }
    
    font-family

  .text-box p {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 -7px;
    font-family: Noto Serif JP;
    color: #565656;
    font-weight: 600;
}
      .text-box {
        display: flex;
        padding: 10px 20px 0px;
        height: 202px;
        /* flex-direction: row; */
        /* justify-content: space-evenly; */
        /* align-items: center; */
        /* align-content: center; */
        /* position: relative; */
        height: 252px; /* 必要に応じて統一の高さに調整 */
        /* padding: 20px; */
        /* box-sizing: border-box; */
    }
  .text-box h3 {
    font-size: 30px;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    margin: 50px 0 0 0;
}
  .service-item img {
}
  .service-item {width: 345px;height: 260px;margin: 0 auto 20px;}
      .services-grid {
        display: block;
        margin: 30px auto 100px;
        width: 100%;
    }
  .clinic-hours table {
    margin-bottom: 10px;
}
  .clinic-hours td {
    padding: 10px 8px 13px;
    font-size: 10px;
}
  .seiretsh {
    display: none;
    padding: 5px 18px;
}
  .clinic-nav, .dept-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px 0px;
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    flex-direction: column;
    align-content: center;
    align-items: flex-start;
    justify-content: center;
    float: left;
    width: 50%;
}
      .dept-list {
        display: flex;
        gap: 10px;
        padding: 0;
        list-style: none;
        margin: 0;
        flex-wrap: nowrap;
        flex-direction: column;
        align-items: flex-start;
        float: left;
        width: 50%;
    }
  nav#mainNav ul li {
    border-bottom: 1px solid #80a3e3;
    padding: 0;
}
  nav#mainNav ul li a {
    display: block;
    text-align: center;
    _float: left;
    color: #ffffff;
    height: auto;
    line-height: 45px;
    font-size: 110%;
    font-weight: bold;
    margin-right: 1px;
    padding: 16px 30px;
}
#menu-close span {
    display: block;
    position: absolute;
    top: 23px;
    left: 15px;
    width: 25px;
    height: 2px;
    background: #ffffff;
}
  #menu-close {
    top: 0px;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: #8F8F8F;
}

  .panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #608cdd;
  transition: right 0.4s ease;
  z-index: 1100;
  overflow-y: auto;
  padding: 30px 20px;
  box-sizing: border-box;
}
  nav#mainNav ul li a span {
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    display: block;
    float: none;
    padding: 0;
    font-family: 'Noto Serif JP', serif;
    margin: 0 auto;
}
  nav#mainNav ul li a strong {
    display: none;
}
  .yoyaku img {
    width: 18px;
    height: 18px;
}
      #header h1 {padding: 9px 0px 0px 4px;font-size: 80%;font-weight: normal;width: 100%;}
      .hamburger {
        padding: 14px 12px;
        background-color: #8F8F8F;
        /* margin: 0; */
    }
      .yoyaku p {
        font-size: 8px;
    }
      .yoyaku {

    }
      .migi {
        width: 50%;
        display: flex;
        align-items: center;
    }
  .line {
    width: 37px;
    height: 1px;

    background-color: #49c0a3;
    margin: 39px 7px 0px 0px;
}
  .message-text .en {
    font-size: 50px;
    margin: 0;
}
  .clinic-hours th {
    padding: 20px 0px;
    color: #333;
    font-size: 13px;
    border-bottom: 1px solid #e3f2ed;
    text-align: center;
}
      #mainImg .clinic-hours {
        padding: 0;
        width: 92%;
        margin: -20px auto 0;
    }
  footer#footer .clinic-hours {
    /* flex: 1; */
    min-width: 100%;
}

  .clinic-logo {
    max-width: 100%;
}

      #mainImg .catchcopy {
        font-size: 18px;
        bottom: -132px;
    }
	body{background-image:none;}
	nav#mainNav{/* width:98%; */}
	#header{text-align:center;padding: 0;}
	#header h2,.contact{float:none;}
	.contact{/* padding:0 0 20px; */}
	.contact p{text-align:center;}
	#headerInfo{width:250px;margin:0 auto;}
	img.alignright, img.alignleft{display: block;	margin:5px auto;}
	.alignright,.alignleft{float:none;}
}

@media only screen and (max-width: 375px){
  .clinic-feature {
    padding: 0px 20px 40px 20px;
}
  }

@media only screen and (max-width: 320px){
      .message-images img.sub {
        width: 59%;
        align-self: flex-start;
        margin: -107px 0 0px -16px;
    }
      .services-grid .service-item:nth-of-type(3) .arrow , .services-grid .service-item:nth-of-type(2) .arrow {
        top: -165px;
    }
      .arrow {
        top: -190px;
        margin: 30px 0 0 0;
    }
      .text-box h3 {
        margin: 30px 0 0 0;

    }
      .service-item {
        width: 285px;
    }
      .text-box {
        display: flex
;
        padding: 10px 20px 0px;
        height: 202px;
        /* flex-direction: row; */
        /* justify-content: space-evenly; */
        /* align-items: center; */
        /* align-content: center; */
        /* position: relative; */
        height: 252px;
        /* padding: 20px; */
        /* box-sizing: border-box; */
    }
      #mainImg .catchcopy {
        font-size: 22px;
    }
      #header {
        text-align: center;
        padding: 0;
        width: 40%;
    }
      .migi {
        width: 60%;
        display: flex;
        align-items: center;
    }
  }
/* ===== 院長紹介セクション ===== */
.director-section {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto 100px;
  background: #F4F7FD;
  clear: both;
}

.director-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 400px;
}

.director-text {
  flex: 1 1 50%;
  box-sizing: border-box;
  padding: 70px 5% 70px 13%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.director-section .director-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 600;
  color: #565656;
  letter-spacing: 2px;
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 45px 0;
  padding: 0 10px 10px 0;
  border-bottom: 1px solid #608CDD;
}

.director-section .director-name {
  display: flex;
  align-items: baseline;
  gap: 30px;
  margin: 0 0 25px 0;
  font-family: 'Noto Serif JP', serif;
}

.director-section .director-label {
  font-size: 16px;
  font-weight: normal;
  color: #565656;
  letter-spacing: 2px;
}

.director-section .director-fullname {
  font-size: 26px;
  font-weight: 600;
  color: #565656;
  letter-spacing: 3px;
}

.director-section .director-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  line-height: 2;
  color: #565656;
  margin: 0;
}

.director-image {
  flex: 1 1 50%;
  line-height: 0;
  overflow: hidden;
}

.director-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.director-image:hover img {
  transform: scale(1.03);
}

@media only screen and (max-width: 1024px) {
  .director-text {
    padding: 60px 5% 60px 8%;
  }
  .director-section .director-title {
    font-size: 26px;
    margin-bottom: 35px;
  }
}

@media only screen and (max-width: 834px) {
  .director-section {
    margin: 0 auto 60px;
  }
  .director-inner {
    flex-direction: column;
    min-height: 0;
  }
  .director-text {
    flex: 1 1 100%;
    width: 100%;
    padding: 45px 8% 45px 8%;
  }
  .director-image {
    flex: 1 1 100%;
    width: 100%;
  }
  .director-image img {
    min-height: 0;
    height: 320px;
  }
}

@media only screen and (max-width: 425px) {
  .director-section {
    margin: 0 auto 40px;
  }
  .director-text {
    padding: 35px 7%;
  }
  .director-section .director-title {
    font-size: 22px;
    margin-bottom: 25px;
  }
  .director-section .director-name {
    gap: 18px;
    margin-bottom: 18px;
  }
  .director-section .director-fullname {
    font-size: 22px;
  }
  .director-section .director-lead {
    font-size: 14px;
    line-height: 1.9;
  }
  .director-image img {
    height: 240px;
  }
}
/* ===== FOOTER 診療科目 2カラム ===== */
.dept-label {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  color: #333;
  margin: 0 0 14px 0;
  letter-spacing: 1px;
}

.dept-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0 60px;
  margin: 0 0 20px 0;
}

.dept-grid .dept-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  float: none;
  width: auto;
  list-style: none;
}

.dept-grid .dept-list li a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dept-grid .dept-list li a:hover {
  color: #608cdd;
}

@media only screen and (max-width: 1024px) {
  .dept-label {
    text-align: center;
    margin: -30px 0 14px 0;
  }
  .dept-grid {
    justify-content: center;
    gap: 0 40px;
    margin: 0 0 40px 0;
  }
}

@media only screen and (max-width: 425px) {
  .dept-label {
    text-align: left;
    margin: 0 0 12px 0;
  }
  .dept-grid {
    justify-content: flex-start;
    gap: 0 30px;
    margin: 0 0 30px 0;
  }
  .dept-grid .dept-list {
    flex: 1 1 45%;
    gap: 8px;
  }
  .dept-grid .dept-list li a {
    font-size: 13px;
  }
}
.slider-overlay { position: absolute; bottom: 0px; left: 0px; width: 48%; padding: 0px 3% 5%; box-sizing: border-box; pointer-events: none; z-index: 10; }

.slider-catchcopy { color: rgb(255, 255, 255); text-shadow: rgba(0, 0, 0, 0.5) 0px 1px 4px; }

.slider-main { font-size: 46px; font-weight: 500; margin-bottom: 6px; line-height: 1.3; white-space: nowrap; text-align: left; }

.slider-sub { font-size: 28px; font-weight: normal; white-space: nowrap; text-align: left; }

@media screen and (max-width: 1024px) {
.slider-main { font-size: 34px; }

.slider-sub { font-size: 20px; }

}

@media screen and (max-width: 768px) {
.slider-overlay { width: 55%; padding: 0px 3% 5%; }

.slider-main { font-size: 22px; white-space: normal; }

.slider-sub { font-size: 13px; white-space: normal; }

}

@media screen and (max-width: 425px) {
.slider-overlay {width: 100%;padding: 0px 4% 35px;}

.slider-main { font-size: 20px; text-align: center; }

.slider-sub { font-size: 12px; text-align: center; }

}

/* ===== FOOTER SP layout (was missing its media query wrapper) ===== */
@media only screen and (max-width: 425px) {
  .dept-label {
    float: left;
    width: 100%;
    margin-bottom: 8px;
  }
  .dept-grid {
    display: flex;
    float: left;
    width: 100%;
    gap: 0 10px;
  }
  .dept-grid .dept-list {
    width: 50%;
    float: none;
    margin: 0;
  }
  .clinic-logo {
    max-width: 100%;
  }
}