/*
Theme Name: My Beauty Theme
Theme URI: https://example.com
Author: TEDIT
Author URI: https://example.com
Description: 美容院向けのモダンで洗練されたWordPressテーマ。LUMIÈREのデザインをベースに作成。
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-beauty-theme
Tags: beauty, salon, modern, responsive
*/

/* ============================================
   フォント読み込み
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Space+Grotesk:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS変数定義
   ============================================ */
:root {
  /* カラー */
  --background: #f2f1ed;
  --foreground: #26251e;
  --card: #f2f1ed;
  --card-foreground: #26251e;
  --popover: #f2f1ed;
  --popover-foreground: #26251e;
  --primary: #26251e;
  --primary-foreground: #f7f7f4;
  --secondary: #e6e5e0;
  --secondary-foreground: #26251e;
  --muted: #e6e5e0;
  --muted-foreground: #8a8980;
  --accent: #f25f4c;
  --accent-foreground: #f7f7f4;
  --border: #dcdbd5;
  --input: #dcdbd5;
  --ring: #26251e;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans JP", "Space Grotesk", sans-serif;
  background-color: #f2f1ed; /* フォールバック */
  background-color: var(--background);
  color: #26251e; /* フォールバック */
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

button, 
[role="button"],
[type="button"],
[type="submit"],
[type="reset"],
a[href],
select,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

/* ============================================
   コンテナ
   ============================================ */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 4rem;
    padding-right: 4rem;
    max-width: 1400px;
  }
}

/* ============================================
   ユーティリティクラス
   ============================================ */
.font-display {
  font-family: "Syne", sans-serif;
}

.font-mono {
  font-family: monospace;
}

.text-stroke {
  -webkit-text-stroke: 1px currentColor;
  color: transparent;
}

.text-stroke-width-2 {
  -webkit-text-stroke-width: 2px;
}

/* ============================================
   ヘッダー
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: rgba(242, 241, 237, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
  padding: 1rem 0;
}

.site-header:not(.scrolled) {
  background-color: transparent;
  padding: 1.5rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 1.5rem;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  transition: color 0.3s ease;
}

.site-logo:hover {
  opacity: 0.8;
}

.site-logo.dark {
  color: white;
}

.site-logo.light {
  color: var(--foreground);
}

/* デスクトップナビゲーション */
.main-nav {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s ease;
  color: rgba(38, 37, 30, 0.8);
}

.main-nav a:hover {
  color: var(--foreground);
}

/* ダーク背景（トップページのヒーローセクション上）の場合 */
.site-header.dark-bg .main-nav a,
.main-nav.dark-bg a {
  color: rgba(255, 255, 255, 0.9);
}

.site-header.dark-bg .main-nav a:hover,
.main-nav.dark-bg a:hover {
  color: white;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

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

.main-nav a.active {
  color: var(--accent);
}

.main-nav a.active::after {
  width: 100%;
  background-color: var(--accent);
}

.site-header.dark-bg .main-nav a.active::after {
  background-color: var(--accent);
}

/* モバイルメニューボタン */
.mobile-menu-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background-color: var(--background);
  padding-top: 6rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  display: none;
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav a {
  font-size: 1.875rem;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--muted-foreground);
}

.mobile-menu-divider {
  width: 100%;
  height: 1px;
  background-color: var(--border);
  margin: 1rem 0;
}

/* 予約ボタン */
.reserve-btn {
  display: none;
}

@media (min-width: 768px) {
  .reserve-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 4px;
    font-family: "Syne", sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .reserve-btn:hover {
    background-color: rgba(38, 37, 30, 0.9);
  }
  
  .reserve-btn.white {
    background-color: white;
    color: black;
  }
  
  .reserve-btn.white:hover {
    background-color: rgba(255, 255, 255, 0.9);
  }
}

/* ============================================
   メインコンテンツ
   ============================================ */
.site-main {
  flex: 1;
  padding-top: 0;
}

/* ============================================
   フッター
   ============================================ */
.site-footer {
  background-color: #f2f1ed;
  color: #26251e;
  padding: 4rem 0;
  border-top: 1px solid #dcdbd5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand h2 {
  font-size: 1.875rem;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(38, 37, 30, 0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

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

.social-links a {
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent);
}

.footer-section h3 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

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

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  font-size: 0.875rem;
  color: rgba(38, 37, 30, 0.7);
  transition: color 0.3s ease;
}

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

.footer-section address {
  font-style: normal;
  font-size: 0.875rem;
  color: rgba(38, 37, 30, 0.7);
  line-height: 1.8;
}

.footer-section address p {
  margin-bottom: 0.75rem;
}

.newsletter input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(38, 37, 30, 0.3);
  padding: 0.5rem 0;
  width: 100%;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter input:focus {
  border-bottom-color: var(--accent);
}

.newsletter input::placeholder {
  color: rgba(38, 37, 30, 0.3);
}

.newsletter button {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.newsletter button:hover {
  opacity: 0.7;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(38, 37, 30, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(38, 37, 30, 0.5);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ============================================
   ボタン
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-family: "Syne", sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-lg {
  padding: 1.5rem 2rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: rgba(38, 37, 30, 0.9);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-white {
  background-color: white;
  color: black;
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.btn-outline-white {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   ヒーローセクション
   ============================================ */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 5rem;
  color: white;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 0.9;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 5rem;
  }
}

.hero-content p {
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  max-width: 32rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .hero-content p {
    font-size: 1.25rem;
  }
}

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

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 10;
  display: none;
}

@media (min-width: 768px) {
  .scroll-indicator {
    display: block;
  }
}

.scroll-indicator-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-family: monospace;
}

.scroll-indicator-line {
  width: 1px;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.5);
  margin-right: 1rem;
  margin-top: 0.5rem;
}

/* ============================================
   セクション共通スタイル
   ============================================ */
.section {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

.section-title {
  font-size: 0.875rem;
  font-family: monospace;
  color: var(--muted-foreground);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.section-heading {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-heading {
    font-size: 3.5rem;
  }
}

.section-description {
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* ============================================
   グリッドレイアウト
   ============================================ */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

/* ============================================
   アスペクト比（ブラウザ互換性対応）
   ============================================ */
.aspect-square {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* 1:1 フォールバック */
}

.aspect-square::before {
  content: '';
  display: block;
  padding-bottom: 100%;
}

.aspect-square > img,
.aspect-square > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aspect-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 フォールバック */
}

.aspect-video::before {
  content: '';
  display: block;
  padding-bottom: 56.25%;
}

.aspect-video > img,
.aspect-video > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aspect-3-4 {
  position: relative;
  width: 100%;
  padding-bottom: 133.333%; /* 3:4 フォールバック */
}

.aspect-3-4::before {
  content: '';
  display: block;
  padding-bottom: 133.333%;
}

.aspect-3-4 > img,
.aspect-3-4 > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* モダンブラウザ用のaspect-ratio（フォールバックの上に） */
@supports (aspect-ratio: 1 / 1) {
  .aspect-square {
    padding-bottom: 0;
    aspect-ratio: 1 / 1;
  }
  
  .aspect-square::before {
    display: none;
  }
  
  .aspect-square > img,
  .aspect-square > * {
    position: static;
  }
  
  .aspect-video {
    padding-bottom: 0;
    aspect-ratio: 16 / 9;
  }
  
  .aspect-video::before {
    display: none;
  }
  
  .aspect-video > img,
  .aspect-video > * {
    position: static;
  }
  
  .aspect-3-4 {
    padding-bottom: 0;
    aspect-ratio: 3 / 4;
  }
  
  .aspect-3-4::before {
    display: none;
  }
  
  .aspect-3-4 > img,
  .aspect-3-4 > * {
    position: static;
  }
}

/* ============================================
   アニメーション
   ============================================ */
.scroll-animate {
  opacity: 0.3;
  -webkit-transform: translateY(2rem);
  -ms-transform: translateY(2rem);
  transform: translateY(2rem);
  -webkit-transition: opacity 1s ease-out, -webkit-transform 1s ease-out;
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.scroll-animate.visible {
  opacity: 1;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeIn 1s ease-out;
}

/* ============================================
   その他のユーティリティ
   ============================================ */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--muted-foreground);
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.pt-24 {
  padding-top: 6rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.overflow-hidden {
  overflow: hidden;
}

.rounded-sm {
  border-radius: 4px;
}

.bg-muted {
  background-color: var(--muted);
}

.bg-secondary {
  background-color: var(--secondary);
}

.hover-scale {
  transition: transform 0.7s ease;
}

.hover-scale:hover {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

/* ============================================
   Flexboxユーティリティ
   ============================================ */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-baseline {
  align-items: baseline;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

/* ============================================
   ホバー効果
   ============================================ */
.hover-border-primary:hover {
  border-color: var(--primary);
}

.hover\:text-accent:hover {
  color: var(--accent);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

.hover\:grayscale-0:hover {
  filter: grayscale(0);
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.hover\:bg-black\/20:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:text-accent {
  color: var(--accent);
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:bg-black\/20 {
  background-color: rgba(0, 0, 0, 0.2);
}

/* ============================================
   表示/非表示ユーティリティ
   ============================================ */
.hidden {
  display: none;
}

@media (min-width: 640px) {
  .sm\:block {
    display: block;
  }
  
  .sm\:flex-row {
    flex-direction: row;
  }
  
  .sm\:w-auto {
    width: auto;
  }
  
  .sm\:justify-end {
    justify-content: flex-end;
  }
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:order-1 {
    order: 1;
  }
  
  .md\:order-2 {
    order: 2;
  }
  
  .md\:mt-0 {
    margin-top: 0;
  }
  
  .md\:pl-\[248px\] {
    padding-left: 248px;
  }
  
  .md\:hidden {
    display: none;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================
   その他のユーティリティクラス
   ============================================ */
.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.inline-flex {
  display: inline-flex;
}

.inline-block {
  display: inline-block;
}

.max-w-none {
  max-width: none;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-auto {
  margin-top: auto;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-10 {
  z-index: 10;
}

.object-cover {
  object-fit: cover;
}

.transition-all {
  transition: all 0.3s ease;
}

.transition-colors {
  transition: color 0.3s ease;
}

.transition-transform {
  transition: transform 0.3s ease;
}

.cursor-pointer {
  cursor: pointer;
}

/* ============================================
   READ MORE / VIEW ALL MENU リンクのホバー効果
   ============================================ */
.read-more-link,
.view-all-menu-link {
  transition: opacity 0.3s ease;
}

.read-more-link:hover,
.view-all-menu-link:hover {
  opacity: 0.7;
}

.read-more-link svg,
.view-all-menu-link svg {
  transition: transform 0.3s ease;
}

.read-more-link:hover svg,
.view-all-menu-link:hover svg {
  -webkit-transform: translateX(0.25rem);
  -ms-transform: translateX(0.25rem);
  transform: translateX(0.25rem);
}

/* ============================================
   カタログアイテムのホバー効果
   ============================================ */
.catalog-item {
  position: relative;
}

.catalog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.catalog-item:hover .catalog-image {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.catalog-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}

.catalog-item:hover .catalog-overlay {
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.catalog-title {
  transition: color 0.3s ease;
}

.catalog-item:hover .catalog-title {
  color: var(--accent);
}

/* ============================================
   レスポンシブ調整
   ============================================ */
@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-heading {
    font-size: 2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .md\:pl-\[248px\] {
    padding-left: 0;
  }
}

/* =========================
   News一覧用の余白スタイル（デバッグ付き）
   ========================= */
.news-item {
  padding-top: 2.5rem !important;    /* 上下にたっぷり余白 */
  padding-bottom: 2.5rem !important;
  margin-bottom: 2.5rem !important;  /* アイテム同士の間隔 */
  border-bottom: 1px solid var(--border) !important;
  background-color: rgba(255, 0, 0, 0.03) !important; /* ← デバッグ用にうっすら赤背景 */
}

.news-item:last-of-type {
  margin-bottom: 0 !important;
}


