/* ===== CSS変数（色・サイズ定義） ===== */
:root {
  --pink-light: #FFF0F5;
  --pink-main: #F9A8C9;
  --pink-dark: #E07AAF;
  --green-light: #F0FAF2;
  --green-main: #7BC67E;
  --green-dark: #4EA852;
  --white: #FFFFFF;
  --text: #3D3D3D;
  --text-light: #888888;
  --border: #EBEBEB;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  --radius: 14px;
  --transition: 0.3s ease;
}

/* ===== リセット ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== ヘッダー ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--pink-main) 0%, #ffffff 50%, var(--green-main) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.logo-texts { display: flex; flex-direction: column; }
.logo-name { font-size: 1.1rem; font-weight: 900; color: var(--text); line-height: 1.2; }
.logo-sub { font-size: 0.62rem; color: var(--text-light); letter-spacing: 0.04em; }

.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-list a {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  color: var(--text);
}
.nav-list a:hover, .nav-list a.active {
  background: var(--pink-light);
  color: var(--pink-dark);
}
.nav-line-btn {
  background: #06C755 !important;
  color: var(--white) !important;
  display: flex !important;
  align-items: center;
  gap: 6px;
}
.nav-line-btn:hover { background: #05A847 !important; color: var(--white) !important; }

/* ハンバーガーメニュー（スマホ用） */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 8px 24px 16px;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 600;
}
.mobile-nav a:last-child { border-bottom: none; }

/* ===== ヒーローセクション（トップ） ===== */
.hero {
  background: linear-gradient(135deg, var(--pink-light) 0%, #FFFEF0 50%, var(--green-light) 100%);
  padding: 80px 24px 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -5%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(249,168,201,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -5%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(123,198,126,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--pink-main) 0%, #ffffff 50%, var(--green-main) 100%);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
  letter-spacing: 0.06em;
  text-shadow:
    -1px -1px 0 var(--pink-dark),
     1px -1px 0 var(--pink-dark),
    -1px  1px 0 var(--pink-dark),
     1px  1px 0 var(--pink-dark);
}
.hero h1 {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--pink-dark); }
.hero-desc {
  font-size: 0.97rem;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.85;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* キャラクターエリア */
.hero-character { display: flex; justify-content: center; align-items: center; }
.character-wrap {
  position: relative;
  width: 300px; height: 300px;
  animation: float 3.5s ease-in-out infinite;
}
.character-img {
  max-width: 260px;
  width: 100%;
  height: auto;
  object-fit: contain;
  animation: float 3.5s ease-in-out infinite;
}

/* ヘッダーロゴ画像 */
.logo-icon-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}
.character-placeholder {
  width: 300px; height: 300px;
  background: linear-gradient(135deg, var(--pink-light) 0%, #ffffff 50%, var(--green-light) 100%);
  border-radius: 50%;
  border: 3px dashed var(--pink-main);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  animation: float 3.5s ease-in-out infinite;
}
.character-placeholder .char-icon { font-size: 56px; }
.character-placeholder p { font-size: 0.8rem; color: var(--text-light); text-align: center; line-height: 1.6; }
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-pink {
  background: var(--pink-dark);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(224,122,175,0.4);
}
.btn-pink:hover { background: #C9659A; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(224,122,175,0.5); }
.btn-green {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(78,168,82,0.4);
}
.btn-green:hover { background: #3D9641; transform: translateY(-2px); }
.btn-line {
  background: #06C755;
  color: var(--white);
  box-shadow: 0 4px 18px rgba(6,199,85,0.4);
}
.btn-line:hover { background: #05A847; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--pink-dark);
  border: 2px solid var(--pink-dark);
}
.btn-outline:hover { background: var(--pink-light); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ===== セクション共通 ===== */
.section { padding: 84px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--pink-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title { font-size: 1.85rem; font-weight: 900; line-height: 1.4; margin-bottom: 12px; }
.section-desc { font-size: 0.92rem; color: var(--text-light); }

/* ===== 特徴カード（トップ3列） ===== */
.features {
  background-image: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)), url('../images/薬棚.png');
  background-size: cover;
  background-position: center;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.feature-card.blue-bg { background: #E0F4FF; border-color: #B8E4F9; }
.feature-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin: 0 auto 18px;
}
.feature-icon.pink { background: var(--pink-light); }
.feature-icon.green { background: var(--green-light); }
.feature-icon.blue { background: #E0F4FF; }
.feature-icon.yellow { background: #FFF9C4; }
.feature-icon.mix { background: linear-gradient(135deg, var(--pink-light) 0%, #ffffff 50%, var(--green-light) 100%); }
.feature-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.feature-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.75; }

/* ===== インフォバナー ===== */
.info-banner { background: linear-gradient(135deg, var(--pink-light) 0%, #ffffff 50%, var(--green-light) 100%); padding: 60px 24px; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; gap: 16px; align-items: flex-start;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.info-card:hover { transform: translateY(-4px); }
.info-card-icon { font-size: 34px; flex-shrink: 0; }
.info-card h3 { font-size: 0.98rem; font-weight: 800; margin-bottom: 8px; }
.info-card p { font-size: 0.84rem; color: var(--text-light); line-height: 1.7; }

/* ===== 営業時間テーブル ===== */
.hours {
  background-image: linear-gradient(rgba(240,250,242,0.90), rgba(240,250,242,0.90)), url('../images/薬局外観.png');
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center 25%;
}
.hours-wrap { max-width: 800px; margin: 0 auto; }
.hours-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hours-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
.hours-table th, .hours-table td {
  padding: 15px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  white-space: nowrap;
}
.hours-table th {
  background: var(--green-main);
  color: var(--white);
  font-weight: 700;
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table tr:hover td { background: var(--green-light); }
.circle { color: var(--green-dark); font-weight: 700; font-size: 1.1rem; }
.triangle { color: #F5A623; font-weight: 700; }
.cross { color: #E05555; font-weight: 700; }
.hours-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--pink-main);
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== LINEセクション ===== */
.line-section {
  background: linear-gradient(135deg, #06C755, #039944);
  padding: 72px 24px;
  text-align: center;
  color: var(--white);
}
.line-section h2 { font-size: 1.9rem; font-weight: 900; margin-bottom: 16px; }
.line-section > p { font-size: 0.95rem; opacity: 0.92; margin-bottom: 40px; line-height: 1.8; }
.line-steps { display: flex; justify-content: center; align-items: stretch; gap: 12px; margin-bottom: 40px; flex-wrap: nowrap; }
.line-step {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-align: center;
  flex: 1;
  min-width: 0;
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.line-step-num { font-size: 0.7rem; font-weight: 700; opacity: 0.75; margin-bottom: 6px; letter-spacing: 0.08em; }
.line-step p { font-size: 0.92rem; font-weight: 700; opacity: 1; margin-bottom: 0; }

/* ===== 医療DX・施設基準セクション ===== */
.dx-section {
  background: #F0F7FF;
  border-top: 3px solid #90CAF9;
  border-bottom: 3px solid #90CAF9;
}
.dx-section .section-label { color: #1565C0; }
.dx-section .section-title { color: #0D47A1; }
.dx-notice {
  background: #E3F2FD;
  border: 1px solid #90CAF9;
  border-left: 4px solid #1976D2;
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 0.85rem;
  color: #1565C0;
  margin-bottom: 32px;
  line-height: 1.7;
}
.dx-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 0;
}
.dx-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  border: 1px solid #BBDEFB;
}
.dx-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1565C0;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E3F2FD;
}
.dx-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid #EEF5FF;
  font-size: 0.87rem;
  gap: 12px;
}
.dx-row:last-child { border-bottom: none; }
.dx-row-label { color: var(--text-light); flex-shrink: 0; line-height: 1.5; }
.dx-row-val { font-weight: 600; color: var(--text); text-align: right; line-height: 1.5; }
.tag-ok {
  display: inline-block;
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
}
.tag-no {
  display: inline-block;
  background: #F5F5F5;
  color: #9E9E9E;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
}
@media (max-width: 600px) {
  .dx-grid { grid-template-columns: 1fr; }
}

/* ===== コラム（トップ・コラムページ共通） ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.news-img {
  height: 160px;
  background: linear-gradient(135deg, var(--pink-light) 0%, #ffffff 50%, var(--green-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
}
.news-body { padding: 20px; }
.news-tag {
  display: inline-block;
  background: var(--pink-light);
  color: var(--pink-dark);
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 50px;
  margin-bottom: 8px;
}
.news-date { font-size: 0.72rem; color: var(--text-light); margin-bottom: 8px; }
.news-card h3 { font-size: 0.9rem; font-weight: 700; line-height: 1.55; margin-bottom: 8px; }
.news-card p { font-size: 0.8rem; color: var(--text-light); line-height: 1.65; }

/* ===== サービスページ ===== */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex; gap: 20px;
  align-items: flex-start;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.service-icon { font-size: 42px; flex-shrink: 0; }
.service-tag {
  display: inline-block;
  background: var(--pink-light);
  color: var(--pink-dark);
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 50px;
  margin-bottom: 8px;
}
.service-tag.green-tag { background: var(--green-light); color: var(--green-dark); }
.service-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 10px; }
.service-card p { font-size: 0.86rem; color: var(--text-light); line-height: 1.75; }

/* ===== アクセスページ ===== */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.map-placeholder {
  background: var(--green-light);
  border-radius: var(--radius);
  height: 380px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 2px dashed var(--green-main);
  gap: 14px; font-size: 0.88rem; color: var(--text-light);
  text-align: center; line-height: 1.7;
}
.map-placeholder .map-icon { font-size: 44px; }
.access-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.access-info-card h3 {
  font-size: 0.95rem; font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pink-light);
  color: var(--text);
}
.access-row {
  display: flex; gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.access-row:last-child { border-bottom: none; }
.access-label { font-weight: 700; color: var(--pink-dark); min-width: 80px; flex-shrink: 0; }

/* ===== コラムページ ===== */
.column-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.column-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.column-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.column-img {
  height: 190px;
  background: linear-gradient(135deg, var(--pink-light) 0%, #ffffff 50%, var(--green-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
}
.column-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.column-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.column-tag {
  display: inline-block;
  background: var(--green-light); color: var(--green-dark);
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 50px;
}
.column-date { font-size: 0.72rem; color: var(--text-light); }
.column-card h3 { font-size: 0.98rem; font-weight: 700; line-height: 1.55; margin-bottom: 10px; }
.column-card p { font-size: 0.84rem; color: var(--text-light); line-height: 1.7; flex: 1; }
.column-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-size: 0.84rem; font-weight: 700; color: var(--pink-dark);
  transition: var(--transition);
}
.column-read-more:hover { gap: 10px; }

/* ===== ページ内ヒーロー（サブページ共通） ===== */
.page-hero {
  background: linear-gradient(135deg, var(--pink-light) 0%, #ffffff 50%, var(--green-light) 100%);
  padding: 64px 24px;
  text-align: center;
}
.page-hero h1 { font-size: 2rem; font-weight: 900; margin-bottom: 12px; }
.page-hero p { color: var(--text-light); font-size: 0.92rem; }
.breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  font-size: 0.78rem; color: var(--text-light);
  margin-top: 18px;
}
.breadcrumb a { color: var(--pink-dark); }
.breadcrumb span { color: var(--text-light); }

/* ===== フッター ===== */
.footer { background: #2A2A2A; color: rgba(255,255,255,0.78); padding: 64px 24px 0; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .footer-logo-name { font-size: 1.05rem; font-weight: 900; color: var(--white); margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 0.84rem; line-height: 1.8; opacity: 0.65; }
.footer-contact { margin-top: 16px; }
.footer-tel { font-size: 1.3rem; font-weight: 900; color: var(--pink-main); }
.footer-hours { font-size: 0.78rem; opacity: 0.6; margin-top: 4px; }
.footer-nav h4 { font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.84rem; opacity: 0.65; transition: var(--transition); }
.footer-nav a:hover { opacity: 1; color: var(--pink-main); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding: 20px 0;
  text-align: center;
  font-size: 0.76rem; opacity: 0.45;
}
.footer-legal {
  margin-top: 10px;
}
.footer-legal a {
  display: inline-block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.28);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  padding: 2px 8px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.footer-legal a:hover {
  color: rgba(255,255,255,0.55);
  border-color: rgba(255,255,255,0.28);
}

/* ===== コラムモーダル ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open {
  display: flex;
  animation: fadeOverlay 0.25s ease;
}
@keyframes fadeOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  padding: 16px 20px 0;
  background: var(--white);
}
.modal-close-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: var(--text);
}
.modal-close-btn:hover { background: var(--pink-light); color: var(--pink-dark); }
.modal-header {
  padding: 8px 32px 24px;
  border-bottom: 1px solid var(--border);
}
.modal-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 12px; border-radius: 50px;
  margin-bottom: 12px;
}
.modal-date { font-size: 0.75rem; color: var(--text-light); margin-bottom: 10px; }
.modal-title { font-size: 1.3rem; font-weight: 900; line-height: 1.5; }
.modal-body {
  padding: 28px 32px 36px;
}
.modal-body p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 18px;
}
.modal-body h4 {
  font-size: 1rem;
  font-weight: 800;
  margin: 24px 0 10px;
  padding-left: 12px;
  border-left: 4px solid var(--pink-main);
  color: var(--text);
}
.modal-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 18px;
}
.modal-body ul li {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 6px;
}
.modal-cta {
  background: linear-gradient(135deg, var(--pink-light) 0%, #ffffff 50%, var(--green-light) 100%);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.8;
  text-align: center;
}
.modal-cta strong { color: var(--pink-dark); }

/* カードにカーソルポインターを適用 */
.column-card { cursor: pointer; }

/* カテゴリフィルターボタン */
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: white;
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--pink-main); color: var(--pink-dark); }
.filter-btn.active {
  background: var(--pink-dark);
  border-color: var(--pink-dark);
  color: white;
}

/* ===== スクロールアニメーション ===== */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== ユーティリティ ===== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-20 { margin-top: 20px; }
.bg-light { background: var(--pink-light); }
.bg-green { background: var(--green-light); }

/* ===== レスポンシブ（タブレット） ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-character { display: none; }
  .hero-buttons { justify-content: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .column-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== レスポンシブ（スマートフォン） ===== */
@media (max-width: 600px) {
  .nav-list { display: none; }
  .hamburger { display: flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.65rem; }
  .section-title { font-size: 1.45rem; }
  .page-hero h1 { font-size: 1.55rem; }
  .hero { padding: 52px 20px; }
  .section { padding: 60px 20px; }
  .line-steps { flex-direction: column; align-items: stretch; }
  .line-step { width: 100%; }
  .btn { padding: 12px 22px; font-size: 0.88rem; }
}
