/*
Theme Name: 出張整体まっちゃん
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: 岩手県の出張専門整体（人間用整体 + ドッグ整体）のためのWordPressテーマ
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seitai-matchan
*/

/* ==========================================
   CSS変数定義（カラーパレット）
========================================== */
:root {
  --color-primary: #7cb342;
  --color-primary-dark: #689f38;
  --color-primary-light: #aed581;
  --color-secondary: #f5f5dc;
  --color-accent: #4caf50;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-lighter: #999999;
  --color-bg: #ffffff;
  --color-bg-light: #fafafa;
  --color-bg-gray: #f8f8f8;
  --color-border: #e0e0e0;
  --color-border-light: #eeeeee;
  --font-main: 'Noto Sans JP', sans-serif;
  --header-height: 80px;
  --cta-bar-height: 60px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.8;
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  position: relative;
  overflow-x: hidden;
}

/* 雲の背景アニメーション */
body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('http://shun.belion.online/wp-content/uploads/2026/01/くも-1.png');
  background-size: 400px auto;
  background-repeat: repeat-x;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

body::before {
  animation: cloudMove1 180s linear infinite;
  background-position: 0 80px;
}

body::after {
  animation: cloudMove2 240s linear infinite;
  background-position: 0 300px;
  opacity: 0.1;
}

@keyframes cloudMove1 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-400px);
  }
}

@keyframes cloudMove2 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-400px);
  }
}

/* すべてのコンテンツを雲の上に表示 */
header,
.main-content,
footer,
.cta-bar {
  position: relative;
  z-index: 1;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ==========================================
   共通レイアウト
========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
}

/* ==========================================
   セクションタイトル
========================================== */
.section-title-main {
  text-align: center;
  margin-bottom: 60px;
}

.title-en {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.title-ja {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

.section-title-large {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

.section-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.2em;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* ==========================================
   ボタンスタイル
========================================== */
.btn-border {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-border:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-map {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--color-primary);
  color: white;
  font-weight: 600;
  border-radius: 25px;
  transition: var(--transition);
  font-size: 0.9rem;
  margin: 20px 0;
}

.btn-map:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================
   ヘッダー
========================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.site-logo a {
  display: block;
}

.site-logo img {
  height: 50px;
  width: auto;
  max-width: 200px;
}

.site-logo a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.05em;
}

.main-navigation ul {
  display: flex;
  gap: 35px;
  align-items: center;
}

.main-navigation a {
  font-weight: 500;
  color: var(--color-text);
  padding: 8px 0;
  font-size: 0.95rem;
  position: relative;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
}

.main-navigation a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--color-text);
  margin: 5px 0;
  transition: var(--transition);
}

/* ==========================================
   追従型CTAバー
========================================== */
/* CTAバー（PC版：ヘッダー下の固定バー） */
.cta-bar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  height: var(--cta-bar-height);
  display: block;
}

.cta-bar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.cta-btn-instagram {
  background-color: #e1306c;
  color: white;
}

.cta-btn-instagram:hover {
  background-color: #c13584;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
}

.cta-btn-line {
  background-color: #06c755;
  color: white;
}

.cta-btn-line:hover {
  background-color: #05b34a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.4);
}

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

/* スマホ版：右上に固定ボタン */
@media (max-width: 768px) {
  .cta-bar {
    position: fixed;
    top: auto;
    right: 0;
    left: auto;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    pointer-events: none;
  }

  .cta-bar-container {
    position: fixed;
    top: calc(60px + 5px);
    right: 5px;
    flex-direction: row;
    gap: 8px;
    padding: 0;
    width: auto;
    height: auto;
    max-width: none;
    margin: 0;
    pointer-events: auto;
  }

  .cta-btn {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .cta-btn span:not(.cta-icon) {
    font-size: 0.5rem;
    line-height: 1.2;
  }

  .cta-icon {
    font-size: 1.3rem;
  }

  .cta-btn:active {
    transform: scale(0.95);
  }

  /* ヒーローセクションはヘッダー直下に配置（CTAバー分の余白なし） */
  .hero-slider {
    margin-top: 60px;
  }

  /* main-contentには余分なmarginを付けない */
  .main-content {
    margin-top: 0;
    padding-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .cta-bar-container {
    top: calc(60px + 3px);
    right: 0;
    gap: 5px;
  }

  .cta-btn {
    width: 48px;
    height: 48px;
  }

  .cta-btn span:not(.cta-icon) {
    font-size: 0.42rem;
  }

  .cta-icon {
    font-size: 1.2rem;
  }
}

/* ==========================================
   ヒーロースライドショー
========================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 650px;
  margin-top: calc(var(--header-height) + var(--cta-bar-height));
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  text-align: center;
  color: white;
  padding: 40px;
  max-width: 900px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.1em;
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active,
.dot:hover {
  background-color: white;
  transform: scale(1.3);
}

/* ==========================================
   クイックリンクバー
========================================== */
.quick-links {
  background-color: white;
  padding: 0;
  border-bottom: 1px solid var(--color-border-light);
}

.quick-links-wrapper {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.quick-link {
  flex: 1;
  text-align: center;
  padding: 20px 30px;
  border-right: 1px solid var(--color-border-light);
  transition: var(--transition);
  background-color: white;
}

.quick-link:last-child {
  border-right: none;
}

.quick-link:hover {
  background-color: var(--color-primary);
}

.quick-link:hover .link-text {
  color: white;
}

.link-text {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
  transition: var(--transition);
}

/* ==========================================
   診療時間テーブル
========================================== */
.schedule-section {
  padding: 40px 0;
  background-color: var(--color-bg-gray);
}

.schedule-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 20px;
  border-collapse: collapse;
  background-color: white;
  box-shadow: var(--shadow-sm);
  border-radius: 8px;
  overflow: hidden;
}

.schedule-table thead {
  background-color: var(--color-primary);
  color: white;
}

.schedule-table th {
  padding: 16px 12px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.schedule-table td {
  padding: 16px 12px;
  text-align: center;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.9rem;
}

.schedule-table tbody tr:last-child td {
  border-bottom: none;
}

.schedule-table tbody tr:nth-child(even) {
  background-color: var(--color-bg-light);
}

.schedule-notes {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.schedule-notes p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ==========================================
   お知らせセクション
========================================== */
.news-section {
  background-color: white;
  padding: 80px 0;
}

.news-list {
  max-width: 900px;
  margin: 0 auto 40px;
}

.news-item {
  display: flex;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: var(--transition);
}

.news-item:hover {
  background-color: var(--color-bg-light);
  padding-left: 20px;
}

.news-date {
  font-size: 0.9rem;
  color: var(--color-text-light);
  min-width: 100px;
}

.news-category {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--color-primary-light);
  color: white;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0 20px;
  min-width: 80px;
  text-align: center;
}

.news-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  flex: 1;
}

.news-more {
  text-align: center;
}

/* ==========================================
   ABOUTセクション
========================================== */
.about-section {
  background-color: var(--color-bg-gray);
  position: relative;
  overflow: hidden;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 1.05rem;
  line-height: 2.2;
  color: var(--color-text);
  margin-bottom: 30px;
}

/* 装飾要素 */
.deco-leaf {
  position: absolute;
  width: 150px;
  height: 150px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10 Q30 30 20 50 Q30 70 50 90 Q70 70 80 50 Q70 30 50 10Z" fill="%237cb342" opacity="0.1"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}

.deco-leaf-left {
  top: 10%;
  left: 5%;
}

.deco-leaf-right {
  bottom: 10%;
  right: 5%;
  transform: rotate(180deg);
}

/* ==========================================
   特徴セクション
========================================== */
.feature-section {
  background-color: white;
}

.feature-items {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-image {
  /* 参考サイト風の有機的な形状 - 葉っぱのような優しいカーブ */
  border-radius: 45px 0 45px 0;
  overflow: hidden;
  /* 白枠を追加して清潔感を演出 */
  border: 8px solid white;
  /* ふんわりとした影で浮き上がっている印象に */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  /* 背景に少し色をつけて立体感を */
  background-color: #f9f9f9;
  position: relative;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  aspect-ratio: 4 / 3;
}

.feature-image::before {
  /* 画像の上に薄い装飾的なオーバーレイ（オプション） */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(124, 179, 66, 0.03) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.feature-item:hover .feature-image {
  /* ホバー時に影を強調 */
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.feature-item:hover .feature-image img {
  /* ホバー時に画像を少し拡大 */
  transform: scale(1.08);
}

.feature-content {
  padding: 10px 15px;
  text-align: center;
}

.feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 18px;
  line-height: 1.5;
}

.feature-description {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--color-text-light);
  text-align: left;
}

.feature-more {
  text-align: center;
  margin-top: 60px;
}

/* ==========================================
   施術案内セクション
========================================== */
.service-section {
  background-color: var(--color-bg-gray);
}

.service-intro {
  text-align: center;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 50px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.service-card {
  background-color: white;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.service-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.service-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.service-more {
  text-align: center;
}

/* ==========================================
   ドッグ整体セクション
========================================== */
.dog-section {
  background-color: white;
}

.dog-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.dog-text {
  margin-bottom: 40px;
}

.dog-text p {
  font-size: 1.05rem;
  line-height: 2.2;
  color: var(--color-text);
  margin-bottom: 25px;
}

.dog-instagram {
  text-align: center;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #e1306c 0%, #c13584 100%);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
}

.instagram-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.3);
}

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

.access-info {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.access-text {
  padding: 20px;
}

.access-address {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 20px;
}

.access-methods {
  margin-top: 40px;
}

.access-method {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.method-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.method-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.method-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.access-map {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.access-more {
  text-align: center;
  margin-top: 50px;
}

/* ==========================================
   ギャラリースライダー
========================================== */
.gallery-slider {
  padding: 60px 0;
  background-color: white;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 20px;
  animation: gallery-scroll 40s linear infinite;
}

.gallery-item {
  flex-shrink: 0;
  width: 300px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

@keyframes gallery-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-320px * 6));
  }
}

/* ==========================================
   フッター
========================================== */
.site-footer {
  background-color: var(--color-primary-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-info p {
  font-size: 0.95rem;
  line-height: 2;
  opacity: 0.9;
}

.footer-menu h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-menu ul {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: white;
  opacity: 0.8;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-menu a:hover {
  opacity: 1;
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ==========================================
   レスポンシブ対応
========================================== */
/* PC版（769px以上）でCTAバーを確実に表示 */
@media (min-width: 769px) {
  .cta-bar {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: var(--cta-bar-height);
  }
  
  .cta-bar-container {
    display: flex;
    justify-content: center;
    position: static;
  }
  
  .cta-btn {
    display: flex;
    width: auto;
    height: auto;
    padding: 12px 28px;
    border-radius: 30px;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .header-container {
    padding: 0 30px;
  }
  
  .cta-bar-container {
    padding: 0;
  }

  .feature-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .feature-image {
    /* タブレットでも有機的な形状を維持 */
    border-radius: 40px 0 40px 0;
    border: 6px solid white;
  }
  
  .feature-title {
    font-size: 1.2rem;
  }
  
  .feature-description {
    font-size: 0.9rem;
  }

  .access-info {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 60px;
  }
  
  :root {
    --header-height: 60px;
  }
  
  .site-logo img {
    height: 40px;
    max-width: 150px;
  }

  /* ヘッダー */
  .main-navigation {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: white;
    transition: var(--transition);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .main-navigation.active {
    left: 0;
  }

  .main-navigation ul {
    flex-direction: column;
    padding: 30px;
    gap: 0;
  }

  .main-navigation li {
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }

  .main-navigation a {
    display: block;
    padding: 15px 0;
  }

  .menu-toggle {
    display: block;
  }

  /* ヒーロー */
  .hero-slider {
    height: 500px;
    margin-top: 60px;
  }
  
  .slide-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.65));
  }
  
  .slide-content {
    padding: 20px;
    max-width: 100%;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 15px;
    white-space: normal;  /* 複数行表示を許可 */
    overflow: visible;
    text-overflow: clip;
    word-break: keep-all;  /* 日本語の単語単位で改行 */
    overflow-wrap: break-word;  /* 長い単語は折り返す */
  }

  .hero-title br {
    display: inline;  /* brタグを有効にして意図した位置で改行 */
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  /* クイックリンク */
  .quick-links-wrapper {
    flex-wrap: wrap;
  }

  .quick-link {
    flex: 1 1 50%;
    border-bottom: 1px solid var(--color-border-light);
    padding: 15px 10px;
  }

  .link-text {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  /* セクション */
  .section {
    padding: 50px 0;
  }

  .section-title-main {
    margin-bottom: 40px;
  }

  .title-en {
    font-size: 0.8rem;
  }

  .title-ja {
    font-size: 1.4rem;
  }

  .section-title-large {
    font-size: 1.35rem;
    line-height: 1.6;
    padding: 0 10px;
  }

  .section-title-large br {
    display: inline;
  }

  .section-label {
    font-size: 0.75rem;
  }

  /* ボタン */
  .btn-border {
    padding: 10px 28px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .btn-map {
    padding: 10px 25px;
    font-size: 0.85rem;
  }

  /* 特徴セクション */
  .feature-items {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .feature-image {
    /* スマホでも優しい形状を保つ */
    border-radius: 35px 0 35px 0;
    border: 5px solid white;
  }

  .feature-title {
    font-size: 1.2rem;
  }

  .feature-description {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  /* 施術案内 */
  .service-intro {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .service-intro br {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-card {
    padding: 20px 10px;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .service-icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .service-name {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* お知らせセクション */
  .news-section {
    padding: 50px 0;
  }

  .news-item {
    padding: 18px 0;
  }

  .news-date {
    font-size: 0.8rem;
  }

  .news-category {
    font-size: 0.7rem;
    padding: 3px 10px;
    margin: 0 15px;
  }

  .news-title {
    font-size: 0.9rem;
  }

  /* ABOUT セクション */
  .about-text {
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 20px;
  }

  .about-text br {
    display: none;
  }

  /* ドッグ整体 */
  .dog-text p {
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 20px;
  }

  .dog-text br {
    display: none;
  }

  .instagram-link {
    padding: 12px 24px;
    font-size: 0.85rem;
    gap: 6px;
    white-space: normal;
    max-width: 280px;
    line-height: 1.4;
  }

  .instagram-link i {
    flex-shrink: 0;
  }

  /* アクセス */
  .access-info {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .access-address {
    font-size: 1rem;
  }

  .access-method {
    gap: 15px;
    margin-bottom: 25px;
  }

  .method-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .method-content h4 {
    font-size: 1rem;
    white-space: nowrap;
  }

  .method-content p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  /* スケジュールテーブル */
  .schedule-table {
    font-size: 0.75rem;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 10px 6px;
  }

  .schedule-notes p {
    font-size: 0.75rem;
  }

  /* フッター */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .footer-info p {
    font-size: 0.8rem;
    line-height: 1.7;
  }

  .footer-menu h4 {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .footer-menu li {
    margin-bottom: 6px;
  }

  .footer-menu a {
    font-size: 0.8rem;
  }

  .footer-social {
    margin-top: 15px;
    gap: 12px;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .footer-bottom {
    padding-top: 20px;
    margin-top: 20px;
  }

  .footer-copyright {
    font-size: 0.75rem;
  }

  .site-footer {
    padding: 40px 0 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .header-container,
  .footer-content {
    padding: 0 15px;
  }

  .hero-slider {
    height: 450px;
  }
  
  .slide-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  }
  
  .slide-content {
    padding: 15px;
  }

  .hero-title {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 12px;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.6;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .quick-link {
    flex: 1 1 100%;
    padding: 12px 10px;
  }

  .link-text {
    font-size: 0.75rem;
  }

  .section {
    padding: 40px 0;
  }

  .section-title-large {
    font-size: 1.25rem;
    line-height: 1.7;
  }

  .title-ja {
    font-size: 1.3rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-card {
    padding: 18px 10px;
    aspect-ratio: auto;
    min-height: 120px;
  }

  .service-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .service-name {
    font-size: 0.8rem;
  }

  .btn-border {
    padding: 8px 24px;
    font-size: 0.8rem;
  }

  .schedule-table {
    font-size: 0.7rem;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 8px 4px;
  }

  .schedule-notes p {
    font-size: 0.7rem;
  }

  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 15px 0;
  }

  .news-date {
    min-width: auto;
    font-size: 0.75rem;
  }

  .news-category {
    margin: 0;
    font-size: 0.65rem;
  }

  .news-title {
    font-size: 0.85rem;
  }

  .feature-title {
    font-size: 1.2rem;
  }

  .feature-description {
    font-size: 0.85rem;
  }

  .about-text {
    font-size: 0.9rem;
  }

  .dog-text p {
    font-size: 0.9rem;
  }

  .instagram-link {
    padding: 11px 20px;
    font-size: 0.8rem;
    max-width: 240px;
  }

  .method-content h4 {
    font-size: 0.95rem;
  }

  .method-content p {
    font-size: 0.8rem;
  }

  .footer-main {
    gap: 20px;
  }

  .footer-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .footer-info p {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .footer-menu h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .footer-menu li {
    margin-bottom: 5px;
  }

  .footer-menu a {
    font-size: 0.75rem;
  }

  .footer-social {
    margin-top: 12px;
    gap: 10px;
  }

  .footer-social a {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .footer-bottom {
    padding-top: 15px;
    margin-top: 15px;
  }

  .footer-copyright {
    font-size: 0.7rem;
  }

  .site-footer {
    padding: 35px 0 18px;
  }
}