/* ============================
   リセット・基本設定
   ============================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1a7fa8;
  --primary-dark: #155f80;
  --primary-light: #e8f4f9;
  --accent: #2bc0a0;
  --text: #2d3748;
  --text-light: #718096;
  --bg: #ffffff;
  --bg-gray: #f7f9fb;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-size: 15px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

/* ============================
   セクションヘッダー
   ============================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 14px auto 0;
  border-radius: 2px;
}

.section-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 16px;
}

/* ============================
   ヘッダー
   ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--text-light);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-list a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-contact {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 20px !important;
  padding: 8px 18px !important;
}

.nav-contact:hover {
  background: var(--primary-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================
   モバイルナビ
   ============================ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 16px 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-nav a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ============================
   ヒーローセクション
   ============================ */
.hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d4f6e 0%, #1a7fa8 40%, #2bc0a0 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  width: 100%;
}

.hero-body {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}

.hero-text {
  /* テキスト側 */
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  width: 75%;
  margin-left: auto;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 3px;
  margin-bottom: 24px;
  font-weight: 300;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

.btn-block {
  width: 100%;
}

.btn-large {
  padding: 16px 40px;
  font-size: 1rem;
}

/* ヒーロー情報バー */
.hero-info-bar {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.97);
  border-top: 3px solid var(--primary);
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 32px;
  border-right: 1px solid var(--border);
}

.hero-info-item:last-child {
  border-right: none;
}

.info-icon {
  font-size: 1.5rem;
}

.info-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

.info-text {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

/* ============================
   お知らせバー
   ============================ */
.news-bar {
  background: var(--primary-light);
  border-bottom: 1px solid #c8e5f1;
  padding: 24px 0;
}

.news-bar .container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.news-label {
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  margin-top: 2px;
  flex-shrink: 0;
}

.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
}

.news-date {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  min-width: 60px;
}

.news-text {
  color: var(--text);
}

/* ============================
   最新お知らせバー
   ============================ */
.latest-news-bar {
  background: #fff4ec;
  border-top: 3px solid #e8650a;
  border-bottom: 1px solid #f5c9a0;
  padding: 13px 0;
}

.latest-news-bar .container {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.lnews-label {
  background: #e8650a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.lnews-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: #c0500a;
  white-space: nowrap;
}

.lnews-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #7a3000;
  flex: 1;
}

.lnews-more {
  font-size: 0.82rem;
  color: #e8650a;
  font-weight: 700;
  white-space: nowrap;
  margin-left: auto;
  transition: opacity 0.2s;
  border: 1px solid #e8650a;
  padding: 3px 10px;
  border-radius: 12px;
}

.lnews-more:hover {
  background: #e8650a;
  color: #fff;
}

/* ============================
   訪問歯科バナー
   ============================ */
.visit-banner {
  background: linear-gradient(135deg, #0d4f6e, #1a7fa8);
  padding: 28px 0;
}

.visit-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.visit-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.visit-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.visit-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}

.visit-btn {
  margin-left: auto;
  flex-shrink: 0;
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.visit-btn:hover {
  background: var(--primary-light);
}

@media (max-width: 600px) {
  .visit-banner-inner {
    flex-wrap: wrap;
  }
  .visit-btn {
    margin-left: 0;
    width: 100%;
  }
}

/* ============================
   当院について
   ============================ */
.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.about-heading {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.5;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.about-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.doctor-card {
  background: var(--bg-gray);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.doctor-photo-placeholder {
  background: linear-gradient(135deg, #d0e8f2, #b8d8ea);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.doctor-info {
  padding: 28px;
}

.doctor-title {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.doctor-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.doctor-name-kana {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
  margin-bottom: 16px;
}

.doctor-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

.doctor-career {
  list-style: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.doctor-career li::before {
  content: '・';
}

.doctor-specialty {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.specialty-tag {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ============================
   診療内容
   ============================ */
.services {
  background: var(--bg-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.service-blue   { background: #e8f4fd; color: #1a7fa8; }
.service-green  { background: #e8f9f0; color: #27ae60; }
.service-teal   { background: #e0f5f1; color: #1abc9c; }
.service-orange { background: #fef3e8; color: #e67e22; }
.service-purple { background: #f0ebfa; color: #8e44ad; }
.service-pink   { background: #fce8f0; color: #c0392b; }
.service-yellow { background: #fef9e7; color: #d4ac0d; }
.service-red    { background: #fdecea; color: #e74c3c; }
.service-indigo { background: #eaedfa; color: #2c3e8c; }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================
   診療時間
   ============================ */
.hours {
  background: var(--bg);
}

.hours-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hours-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 10px;
  font-weight: 700;
  text-align: center;
  font-size: 0.85rem;
}

.hours-table td {
  text-align: center;
  padding: 16px 10px;
  border-bottom: 1px solid var(--border);
}

.hours-table .time-label {
  text-align: left;
  padding-left: 20px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-gray);
}

.hours-table .time-label small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
}

.hours-table .open {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.hours-table .open-sat {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.hours-table .open-sat small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
}

.hours-table .closed {
  color: #e74c3c;
  font-weight: 700;
}

.hours-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.8;
}

.contact-card {
  background: var(--primary-light);
  border: 1px solid #c8e5f1;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.contact-card hr {
  border: none;
  border-top: 1px solid #c8e5f1;
  margin: 20px 0;
}

.contact-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 10px;
}

.contact-phone {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.contact-hours-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ============================
   アクセス
   ============================ */
.access {
  background: var(--bg-gray);
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.access-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.access-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.access-item:last-child {
  border-bottom: none;
}

.access-item dt {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  padding-top: 2px;
}

.access-item dd {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

.access-item dd a {
  color: var(--primary);
  font-weight: 700;
}

.access-map iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ============================
   お問い合わせ
   ============================ */
.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-box {
  border-radius: var(--radius);
  padding: 44px 36px;
  text-align: center;
  border: 1px solid var(--border);
}

.contact-tel-box {
  background: var(--bg-gray);
}

.contact-web-box {
  background: linear-gradient(135deg, var(--primary) 0%, #2bc0a0 100%);
  color: #fff;
}

.contact-web-box p {
  color: rgba(255,255,255,0.85);
}

.contact-web-box h3 {
  color: #fff;
}

.contact-web-box .btn-primary {
  background: #fff;
  color: var(--primary);
  margin-top: 20px;
}

.contact-box-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-box p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

.contact-phone-large {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 12px 0 6px;
  letter-spacing: 1px;
}

/* ============================
   フッター
   ============================ */
.footer {
  background: #1a2535;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-main {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.footer-logo-sub {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-address {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-tel {
  font-size: 0.9rem;
}

.footer-tel a {
  color: var(--accent);
  font-weight: 700;
}

.footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-hours p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ============================
   ボタン（追加）
   ============================ */
.btn-primary.dark-bg {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary.dark-bg:hover {
  background: var(--primary-dark);
}

/* ============================
   概要（診療時間ブロック）
   ============================ */
.hours-block {
  margin-top: 36px;
}

.hours-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
}

.clinic-info-card {
  background: var(--primary-light);
  border: 1px solid #c8e5f1;
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
}

.clinic-info-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.clinic-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clinic-info-list div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  font-size: 0.88rem;
}

.clinic-info-list dt {
  font-weight: 700;
  color: var(--primary);
}

.clinic-info-list dd a {
  color: var(--primary);
  font-weight: 700;
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============================
   概要（ご挨拶・院長プロフィール）
   ============================ */
.greeting-sign {
  text-align: right;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 8px;
  font-family: var(--font-serif);
}

.profile-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.profile-main-heading {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 32px;
  text-align: left;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.profile-col {
  /* column container */
}

.profile-heading {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary);
  text-transform: uppercase;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.career-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.career-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.6;
}

.career-list li:last-child {
  border-bottom: none;
}

.career-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  min-width: 58px;
  flex-shrink: 0;
}

.affiliation-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.affiliation-list li {
  font-size: 0.875rem;
  color: var(--text);
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}

.affiliation-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* 院長カードのリンク */
.doctor-profile-link {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 20px;
  padding: 8px 0;
  transition: background 0.2s, color 0.2s;
}

.doctor-profile-link:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================
   プロフィールページ専用
   ============================ */
.breadcrumb-bar {
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  margin-top: 72px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary);
  transition: opacity 0.2s;
}

.breadcrumb a:hover { opacity: 0.7; }

.breadcrumb-sep { color: var(--border); }

.profile-page {
  padding-top: 48px;
}

.profile-page-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.profile-page-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  flex: 1;
  min-width: 280px;
}

.doctor-photo-placeholder.large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  flex-shrink: 0;
}

.doctor-photo-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--border);
}

.profile-page-back {
  flex-shrink: 0;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  border: 2px solid var(--primary);
  transition: background 0.2s, color 0.2s;
}

.btn-back:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================
   安心安全
   ============================ */
.safety {
  background: var(--bg-gray);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.safety-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.safety-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.safety-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.safety-card-wide {
  grid-column: 1 / -1;
}

.safety-card-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 4px;
}

.safety-card-inner p {
  flex: 1;
  margin: 0;
}

.safety-card-img {
  width: 220px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 600px) {
  .safety-card-inner {
    flex-direction: column;
  }
  .safety-card-img {
    width: 100%;
  }
}

.safety-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.safety-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ============================
   地域情報
   ============================ */
/* ============================
   院内の様子
   ============================ */
.gallery {
  background: var(--bg-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  background: #fff;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
  padding: 8px 0;
  margin: 0;
}

.gallery-placeholder {
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-placeholder-inner {
  text-align: center;
  color: var(--text-light);
}

.gallery-placeholder-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.gallery-placeholder-inner p {
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item img { height: 160px; }
  .gallery-placeholder { min-height: 190px; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-item img { height: 120px; }
  .gallery-placeholder { min-height: 150px; }
}

.local {
  background: var(--bg);
}

.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.local-subheading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 18px;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
}

.local-area-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.local-area-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.area-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.local-map iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ============================
   トピック
   ============================ */
.topics {
  background: var(--bg-gray);
}

.topics-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.topics-subheading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.topic-item:last-child {
  border-bottom: none;
}

.topic-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  white-space: nowrap;
  min-width: 60px;
}

.topic-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.topic-tag-info    { background: #e8f4fd; color: var(--primary); }
.topic-tag-holiday { background: #fdecea; color: #c0392b; }
.topic-tag-event   { background: #e8f9f0; color: #27ae60; }
.topic-tag-seminar { background: #f0eaff; color: #6c3fc5; }

.topic-text {
  color: var(--text);
}

.topic-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.topic-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}

.topic-card:hover {
  box-shadow: var(--shadow);
}

.topic-card-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.topic-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.topic-card p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================
   リンク
   ============================ */
.links {
  background: var(--bg);
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.link-category-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 18px;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.link-item:hover {
  background: var(--primary-light);
  box-shadow: var(--shadow);
}

.link-item-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.link-item-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

.link-item-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
}

.link-arrow {
  margin-left: auto;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* お問い合わせブロック */
.contact-block {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 48px 40px 32px;
  border: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}

.last-updated {
  text-align: right;
  font-size: 0.78rem;
  color: var(--text-light);
}

/* フッターナビ */
.footer-links-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}

.footer-links-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links-nav a:hover {
  color: #fff;
}

.footer-links-nav h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

/* ============================
   お知らせページ
   ============================ */
.nav-active {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
  border-radius: 6px;
}

.news-page {
  padding-top: 48px;
}

.news-list-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.news-article {
  padding: 36px 0;
}

.news-article-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.news-article-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
}

.news-article-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.blog-section-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 24px 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
}

.news-article-body p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 12px;
}

.news-article-body a {
  color: var(--primary);
  font-weight: 700;
}

.news-table {
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9rem;
  width: 100%;
  max-width: 480px;
}

.news-table td {
  padding: 10px 16px;
  border: 1px solid var(--border);
  line-height: 1.6;
}

.news-table td:first-child {
  background: var(--bg-gray);
  font-weight: 700;
  white-space: nowrap;
  color: var(--primary-dark);
  width: 120px;
}

.news-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ============================
   レスポンシブ
   ============================ */
/* ============================
   タブレット（〜900px）
   ============================ */
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }

  .hero-body         { grid-template-columns: 1fr; }
  .hero-image        { display: none; }
  .about-grid        { grid-template-columns: 1fr; }
  .profile-grid      { grid-template-columns: 1fr; }
  .services-grid     { grid-template-columns: repeat(2, 1fr); }
  .safety-grid       { grid-template-columns: repeat(2, 1fr); }
  .local-grid        { grid-template-columns: 1fr; }
  .contact-inner     { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; gap: 28px; }

  /* ヒーロー情報バー：2×2グリッド */
  .hero-info-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow-x: unset;
  }
  .hero-info-item {
    padding: 14px 16px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .hero-info-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }
}

/* ============================
   スマホ（〜600px）
   ============================ */
@media (max-width: 600px) {

  /* 基本 */
  body { font-size: 14px; }

  .section { padding: 48px 0; }

  .container { padding: 0 16px; }

  /* セクションヘッダー */
  .section-title { font-size: 1.4rem; }
  .section-desc  { font-size: 0.88rem; }

  /* ヘッダー */
  .header-inner { height: 60px; padding: 0 16px; }
  .logo-img     { height: 34px; }
  .logo-main    { font-size: 1rem; }
  .logo-sub     { font-size: 0.58rem; }

  /* モバイルナビ */
  .mobile-nav { top: 60px; }

  /* ヒーロー */
  .hero { min-height: auto; padding-top: 60px; }
  .hero-content { padding: 36px 16px 40px; }
  .hero-sub   { font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 14px; }
  .hero-title { font-size: 1.2rem; line-height: 1.75; margin-bottom: 28px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .btn { padding: 13px 24px; font-size: 0.9rem; }

  /* ヒーロー情報バー：縦並び */
  .hero-info-bar {
    grid-template-columns: 1fr 1fr;
  }
  .hero-info-item { padding: 12px 14px; }
  .info-icon  { font-size: 1.2rem; }
  .info-label { font-size: 0.7rem; }
  .info-text  { font-size: 0.88rem; }

  /* 最新お知らせバー */
  .latest-news-bar .container {
    display: grid;
    grid-template-areas:
      "label more"
      "date  date"
      "text  text";
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 4px 8px;
  }
  .lnews-label { grid-area: label; }
  .lnews-date  { grid-area: date; font-size: 0.85rem; }
  .lnews-text  { grid-area: text; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lnews-more  { grid-area: more; justify-self: end; margin-left: 0; }

  /* 訪問歯科バナー */
  .visit-banner { padding: 20px 0; }
  .visit-banner-inner { gap: 12px; }
  .visit-title { font-size: 0.95rem; }
  .visit-desc  { font-size: 0.82rem; }
  .visit-btn   { width: 100%; margin-left: 0; text-align: center; }

  /* 概要 */
  .about-heading { font-size: 1.15rem; }
  .about-text p  { font-size: 0.88rem; }
  .greeting-sign { font-size: 0.88rem; }

  /* 院長カード */
  .doctor-card { border-radius: 10px; }
  .doctor-photo-placeholder { height: 160px; }
  .doctor-name { font-size: 1.3rem; }

  /* 診療時間テーブル */
  .hours-table th,
  .hours-table td {
    padding: 8px 4px;
    font-size: 0.72rem;
  }
  .hours-table .time-label { padding-left: 8px; }
  .hours-table .time-label small { font-size: 0.65rem; }
  .hours-note { font-size: 0.78rem; }

  /* 基本情報カード */
  .clinic-info-list div { grid-template-columns: 48px 1fr; font-size: 0.83rem; }

  /* 診療内容 */
  .services-grid  { grid-template-columns: 1fr; gap: 14px; }
  .service-card   { padding: 24px 20px; }
  .service-card h3 { font-size: 1rem; }
  .service-card p  { font-size: 0.83rem; }

  /* 安心安全 */
  .safety-grid    { grid-template-columns: 1fr; gap: 14px; }
  .safety-card    { padding: 24px 20px; }
  .safety-card h3 { font-size: 1rem; }
  .safety-card p  { font-size: 0.83rem; }
  .safety-icon    { font-size: 1.8rem; }

  /* アクセス */
  .local-map iframe { height: 260px; }
  .access-item { grid-template-columns: 72px 1fr; font-size: 0.85rem; }

  /* フッター */
  .footer { padding: 40px 0 0; }
  .footer-grid { gap: 20px; }
  .footer-logo-main { font-size: 1rem; }
  .footer-address,
  .footer-tel,
  .footer-hours p { font-size: 0.82rem; }
  .footer-links-nav ul { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .footer-links-nav a,
  .footer-links ul a { font-size: 0.82rem; }
  .footer-bottom { font-size: 0.72rem; padding: 16px 0; }

  /* プロフィールページ */
  .profile-page-top { flex-direction: column; }
  .profile-page-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }
  .doctor-photo-img { width: 90px; height: 90px; }
  .career-year { min-width: 48px; font-size: 0.72rem; }
  .career-list li { font-size: 0.82rem; padding: 7px 0; }
  .affiliation-list li { font-size: 0.82rem; }

  /* お知らせページ */
  .news-article-title { font-size: 1.1rem; }
  .news-article-body p { font-size: 0.88rem; }
  .news-table { font-size: 0.82rem; }
  .news-table td:first-child { width: 90px; }

  /* パンくず */
  .breadcrumb { font-size: 0.78rem; }
}
