@charset "UTF-8";
/*  共通設定 -------------------- */
:root{
/* font-family */
    --font-gothic: "Noto Sans JP",sans-serif;
    --font-serif: "Shippori Mincho", serif;
/* color */
    --font-dark:#3a4d5c;
    --font-gray:#6b7280;
    --font-navy:#313a6e;
    --font-light:#fff;
    --font-brand:#4a9d8d;
    --line-tooth:#2a7fb8;
    --bg-main:#f7f3ee;
    --bg-main-dark:#e5d7ca;
    --bg-light:#fff;
    --bg-gold:#c9c2a4;
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
                0 8px 10px -6px rgba(0, 0, 0, 0.1);

/* font-size */
    --fs-s: clamp(12px, 1vw, 14px);
    --fs-m: clamp(16px, 1rem + 0.5vw, 18px);
    --fs-l: clamp(18px, 1.5vw, 24px);
    --fs-xl: clamp(26px, 2vw, 32px);
    --fs-2xl: 30px;

/* letter-spacing */
    --ls-normal: 0.04em;
    --ls-wide: 0.14em;

/* line-height */
    --lh-narrrow:1.5;
    --lh-normal: 2;

/* font-weight */
    --fw-600:600;
    --fw-700:700;

/* margin */
    --margin-ss:0.5rem; /* 8px */
    --margin-s:1rem;    /* 16px */
    --margin-m:2.5rem;  /* 40px */
    --margin-l:5rem;    /* 80px */
    --margin-ll:7.5rem; /* 120px */

/* z-index */
    --z-shadow:-10;
    --z-title:10;
    --z-box:20;
    --z-menu:30;
    --z-header:100;
    --z-overlay:110;
    --z-drawer:120;
    --z-hamburger:130;
    --z-back:90;
}
body{
  font-family: var(--font-serif);
  color: var(--font-dark);
  font-size: var(--fs-m);
  letter-spacing: var(--ls-normal);
  background-color: var(--bg-main);
}
p {
  line-height: var(--lh-normal);
  margin-bottom: var(--margin-s);
  text-align: justify;
}
.uppercase {
  text-transform: uppercase;
}
.br {
  display: block;
}
.sp-only {
  display: none;
}
.reverse {
  flex-direction: row-reverse;
}
/* BackToTop Button */
#toTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  background: rgba(74, 157, 142, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: background 0.3s;
  z-index: var(--z-back);
}
#toTop:hover {
  background: rgba(74, 157, 142, 1);
}
.triangle {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid var(--bg-light);
}
/* 装飾Box２個 */
.box-green {
  width: 160px;
  height: 160px;
  background-color: var(--font-brand);
  opacity: 0.7;
  border-radius: 0 8px 0 0;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: var(--z-box);
}
.box-white {
  width: 90px;
  height: 90px;
  background-color: var(--bg-light);
  opacity: 0.7;
  border-radius: 8px 8px 0 0;
  position: absolute;
  left: 160px;
  bottom: 0;
  z-index: var(--z-box);
}
.box-green.title-box {
  width: 120px;
  height: 120px;
  border-radius: 0;
  opacity: 0.1;
  background-color: #888;
  left: 50%;
  bottom: auto;
  top: 50%;
  transform: translate(-30%, -45%);
}
.box-white.title-box {
  width: 90px;
  height: 90px;
  left: 50%;
  bottom: auto;
  top: 50%;
  transform: translate(10%, -55%);
  border-radius: 0;
  opacity: 0.12;
  background-color: #aaa;
}

/* index.html
================================================== */
/* Header -------------------- */
.header-wrap {
  width: 100%;
  padding-inline: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 112px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: var(--z-header);
}
.logo-wrap a {
  color: var(--font-dark);
  font-size: var(--fs-xl);
  font-weight: var(--fw-700);
  letter-spacing: var(--ls-wide);
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.logo-wrap a .font-light {
  color: var(--font-light);
} 
.logo-img {
  display: block;
  width: auto;
  height: clamp(28px, 7vw, 70px);
}
.contact-wrap {
  display: flex;
  gap: 0.75rem;
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  z-index: var(--z-hamburger);
  flex-shrink: 0;
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--font-light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.is-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* リサイズ中はドロワーのtransitionを無効化 */
.is-resizing .menu-wrap {
  transition: none !important;
}
/* SP Nav Close Button */
.sp-nav-close {
  display: none;
}
/* SP Drawer Contact Buttons */
.sp-drawer-contact {
  display: none;
}
/* SP Overlay */
.sp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.sp-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.flex-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.tel-btn,
.reserve-btn {
  padding: 13px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-xl);
}
.tel-btn {
  background-color: var(--bg-light);
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.tel-btn:hover {
  background-color: #f9fafb;
}
.reserve-btn {
  background-color: var(--font-brand);
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.reserve-btn:hover {
  background-color: #3d8578;
}
.tel-row1 {
  color: var(--font-gray);
  font-size: var(--fs-s);
  font-weight: var(--fw-700);
}
.reserve-row1 {
  color: var(--bg-light);
  font-size: var(--fs-s);
  font-weight: var(--fw-700);
}
.tel-row2,
.reserve-row2 {
  font-size: clamp(16px,1.5vw,24px);
}
.reserve-row2 {
  color: var(--bg-light);
}
.phone-icon {
  color: var(--bg-dark);
  width: 20px;
  height: 20px;
}
.mail-icon {
  color: var(--font-light);
  width: 24px;
  height: 19px;
}

/*  grobal navigation -------------------- */
.menu-wrap {
  width: 100%;
  background-color: var(--bg-main);
  box-shadow: 0 0 20px -2px rgba(0,0,0,0.08);
  position: relative;
  z-index: var(--z-menu);
}
.menu {
  max-width: 1400px;
  background-color: var(--bg-main);
  display: flex;
  margin-inline: auto;
}
.menu > li {
  flex: 1;
  display: flex;
  align-items: center;
}
/* menuの間の線 */
.menu > li:not(:last-child)::after {
  content: "";
  display: block;
  width: 2px;
  height: 70px;
  background-color: #9ca3af;
}
.menu-btn {
  font-size: clamp(11px, 1.2vw, 20px);
  font-weight: var(--fw-700);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  height: 100%;
  padding: clamp(8px, 1vw, 20px) 0;
  position: relative;
  transition:background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-btn::after {
  font-weight: 400;
  content: attr(data-menu-en);
  color: var(--font-brand);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  line-height: 1.25rem;
}
/* menuのホバー時の下線 */
.menu-btn::before {
  content: "";
  width: 0;
  height: 2px;
  display: block;
  background-color: var(--font-brand);
  margin: 10px auto 0;
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.menu-btn:hover::before {
  width: 30px;
}
.menu-btn.is-current {
  color: var(--font-navy);
}
/* menuホバー時の背景色 */
.menu-btn:hover {
  background-color: #f0ebe4;
}
/* 現在のページ(下線) */
.menu-btn.is-current::before {
  width: 30px;
}
/* ドロップダウンメニュー */
.medical-dropdown {
  position: relative;
}
.medical-dropdown-panel {
  text-align: left;
  width: 600px;
  background: #fff;
  border-top: 3px solid var(--font-brand);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 20px 24px;
  position: absolute;
  top: 100%;
  transform: translateY(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 100;
}
.medical-dropdown:hover .medical-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}
.medical-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 57% 43%;
  gap: 0;
}
.medical-dropdown-list li {
  border-bottom: 1px solid #f0ebe4;
}
.medical-dropdown-list li a {
  font-weight: 600;
  padding: 16px 16px;
  display: block;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  white-space: nowrap;
}
.medical-dropdown-list li a::before {
  content: "▸";
  color: #c9c2a5;
  font-size: 12px;
  margin-right: 10px;
  transition: color 0.2s ease;
}
.medical-dropdown-list li a:hover {
  color:var(--font-brand);
  background-color: #f7f3ee;
  padding-left: 22px;
}
.medical-dropdown-list li a:hover::before {
  color:var(--font-brand);
}
/* First View -------------------- */
.fv {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero {
  width: 100%;
  min-height: 50vh;
  background: url(../img/main01.jpg) no-repeat center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex: 1.4;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
}
.watermark-wrap {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  inset: 0;
  position: absolute;
}
.watermark-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 120px;
  color: var(--font-light);
  opacity: 0.08;
  letter-spacing: -0.05em;
  line-height: 1;
  z-index: var(--z-box);
}
.watermark-wrap .watermark-text:last-child {
  margin-top: -5rem;
  margin-left: 18rem;
}
.fv-copy {
  color: var(--font-light);
  font-size: clamp(20px,3.5vw,60px);
  z-index: 10;
}
/* Schedule & Access -------------------- */
.cta-section {
  width: 100%;
  background-color: var(--bg-main-dark);
}
.hours-wrap {
  padding:3rem 1.5rem;
  justify-content: space-between;
}
.schedule {
  padding: 5vh 40px 8vh;
}
.schedule-wrap {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.hours {
  width: 50%;
  max-width: 800px;
  height: 100%;
  padding: 1.5vh 2vw 0.5vh;
  background: var(--bg-light);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.time-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.time-table th{
  color: #333;
  font-size: var(--fs-l);
  font-weight: 300;
  padding: 4px 0 1vh;
  border-bottom: 1px solid #ddd;
  text-align: center;
}
.time-table td {
  padding: 1vh 10px;
  vertical-align: middle;
}
.time-row1{
  border-bottom: 1px solid #ddd;
}
.time-table .time-head {
  color: var(--font-brand);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: var(--fs-l);
  letter-spacing: var(--ls-wide);
  font-weight: 400;
  text-align: center;
}
.time {
  text-align: center;
}
.main-time {
  color: #333;
  font-size: var(--fs-l);
  letter-spacing: 1px;
}
.sub-time {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #9aa3b2;
  margin-top: 5px;
}
/* ドット */
.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--font-brand);
  border-radius: 50%;
}
/* 斜線 */
.slash {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--font-brand);
  transform: rotate(-45deg);
}
.access {
  width: 100%;
  max-width: 340px;
  padding-left: 24px;
  border-left: 1px solid #e5e7eb;
}
.access h2 {
  color: var(--font-brand);
  margin-bottom: 16px;
}
.access p:nth-of-type(2) {
  color: #6b7280;
  font-size: var(--fs-s);
}
.sns-btn {
  width: fit-content;
  border-radius: 0.75rem;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.sns-btn:hover {
  background-color: rgba(237, 233, 229, 1);
}
.insta-mark-s {
  width: 32px;
  height: 32px;
}
.insta-logo-s {
  width: auto;
  height: 20px;
}
.cta-wrap {
  width: 47.5%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 2rem;
}
.cta-coments {
  width: 100%;
  font-size: var(--fs-xl);
  border-bottom: 1px solid #b8a88a;
  margin-bottom: 1rem;
}

.clinic {
  display: flex;
  flex-direction: column;
}

.clinic img {
  width: 60%;
}

.clinic-tooth {
  width: 3rem;
  height: 3rem;
}
.clinic-address {
  font-size: 24px;
  margin-bottom: 1rem;
}
/* Medical -------------------- */
.medical {
  min-height: 100vh;
}
.h2-header {
  text-align: center;
  width: 100%;
  background-color: #425465;
  padding-block: 32px;
  position: relative;
}
.h2-header h2 {
  color: var(--font-light);
  font-size: 52px;
  letter-spacing: 0.15em;
  display: inline-block;
  position: relative;
}
.h2-header p {
  color: var(--font-light);
  font-size: 18px;
  opacity: 0.9;
  letter-spacing: 0.3em;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.header-line::before,
.header-line::after {
  content: "";
  width: 140px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.6);
  position: absolute;
  top: 50%;
}
.header-line::before {
  right: 100%;
  margin-right: 2.5rem;
}
.header-line::after {
  left: 100%;
  margin-left: 2.5rem;
}
.header-circle::before,
.header-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}
.header-circle::before {
  right: 100%;
  margin-right: calc(2.5rem + 140px);
}
.header-circle::after {
  left: 100%;
  margin-left: calc(2.5rem + 140px);
}
.box-green-s {
  width: clamp(60px, 9vw, 130px);
  height: clamp(60px, 9vw, 130px);
  border-radius: 8px 8px 0 0;
  background-color: #4a9d8e;
  position: absolute;
  left: 0;
  bottom: 0;
}
.box-white-s {
  width: clamp(50px, 7vw, 100px);
  height: clamp(50px, 7vw, 100px);
  border-radius: 8px 8px 0 0;
  background-color: #f5f1ee;
  position: absolute;
  left: clamp(60px, 9vw, 130px);
  bottom: 0;
}
.medical-card-wrap {
  max-width: 1400px;
  padding: 0 16px;
  margin: 48px auto 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  justify-content: center;
  gap: 26px;
}
.medical-card {
  background-color: var(--bg-light);
  text-align: center;
  border: 1px solid #e5e7eb;
  padding: clamp(16px, 3.5vh, 32px) 2vw;
  box-shadow: 6px 6px 0px 0px rgba(0,0,0,0.03), 0 10px 25px -5px rgba(0,0,0,0.1);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.medical-card::after {
  content: "";
  display: block;
  width: 5rem;
  height: 5rem;
  background-color: var(--bg-gold);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 10;
}
.medical-card:hover {
  transform: translateY(-6px);
  box-shadow: 6px 12px 0px 0px rgba(0,0,0,0.04), 0 20px 40px -5px rgba(0,0,0,0.15);
}
.medical-card p {
  color: #4b2e1f;
  font-size: clamp(13px, 1.2vw, 16px);
  text-align: center;
  margin-bottom: 0;
}
.medical-card p:nth-of-type(2) {
  margin-bottom: clamp(8px, 1.5vh, 16px);
}
.medical-card h3 {
  color: rgb(154, 138, 87,0.7);
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: 0.16em;
  padding-bottom: .75rem;
  border-bottom: 2px solid rgb(154, 138, 87,0.7);
}
.medical-card .card-font-s {
  font-size: clamp(18px, 1.3vw, 23px);
}

/* Feature -------------------- */
.feature {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.feature-y-wrap {
  height: 100%;
  flex-grow: 1;
  display: flex;
  align-items: center;
}
.feature-card-wrap {
  max-width: 1300px;
  padding: 0 16px;
  margin-inline: auto;
  padding-top: clamp(20px, 4vh, 60px);
  padding-bottom: clamp(20px, 4vh, 60px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(308px, 1fr));
  justify-content: center;
  gap: 26px;
}
.feature-card {
  box-shadow: 6px 6px 0px 0px rgba(0,0,0,0.03), 0 10px 25px -5px rgba(0,0,0,0.1);
}
.feature-card-img {
  width: 100%;
  height: 150px;
}
.feature-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card-content {
  height: 80px;
  background-color: var(--bg-light);
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.feature-card-content h3 {
  color: rgb(154, 138, 87,0.7);
  line-height: 1.625;
  letter-spacing: 0.05em;
  text-align: center;
}
/* 詳しくはこちらボタン　設定 */
.feature-card:nth-of-type(4) {
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.staff-btn {
  color: #998a56;
  font-size: 18px;
  letter-spacing: .1em;
  line-height: 1.5;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 340px;
  height: 60px;
  border: 1px solid #998a56;
  position: relative;
}
.staff-btn::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background-color: #998a56;
  right: 0;
  top: 50%;
  position: absolute;
  transition: .3s;
}
.staff-btn:hover::after {
  transform: translateX(10px);
}

/* Greeting -------------------- */
.greeting {
  min-height: 100vh;
}
.greeting-wrap {
  max-width: 1200px;
  padding-inline: 16px;
  margin: 48px auto 80px;
  display: flex;
  gap: 40px;
}
.greeting-left {
width: 35%;
}
.greeting-img-wrap {
  width: 100%;
}
.greeting-img-wrap img {
  width: 100%;
  object-fit: cover;
}
.greeting-name-wrap {
  margin-block: 24px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.greeting-name-circle {
  color: #313a6e;
  font-size: 18px;
  width: 60px;
  height: 60px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #ebedec;
  border-radius: 50%;
}
.greeting-name {
  color: #444;
	font-size: 30px;
}
.greeting-name-en {
  color: #998a56;
  font-size: 18px;
}
.greeting-right {
  width: 65%;
}
.greeting-title {
  color: #313a6e;
  font-size: 36px;
  letter-spacing: .1em;
  line-height: 1.6;
  margin-bottom: 35px;
}
.greeting-content {
  color: #444;
  font-size: 18px;
  line-height: 2;
  text-align: justify;
}
/* Access -------------------- */
.last-access {
  min-height: 100vh;
  background-color: #e5d7ca;
}
.access-inner {
  margin: 48px auto 80px;
  padding-inline: 40px;
}
.access-inner  .schedule-wrap {
  align-items: center;
}
.access-inner .access {
  border: none;
}
.clinic-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.clinic-logo h3 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.clinic-logo p {
  font-size: 14px;
  margin-block: 0.75rem 0;
  letter-spacing: 0.2em;
}
.sns-btn-l {
  background-color: #F5F1EE;
}
.insta-mark-l {
  width: 42px;
  height: 42px;
}
.insta-logo-l {
  width: 160px;
}
.access-address {
  margin-bottom: 32px;
}
/* Map -------------------- */
.map-wrap {
  width: 100%;
  height: 500px;
}
.map-wrap iframe {
  height: 100%;
}
/* Footer -------------------- */
.footer-wrap {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 下層ページFV
================================================== */
.fv-wrap {
  background-color: #EAE1D6;
  height: 350px;
  position: relative;
}
.h1-title {
  color: var(--font-dark);
  font-size: var(--fs-2xl);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 25;
}
.h1-title::after {
  content: attr(data-h1-en);
  display: block;
  color: var(--font-dark);
  font-size: var(--fs-l);
  text-align: center;
  margin-top: var(--margin-s);
  letter-spacing: var(--ls-wide);
}

/* 下層ページFooter
================================================== */

.footer-index-wrap {
	color: #fff;
	font-size: 16px;
	width: 100%;
	padding-block:100px ;
	background-color: #BB8D57;
}

.footer-index-inner {
	width: 100%;
  max-width: 1400px;
	margin: 0 auto;
	padding: 0 4rem;
}

.footer-top {
	display: flex;
	margin-bottom: 32px;
}

.footer-left {
  width: 38%;
  padding-right: 3%;
}

.footer-title {
	color: #fff;
	font-size: 30px;
	font-weight: 400;
	border-bottom: 1px solid #fff;
	padding-bottom: 14px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
}
.footer-en {
	margin-right: 13px;
}
.footer-ja {
	font-size: 1rem;
} 
.site-map {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: calc(24 / 1199 * 100vw);
}
.site-map li a,
.footer-medical li a {
	padding-left: calc(25 / 1199 * 100vw);
	position: relative;
}
.site-map li a::before,
.footer-medical li a::before {
	content: "";
	display: inline-block;
	position: absolute;
	width: 0;
	height: 0;
	top:50%;
	transform: translateY(-50%);
	border-left: 4px solid #fff;
	border-top: 3px solid transparent;
	border-bottom: 3px solid transparent;
	left: 2px;
}

.footer-right {
	width: 62%;
}

.footer-medical {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(5, auto);
	grid-auto-flow: column;
	column-gap: calc(24 / 1199 * 100vw);
	row-gap: calc(24 / 1199 * 100vw);
}

/* staff.html
================================================== */
/* 院長のご紹介 -------------------- */
.title-bg {
  width: 100%;
  height: 18rem;
  background-color: #faf8f5;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.title-bg::before {
  display: none;
}
.title-bg h2{
  color: var(--font-dark);
  font-size: var(--fs-2xl);
  z-index: var(--z-title);
  position: relative;
}
.title-line {
  position: relative;
}
.title-line::before,
.title-line::after {
  content:'';
  width:140px;
  height:1px;
  background-color:rgba(58,77,92,0.3);
  position:absolute;
  top:50%;
  display: none;
}
.title-line::before {
  right:100%;
  margin-right:2.5rem;
}
.title-line::after {
  left:100%;
  margin-left:2.5rem;
}
.title-circle {
  position: relative;
}
.title-circle::before,
.title-circle::after {
  content:'';
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:10px;
  height:10px;
  background-color: rgba(58,77,92,0.4);
  border-radius:50%;
  display: none;
}
.title-circle::before {
  right:100%;
  margin-right:calc(2.5rem + 140px);
}
.title-circle::after {
  left:100%;
  margin-left:calc(2.5rem + 140px);
}
.x-wrap {
  max-width: 1400px;
  padding-inline: 4rem;
  margin-inline: auto;
}
.intro-sec1 {
  justify-content: space-between;
  padding-block: 6rem  3rem;
}
.intro-sec1-left {
  width: 50%;
}
.name-wrap {
  display: flex;
  justify-content: left;
  align-items: flex-end;
  gap: 24px;
  border-bottom: 1px solid #b8a88a;
  padding-bottom: 24px;
}
.name-l {
  font-size: var(--fs-xl);
}
.name-en {
  color: #b8a88a;
}
.intro-text {
  margin-top: var(--margin-m);
  text-align: justify;
}
.intro-sec1-right {
  width: 45%;
  max-width: 500px;
}
.intro-sec1-right img {
  max-width: 100%;
  height: auto;
}
.intro-sec2 {
  justify-content: space-between;
  padding-block: 3rem 6rem;
}
.intro-sec2-left {
  width: 33%;
}
.intro-sec2-left img {
  width: 100%;
  max-width: 400px;
}
.intro-sec2-right {
  width: 62%;
}
.intro-sec2-right p:nth-child(4) {
  margin-top: var(--margin-m);
}
.info-wrap {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  margin-inline: auto;
  gap: 40px;
}
.career {
  width: 100%;
  height: 100%;
}
.career-list {
  max-width: 800px;
  padding: 24px;
  margin-inline: auto;
}
.career-item {
  display: grid;
  grid-template-columns: 30% 1fr;
  margin-bottom: 20px;
}
.career {
  width: 100%;
  height: 370px;
}
.license,
.affiliation {
  width: 100%;
}
.career h3,
.license h3,
.affiliation h3{
  color: var(--bg-light);
  line-height: 50px;
  text-align: center;
  height: 50px;
  background: #C9C2A5;
  letter-spacing: 0.2em;
}
.career-list,
.license-list,
.affiliation-list {
  list-style-type: disc;
  list-style-position: outside;
  background-color: var(--bg-light);
  padding:24px;
}
.career-list {
  height: calc( 100% - 50px );
}
.license-right {
  display: flex;
  flex-direction: column;
}
.career-list li,
.license-list li,
.affiliation-list li {
  margin-left: 24px;
  margin-bottom: var(--margin-ss);
}
.dentist-wrap {
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 6rem;
}
.dentist-wrap .career {
  margin-bottom: 3rem;
}
.dentist-wrap .career-item {
  grid-template-columns: 160px 1fr;
}
.dentist-wrap .license-list,
.dentist-wrap .affiliation-list{
  height: 120px;
}
.dentist-left {
  width: 33%;
}
.dentist-left img {
  width: 100%;
}
.dentist-name {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  border-bottom: 1px solid #b8a88a;
  margin-top: 1rem;
}
.dentist-right {
  width: 62%;
}
.staff-coments {
  color: var(--font-navy);
  font-size: var(--fs-2xl);
  margin-block: 3rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.staff-wrap {
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 6rem;
  gap: 4rem;
}
.staff-item {
  width: 45%;
  position: relative;
}
.staff-img {
  width: 100%;
}
.staff-img img {
  width: 100%;
}
.staff-role {
  color: var(--bg-light);
  width: 200px;
  height: 40px;
  background-color: #C9C2A5;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: -20px;
  bottom: -20px;
}
/* ===== Menu Dropdown (2-column grid like Kaneko Dental) ===== */
/* .has-dropdown {
  position: relative;
}
.menu-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(8px);
  background: var(--bg-light);
  width: 520px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border-top: 3px solid var(--font-brand);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 100;
  padding: 20px 24px;
  text-align: left;
}
.has-dropdown:hover .has-dropdown:hover .menu-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.menu-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.menu-dropdown-list li {
  border-bottom: 1px solid #f0ebe4;
}
.menu-dropdown-list li::after {
  display: none !important;
}
.menu-dropdown-list li a {
  display: block;
  padding: 16px 16px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--font-dark);
  letter-spacing: 0.08em;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  white-space: nowrap;
}
.menu-dropdown-list li a::before {
  content: "▸";
  color: #c9c2a5;
  margin-right: 10px;
  font-size: 12px;
  transition: color 0.2s ease;
}
.menu-dropdown-list li a:hover {
  background-color: var(--bg-main);
  color: var(--font-brand);
  padding-left: 22px;
}
.menu-dropdown-list li a:hover::before {
  color: var(--font-brand);
} */

/* checkup.html
================================================== */
.checkup-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.treatment-item.checkup-item {
  align-items: center;
}
.treatment-item.checkup-item:not(:last-child) {
    border-bottom: 0px solid #ddd;
}
.treatment-img {
  width: 200px;
  flex-shrink: 0;
} 
.treatment-img img {
  width: 100%;
}
/* surgery.html
================================================== */
.surgery {
  justify-content: space-between;
  margin-block: 6rem;
}
.surgery-left {
  width: 50%;
}
.surgery-left h3 {
  font-size: var(--fs-2xl);
  line-height: var(--lh-normal);
  padding-left: var(--margin-s);
  margin-bottom: var(--margin-m);
  border-left: 5px solid #C9C2A5;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.surgery-left h4 {
  font-size: var(--fs-l);
  font-weight: var(--fw-600);
  margin-bottom: var(--margin-m);
}
.surgery-right {
  width: 45%;
  position: relative;
}
.surgery-right::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--bg-main-dark);
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
}
.surgery-right img {
  width: 100%;
  position: relative;
  z-index: 2;
}
.surgery-example {
  max-width: 1000px;
  height: auto;
  background-color: var(--bg-light);
  padding: 10px;
  margin:0 auto 6rem;
  position: relative;
}
.surgery-example h3 {
  color: var(--bg-light);
  font-size: var(--fs-l);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #C9C2A5;
  position: absolute;
  width: 450px;
  height: 70px;
  left:50%;
  top:0;
  transform: translate(-50%,-25px);
}
.example-inline {
  width: 100%;
  height: auto;
  margin-inline: auto;
  padding: 70px 32px 8px;
  border: 2px solid #C9C2A5;
}
.surgery-list {
  max-width: 800px;
  list-style-type: disc;
  list-style-position: outside;
  display: grid;
  grid-template-columns: 45% 45%;
  justify-content: space-between;
  margin-inline: auto;
}
.surgery-list li {
  margin-bottom: 1rem;
}
.tooth-extraction h2 {
  font-size: var(--fs-2xl);
  display: flex;
  align-items: center;
  position: relative;
}
.tooth-extraction h2::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background-color: var(--bg-main);
  border: 1px solid #b8a88a;
  border-radius: 50%;
  position: absolute;
  right: 0;
}
.tooth-extraction h2::after {
  content: "";
  display: block;
  flex: 1;
  height: 1px;
  background-color: #b8a88a;
  margin-left: 32px;
}

/* prevention.html
================================================== */
.merit {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 30px;
  margin-bottom: 6rem;
}
.card {
  font-size: var(--fs-l);
  width: 100%;
  height: 160px;
  margin-top: 3rem;
  background-color: var(--bg-light);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.card::after {
  content: "";
  display: block;
  background-color: #C9C2A5;
  height: 30px;
  width: 30px;
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  position: absolute;
  bottom: 5px;
  right: 5px;
}
.card p {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.preventive {
  background-color: var(--bg-main-dark);
  padding: 1.5rem;
  margin-block: 6rem 3rem;
  justify-content: space-between;
}
.preventive .surgery-right {
  width: 34%;
}
.preventive .surgery-right::before {
  background-color: #C9C2A5;
}
.care-title {
  color:#b8a88a;
  font-size: var(--fs-l);
}
.care-type {
  border-bottom: 1px solid #b8a88a;
}

/* cavity.html
================================================== */
.treatment-list {
    width: 100%;
}
.treatment-item {
    display: flex;
    align-items: flex-start; 
    gap: 20px;
    padding-block: 1.5rem;
}
.treatment-item:not(:last-child) {
  border-bottom: 1px solid #ddd;
}
.treatment-content dt {
  font-size: var(--fs-l);
  margin-bottom: var(--margin-s);
}
.treatment-content dd {
  font-size: var(--fs-m);
  line-height: var(--lh-normal);
} 

/* periodontal.html
================================================== */
.periodontal-list {
  width: 100%;
}
.periodontal-item {
  padding: 1.5rem 7rem;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.periodontal-item:not(:last-child) {
  border-bottom: 1px solid #ddd;
} 
.periodontal-item dt {
  font-size: var(--fs-l);
  font-weight: bold;
  line-height:var(--lh-normal);
}
.periodontal-item dd {
  font-size: var(--fs-m);
  line-height:var(--lh-normal);
}
.periodontal-sublist {
  list-style-type: disc;
  list-style-position: outside;
  margin-left: var(--margin-s);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* aesthetic.html
================================================== */
.aesthetic .periodontal-item {
  display: grid;
  grid-template-columns: 35% 1fr;
  padding: 1.5rem;
}
.aesthetic .periodontal-item dt {
  grid-column: 1/2;
}
.aesthetic .periodontal-item dd {
  grid-column: 2/3;
}
/* children.html
================================================== */
.children .periodontal-item {
  display: grid;
  grid-template-columns: 25% 1fr;
  padding: 1.5rem;
} 
.children .periodontal-item dt {
  grid-column: 1/2;
}
.children .periodontal-item dd {
  grid-column: 2/3;
}

/* implant.html
================================================== */
.implant .periodontal-item {
  display: grid;
  grid-template-columns: 35% 1fr;
  padding: 1.5rem;
}
.implant .periodontal-item dt {
  font-size: ;
  grid-column: 1/2;
}
.implant .periodontal-item dd {
  grid-column: 2/3;
}
/* .treatment-example {
  max-width: 1400px;
  position: relative;
} */
/* .treatment-example .card-shadow {
  width: 100%;
  height: 100%;
  background-color: #E5E1DD;
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: var(--z-shadow);
} */
/* .treatment-example .example-inline {
  padding: 40px 32px;
} */
/* .treatment-example h3 {
  width: 350px;
  margin: 0 auto 32px;
  position: static;
  transform: translate(0,0);
} */
/* .treatment-example h3::before,
.treatment-example h3::after {
  content: "";
  display: inline-block;
  width: 50px;
  height: 1px;
  background-color: var(--bg-light);
  position: absolute;
} */
/* .treatment-example h3::before {
  left: 0;
}
.treatment-example h3::after {
  right: 0;
} */

/* ortho.html
================================================== */
.ortho .periodontal-item {
  display: grid;
  grid-template-columns: 35% 1fr;
  padding: 1.5rem;
}
.ortho .periodontal-item dt {
  grid-column: 1/2;
}
.ortho .periodontal-item dd {
  grid-column: 2/3;
}

/* レスポンシブ（タブレット以下）
================================================== */
@media (max-width: 1024px) {
  .feature-card.pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
  /* First View -------------------- */
  .watermark-text {
    font-size: 80px;
  }
  .watermark-wrap .watermark-text:last-child {
    margin-top: -2rem;
    margin-left: 9rem;
  }
  /* Schedule & Access -------------------- */
  .schedule-wrap {
    display: block;
  }
  .hours {
    width: 100%;
    max-width: none;
    margin-bottom: 40px;
  }
  /* Medical -------------------- */
  .medical-card-wrap {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  } 
  /* Feature -------------------- */
  .feature-card-wrap {
    grid-template-columns: repeat(auto-fit,minmax(310px,1fr));
  }
  .feature-card:nth-of-type(7) {
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  /* Greeting -------------------- */
  .greeting-name-wrap {
    gap: 8px;
  }
  .greeting-name-circle {
    font-size: 14px;
    width: 40px;
    height: 40px;
  }
  .greeting-name {
    font-size: 18px;
  }
  .greeting-name-en {
    font-size: 14px;
  }
  .staff-btn {
    font-size: 16px;
    width: 240px;
  }
  .staff-btn::after {
    width: 35px;
  }
  /* map -------------------- */
    .map-wrap {
    height: 60vh;
  }
    .map-wrap iframe {
    height: 60vh;
  }
  /*  footer-index -------------------- */
	.footer-left {
		width: 28%;
	}
	.footer-right {
		width: 72%;
	}

	.footer-title {
		font-size: 24px;
		flex-direction: column;
	}

	.footer-en {
		margin-right: 0;
		margin-bottom: 8px;
	}

  /* 下層ページ
  ================================================== */
  .clinic img {
    width: 40%;
  }
  .clinic-address {
    font-size: 20px;
    padding-block: 16px;
  }

  /* prevention.html
  ================================================== */
  .merit {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  }
  .hours-wrap {
    display: block;
  }
  .cta-wrap {
    width: 100%;
  }
  /* feature.html
  ================================================== */
  .title-bg {
    padding-inline: 64px;
  }
}

/* レスポンシブ（スマホ以下）
================================================== */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  p {
    margin-bottom: 1rem;
  }
  /* index.html
  ================================================== */
  /* Header -------------------- */
  .header-wrap {
    height: 80px;
    padding-inline: 16px;
  }
  .logo-wrap a {
    font-size: 14px;
  }
  /* First View -------------------- */
  .fv-copy {
    font-size: 24px;
    text-align: center;
    line-break: strict;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .watermark-text {
    font-size: 48px;
  }
  .watermark-wrap .watermark-text:last-child {
    margin-top: -1rem;
    margin-left: 2rem;
  }
  .box-green {
    width: 80px;
    height: 80px;
  }
  .box-white {
    width: 60px;
    height: 60px;
    left: 80px;
  }
  /* Hamburger -------------------- */
  .hamburger {
    display: flex;
    position: fixed;
    top: 18px;
    right: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
  }
  .hamburger-line {
    background-color: var(--font-dark);
  }
  .hamburger.is-open {
    background-color: var(--bg-main);
  }
  .hamburger.is-open .hamburger-line {
    background-color: var(--font-dark);
  }

  /* SP Nav Close Button -------------------- */
  .sp-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 16px;
    width: 44px;
    height: 44px;
    background-color: var(--bg-main-dark);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .sp-nav-close::before,
  .sp-nav-close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background-color: var(--font-dark);
    border-radius: 2px;
  }
  .sp-nav-close::before {
    transform: rotate(45deg);
  }
  .sp-nav-close::after {
    transform: rotate(-45deg);
  }

  /* Grobal Navigation - SP drawer -------------------- */
  .menu-wrap {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(80vw, 350px);
    height: 100vh;
    overflow-y: auto;
    background-color: var(--bg-main);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-drawer);
    padding-top: 60px;
  }
  .menu-wrap.is-open {
    transform: translateX(0);
  }
  .menu {
    width: 100%;
    flex-direction: column;
    padding-block: 8px;
  }
  .menu > li {
    border-bottom: 1px solid var(--bg-main-dark);
  }
  .menu > li:not(:last-child)::after {
    display: none;
  }
  .menu-btn {
    display: block;
    width: 100%;
    height: auto;
    padding: 16px 24px;
    text-align: left;
  }
  .menu-btn a {
    padding: 16px;
  }
  .medical-dropdown-panel {
    width: 100%;
    position: static;
    box-shadow: none;
    border-top: none;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.3s ease;
  }
    .medical-dropdown {
    display: flex;
    flex-direction: column;
  }
  .medical-dropdown-list {
    display: flex;
    flex-direction: column;
  }
  .medical-dropdown-list li:last-child {
    border-bottom: 0 solid #f0ebe4;
  }
  .medical-dropdown-list li a {
    font-size: clamp(11px, 1.2vw, 20px);
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .medical-dropdown.is-open .medical-dropdown-panel {
    max-height: 600px;
  }
  .medical-dropdown-list {
    columns: 1;
  }
  .medical-dropdown-list a {
    padding: 10px 24px;
    font-size: 14px;
  }
  .menu-btn.is-current::before {
    display: none;
  }
  .menu-btn:hover::before {
    display: none;
  }
  .menu-btn::after {
    display: none;
  }

  /* SP Dropdown Arrow -------------------- */
  .medical-dropdown .menu-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
  }
  .sp-dropdown-arrow {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--font-dark);
    border-bottom: 2px solid var(--font-dark);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-right: 4px;
  }
  .medical-dropdown.is-open .sp-dropdown-arrow {
    transform: rotate(-135deg);
  }

  /* Header Contact Buttons -------------------- */
  .header-wrap .tel-btn,
  .header-wrap .reserve-btn {
    display: none;
  }

  /* SP Drawer Contact Buttons -------------------- */
  .sp-drawer-contact {
    margin-top: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .sp-drawer-contact .tel-btn,
  .sp-drawer-contact .reserve-btn {
    display: flex;
    width: 100%;
    padding: 12px 16px;
  }

  /* Schedule & Access -------------------- */
  .schedule {
    padding-inline: 16px;
  }
  .hours {
    /* width: 380px; */
    padding: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .time-table {
    min-width: 380px;
    white-space: nowrap;
  }
  .time-table th {
    font-size: var(--fs-s);
    padding: 12px 8px;
  }
  .time-table td {
    padding: 12px 8px;
  }
  .main-time {
    font-size: var(--fs-s);
  }
  .sub-time {
    font-size: 12px;
  }
  .dot {
    width: 9px;
    height: 9px;
  }
  .slash {
  width: 20px;
  }
  .access.access-sec1 {
    padding-left: 24px;
  }
  /* Medical -------------------- */
  .h2-header {
    padding-block: 16px;
  }
  .h2-header h2 {
    font-size: 24px;
  }
  .h2-header p {
    font-size: 14px;
    margin-top: 0;
  }
  .header-line::before,
  .header-line::after {
    width: 45px;
  }
  .header-line::before {
    right: 100%;
    margin-right: 0.5rem;
  }
  .header-line::after {
    left: 100%;
    margin-left: 0.5rem;
  }
  .header-circle::before,
  .header-circle::after {
    width: 7px;
    height: 7px;
  }
  .header-circle::before {
    right: 100%;
    margin-right: calc(0.5rem + 45px);
  }
  .header-circle::after {
    left: 100%;
    margin-left: calc(0.5rem + 45px);
  } 
  .box-green-s {
    width: 40px;
    height: 40px;
    border-radius: 5px 5px 0 0;
  }
  .box-white-s {
    width: 30px;
    height: 30px;
    border-radius: 5px 5px 0 0;
    left: 40px;
  }
  .medical-card-wrap {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  } 
  .medical-card {
    padding: clamp(8px,1.5vh,16px) 3.5vw;
  }
  .medical-card::after {
    width: 2.5rem;
    height: 2.5rem;
  }
  .medical-card .card-font-s {
    font-size: 16px;
  }
  /* Feature -------------------- */
  .feature-card-wrap {
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  }
  .feature-card-img {
    height: 120px;
  }
  .staff-btn {
    width: 200px;
  }
  /* Greeting -------------------- */
  .greeting-wrap {
    display: block;
  }
  .greeting-left {
    width: 100%;
    margin:0 auto 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .greeting-img-wrap {
    width: 40%;
    min-width: 150px;
  }
  .greeting-right {
    width: 100%;
  }
  .greeting-title {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .greeting-content {
    font-size: 14px;
  }
  /* Access -------------------- */
  .access {
    padding: 0;
  }
  .access-inner {
    padding: 0 16px;
  }
  .clinic-logo {
    margin-bottom: 16px;
  }
  .clinic-logo h3{
    font-size: 20px;
  }
  .clinic-logo p {
    font-size: 12px;
    margin-top: 5px;
  }
  .insta-mark-l {
    width: 32px;
    height: 32px;
  }
  .insta-logo-l {
    width: 130px;
  }
  /* 下層ページ
  ================================================== */
  .fv-wrap {
    height: 200px;
  }
  .fv-wrap h1 {
    white-space: nowrap;
  }
  .h1-title {
    font-size: 24px;
  }
  .h1-title::after {
    font-size: 16px;
  }
  .clinic img {
    width: 60%;
  }
  .clinic-address {
  font-size: 16px;
  }
  /* staff.html
  ================================================== */
  .title-bg {
    height: 7rem;
    padding-inline: 16px;
  }
  .title-line {
    font-size: 20px;
  }
  .box-green.title-box {
    width: 60px;
    height: 60px;
  }
  .box-white.title-box {
    width: 45px;
    height: 45px;
  }
  .x-wrap {
    padding: 0 16px;
  }
  .flex-wrap {
    display: flex;
    flex-direction: column;
  }
  .intro-sec1,
  .intro-sec2 {
    padding-block: 24px;
  }
  .intro-sec2 {
    flex-direction: column-reverse;
  }
  .intro-sec1-left,
  .intro-sec1-right,
  .intro-sec2-left,
  .intro-sec2-right {
    width: 100%;
  }
  .name-wrap {
    flex-direction: row;
    gap: 8px;
    padding-bottom: 12px;
  }
  .name-l {
    font-size: 20px;
  }
  .info-wrap {
    display: block;
  }
  .career,
  .career-list {
    height: auto;
  }
  .staff-coments {
    font-size: 20px;
    text-align: center;
    line-break: strict;
    word-break: keep-all;
    overflow-wrap: anywhere;
    margin: 32px 0;
  }
  .staff-wrap {
    margin-bottom: 40px;
  }
  .staff-item {
    width: 100%;
  }
  .staff-role {
    width: 140px;
    right: -10px;
  }
  .hours-wrap {
    padding: 40px 16px;
  }
  .hours {
    width: 100%;
    margin-bottom: 24px;
  }
  .cta-wrap {
    width: 100%;
    padding-left: 0;
  }
  .cta-coments {
    font-size: 20px;
    text-align: left;
    line-break: strict;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .clinic-tooth {
    width: 32px;
    height: 32px;
  }

  /* スマホ：コンタクトボタンを画面下部に固定 */
  .contact-wrap {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 44px;
    width: auto;
    display: flex;
    gap: 0;
    border-radius: 0;
    z-index: 100;
  }
  .contact-wrap .tel-btn,
  .contact-wrap .reserve-btn {
    flex: 1;
    border-radius: 0;
    padding: 10px 8px;
    gap: 4px;
  }
  /* 「ご予約・お問い合わせ」「24時間受付」を非表示 */
  .tel-row1,
  .reserve-row1 {
    display: none;
  }
  /* アイコン上・テキスト下の2行縦並び */
  .contact-wrap .flex-wrap {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
  .contact-wrap .phone-icon,
  .contact-wrap .mail-icon {
    width: 15px;
    height: 15px;
  }
  .contact-wrap .tel-row2,
  .contact-wrap .reserve-row2 {
    font-size: 16px;
  }

  /* ボタン下の余白ボックス */
  .contact-wrap::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background-color: var(--bg-main);
    z-index: 99;
  }

  /*  footer-index -------------------- */
  .footer-index-wrap {
		padding-block: 64px 160px;
	}
	.footer-top {
		flex-direction: column;
		gap: 40px;
	}
	.footer-left {
		width: 100%;
	}
	.footer-right {
		width: 100%;
	}
	.footer-title {
		flex-direction: row;
	}
	.footer-en {
		margin-right: 13px;
	}
	.footer-medical {
		display: flex;
		flex-direction: column;
	}

  /* checkup.html
  ================================================== */
  .surgery {
    margin-block: 40px 80px;
  }
  .surgery-left,
  .surgery-right {
    width: 100%;
  }
  .surgery-left h3 {
    font-size: 22px;
    padding-left: 0.5rem;
  }
  .surgery-left h4 {
    font-size: 18px;
  }
  .surgery-example {
    margin: 0 auto 40px;
    }
  .surgery-example h3{
    width: 200px;
    height: 50px;
    text-align: left;
    line-break: strict;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .example-inline {
    padding: 40px 16px 16px;
  }
  .treatment-item {
    flex-direction: column-reverse;
    gap: 24px;
    padding-block: 0 3rem;
  }
  .checkup-list {
    gap: 16px;
  }
  /* prevention.html
  ================================================== */
  .surgery-example.prevention-example h3 {
    text-align: center;
    height: 60px;
}
  .surgery-list {
    display: flex;
    flex-direction: column;
  }
  .surgery-list li {
    margin-left: 24px;
  }
  .tooth-extraction h2 {
    font-size: 20px;
    margin-top: 40px;
  }
  .tooth-extraction h2::after {
    margin-left: 16px;
  }
  .tooth-extraction .surgery {
    margin-block: 24px;
  }
  .merit {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    margin-block: 24px 40px;
    gap: 16px;
  }
  .card {
    height: 110px;
    margin: 0;
  }
  .preventive {
    margin-block: 40px;
  }
  .preventive .surgery-right {
    width: 100%;
  }
  .care-title {
    font-size: 14px;
    margin: 0;
  }
  .tooth-extraction .care-menu {
    margin-top: 0;
  }
  /* cavity.html
  ================================================== */
  .treatment-item:not(:last-child) {
    border-bottom: none;
  }
  .treatment-content dt {
    font-size: 22px;
  }
  .treatment-content dd {
    font-size: 16px;
  }
  .treatment-img {
    width: 100%;
    text-align: center;
  }
  .treatment-img img {
    width: 100%;
    max-width: 200px;
  }
  /* children.html
  ================================================== */
  .surgery-example .example-inline {
    padding: 48px 16px 0;
  }
  .surgery-example h3::before,
  .surgery-example h3::after {
    width: 15px;
  }
  .children .periodontal-item {
    display: block;
    padding: 24px 0;
  }
  /* implant.html
  ================================================== */
  .implant .periodontal-item {
    display: block;
    padding: 24px 0;
  }
  /* ortho.html
  ================================================== */
  .ortho .periodontal-item {
    display: block;
    padding: 24px 0;
  }
  /* aesthetic.html
  ================================================== */
  .aesthetic .periodontal-item {
    padding: 24px 0;
    display: block;
  }

  /* トップに戻るボタン：スマホでは小さく右寄せ */
  #toTop {
    width: 36px;
    height: 36px;
    right: 4px;
    bottom: 38px;
  }

  .triangle {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 9px solid var(--bg-light);
  }
}

/* Narrow Mobile: max-width 400px (320px対応)
================================================== */
@media (max-width: 400px) {

  /* 横スクロールを無効化 */
  .hours {
    padding: 12px 8px;
    overflow-x: visible;
  }

  /* テーブルを固定レイアウトで320px内に収める */
  .time-table {
    min-width: 0;
    table-layout: fixed;
    white-space: normal;
  }

  /* 時間帯列を固定幅に */
  .time-table .time-head,
  .time-table .time {
    width: 78px;
  }

  .time-table .time-head {
    font-size: 12px;
  }

  .time-table th,
  .time-table td {
    font-size: 12px;
    padding: 6px 2px;
    letter-spacing: 0;
  }

  /* 「日・祝」のみ折り返し許可 */
  .time-table th:last-child {
    white-space: normal;
    word-break: break-all;
    line-height: 1.3;
  }

  .main-time {
    font-size: 12px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .sub-time {
    font-size: 12px;
    white-space: normal;
    line-height: 1.4;
  }

  .dot {
    width: 9px;
    height: 9px;
  }

  .slash {
    width: 14px;
  }
}

/* 2026.09 修正：予約優先の注記・CTA Instagram -------------------- */
.hours-block {
  width: 50%;
  max-width: 800px;
}
.hours-block .hours {
  width: 100%;
  max-width: none;
  margin-bottom: 0;
}
.reserve-note {
  margin-top: 0.75rem;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #555;
}
.cta-instagram {
  display: inline-block;
  width: 60%;
  max-width: 360px;
  margin-top: 1.25rem;
}
.cta-instagram img {
  width: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
@media (max-width: 1024px) {
  .hours-block {
    width: 100%;
    max-width: none;
    margin-bottom: 40px;
  }
}
@media (max-width: 768px) {
  .hours-block {
    margin-bottom: 24px;
  }
  .reserve-note {
    font-size: 14px;
  }
  .cta-instagram {
    width: 80%;
    margin-top: 0.5rem;
  }
}

/* 2026.10 修正：予約優先の注記を診療時間表の中央下に -------------------- */
.reserve-note {
  text-align: center;
}
