@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600;700&display=swap');

:root {
  --main: #00a5a8;
  --main-light: #33bfc1;
  --main-dark: #008587;
  --main-pale: #e5f5f5;
  --accent: #e8788a;
  --accent-dark: #d55d6f;
  --bg-main: #f2f9f9;
  --bg-white: #ffffff;
  --bg-cream: #faf9f6;
  --text: #333333;
  --text-light: #666666;
  --text-white: #ffffff;
  --border: #dddddd;
  --border-light: #eeeeee;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', '游ゴシック', 'Yu Gothic', 'メイリオ', sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--bg-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--main); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--main-dark); }
ul, ol { list-style: none; }

/* ===== Placeholder (画像未設定用) ===== */
.placeholder {
  background: linear-gradient(135deg, var(--main-pale), #cceced);
  display: flex; align-items: center; justify-content: center;
  color: var(--main-dark); font-size: 14px; font-weight: 500;
  border: 2px dashed var(--main-light); border-radius: 12px;
  text-align: center; padding: 20px;
}

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.header__inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
}
.header__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.header__logo img { height: 48px; width: auto; }
.header__logo-text {
  font-family: 'Noto Serif JP', serif; font-weight: 700;
  font-size: 18px; color: var(--text); line-height: 1.3;
}
.header__logo-text span { display: block; font-size: 12px; font-weight: 400; color: var(--text-light); }
.header__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--text-white);
  padding: 10px 24px; border-radius: 50px;
  font-size: 14px; font-weight: 500;
  transition: background 0.3s, transform 0.2s; text-decoration: none;
}
.header__cta:hover { background: var(--accent-dark); color: var(--text-white); transform: translateY(-1px); }
.header__cta svg { width: 16px; height: 16px; fill: currentColor; }

/* ===== Global Nav ===== */
.gnav { background: var(--main); }
.gnav__inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: center; align-items: stretch;
}
.gnav__item {
  position: relative;
}
.gnav__link {
  display: flex; align-items: center; gap: 4px;
  padding: 14px 20px;
  color: var(--text-white); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background 0.3s;
  white-space: nowrap;
}
.gnav__link:hover { background: var(--main-dark); color: var(--text-white); }
.gnav__link--has-child::after {
  content: ''; display: inline-block;
  width: 6px; height: 6px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg); margin-left: 4px; margin-top: -2px;
}
.gnav__dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 260px; background: var(--bg-white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  border-radius: 0 0 8px 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 100;
}
.gnav__item:hover .gnav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.gnav__dropdown a {
  display: block; padding: 12px 20px;
  color: var(--text); font-size: 13px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s, color 0.2s;
}
.gnav__dropdown a:last-child { border-bottom: none; }
.gnav__dropdown a:hover { background: var(--main-pale); color: var(--main-dark); }

/* ===== Mainvisual ===== */
.mainvisual {
  position: relative; width: 100%; height: 520px; overflow: hidden;
}
.mainvisual__img, .mainvisual .placeholder {
  width: 100%; height: 100%; object-fit: cover;
}
.mainvisual .placeholder { border-radius: 0; border: none; font-size: 18px; }
.mainvisual__overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.mainvisual__copy {
  color: var(--text-white);
  font-family: 'Noto Serif JP', serif; font-weight: 700;
  font-size: 36px; line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  padding: 0 24px;
}

/* ===== Section Common ===== */
.section { padding: 80px 24px; }
.section__inner { max-width: 1100px; margin: 0 auto; }
.section__title {
  font-family: 'Noto Serif JP', serif; font-weight: 700;
  font-size: 28px; text-align: center; color: var(--text);
  margin-bottom: 48px; position: relative; padding-bottom: 16px;
}
.section__title::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px; background: var(--main);
}

/* ===== Banner Area ===== */
.banner-area { padding: 60px 24px; background: var(--bg-white); }
.banner-area__inner { max-width: 1100px; margin: 0 auto; }
.banner-area__row {
  display: flex; gap: 24px; justify-content: center;
}
.banner-area__row--sub { margin-top: 24px; }
.banner-card {
  flex: 1; max-width: 340px;
  background: var(--main-pale); border-radius: 12px;
  padding: 32px 20px; text-align: center;
  text-decoration: none; color: var(--text);
  border: 2px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,165,168,0.12);
  border-color: var(--main-light);
  color: var(--text);
}
.banner-card__icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: var(--bg-white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.banner-card__icon svg { width: 32px; height: 32px; fill: var(--main); }
.banner-card__title {
  font-family: 'Noto Serif JP', serif; font-weight: 600;
  font-size: 17px; margin-bottom: 12px; color: var(--main-dark);
}
.banner-card__links { display: flex; flex-direction: column; gap: 6px; }
.banner-card__links a {
  font-size: 13px; color: var(--main);
  padding: 6px 12px; border-radius: 6px;
  background: var(--bg-white);
  transition: background 0.2s, color 0.2s;
}
.banner-card__links a:hover { background: var(--main); color: var(--text-white); }
.banner-card__nolink {
  font-size: 13px; color: var(--main-dark);
  padding: 6px 12px; border-radius: 6px;
  background: var(--bg-white); opacity: 0.85;
  cursor: default;
}

.banner-card--simple {
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 20px;
}
.banner-card--simple .banner-card__title { margin-bottom: 0; }

/* ===== Taisetsu ===== */
.section-taisetsu { background: var(--bg-cream); }
.section-taisetsu__content {
  display: flex; align-items: center; gap: 48px;
}
.section-taisetsu__img {
  flex: 0 0 45%;
}
.section-taisetsu__img img, .section-taisetsu__img .placeholder {
  border-radius: 12px; aspect-ratio: 4/3; width: 100%; object-fit: cover;
}
.section-taisetsu__text { flex: 1; }
.section-taisetsu__subtitle {
  font-family: 'Noto Serif JP', serif; font-weight: 600;
  font-size: 22px; color: var(--main-dark);
  margin-bottom: 20px; line-height: 1.6;
}
.section-taisetsu__desc {
  font-size: 15px; line-height: 2; color: var(--text-light);
}

/* ===== Service Section ===== */
.section-service { background: var(--bg-white); }
.service-list { display: flex; flex-direction: column; gap: 60px; }
.service-item {
  display: flex; align-items: center; gap: 48px;
}
.service-item:nth-child(even) { flex-direction: row-reverse; }
.service-item__img { flex: 0 0 48%; }
.service-item__img img, .service-item__img .placeholder {
  border-radius: 12px; aspect-ratio: 16/10; width: 100%; object-fit: cover;
}
.service-item__body { flex: 1; }
.service-item__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--main); color: var(--text-white);
  font-size: 16px; font-weight: 700; margin-bottom: 12px;
}
.service-item__title {
  font-family: 'Noto Serif JP', serif; font-weight: 600;
  font-size: 20px; color: var(--text); margin-bottom: 16px;
  line-height: 1.5;
}
.service-item__desc {
  font-size: 15px; line-height: 2; color: var(--text-light);
}

/* ===== Facility Section ===== */
.section-facility { background: var(--bg-cream); }
.facility-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.facility-card {
  background: var(--bg-white); border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.facility-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.facility-card__img img, .facility-card__img .placeholder {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
}
.facility-card__img .placeholder { border-radius: 0; border: none; }
.facility-card__body { padding: 20px; }
.facility-card__label {
  display: inline-block; font-size: 11px; font-weight: 500;
  background: var(--main-pale); color: var(--main-dark);
  padding: 3px 10px; border-radius: 4px; margin-bottom: 8px;
}
.facility-card__name {
  font-family: 'Noto Serif JP', serif; font-weight: 600;
  font-size: 17px; margin-bottom: 8px; color: var(--text);
}
.facility-card__address {
  font-size: 13px; color: var(--text-light); margin-bottom: 4px;
}
.facility-card__tel {
  font-size: 13px; color: var(--text-light);
}
.facility-card__link {
  display: inline-block; margin-top: 12px;
  font-size: 13px; color: var(--main); font-weight: 500;
  padding: 6px 16px; border: 1px solid var(--main);
  border-radius: 6px; transition: background 0.3s, color 0.3s;
}
.facility-card__link:hover {
  background: var(--main); color: var(--text-white);
}

/* ===== Company ===== */
.section-company { background: var(--bg-white); }
.company-table {
  max-width: 700px; margin: 0 auto 40px;
  width: 100%; border-collapse: collapse;
}
.company-table th, .company-table td {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  text-align: left; font-size: 15px;
}
.company-table th {
  width: 140px; background: var(--main-pale);
  color: var(--main-dark); font-weight: 500;
}
.map-wrap {
  max-width: 700px; margin: 0 auto;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.map-wrap iframe { width: 100%; height: 350px; border: 0; display: block; }

/* ===== CTA ===== */
.section-cta {
  background: linear-gradient(135deg, var(--main), var(--main-dark));
  padding: 64px 24px; text-align: center;
}
.section-cta__title {
  font-family: 'Noto Serif JP', serif; font-weight: 700;
  font-size: 26px; color: var(--text-white); margin-bottom: 16px;
}
.section-cta__desc {
  font-size: 15px; color: rgba(255,255,255,0.85); margin-bottom: 32px;
}
.section-cta__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-white); color: var(--main-dark);
  padding: 16px 40px; border-radius: 50px;
  font-size: 16px; font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.section-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  color: var(--main-dark);
}

/* ===== Footer ===== */
.footer { background: var(--main-dark); color: var(--text-white); padding: 48px 24px 24px; }
.footer__inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer__name {
  font-family: 'Noto Serif JP', serif; font-weight: 700;
  font-size: 20px; margin-bottom: 8px;
}
.footer__address { font-size: 13px; opacity: 0.8; margin-bottom: 24px; }
.footer__nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px;
  margin-bottom: 24px;
}
.footer__nav a { color: rgba(255,255,255,0.85); font-size: 13px; transition: color 0.3s; }
.footer__nav a:hover { color: var(--text-white); }
.footer__copy {
  font-size: 12px; opacity: 0.6;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
}

/* ============================================================
   下層ページ共通
   ============================================================ */
.gnav__link--current { background: var(--main-dark); }

/* Page Header */
.page-header {
  position: relative;
  background: linear-gradient(135deg, var(--main), var(--main-dark));
  padding: 56px 24px; text-align: center; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: -50px; right: -40px;
  width: 200px; height: 200px; background: rgba(255,255,255,0.08); border-radius: 50%;
}
.page-header::after {
  content: ''; position: absolute; bottom: -60px; left: -30px;
  width: 170px; height: 170px; background: rgba(255,255,255,0.06); border-radius: 50%;
}
.page-header__title {
  font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 30px;
  color: var(--text-white); position: relative; z-index: 1;
}
.page-header__en {
  display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.8); margin-top: 8px; text-transform: uppercase;
}

/* Breadcrumb */
.breadcrumb { background: var(--bg-main); padding: 12px 24px; border-bottom: 1px solid var(--border-light); }
.breadcrumb__inner { max-width: 1100px; margin: 0 auto; font-size: 12px; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--main); }
.breadcrumb__sep { margin: 0 8px; color: var(--border); }

/* Lead / sub title / prose */
.lead { max-width: 780px; margin: 0 auto 48px; text-align: center; font-size: 16px; line-height: 2; color: var(--text); }
.lead strong { color: var(--main-dark); }
.section__sub-title { font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 22px; color: var(--main-dark); text-align: center; margin-bottom: 28px; }
.prose { font-size: 15px; line-height: 2; color: var(--text-light); max-width: 820px; margin: 0 auto; }
.prose p { margin-bottom: 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.note-text { max-width: 760px; margin: 24px auto 0; font-size: 13px; color: var(--text-light); line-height: 1.9; }

/* 診療時間表 */
.hours-table { max-width: 760px; margin: 0 auto 20px; width: 100%; border-collapse: collapse; background: var(--bg-white); }
.hours-table th, .hours-table td { border: 1px solid var(--border); padding: 12px 8px; text-align: center; font-size: 14px; }
.hours-table thead th { background: var(--main); color: var(--text-white); font-weight: 500; }
.hours-table tbody th { background: var(--main-pale); color: var(--main-dark); font-weight: 500; width: 200px; text-align: left; padding-left: 16px; }
.hours-table__mark { color: var(--main); font-weight: 700; }
.hours-table__none { color: var(--text-light); }

/* 診療科目タグ */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 760px; margin: 0 auto; }
.tag-list li { background: var(--main-pale); color: var(--main-dark); border-radius: 50px; padding: 8px 20px; font-size: 14px; font-weight: 500; }

/* feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.feature-card { background: var(--bg-white); border-radius: 12px; padding: 28px 22px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border-top: 3px solid var(--main); }
.feature-card__icon { width: 56px; height: 56px; margin: 0 auto 14px; background: var(--main-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.feature-card__icon svg { width: 28px; height: 28px; fill: var(--main); }
.feature-card__title { font-family: 'Noto Serif JP', serif; font-weight: 600; font-size: 17px; color: var(--text); margin-bottom: 10px; text-align: center; }
.feature-card__desc { font-size: 14px; line-height: 1.9; color: var(--text-light); }

/* check list */
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 820px; margin: 0 auto; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; background: var(--bg-white); border-radius: 10px; padding: 16px 18px; font-size: 15px; line-height: 1.7; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.check-list__mark { flex-shrink: 0; width: 22px; height: 22px; background: var(--main); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.check-list__mark svg { width: 12px; height: 12px; fill: #fff; }

/* flow timeline */
.flow { max-width: 760px; margin: 0 auto; }
.flow__item { display: flex; gap: 16px; position: relative; padding-bottom: 24px; }
.flow__item:last-child { padding-bottom: 0; }
.flow__time { flex-shrink: 0; width: 76px; font-weight: 700; color: var(--main-dark); font-size: 14px; padding-top: 2px; }
.flow__line { position: relative; flex-shrink: 0; width: 16px; display: flex; justify-content: center; }
.flow__dot { width: 14px; height: 14px; background: var(--main); border-radius: 50%; border: 3px solid var(--main-pale); margin-top: 5px; z-index: 1; }
.flow__item:not(:last-child) .flow__line::after { content: ''; position: absolute; top: 10px; bottom: -24px; left: 50%; transform: translateX(-50%); width: 2px; background: var(--border); }
.flow__body { flex: 1; }
.flow__title { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.flow__desc { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps__item { background: var(--bg-white); border-radius: 10px; padding: 30px 18px 22px; text-align: center; position: relative; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.steps__num { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; background: var(--main); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: 'Noto Serif JP', serif; }
.steps__title { font-weight: 700; font-size: 15px; margin: 6px 0 8px; color: var(--main-dark); }
.steps__desc { font-size: 13px; color: var(--text-light); line-height: 1.7; text-align: left; }

/* access box */
.access-box { max-width: 900px; margin: 0 auto; display: flex; gap: 32px; align-items: flex-start; }
.access-box__info { flex: 1; }
.access-box__map { flex: 0 0 50%; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.access-box__map iframe { width: 100%; height: 320px; border: 0; display: block; }
.info-row { display: flex; gap: 12px; margin-bottom: 12px; font-size: 15px; line-height: 1.8; }
.info-row__label { flex-shrink: 0; width: 84px; font-weight: 700; color: var(--main-dark); }

/* contact */
.contact-tel-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 860px; margin: 0 auto 48px; }
.contact-tel-item { background: var(--main-pale); border-radius: 12px; padding: 20px; text-align: center; }
.contact-tel-item__name { font-size: 14px; font-weight: 700; color: var(--main-dark); margin-bottom: 6px; }
.contact-tel-item__num { font-family: 'Noto Serif JP', serif; font-size: 22px; font-weight: 700; color: var(--main-dark); }
.contact-form { max-width: 720px; margin: 0 auto; }
.form-row { margin-bottom: 22px; }
.form-row__label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.form-row__req { display: inline-block; background: var(--accent); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.form-row__opt { display: inline-block; background: var(--border); color: var(--text-light); font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"], .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: inherit; color: var(--text); background: var(--bg-white); transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--main); }
.form-row textarea { resize: vertical; min-height: 150px; }
.form-submit { text-align: center; margin-top: 32px; }
.form-submit button { display: inline-flex; align-items: center; gap: 10px; background: var(--main); color: #fff; border: none; padding: 16px 56px; border-radius: 50px; font-size: 16px; font-weight: 700; font-family: inherit; cursor: pointer; transition: background 0.3s, transform 0.2s; }
.form-submit button:hover { background: var(--main-dark); transform: translateY(-2px); }
.form-submit button svg { width: 18px; height: 18px; fill: currentColor; }
.form-privacy { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 16px; }

/* privacy block */
.privacy-block { max-width: 820px; margin: 0 auto 32px; }
.privacy-block:last-child { margin-bottom: 0; }
.privacy-block__title { font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 18px; color: var(--main-dark); margin-bottom: 12px; padding-left: 14px; border-left: 4px solid var(--main); }
.privacy-block__text { font-size: 15px; line-height: 2; color: var(--text-light); }
.privacy-block__text ul { margin-top: 10px; }
.privacy-block__text li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.privacy-block__text li::before { content: ''; position: absolute; left: 0; top: 12px; width: 7px; height: 7px; background: var(--main); border-radius: 50%; }

/* 沿革 */
.history-table { max-width: 760px; margin: 0 auto; width: 100%; border-collapse: collapse; }
.history-table th, .history-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 15px; text-align: left; vertical-align: top; }
.history-table th { width: 190px; color: var(--main-dark); font-weight: 700; white-space: nowrap; }

/* bg helpers */
.bg-cream { background: var(--bg-cream); }
.bg-pale { background: var(--main-pale); }
.bg-white { background: var(--bg-white); }

/* ============================== 運営規程 ============================== */
.rule-content { max-width: 880px; margin: 0 auto; }
.rule-article { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px dashed var(--border); }
.rule-article:last-child { border-bottom: none; }
.rule-article__heading {
  font-family: 'Noto Serif JP', serif; font-size: 17px; font-weight: 700;
  color: var(--main-dark); padding: 10px 14px; background: var(--main-pale);
  border-left: 4px solid var(--main); margin-bottom: 14px; border-radius: 0 4px 4px 0;
}
.rule-article__body { font-size: 14px; line-height: 2; color: var(--text); }
.rule-article__num { display: inline-block; font-weight: 700; color: var(--main-dark); }

.rule-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; max-width: 920px; margin: 0 auto;
}
.rule-list__card {
  display: block; padding: 24px 22px; background: var(--bg-cream);
  border: 1px solid var(--border); border-radius: 12px;
  text-decoration: none; color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.rule-list__card:hover {
  transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0, 165, 168, 0.18);
  border-color: var(--main);
}
.rule-list__name { font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 700;
  color: var(--text); line-height: 1.5; margin-bottom: 6px; }
.rule-list__service { font-size: 13px; color: var(--text-light); margin-bottom: 14px; }
.rule-list__arrow { font-size: 13px; font-weight: 700; color: var(--main-dark); }

@media (max-width: 768px) {
  .rule-article__body { font-size: 13px; }
  .rule-article__heading { font-size: 15px; }
}
