/*
Theme Name: Matsuura Clinic
Theme URI: https://www.matsuuraclinic.com/
Description: まつうら小児科・内科 オリジナルテーマ
Author: Matsuura Clinic
Version: 1.0
*/

/* === CSS Reset & 基本設定 === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

html {
  font-size: 100%;
}

/* === カラー変数 === */
:root {
  --c1: #268797;
  --c2: #104a62;
  --c3: #c0d6eb;
  --c4: #e8f4f8;
  --c5: #daeef5;
  --c6: #f2f7fa;
  --c7: #cc0000;
  --c8: #cc3333;
  --c9: #336699;
}

/* === 基本スタイル（モバイルファースト）=== */
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #333;
  background-color: #fff;
}

a {
  color: var(--c2);
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
}

/* === ヘッダー === */
header {
  background: #fff;
  border-bottom: 1px solid var(--c3);
  padding: 1rem 4rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-logo img {
  height: 2.5rem;
}

.header-addr {
  font-size: 0.625rem;
  color: #777;
  line-height: 1.4;
}

.header-tel {
  font-size: 0.6875rem;
  color: #555;
  text-align: right;
  line-height: 1.5;
}

.header-tel a {
  color: var(--c2);
  font-size: 0.75rem;
  font-weight: 700;
}

.header-tel span {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c1);
}

/* === SEO用 H1 コピー（装飾なし・左寄せ） === */
.header__copy {
  font-size: 0.625rem;
  font-weight: 400;
  color: #777;
  line-height: 1.4;
  text-align: left;
  padding: 0.25rem 1rem 0;
  margin: 0;
}

.header__copy::before,
.header__copy::after {
  content: none;
}

/* === ハンバーガーメニューボタン（右上固定） === */
.menu-toggle {
  position: fixed;
  top: 0.5rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--c3);
  border-radius: 8px;
  cursor: pointer;
  padding: 0.375rem;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
  z-index: 1100;
  line-height: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.menu-toggle:hover {
  opacity: 0.85;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.menu-toggle img {
  width: 2.5rem;
  height: auto;
  display: block;
}

/* === ナビゲーション（右からスライドインするドロワー） === */
#nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(20rem, 80vw);
  height: 100vh;
  height: 100dvh;
  background-color: rgba(192, 214, 235, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.3s ease-out, visibility 0s 0s;
  overflow-y: auto;
  padding: 4rem 1.5rem 2rem;
}

#nav-menu.closed {
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease-out, visibility 0s 0.3s;
}

/* ドロワー内の閉じるボタン */
.nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--c2);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.nav-close:hover {
  opacity: 0.7;
}

.nav-title {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
}

#nav-menu ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 0.75rem;
  width: 100%;
}

#nav-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--c2);
  background-color: #fff;
  border-radius: 999px;
  text-align: center;
  font-weight: 500;
  transition: all 0.2s ease;
}

#nav-menu a:hover,
#nav-menu a.active {
  background-color: var(--c2);
  color: #fff;
  text-decoration: none;
}

/* === オーバーレイ === */
.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1040;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease-out, visibility 0s 0s;
}

.nav-overlay.closed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-out, visibility 0s 0.3s;
}

/* === メニュー開放時のスクロールロック === */
body.nav-open {
  overflow: hidden;
}

body.nav-open .menu-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* === ブレッドクラム === */
.breadcrumb {
  background-color: var(--c6);
  padding: 0.5rem 1rem;
  font-size: 0.6875rem;
  color: #888;
  border-bottom: 1px solid var(--c3);
}

.breadcrumb a {
  color: var(--c1);
}

/* === ページコンテナ === */
main {
  width: 100%;
  padding: 0;
  padding-bottom: 5.5rem;
}

/* === セクション === */
section {
  padding: 1.75rem 1rem;
  border-bottom: 1px solid #e8f0f5;
}

section:last-child {
  border-bottom: none;
}

/* === 見出し === */
.page-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c1);
  text-align: center;
  margin-bottom: 1.25rem;
  padding: 0 2rem;
  position: relative;
}

.page-heading::before,
.page-heading::after {
  position: absolute;
  top: 50%;
  width: 1.25rem;
  height: 2px;
  background-color: var(--c1);
  content: "";
}

.page-heading::before {
  left: 0;
  transform: rotate(60deg);
}

.page-heading::after {
  right: 0;
  transform: rotate(-60deg);
}

h2 {
  text-align: center;
  margin-bottom: 1.25rem;
}

h2 span {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--c1);
  position: relative;
  display: inline-block;
  padding: 0 2rem;
}

h2 span::before,
h2 span::after {
  position: absolute;
  top: 50%;
  width: 1rem;
  height: 2px;
  background-color: var(--c1);
  content: "";
}

h2 span::before {
  left: 0;
  transform: rotate(60deg);
}

h2 span::after {
  right: 0;
  transform: rotate(-60deg);
}

h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c1);
  margin-bottom: 0.3rem;
}

h3.underline {
  border-bottom: 2px solid var(--c1);
  padding-bottom: 0.375rem;
  margin-bottom: 0.625rem;
}

/* === ヒーロー（スライドバナー） === */
.hero {
  overflow: hidden;
  background-color: var(--c4);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 14rem;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* スライド位置インジケータ（ドット） */
.hero-dots {
  position: absolute;
  bottom: 0.625rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
}

.hero-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-dot.active {
  background-color: var(--c1);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.hero-catch {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(38, 135, 151, 0.55) 75%, transparent 75%);
  padding: 0.875rem 1rem 1.875rem;
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* === お知らせ === */
.notice-item {
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--c3);
}

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

.notice-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.2rem;
  flex-wrap: wrap;
}

.notice-date {
  font-size: 0.6875rem;
  color: #777;
  white-space: nowrap;
}

.notice-link {
  font-size: 0.8125rem;
  color: var(--c1);
  font-weight: 500;
}

.notice-body {
  font-size: 0.75rem;
  color: #444;
  line-height: 1.7;
}

.text-red {
  color: var(--c7);
  font-weight: 700;
}

/* お知らせ一覧（アーカイブ）のページネーション */
.news-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.news-pagination a,
.news-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border: 1px solid var(--c3);
  border-radius: 0.25rem;
  font-size: 0.75rem;
  color: var(--c1);
}

.news-pagination .current {
  background-color: var(--c1);
  color: #fff;
  border-color: var(--c1);
}

/* お知らせ個別記事 */
.single-news-header {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--c3);
}

.single-news-date {
  font-size: 0.6875rem;
  color: #777;
  margin-bottom: 0.25rem;
}

.single-news-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c2);
  line-height: 1.5;
}

.single-news-content {
  font-size: 0.875rem;
  line-height: 1.9;
  color: #333;
}

.single-news-content p {
  margin-bottom: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--c1);
  border: 1px solid var(--c1);
  padding: 0.3rem 0.75rem;
  border-radius: 0.2rem;
  margin-top: 1.25rem;
}

.back-link:hover {
  background-color: var(--c1);
  color: #fff;
  text-decoration: none;
}

/* === カレンダー === */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.grid-2col > * {
  min-width: 0;
}

.cal-month {
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  color: var(--c1);
  margin-bottom: 0.5rem;
}

.cal-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.cal-month-nav .cal-month {
  margin-bottom: 0;
  flex: 1;
}

.cal-month-nav-right {
  justify-content: center;
}

.cal-nav-btn {
  background: transparent;
  border: none;
  color: var(--c1);
  cursor: pointer;
  padding: 0.25rem 0.625rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.cal-nav-btn:hover {
  background-color: var(--c4);
}

.cal-nav-btn:disabled {
  color: #ccc;
  cursor: not-allowed;
}

.cal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.6875rem;
  text-align: center;
}

.cal-table th {
  padding: 0.25rem 0.125rem;
  font-weight: 500;
  color: #555;
  border-bottom: 1px solid var(--c3);
}

.cal-table th.sunday {
  color: var(--c8);
}

.cal-table th.saturday {
  color: var(--c9);
}

.cal-day {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.2rem;
  margin: 0.0625rem auto;
  font-size: 0.6875rem;
}

.cal-day.holiday-all {
  background-color: #ffa07a;
  color: #7a2000;
}

.cal-day.holiday-national {
  background-color: #ffc4c4;
  color: #8a1f1f;
}

.cal-day.holiday-am {
  background-color: #add8e6;
  color: #004a6a;
}

.cal-day.holiday-am-ext {
  background-color: #d8b4f0;
  color: #4a1a6a;
}

.cal-day.holiday-pm {
  background-color: #99ff99;
  color: #005500;
}

.cal-day.holiday-saturday-pm {
  background-color: #fff280;
  color: #665500;
}

.cal-day.other-month {
  color: #bbb;
}

.cal-day.today {
  background-color: var(--c1);
  color: #fff;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.625rem;
  font-size: 0.625rem;
}

.cal-legend span {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.leg {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 0.125rem;
  display: inline-block;
}

/* === テーブル === */
.info-table {
  width: 100%;
  font-size: 0.75rem;
  border-collapse: separate;
  border-spacing: 0 0.4rem;
}

.info-table td {
  padding: 0.3rem 0.5rem;
  vertical-align: middle;
}

.info-table td:first-child {
  background-color: var(--c1);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  font-size: 0.6875rem;
  width: 4.5rem;
  padding: 0.3rem 1.25rem 0.3rem 0.75rem;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
  border-radius: 2px 0 0 2px;
}

.info-label-holiday {
  background-color: #e05070 !important;
}

.hour-table {
  width: 100%;
  font-size: 0.6875rem;
  border-collapse: collapse;
  text-align: center;
  margin-top: 0.75rem;
}

.hour-table th {
  padding: 0.3rem 0.2rem;
  background-color: var(--c4);
  color: var(--c2);
  font-weight: 500;
  border: 1px solid var(--c3);
}

.hour-table td {
  padding: 0.25rem 0.2rem;
  border: 1px solid var(--c3);
}

.hour-ok {
  color: var(--c1);
  font-weight: 500;
}

.hour-ng {
  color: var(--c8);
}

.hour-tri {
  color: #cc6600;
}

.hour-note {
  font-size: 0.625rem;
  color: #666;
  margin-top: 0.375rem;
  line-height: 1.8;
}

/* 診療時間表のモバイル/デスクトップ切替 */
.hour-table-mobile { display: none; }
.hour-table-desktop { display: table; }

/* === 地図 === */
.map-embed {
  width: 100%;
  height: 12.5rem;
  border: 0;
  border-radius: 0.25rem;
  display: block;
  margin-bottom: 0.875rem;
}

/* === リンク === */
.link-item {
  border: 1px solid var(--c3);
  border-radius: 0.25rem;
  padding: 0.75rem 0.875rem;
  margin-bottom: 0.625rem;
}

.link-item a {
  color: var(--c1);
  font-weight: 700;
  font-size: 0.8125rem;
}

.link-desc {
  font-size: 0.75rem;
  color: #555;
  margin-top: 0.25rem;
}

/* === 写真ボックス === */
.box-photo {
  border-radius: 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--c1);
  font-size: 0.625rem;
  gap: 0.25rem;
  flex: 0 0 auto;
}
/* アイコンのみのとき（画像未設定）はプレースホルダー枠を表示 */
.box-photo:not(:has(img)) {
  background-color: var(--c5);
  border: 1px solid var(--c3);
  padding: 1rem;
  min-width: 9rem;
  min-height: 7rem;
}
/* 画像ありのときはflexで左カラムを占有 */
.box-photo:has(img) {
  flex: 0 0 44%;
}
.box-photo img {
  border-radius: 0.25rem;
  display: block;
  width: 100%;
  height: auto;
}

/* === 施設写真グリッド === */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.photo-item {
  margin: 0;
  text-align: center;
}
.photo-item img {
  width: 100%;
  height: 6rem;
  object-fit: cover;
  border-radius: 0.25rem;
  display: block;
}
.photo-item figcaption {
  font-size: 0.6875rem;
  color: #555;
  margin-top: 0.3rem;
}

/* === 履歴行 === */
.history-row {
  display: flex;
  gap: 0.875rem;
  padding: 0.375rem 0;
  border-bottom: 1px solid #e0ecf2;
  font-size: 0.75rem;
}

.history-year {
  min-width: 4.5rem;
  color: var(--c1);
  font-weight: 500;
}

/* === ユーティリティ === */
.flex-gap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mt {
  margin-top: 0.75rem;
}

.mb {
  margin-bottom: 0.625rem;
  margin-top: 1.5rem;
}

img.clinic {
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* === フッター === */
footer {
  background-color: var(--c2);
  padding: 1.25rem;
  margin-top: 1rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.footer-name {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-detail {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.6875rem;
  line-height: 1.8;
}

.footer-detail a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.6875rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.3);
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.75rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.625rem;
}

/* === モバイル用：画面下部固定の電話バー === */
.tel-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--c2);
  color: #fff;
  text-align: center;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.tel-bar:hover {
  text-decoration: none;
  color: #fff;
  opacity: 0.92;
}

.tel-bar i {
  font-size: 1.125rem;
}

body {
  padding-bottom: 3.25rem;
}

/* === ページトップへ戻るボタン === */
.page-top {
  position: fixed;
  right: 0.75rem;
  bottom: 4.25rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--c2);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.page-top-arrow {
  font-size: 1rem;
  font-weight: 700;
}

.page-top-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.page-top.visible {
  opacity: 0.85;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s 0s;
}

.page-top:hover {
  opacity: 1;
}

/* === 視覚的に隠すがスクリーンリーダーには読ませる === */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === タブレット（600px以上）=== */
@media (min-width: 600px) {
  html {
    font-size: 112%;
  }

  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.5rem 4.5rem 0.75rem 1.5rem;
    min-height: 4rem;
  }

  .header__copy {
    width: 100%;
    order: -1;
    padding: 0;
  }

  .header-top {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  section {
    padding: 1.75rem 1.5rem;
  }

  .grid-2col {
    grid-template-columns: 1fr 1fr;
  }

  .flex-gap {
    flex-direction: row;
    align-items: flex-start;
  }

  .map-embed {
    height: 15rem;
  }

  .hero-slider {
    height: 20rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hour-table-mobile { display: none; }
  .hour-table-desktop { display: table; }

  img.clinic {
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
  }

  .flex-gap > img.clinic {
    flex: 0 0 44%;
    width: 44%;
    max-width: 44%;
  }
}

/* === PC（960px以上）=== */
@media (min-width: 960px) {
  html {
    font-size: 100%;
  }

  body {
    max-width: 60rem;
    margin: 0 auto;
  }

  header {
    padding: 0.25rem 4.5rem 0.5rem 1.25rem;
  }

  section {
    padding: 1.75rem 1.25rem;
  }

  .map-embed {
    height: 21.875rem;
  }

  .hero-slider {
    height: 24rem;
  }
}

/* === ヘッダー円形ナビボタン === */
.header-circles {
  display: none;
}

@media (min-width: 768px) {
  .header-circles {
    display: flex;
    gap: 0.625rem;
    align-items: center;
    justify-content: center;
    flex: 1;
  }

  .header-circles a {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background-color: #5b9bd5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 1.35;
    padding: 0.25rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  .header-circles a:hover {
    background-color: var(--c2);
    text-decoration: none;
    transform: scale(1.05);
  }

  .header-circles a.active {
    background-color: var(--c2);
  }
}

/* ロゴリンク */
.header-logo-link {
  display: inline-block;
  color: inherit;
}

.header-logo-link:hover {
  text-decoration: none;
  opacity: 0.85;
}
