/* ========================================
   ワンルーク尼崎市立花店 公式ホームページ
   パターン3: エレガント＆プレミアムデザイン
   ======================================== */

/* ========================================
   カラーパレット
   ======================================== */
:root {
  /* メインカラー */
  --color-beige: #F5F1E8;
  --color-cream: #FAF8F3;
  --color-turquoise: #5DBEBC;
  --color-gold: #D4AF37;
  --color-dark-gray: #333333;
  --color-white: #FFFFFF;
  
  /* グラデーション */
  --gradient-beige: linear-gradient(180deg, #FFFFFF 0%, #F5F1E8 100%);
  
  /* フォント */
  --font-main: 'Noto Sans JP', sans-serif;
  --font-heading: 'Noto Serif JP', serif;
  
  /* スペーシング */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* ブレークポイント */
  --breakpoint-mobile: 768px;
  --breakpoint-tablet: 1024px;
  --breakpoint-desktop: 1440px;
}

/* ========================================
   リセット＆ベーススタイル
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--color-dark-gray);
  background-color: var(--color-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--color-turquoise);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* ========================================
   タイポグラフィ
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: var(--color-dark-gray);
}

h2 {
  font-size: 2rem;
  color: var(--color-dark-gray);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-turquoise);
  margin: 1rem auto 0;
}

h3 {
  font-size: 1.5rem;
  color: var(--color-turquoise);
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

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

.section {
  padding: var(--spacing-xl) 0;
}

.section-alt {
  background-color: var(--color-white);
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-turquoise);
  font-weight: 700;
}

.logo span {
  color: var(--color-gold);
  font-size: 0.9rem;
  display: block;
  margin-top: -0.2rem;
}

/* ナビゲーション（PC用：デフォルト） */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  /* スマホ用の設定をリセット */
  position: static;
  width: auto;
  height: auto;
  background-color: transparent;
  flex-direction: row;
  padding: 0;
  box-shadow: none;
  overflow-y: visible;
}

.nav-menu a {
  color: var(--color-dark-gray);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  /* スマホ用のborder-bottomをリセット */
  font-size: 1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-turquoise);
  border-bottom-color: var(--color-turquoise);
}

/* ハンバーガーメニュー（PC用：非表示） */
.menu-toggle {
  display: none;
  z-index: 9999;
  position: relative;
  width: 50px;
  height: 50px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  pointer-events: auto;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--color-dark-gray);
  margin: 6px auto;
  transition: all 0.3s ease;
  pointer-events: none;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-beige);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(245, 241, 232, 0.3) 0%, rgba(245, 241, 232, 0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-dark-gray);
  padding: 2rem;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-gold) 0%, #E8C66A 100%);
  color: var(--color-white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--color-dark-gray);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--color-dark-gray);
  opacity: 0.9;
}

/* ========================================
   ボタン
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--color-turquoise);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(93, 190, 188, 0.3);
}

.btn-primary:hover {
  background-color: #4EAEAC;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(93, 190, 188, 0.4);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-turquoise);
  border: 2px solid var(--color-turquoise);
}

.btn-secondary:hover {
  background-color: var(--color-turquoise);
  color: var(--color-white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, #E8C66A 100%);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* プルプル震えるアニメーション（電話ボタン用） */
.pulse-button {
  animation: shake 2.5s infinite;
  box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);
}

@keyframes shake {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
  5% { transform: scale(1.05); }
  10% { transform: scale(0.95); }
  15% { transform: scale(1.05); }
  20% { transform: scale(0.95); }
  25% { transform: scale(1.05); }
  30% { transform: scale(1); box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

/* ========================================
   サービス紹介セクション
   ======================================== */
.services {
  padding: var(--spacing-xl) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--color-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.service-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-content {
  padding: 2rem;
}

.service-title {
  color: var(--color-turquoise);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--color-dark-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ========================================
   特徴セクション（背景画像あり）
   ======================================== */
.features {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://www.genspark.ai/api/files/s/d9jpObEn?cache_control=3600');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5rem 0;
  position: relative;
  color: #FFFFFF;
}

.features h2 {
  color: #FFFFFF;
  font-size: 2.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.features h2::after {
  background-color: var(--color-gold);
  width: 80px;
  height: 4px;
}

.features .text-center {
  font-size: 1.4rem;
  font-weight: 500;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  margin-bottom: 4rem;
  letter-spacing: 0.05em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2.5rem 2rem;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  /* ボタン位置揃え用 */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-turquoise); /* アイコン色をターコイズに設定 */
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--color-dark-gray);
  line-height: 1.7;
  /* ボタンを下に押しやる */
  margin-bottom: auto;
}

/* ========================================
   料金表
   ======================================== */
.pricing {
  padding: var(--spacing-xl) 0;
}

.pricing-table {
  width: 100%;
  margin-top: 2rem;
  background-color: var(--color-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th {
  background: linear-gradient(135deg, var(--color-turquoise) 0%, #4EAEAC 100%);
  color: var(--color-white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  /* ヘッダー固定用 */
  position: sticky;
  top: 0;
  z-index: 10; /* コンテンツより前面に */
}

/* ヘッダー固定時の微調整（スマホでのヘッダー高さ考慮） */
@media (max-width: 768px) {
  .pricing-table th {
    top: 0; /* 必要に応じて調整 */
  }
}

.pricing-table td {
  padding: 1rem;
  border-bottom: 1px solid #F0F0F0;
}

.pricing-table tr:hover {
  background-color: var(--color-cream);
}

.pricing-table .recommended {
  position: relative;
}

.pricing-table .recommended::before {
  content: '⭐ おすすめ';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ========================================
   オプションコース
   ======================================== */
.options {
  background-color: var(--color-white);
  padding: var(--spacing-xl) 0;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.option-card {
  background-color: var(--color-cream);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.option-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.option-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--color-gold) 0%, #E8C66A 100%);
  color: var(--color-white);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.option-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.option-content {
  padding: 1.5rem;
}

.option-title {
  color: var(--color-turquoise);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.option-price {
  font-size: 1.5rem;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.option-price-original {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.option-description {
  color: var(--color-dark-gray);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ========================================
   スタッフ紹介
   ======================================== */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.staff-card {
  background-color: var(--color-white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.staff-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.staff-header {
  text-align: center;
  margin-bottom: 2rem;
}

.staff-name {
  font-size: 1.5rem;
  color: var(--color-turquoise);
  margin-bottom: 0.3rem;
}

.staff-name-en {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1rem;
}

.staff-experience {
  display: inline-block;
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.staff-info {
  margin-top: 1.5rem;
}

.staff-info-item {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.staff-info-label {
  color: var(--color-turquoise);
  font-weight: 600;
  margin-right: 0.5rem;
}

/* ========================================
   アクセス・店舗情報
   ======================================== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.store-info {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.info-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: start;
}

.info-icon {
  color: var(--color-turquoise);
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 1rem;
  color: var(--color-turquoise);
  margin-bottom: 0.3rem;
}

.info-content p {
  color: var(--color-dark-gray);
  line-height: 1.7;
  margin: 0;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ========================================
   フッター
   ======================================== */
.footer {
  background-color: var(--color-dark-gray);
  color: var(--color-white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--color-turquoise);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-section a:hover {
  color: var(--color-turquoise);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--color-turquoise);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: var(--color-white);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--color-gold);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ========================================
   アニメーション
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-delay-1 {
  animation-delay: 0.2s;
}

.fade-in-delay-2 {
  animation-delay: 0.4s;
}

.fade-in-delay-3 {
  animation-delay: 0.6s;
}

/* ========================================
   テーブル行強調アニメーション（背景色）
   ======================================== */
@keyframes highlightRow {
  0% { background-color: transparent; }
  20% { background-color: #fff9c4; } /* 薄い黄色 */
  80% { background-color: #fff9c4; }
  100% { background-color: transparent; }
}

.highlight-row {
  animation: highlightRow 2.0s ease-out;
  position: relative;
  z-index: 1;
}

.highlight-row td {
  background-color: inherit !important; /* 行の背景色を優先 */
}

/* タブレット */
@media (max-width: 1024px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .access-grid {
    grid-template-columns: 1fr;
  }
}

/* モバイル */
@media (max-width: 768px) {
  :root {
    --spacing-xl: 3rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }

  /* スマホ版ヒーロー画像の調整：犬が見切れないように左寄せにする */
  .hero-image {
    object-position: 25% center;
  }
  
  /* ハンバーガーメニュー（スマホ用） */
  .menu-toggle {
    display: block;
  }
  
  /* ナビゲーションメニュー（スマホ用） */
.nav-menu {
  position: fixed;
  top: 70px;
  left: -100%;
  width: 100%;
  /* 高さ調整：フッターの予約ボタンと重ならないように */
  height: calc(100vh - 70px - 100px); 
  background-color: var(--color-white);
  flex-direction: column;
  padding: 2rem 2rem 5rem 2rem; /* 下部に余白を追加 */
  gap: 1.5rem;
  transition: left 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  z-index: 9998;
}
  
  .nav-menu.active {
    left: 0;
  }
  
  /* メニュー内のリンク */
  .nav-menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .services-grid,
  .features-grid,
  .options-grid,
  .staff-grid {
    grid-template-columns: 1fr;
  }
  
  .access-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* 小型モバイル */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .hero-badge {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }
}

/* ========================================
   ユーティリティクラス
   ======================================== */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem; }
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }
