@charset "utf-8";

/* --------------------------------------------------------------
# Unified CSS Variables for Studio Una
# Created: 2025-08-07
# Purpose: Single source of truth for all CSS custom properties
-------------------------------------------------------------- */

:root {
    /* Brand Colors */
    --primary-beige: #c8b8a1;
    --soft-gold: #d4c5b0;
    --warm-gray: #6b6461;
    --light-gray: #f5f3f0;
    --cream-white: #faf8f3;
    --charcoal: #3a3633;
    --soft-brown: #5a4d44;
    --accent-sage: #9ca896;
    --blush-pink: #e8d5d0;
    --happy-yellow: #f7e7c4;
    --line-green: #06C755;
    
    /* Brand Extended Palette */
    --cream-white-alt: #fdfcfa;
    --charcoal-alt: #2a2522;
    --warm-gray-alt: #6b6360;
    --soft-black: #4a4543;
    --accent-gold: #d4af37;
    --shadow-dark: rgba(74, 69, 67, 0.1);
    --shadow-medium: rgba(74, 69, 67, 0.05);

    /* RGB Values for rgba() usage */
    --cream-white-rgb: 250, 248, 243;
    --cream-white-alt-rgb: 253, 252, 250;
    --primary-beige-rgb: 200, 184, 161;
    --warm-gray-rgb: 107, 100, 97;
    --soft-black-rgb: 74, 69, 67;
    --charcoal-rgb: 58, 54, 51;

    /* Additional Colors for specific use cases */
    --line-green-hover: #05a648;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    
    /* Typography System */
    --font-display: "Noto Serif JP", serif;
    --font-body: "Noto Sans JP", sans-serif;
    --font-accent: "Klee One", cursive;
    
    /* Shadow System */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    
    /* Unified Space Scale (Major Third 1.25) */
    --space-3xs: 0.25rem;      /* 4px */
    --space-2xs: 0.5rem;       /* 8px */
    --space-xs: 0.75rem;       /* 12px */
    --space-sm: 1rem;          /* 16px */
    --space-md: 1.25rem;       /* 20px */
    --space-lg: 1.875rem;      /* 30px */
    --space-xl: 2.5rem;        /* 40px */
    --space-2xl: 3.75rem;      /* 60px */
    --space-3xl: 5rem;         /* 80px */
    --space-4xl: 7.5rem;       /* 120px */
    --space-5xl: 10rem;        /* 160px */
    
    /* Fluid Space Scale using clamp() */
    --space-fluid-xs: clamp(var(--space-xs), 2vw, var(--space-sm));
    --space-fluid-sm: clamp(var(--space-sm), 3vw, var(--space-md));
    --space-fluid-md: clamp(var(--space-md), 4vw, var(--space-lg));
    --space-fluid-lg: clamp(var(--space-lg), 5vw, var(--space-xl));
    --space-fluid-xl: clamp(var(--space-xl), 6vw, var(--space-2xl));
    --space-fluid-2xl: clamp(var(--space-2xl), 8vw, var(--space-3xl));
    --space-fluid-3xl: clamp(var(--space-3xl), 10vw, var(--space-4xl));
    
    /* Grid System Variables */
    --grid-max-width: 1400px;
    --grid-columns: 12;
    --grid-gap: var(--space-fluid-md);
    --grid-margin: var(--space-fluid-lg);
    
    /* Responsive Breakpoints */
    --bp-xs: 20rem;    /* 320px */
    --bp-sm: 30rem;    /* 480px */
    --bp-md: 48rem;    /* 768px */
    --bp-lg: 64rem;    /* 1024px */
    --bp-xl: 80rem;    /* 1280px */
    --bp-2xl: 96rem;   /* 1536px */
    
    /* Z-index System */
    --z-base: 1;
    --z-elevated: 10;
    --z-sticky: 100;
    --z-overlay: 1000;
    --z-modal: 10000;
    --z-system: 100000;

    /* Loader Animation Timing */
    --loader-fade: 1.0s;           /* ローダーフェード時間（自然な「ふわっと」感のため1.0s） */
    --loader-svg-draw: 1.2s;       /* SVG描画時間（短縮: 2.5s → 1.2s） */
    --loader-logo-fade: 0.6s;      /* ロゴフェードイン時間 */
}

/* CSS Document */

/* --------------------------------------------------------------
        # Base Styles
-------------------------------------------------------------- */

* {
    box-sizing: border-box;
    /* Firefox scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-beige) var(--light-gray);
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--cream-white);
    line-height: 1.8;
    font-weight: 300;
}

::selection {
    background: var(--blush-pink);
    color: var(--charcoal);
}

/* --------------------------------------------------------------
        # Scrollbar Styling
        -------------------------------------------------------------- */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-beige);
    border-radius: 10px;
    border: 2px solid var(--light-gray);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--soft-gold);
}

/* Bootstrap Overrides */
.container {
    max-width: 1200px;
}

/* Navbar Logo Image Support */
.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar .navbar-brand-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--charcoal);
    letter-spacing: 0.15em;
    font-weight: 400;
}

/* --------------------------------------------------------------
        # Loading Screen
        -------------------------------------------------------------- */
.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--cream-white);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* ローダー表示中はスクロールを抑止（横揺れはhtml側のscrollbar-gutterで防止） */
body.home-loader {
    overflow-y: auto; /* スクロール自体は通常動作、横揺れはscrollbar-gutterで抑止 */
    overflow-x: hidden; /* 横スクロールは従来通り抑止 */
    overscroll-behavior: contain; /* オーバースクロール時の挙動を制限 */
}

/* 横スクロール防止（意図的な横スクロールコンテナを除く） */
html {
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
    /* スクロールバー有無でコンテンツ幅が変化しないよう、右側に領域を確保（横揺れ防止） */
    scrollbar-gutter: stable;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
}

body.home .loader,
body.home-loader .loader {
    display: flex;
}

/* ローダー表示中はスクロールをロック */
body.home-loader {
    overflow: hidden;
}

/* ローダー表示中はページコンテンツを非表示（opacityのみでフェード、transformによる縦揺れを防止） */
body.home-loader:not(.home-loaded) > :not(.loader) {
    opacity: 0;
    /* transform: translateY(16px); 削除 - 縦揺れの原因となるため */
    pointer-events: none; /* 操作を無効化 */
    will-change: opacity; /* opacityのみ最適化 */
    transition: opacity 1.5s ease; /* フェードイン用のtransitionを事前定義 */
}

/* ローダー終了後はページコンテンツをフェードイン（opacityのみでスムーズに） */
body.home-loader.home-loaded > :not(.loader) {
    opacity: 1;
    /* transform: translateY(0); 削除 - 縦揺れの原因となるため */
    pointer-events: auto; /* 操作を有効化 */
    transition: opacity 1.5s ease; /* opacityのみトランジション - ゆっくりフェードイン */
}

/* クラス付与時にアニメーション開始 */
body.home .loader-logo,
body.home-loader .loader-logo {
    animation: fadeIn 1s ease forwards;
}

body.home .loader-logo svg path,
body.home-loader .loader-logo svg path {
    animation: drawPath 2.5s ease-in-out forwards;
}

/* ローダーフェードアウトアニメーション */
@keyframes loaderFadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

.loader.fade-out {
    animation: loaderFadeOut 1.5s ease forwards;
    pointer-events: none;
}

.loader.fade-out.loader-hidden {
    display: none !important;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    opacity: 0;
    /* animation はクラス付与時に発動させるため削除 */
}

/* テキストの場合のスタイル */
.loader-logo:not(:has(img)) {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-beige);
    letter-spacing: 0.3em;
    font-weight: 300;
}

/* 画像・SVGの場合のスタイル */
.loader-logo img,
.loader-logo svg {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 1;
}

/* 元のSVGロゴ用アニメーション - 基本スタイルのみ */
.loader-logo svg path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    /* animation はクラス付与時に発動させるため削除 */
}

@keyframes drawPath {
    0% {
        stroke-dashoffset: 1000;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

/* テキストの場合のみ装飾を表示 */
.loader-logo:not(:has(img))::after {
    content: "◆";
    display: block;
    font-size: 1rem;
    color: var(--happy-yellow);
    animation: bounce 1s ease-in-out infinite;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------
        # Navigation
        -------------------------------------------------------------- */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(var(--cream-white-alt-rgb), 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
}

.navbar .navbar-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--charcoal);
    letter-spacing: 0.15em;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.7;
}

.navbar-nav .nav-link {
    color: var(--charcoal);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin: 0 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--primary-beige);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-beige);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.btn-nav-cta {
    background: var(--primary-beige);
    color: var(--cream-white);
    padding: 0.5rem 1.8rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 400;
    letter-spacing: 0.08em;
    border: none;
}

.btn-nav-cta:hover {
    background: var(--soft-brown);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--cream-white);
}

/* --------------------------------------------------------------
        # Hero Section - Enhanced with Container Queries & Video Support
        -------------------------------------------------------------- */
#hero {
    min-height: 100vh; /* fallback */
    min-height: 100svh; /* Small Viewport Height対応 */
    height: 100vh; /* fallback */
    height: 100svh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* 下端に配置 */
    justify-content: flex-start; /* 左端に配置 */
    container-type: inline-size;
    container-name: hero;
    max-width: 100vw;
    box-sizing: border-box;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease;
    max-width: 100%;
    box-sizing: border-box;

    /* Remove background color to allow video to show through */
}

.hero-slide.active {
    opacity: 1;
}

/* Image styles (existing) */
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: subtle-zoom 15s ease-in-out infinite alternate;
}

/* Video styles - comprehensive responsive implementation */
.hero-slide video,
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    
    /* Performance optimizations */
    backface-visibility: hidden;

    /* Ensure proper aspect ratio maintenance */
    aspect-ratio: 16/9;

    /* Video-specific properties */
    background: var(--charcoal);

    /* Animation disabled for video (video has its own motion) */
    /* Image zoom effect remains active for static slides */
    animation: none;
}

/* Enhanced video class for better control */
.hero-video {
    /* Smooth transitions for loading states */
    transition: opacity 0.8s ease, filter 0.3s ease;

    /* Ensure video covers container properly */
    object-position: center center;

    /* Prevent video from being selectable */
    pointer-events: none;
    user-select: none;

    /* Explicit stacking context for video (consolidated from line 490) */
    z-index: 1;
    isolation: isolate;
}

/* Video loading states */
.hero-slide video:not([data-loaded="true"]) {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide video[data-loaded="true"] {
    opacity: 1;
}

/* Enhanced zoom animation for video */
@keyframes subtle-zoom-video {
    0% { 
        transform: translate(-50%, -50%) scale(1); 
    }

    100% { 
        transform: translate(-50%, -50%) scale(1.08); 
    }
}

/* Fallback for older browsers without object-fit support */
@supports not (object-fit: cover) {
    .hero-slide video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* Original image zoom animation (preserved) */
@keyframes subtle-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

/* --------------------------------------------------------------
        # Container Queries for Hero Video Responsiveness
        -------------------------------------------------------------- */
@container hero (max-width: 479px) {
    .hero-slide video,
    .hero-video {
        /* Mobile: Pause animation and use static scaling for performance */
        animation: none;
        transform: translate(-50%, -50%) scale(1.02);
        
        /* Reduce video quality hints for mobile */
        filter: brightness(1.1) contrast(1.05);
        
        /* Mobile-specific optimizations */
        will-change: auto; /* Reduce GPU usage */
        transform-style: flat;
    }
    
    /* Option: Pause video on very small screens and show poster */
    .hero-slide video[data-mobile-pause="true"],
    .hero-video[data-mobile-pause="true"] {
        display: none;
    }
    
    /* Mobile fallback poster image */
    .hero-slide[data-mobile-fallback]::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: var(--mobile-poster);
        background-size: cover;
        background-position: center;
        z-index: 2;
    }
    
    /* Optimize video loading for mobile */
    .hero-video {
        /* Reduce video dimensions hint for better mobile performance */
        max-width: 100vw;
        max-height: 100vh;
    }
}

@container hero (min-width: 480px) and (max-width: 767px) {
    .hero-slide video,
    .hero-video {
        /* Animation disabled for video (video has its own motion) */
        animation: none;
    }
}

@container hero (min-width: 768px) {
    .hero-slide video,
    .hero-video {
        /* Animation disabled for video (video has its own motion) */
        animation: none;
    }
}

/* Reduced animation for mid-range devices */
@keyframes subtle-zoom-video-reduced {
    0% { 
        transform: translate(-50%, -50%) scale(1); 
    }

    100% { 
        transform: translate(-50%, -50%) scale(1.04); 
    }
}

/* --------------------------------------------------------------
        # Accessibility - Reduced Motion Support
        -------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .hero-slide video,
    .hero-video,
    .hero-slide img {
        animation: none !important;
    }
    
    .hero-slide video,
    .hero-video {
        transform: translate(-50%, -50%) scale(1) !important;
    }
    
    .hero-slide img {
        transform: scale(1) !important;
    }
}

/* --------------------------------------------------------------
        # Video Loading and Error States
        -------------------------------------------------------------- */
.hero-slide video::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--charcoal);
    z-index: -1;
}

/* Loading spinner for video */
.hero-slide[data-loading="true"]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 2px solid rgba(var(--primary-beige-rgb), 0.3);
    border-top-color: var(--primary-beige);
    border-radius: 50%;
    animation: video-loading-spin 1s linear infinite;
    z-index: 10;
}

@keyframes video-loading-spin {
    to { transform: rotate(360deg); }
}

/* Error state fallback */
.hero-slide video[data-error="true"] {
    display: none;
}

.hero-slide[data-video-error="true"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--soft-brown) 100%);
    z-index: 1;
}

/* --------------------------------------------------------------
        # Stacking Context Management for Hero Video
        -------------------------------------------------------------- */

/* Ensure proper layering:
   - hero-slider: z-index: -2 (background layer)
   - hero-slide: no z-index (follows document flow)
   - hero-video: z-index: 1 (video content) - Defined at line 285
   - hero-overlay: z-index: -1 (above video, below text)
   - hero content: z-index: 1 (above everything)
*/

/* Additional mobile performance utilities */
.hero-video--mobile-optimized {
    /* Use this class for enhanced mobile performance */
    transform: translate3d(-50%, -50%, 0) scale(1.02);
    animation: none;
    will-change: auto;
}

.hero-video--reduced-motion {
    /* Use this class when reduced motion is preferred */
    animation: none !important;
    transform: translate3d(-50%, -50%, 0) scale(1) !important;
}

/* --------------------------------------------------------------
        # Bootstrap Standard Responsive Video Adjustments
        -------------------------------------------------------------- */
        
/* Mobile: up to 575.98px - Bootstrap 5.3.0 Standard */
@media (width <= 575.98px) {
    .hero-video {
        object-position: center center;
        min-width: 100vw;
        min-height: 100vh;

        /* Mobile performance optimization */
        transform: translate(-50%, -50%) scale(1.02);
        animation: none;
    }
}

/* Small: 576px to 767.98px - Bootstrap Small Range */
@media (width >= 576px) and (width <= 767.98px) {
    .hero-video {
        object-position: center center;

        /* Animation disabled for video (video has its own motion) */
        animation: none;
    }
}

/* Medium: 768px to 991.98px - Bootstrap Medium Range */
@media (width >= 768px) and (width <= 991.98px) {
    .hero-video {
        object-position: center center;

        /* Animation disabled for video (video has its own motion) */
        animation: none;
    }
}

/* Large: 992px and up - Bootstrap Large+ */
@media (width >= 992px) {
    .hero-video {
        object-position: center center;
        width: 100%;
        height: 100%;

        /* Animation disabled for video (video has its own motion) */
        animation: none;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
    rgba(var(--cream-white-alt-rgb), 0.4) 0%,
    rgba(var(--cream-white-alt-rgb), 0.5) 50%,
    rgba(var(--cream-white-alt-rgb), 0.7) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin-left: clamp(20px, 5vw, 40px); /* レスポンシブ左余白 */
    margin-bottom: clamp(40px, 8vh, 80px); /* レスポンシブ下余白 */
    padding-inline: 20px; /* 左右の余白確保 */
    text-align: left;
    z-index: 1;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1vw + 0.8rem, 1.25rem); /* レスポンシブ対応 */
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--warm-gray);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw + 0.5rem, 3.5rem); /* レスポンシブ対応: 約56px at 1200px */
    font-weight: 400;
    line-height: 1.25; /* 読みやすさ向上 */
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;

    /* 改行制御: 句読点の後で折り返す */
    word-break: keep-all;
    line-break: strict;
    hanging-punctuation: allow-end;

    /* 柔らかい白のアウトラインで視認性向上 */

}

/* 大画面（1200px以上）でHeroセクションのフォントサイズを調整 */
@media (min-width: 1200px) {
    #hero .hero-title {
        font-size: 3.5rem; /* 56px に固定 */
    }

    #hero .hero-subtitle {
        font-size: 1.3rem; /* 20.8px - サブタイトルを適度なサイズに */
    }

    #hero .hero-description {
        font-size: 1.4rem; /* 22.4px - 説明文を適度なサイズに */
    }
}

.hero-title span {
    display: block;
    font-size: 0.6em;
    margin-top: 0.5rem;
    color: var(--soft-brown);
}

.hero-description {
    font-size: clamp(1rem, 1vw + 0.9rem, 1.4rem); /* レスポンシブ対応 */
    font-weight: 300;
    color: var(--soft-brown);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start; /* 全幅で左寄せに統一 */
}

/* ボタンテキストの表示制御（デフォルト：デスクトップ表示） */
.btn-text-desktop {
    display: inline;
}
.btn-text-mobile {
    display: none;
}

.btn-hero {
    padding: 0.875rem 2.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    font-weight: 400;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 100%;
}

/* Mobile responsive adjustments */

/* Mobile: up to 575px - Bootstrap Standard */
@media (width <= 575.98px) {
    .hero-buttons {
        flex-direction: row;
        gap: 0.4rem;
    }
    
    .btn-hero {
        padding: 0.6rem 0.3rem;
        font-size: 0.65rem;
        flex: 1;
        justify-content: center;
        min-width: 0;
        max-width: 155px;
        white-space: nowrap;
        letter-spacing: 0.02em;
        line-height: 1.3;
        border-radius: 8px;
    }
    
    .btn-hero i {
        font-size: 0.6rem;
        margin-right: 0.2rem;
    }
}

/* Extra Small Mobile: up to 400px - Custom breakpoint for very small screens */
@media (width <= 400px) {
    .btn-hero {
        padding: 0.55rem 0.25rem;
        font-size: 0.6rem;
        max-width: 140px;
        letter-spacing: 0.01em;
    }
    
    .btn-hero i {
        font-size: 0.55rem;
        margin-right: 0.15rem;
    }
    
    .hero-buttons {
        gap: 0.3rem;
    }
}

.btn-hero-primary {
    background: var(--primary-beige);
    color: var(--cream-white);
    border: none;
}

.btn-hero-primary:hover {
    background: var(--soft-brown);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--cream-white);
}

.btn-hero-outline {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--warm-gray);
}

.btn-hero-outline:hover {
    background: var(--charcoal);
    color: var(--cream-white);
    border-color: var(--charcoal);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Heroセクションの矢印を非表示（トップページ限定） */
#hero .swiper-button-next,
#hero .swiper-button-prev {
    display: none !important;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator::before {
    content: "";
    display: block;
    width: 20px;
    height: 30px;
    border: 1px solid var(--warm-gray);
    border-radius: 10px;
    position: relative;
}

.scroll-indicator::after {
    content: "";
    display: block;
    width: 3px;
    height: 8px;
    background: var(--warm-gray);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scroll-wheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 16px; }
}

/* --------------------------------------------------------------
        # Section Commons
        -------------------------------------------------------------- */
.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-beige);
    margin-bottom: 1rem;
    font-weight: 400;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.4;
    color: var(--charcoal);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--warm-gray);
    margin-top: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .section-subtitle {
        max-width: 100%;
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .section-subtitle {
        padding: 0 1rem;
    }
}

.btn-section {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--primary-beige);
    color: var(--cream-white);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    font-weight: 400;
}

.btn-section:hover {
    background: var(--soft-brown);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--cream-white);
}

.btn-section-white {
    background: var(--cream-white);
    color: var(--charcoal);
}

.btn-section-white:hover {
    background: var(--primary-beige);
    color: var(--cream-white);
}

.btn-section-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid var(--primary-beige);
    color: var(--primary-beige);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    font-weight: 400;
}

.btn-section-outline:hover {
    background: var(--primary-beige);
    color: var(--cream-white);
}

/* CTA Buttons Container */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile: Vertical layout with spacing */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-buttons .btn-section,
    .cta-buttons .btn-section-outline {
        width: 100%;
        max-width: 300px;
    }
}

/* --------------------------------------------------------------
        # News Section
        -------------------------------------------------------------- */
#news {
    background: var(--light-gray);
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.news-slider-container {
    position: relative;
}

.news-slider {
    padding: 0 20px;
}

.news-slider .swiper-slide {
    height: auto;
}

.news-slider .swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.news-slider .swiper-button-next,
.news-slider .swiper-button-prev {
    color: var(--primary-beige);
    width: 40px;
    height: 40px;
    background: var(--cream-white);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    top: 50%;
    transform: translateY(-50%);
}

.news-slider .swiper-button-next::after,
.news-slider .swiper-button-prev::after {
    font-size: 1rem;
}

/* Bootstrap Medium Breakpoint: up to 767.98px */
@media (width <= 767.98px) {
    .news-slider {
        padding: 0;
    }
            
    .news-slider .swiper-button-next,
    .news-slider .swiper-button-prev {
        display: none;
    }
}

/* News carousel styles moved to news-slider-enhanced.css */

.news-emoji {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.3;
}

/* 新着情報セクションとABOUTセクション間の余白削除 */
#news.section-padding {
    padding-bottom: 0; /* 下部余白のみを削除 */
}

#about {
    background: var(--cream-white);
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* 横並び時にセクションの高さいっぱいに画像を表示 */
@media (width >= 768px) {
    #about .container > .row {
        align-items: stretch;
        min-height: 600px;
    }
    
    #about .col-lg-6 {
        display: flex;
        flex-direction: column;
    }
    
    .about-image {
        height: 100%;
        min-height: 500px;
        display: flex;
        flex: 1;
    }
    
    .about-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center;
        flex: 1;
    }
    
    .about-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3rem 2rem;
    }
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--happy-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about-lead {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--soft-brown);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--warm-gray);
    margin-bottom: 2rem;
}

.feature-box {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: var(--cream-white);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-beige);
    margin-bottom: 1rem;
}

.feature-box h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------
        # Services Section - Enhanced with Subgrid
        -------------------------------------------------------------- */
#services {
    background: var(--light-gray);
    container-type: inline-size;
    container-name: services;
}

.services-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1rem, 4vw, 2rem);
    align-items: start;
}

.service-card {
    background: var(--cream-white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    height: 100%;
    display: grid;
    grid-template-rows: 250px auto 1fr auto;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--blush-pink);
    color: var(--charcoal);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.service-content {
    padding: 2rem 1.5rem;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
    font-weight: 400;
}

.service-subtitle {
    font-size: 0.9rem;
    color: var(--primary-beige);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

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

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.service-features li {
    padding: 0.375rem 0;
    font-size: 0.9rem;
    color: var(--soft-brown);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: "◆";
    color: var(--primary-beige);
    font-size: 0.6rem;
}

/* --------------------------------------------------------------
        # Testimonials Section
        -------------------------------------------------------------- */
#testimonials {
    background: var(--light-gray);
}

.testimonial-card {
    background: var(--cream-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar i {
    font-size: 2rem;
    color: var(--warm-gray);
}

.testimonial-info {
    flex: 1;
}

.testimonial-stars {
    color: var(--happy-yellow);
    margin-bottom: 0.5rem;
}

.testimonial-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--warm-gray);
    font-style: italic;
}

.author-name {
    font-weight: 500;
    color: var(--charcoal);
    display: block;
}

.author-info {
    font-size: 0.85rem;
    color: var(--primary-beige);
}

.google-review-note {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin: 0;
}

.google-review-note i {
    color: #4285f4;
    margin-right: 0.5rem;
}

/* --------------------------------------------------------------
        # Gallery Section - Enhanced with Container Queries
        -------------------------------------------------------------- */
#gallery {
    background: var(--cream-white);
    overflow: hidden;
    container-type: inline-size;
    container-name: gallery;
}

.gallery-fullwidth {
    padding-left: 0;
    padding-right: 0;
}

.works-grid-fullwidth {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 2px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Container queries for better mobile experience */
@container gallery (max-width: 479px) {
    .works-grid-fullwidth {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }
            
    .works-item {
        aspect-ratio: 1;
        min-height: 150px;
    }
}

@container gallery (min-width: 480px) and (max-width: 767px) {
    .works-grid-fullwidth {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
    }
}

@container gallery (min-width: 768px) and (max-width: 1023px) {
    .works-grid-fullwidth {
        grid-template-columns: repeat(4, 1fr);
    }
}

@container gallery (min-width: 1024px) {
    .works-grid-fullwidth {
        grid-template-columns: repeat(5, 1fr);
    }
}

.works-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;

    /* Mobile: vertical stack */
    flex-direction: column;
    align-items: stretch;
}

/* Tablet and above: horizontal with wrapping */
@media (min-width: 768px) {
    .works-filters {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

/* Desktop: single horizontal row */
@media (min-width: 992px) {
    .works-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .works-filters::-webkit-scrollbar {
        height: 4px;
    }

    .works-filters::-webkit-scrollbar-thumb {
        background: var(--primary-beige);
        border-radius: 2px;
    }
}

/* Gallery sort controls - right aligned */
.sort-controls {
    display: flex;
    justify-content: flex-end;
}

.sort-controls .form-select {
    width: auto;
    max-width: 250px;
}

.filter-btn {
    background: none;
    border: 1px solid var(--warm-gray);
    font-size: 0.95rem;
    color: var(--warm-gray);
    cursor: pointer;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    font-weight: 400;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-beige);
    color: var(--cream-white);
    border-color: var(--primary-beige);
}

/* Gallery item styles moved to gallery-enhanced.css for better organization */

/* --------------------------------------------------------------
        # Flow Section
        -------------------------------------------------------------- */
#flow {
    position: relative;
    overflow: hidden;
    background-color: var(--cream-white);
}

.parallax-section {
    position: relative;
}

#flow .parallax-bg {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 150%;
    background-image: url("../img/pback.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    will-change: transform;
}

/* Fixed attachmentは別途設定 */
@media (width >= 768px) {
    #flow .parallax-bg {
        background-attachment: fixed;
    }
}

/* Bootstrap Medium Breakpoint: up to 767.98px */
@media (width <= 767.98px) {
    #flow .parallax-bg {
        background-attachment: scroll;
        top: 0;
        height: 100%;
    }
}

/* コンテンツのz-indexを確保 */
#flow .container {
    position: relative;
    z-index: 1;
}

.flow-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.flow-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-beige);
    opacity: 0.3;
}

.flow-item {
    position: relative;
    margin-bottom: 4rem;
}

.flow-content {
    background: var(--cream-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    width: 45%;
    position: relative;
}

.flow-item:nth-child(odd) .flow-content {
    margin-left: auto;
}

.flow-item:nth-child(even) .flow-content {
    margin-right: auto;
}

.flow-number {
    position: absolute;
    left: 50%;
    top: 2rem;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-beige);
    color: var(--cream-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    z-index: 1;
}

.flow-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
    font-weight: 400;
}

.flow-content p {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.flow-icon-wrapper {
    position: absolute;
    top: -25px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--happy-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-icon {
    font-size: 1.5rem;
}

.flow-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(var(--primary-beige-rgb), 0.3);
}

.flow-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flow-details li {
    padding: 0.25rem 0;
    font-size: 0.85rem;
    color: var(--soft-brown);
    padding-left: 1.5rem;
    position: relative;
}

.flow-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-beige);
}

/* Bootstrap Large Breakpoint: up to 991.98px */
@media (width <= 991.98px) {
    .flow-timeline .flow-content {
        width: 100%;
        margin: 0;
    }

    .flow-timeline::before {
        left: 25px;
    }

    .flow-number {
        left: 25px;
    }
}

/* --------------------------------------------------------------
        # Pricing Section
        -------------------------------------------------------------- */
#pricing {
    background: var(--cream-white);
}

.pricing-card {
    background: var(--light-gray);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card.featured {
    background: var(--charcoal);
    color: var(--cream-white);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blush-pink);
    color: var(--charcoal);
    padding: 0.375rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    font-weight: 400;
}

.pricing-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 0.25rem;
    font-family: var(--font-display);
}

.pricing-price sup {
    font-size: 1.2rem;
}

.pricing-term {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin-bottom: 2rem;
}

.pricing-card.featured .pricing-term {
    color: var(--soft-gold);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(var(--warm-gray-rgb), 0.2);
    font-size: 0.95rem;
}

.pricing-card.featured .pricing-features li {
    border-color: rgba(var(--primary-beige-rgb), 0.2);
}

.btn-pricing {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-beige);
    color: var(--cream-white);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.pricing-card.featured .btn-pricing {
    background: var(--cream-white);
    color: var(--charcoal);
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--cream-white);
}

.pricing-card.featured .btn-pricing:hover {
    color: var(--charcoal);
}

/* --------------------------------------------------------------
        # Contact Section
        -------------------------------------------------------------- */
#contact {
    background: var(--light-gray);
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.contact-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 2rem;
}

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

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

.contact-text h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-beige);
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.contact-text p {
    font-size: 1rem;
    color: var(--charcoal);
    margin: 0;
}

.contact-map {
    background: var(--cream-white);
    padding: 0;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    height: 400px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Bootstrap Medium Breakpoint: up to 767.98px */
@media (width <= 767.98px) {
    .contact-map {
        height: 300px;
    }
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.btn-contact-primary {
    background: var(--primary-beige);
    color: var(--cream-white);
}

.btn-contact-primary:hover {
    background: var(--soft-brown);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--cream-white);
}

.btn-contact-line {
    background: var(--line-green);
    color: var(--cream-white);
}

.btn-contact-line:hover {
    background: #05a648;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--cream-white);
}

/* --------------------------------------------------------------
        # Footer
        -------------------------------------------------------------- */
footer {
    background: var(--charcoal);
    color: var(--cream-white);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--soft-gold);
    font-weight: 400;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #b3aeab;
    margin-bottom: 1.5rem;
}

.footer-heading {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    color: var(--soft-gold);
    font-weight: 400;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #b3aeab;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--soft-gold);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(var(--primary-beige-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--soft-gold);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-beige);
    color: var(--charcoal);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--primary-beige-rgb), 0.2);
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: #b3aeab;
}

/* --------------------------------------------------------------
        # LINE CTA Floating
        -------------------------------------------------------------- */
.line-cta-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 100;
    animation: slideIn 0.5s ease 1s forwards;
    opacity: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.line-bubble {
    /* background: #c8b8a1;  初期状態：ベージュ（コメントアウト：金色に統一） */
    background: var(--soft-gold);  /* 金色に統一 */
    color: white;
    width: 50px;  /* ページトップボタンと同じサイズ */
    height: 50px;  /* ページトップボタンと同じサイズ */
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    cursor: pointer;
    transition: all 0.5s ease;  /* ふんわり変化 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0;
}

/* スクロール時のLINEグリーン（コメントアウト：金色に統一） */
/* .line-bubble.scrolled {
    background: var(--line-green);
} */

.line-bubble:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    color: white;
}

.line-bubble i {
    font-size: 1.2rem;  /* アイコンサイズ調整 */
}

/* テキストを非表示 */
.line-bubble-text {
    display: none;
}

/* モバイルでの位置調整 - Bootstrap Medium Breakpoint */
@media (width <= 767.98px) {
    .line-cta-float {
        bottom: 80px;
        right: 20px;
    }
}

/* --------------------------------------------------------------
        # Back to Top Button
        -------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-beige);
    color: var(--cream-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 99;
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--soft-brown);
    transform: translateY(-5px);
    color: var(--cream-white);
}

.back-to-top i {
    font-size: 1.5rem;
    animation: rotate-flower 8s linear infinite;
}

@keyframes rotate-flower {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------
        # Reveal Animations
        -------------------------------------------------------------- */
/* Note: Reveal animations are now defined in elegant-motion.css
   with improved cubic-bezier timing (0.8s) for smoother animations.
   Refer to elegant-motion.css lines 13-46 for implementation. */

/* --------------------------------------------------------------
        # Large Screen Hero Layout
        -------------------------------------------------------------- */
@media (width >= 992px) {
    .hero-content {
        margin-left: 40px;  /* 大画面でより大きな左余白 */
        margin-bottom: 80px; /* 大画面でより大きな下余白 */
    }

    .hero-title,
    .hero-subtitle {
        text-align: left;             /* 各要素を左寄せ */
    }

    .hero-description {
        text-align: left;
        font-size: 1.4rem; /* 大画面で本文を読みやすいサイズで表示（約22px） */
    }

    .hero-buttons {
        justify-content: flex-start;  /* ボタンを左寄せ */
    }
}

/* --------------------------------------------------------------
        # Responsive
        -------------------------------------------------------------- */

/* Bootstrap Large Breakpoint: up to 991.98px */
@media (width <= 991.98px) {
    .navbar-nav {
        text-align: center;
        padding: 2rem 0;
    }

    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }

    .flow-timeline .flow-content {
        width: 100%;
        margin: 0;
    }

    .flow-timeline::before {
        left: 25px;
    }

    .flow-number {
        left: 25px;
    }
}

/* Bootstrap Medium Breakpoint: up to 767.98px */
@media (width <= 767.98px) {
    .hero-content {
        margin-left: 0; /* モバイルで左余白を最小限に */
        transform: translateY(-60px); /* スマホ表示時に60px上に移動 */
    }

    /* ボタンテキストの表示切り替え */
    .btn-text-desktop {
        display: none;
    }
    .btn-text-mobile {
        display: inline;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw + 0.5rem, 2.2rem); /* モバイル: 約30-35px */
    }

    .hero-description {
        font-size: 0.95rem; /* モバイル: 約15px */
    }

    .section-title {
        font-size: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .line-cta-float {
        bottom: 80px;
        right: 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
    }

    .works-grid-fullwidth {
        grid-template-columns: repeat(2, 1fr);
    }
}

		/* オプション2: ワイドスプリット - 全幅 */
		.contact-wide-split {
			display: grid;
			grid-template-columns: 1fr 1fr;
			min-height: 300px;
			background: #ffffff;
		}

		.contact-wide-content {
			padding: 3rem 4rem 3rem 8%;
			display: flex;
			flex-direction: column;
			justify-content: center;
			background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
		}

		.contact-wide h2 {
			font-family: 'Noto Sans JP', sans-serif;
			font-size: 1.5rem;
			font-weight: 300;
			margin-bottom: 0.5rem;
			color: #5a5653;
			letter-spacing: 0.08em;
		}

		.contact-wide h2::after {
			display: none;
		}

		.contact-wide-lead {
			font-size: 0.95rem;
			color: #666;
			line-height: 1.7;
			margin-bottom: 2.5rem;
			max-width: 550px;
		}

		.info-grid-vertical {
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			gap: 1.5rem;
			margin-top: 2.5rem;
			margin-bottom: 2rem;
		}

		.info-item-vertical {
			display: flex;
			gap: 1rem;
			align-items: flex-start;
		}

		.info-icon-vertical {
			display: flex;
			align-items: center;
			justify-content: center;
			flex-shrink: 0;
			color: #c8b8a1;
			font-size: 1.5rem;
		}

		.info-content-vertical h4 {
			font-size: 0.7rem;
			text-transform: uppercase;
			letter-spacing: 0.12em;
			color: #999;
			margin-bottom: 0.4rem;
			font-weight: 600;
		}

		.info-content-vertical p {
			font-size: 0.9rem;
			color: #2c2c2c;
			margin: 0;
			line-height: 1.55;
		}

		.contact-wide-buttons {
			display: flex;
			gap: 1rem;
			max-width: 500px;
		}

		.btn-wide {
			flex: 1;
			padding: 0.75rem 1.5rem;
			border: 1px solid #2c2c2c;
			background: transparent;
			color: #2c2c2c;
			text-decoration: none;
			border-radius: 4px;
			font-size: 0.85rem;
			font-weight: 400;
			transition: all 0.3s ease;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 0.5rem;
		}

		.btn-wide:hover {
			background: #2c2c2c;
			color: #fff;
		}

		.btn-wide.btn-line {
			border-color: #06C755;
			color: #06C755;
		}

		.btn-wide.btn-line:hover {
			background: #06C755;
			color: #fff;
		}

		.contact-wide-map {
			position: relative;
			overflow: hidden;
		}

		.contact-wide-map iframe {
			width: 100%;
			height: 100%;
			border: 0;
			position: absolute;
			top: 0;
			left: 0;
		}

		/* デコレーション要素 */
		.contact-wide-content::before {
			content: '';
			position: absolute;
			left: 0;
			top: 50%;
			transform: translateY(-50%);
			width: 4px;
			height: 120px;
			background: linear-gradient(180deg, transparent, #c8b8a1, transparent);
			border-radius: 2px;
		}

		@media (max-width: 991px) {
			.contact-wide-split {
				grid-template-columns: 1fr;
			}

			.contact-wide-content {
				padding: 4rem 2rem;
			}

			.contact-wide h2 {
				font-size: 2rem;
			}

			.info-grid-vertical {
				grid-template-columns: 1fr;
				gap: 2rem;
			}

			.contact-wide-map {
				min-height: 400px;
			}

			.contact-wide-buttons {
				flex-direction: column;
				max-width: 100%;
			}

			/* カメラマン診断バナーボタン */
			.diagnosis-btn-wrapper {
				flex: 1 1 100% !important;
				width: 100%;
			}

			.diagnosis-btn {
				width: 100%;
				justify-content: center !important;
			}

			/* カメラマン診断バナー画像の中央配置 */
			.about-banner a > div {
				justify-content: center !important;
			}
		}

/* --------------------------------------------------------------
# faqページ
-------------------------------------------------------------- */


/* FAQ Search Box */
.faq-search-box {
    padding: 2rem 0;
}

.search-wrapper {
    position: relative;
}

.faq-search {
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid var(--light-gray);
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search:focus {
    border-color: var(--primary-beige);
    box-shadow: 0 0 0 0.2rem rgba(200, 184, 161, 0.1);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--warm-gray);
    pointer-events: none;
}

/* FAQ Categories */
.faq-categories {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
}

.faq-category-btn {
    width: 100%;
    padding: 1rem;
    background: var(--cream-white);
    border: 2px solid transparent;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-btn i {
    font-size: 1.5rem;
    color: var(--primary-beige);
}

.faq-category-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

.faq-category-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.faq-category-btn.active {
    background: var(--primary-beige);
    color: var(--cream-white);
    border-color: var(--primary-beige);
}

.faq-category-btn.active i {
    color: var(--cream-white);
}

/* FAQ Sections */
.faq-section {
    animation: fadeIn 0.5s ease;
}

.faq-section.hidden {
    display: none;
}

.faq-section-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-section-title i {
    color: var(--primary-beige);
}

/* FAQ Items */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-soft);
}

.faq-item .accordion-button {
    font-size: 1.05rem;
    padding: 1.25rem;
    background: var(--cream-white);
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-item .accordion-button:not(.collapsed) {
    background: var(--light-gray);
    color: var(--charcoal);
    box-shadow: none;
}

.faq-item .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-item .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c8b8a1'%3e%3cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-number {
    color: var(--primary-beige);
    font-weight: 600;
    font-size: 1rem;
}

.faq-item .accordion-body {
    padding: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* FAQ List */
.faq-list {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.faq-list li {
    position: relative;
    padding: 0.5rem 0;
}

.faq-list li::before {
    content: "•";
    position: absolute;
    left: -1.5rem;
    color: var(--primary-beige);
    font-weight: bold;
}

/* FAQ Tip */
.faq-tip {
    background: var(--light-gray);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.faq-tip i {
    color: var(--happy-yellow);
    font-size: 1.2rem;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.payment-method {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.payment-method i {
    font-size: 2rem;
    color: var(--primary-beige);
    display: block;
    margin-bottom: 0.5rem;
}

.payment-method span {
    display: block;
    font-weight: 500;
}

.payment-method small {
    display: block;
    font-size: 0.8rem;
    color: var(--warm-gray);
    margin-top: 0.25rem;
}

/* Size Chart */
.size-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.size-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.size-item h5 {
    color: var(--primary-beige);
    margin-bottom: 0.5rem;
}

/* Parking Info */
.parking-info {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.parking-info h5 {
    color: var(--primary-beige);
    margin-bottom: 1rem;
}

.parking-info ul {
    list-style: none;
    padding: 0;
}

.parking-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(139, 134, 128, 0.2);
}

.parking-info li:last-child {
    border-bottom: none;
}

/* No Results */
.no-results {
    padding: 3rem 0;
}

/* Table Styles */
.faq-item .table {
    font-size: 0.9rem;
}

.faq-item .table th {
    background: var(--light-gray);
    font-weight: 500;
}

/* Highlight for search results */
.highlight {
    background: var(--happy-yellow);
    padding: 0 0.25rem;
    border-radius: 3px;
}

/* Responsive */
@media (width <= 767px) {
    .faq-category-btn {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .faq-category-btn i {
        font-size: 1.2rem;
    }

    .payment-methods,
    .size-chart {
        grid-template-columns: 1fr;
    }

    .faq-section-title {
        font-size: 1.5rem;
    }
}
