/* ========================================
   LIFE HOUSE - Main Stylesheet

   WordPress化時の読み込み方法:
   このファイルは全ページ共通で読み込みます。

   functions.php の例:

   function lifehouse_enqueue_styles() {
       // メインCSS（全ページ共通）
       wp_enqueue_style('lifehouse-style', get_stylesheet_uri());

       // ページ専用CSS（条件分岐）
       if (is_page('event')) {
           wp_enqueue_style('lifehouse-event', get_template_directory_uri() . '/css/event.css');
       }
       if (is_page('concept')) {
           wp_enqueue_style('lifehouse-concept', get_template_directory_uri() . '/css/concept.css');
       }
       if (is_page('works')) {
           wp_enqueue_style('lifehouse-works', get_template_directory_uri() . '/css/works.css');
       }
       if (is_page('kajitoru') || is_page('crafree')) {
           wp_enqueue_style('lifehouse-price', get_template_directory_uri() . '/css/price.css');
       }
       if (is_page('company')) {
           wp_enqueue_style('lifehouse-company', get_template_directory_uri() . '/css/company.css');
       }
   }
   add_action('wp_enqueue_scripts', 'lifehouse_enqueue_styles');

======================================== */

:root {
    /* グラデーション */
    --primary-gradient: linear-gradient(135deg, #333333 0%, #555555 50%, #444444 100%);
    --secondary-gradient: linear-gradient(135deg, #555555 0%, #333333 100%);
    --accent-gradient: linear-gradient(135deg, #8a8a8a 0%, #666666 100%);
    --wood-gradient: linear-gradient(135deg, #555555 0%, #666666 100%);

    /* メインカラー */
    --primary-color: #333333;
    --secondary-color: #555555;
    --accent-color: #8a8a8a;
    --wood-color: #555555;
    --dark-gray: #464646;
    --beige: #e5e2de;
    --brown-gray: #cbc3bb;
    --light-gray: #e7e7e7;
    --border-light-gray: #e0e0e0;
    --dotted-border-gray: #d0d0d0;
    --light-bg: white;

    /* テキストカラー */
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #8a8a8a;
    --white: #ffffff;

    /* ボーダー */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-gray: rgba(155, 155, 155, 0.5);

    /* フォントサイズ */
    --font-size-title-main: 32px;
    --font-size-intro: 18px;
    --font-size-card-title-large: 20px;
    --font-size-card-title: 16px;
    --font-size-price-link: 18px;
    --font-size-company-link: 16px;
    --font-size-footer-info: 0.75rem;
    --font-size-copyright: 0.6875rem;
    --font-size-button: 0.75rem;
    --font-size-small: 0.6875rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: var(--primary-color);
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    height: 100vh;
    overflow: hidden;
    background: var(--primary-color);
    color: var(--white);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

/* WordPress Admin Bar Support */
body.admin-bar {
    margin-top: 0px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        margin-top: 0px !important;
    }
}

body.admin-bar .main-container {
    height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .main-container {
        height: calc(100vh - 46px);
    }
}

body.admin-bar .mobile-hero {
    height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .mobile-hero {
        height: calc(100vh - 46px);
    }
}

/* ローディング画面表示時は不透明に */
body.show-loading {
    opacity: 1;
}

/* WordPress Customizer Preview - 即座に表示 */
body.customize-preview {
    opacity: 1 !important;
}

/* ページ遷移用のフェードエフェクト */
body.page-fade-out {
    opacity: 0;
}

body.page-fade-in {
    animation: fadeIn 0.4s ease-in-out forwards;
    transition: none;
    /* アニメーション中はtransitionを無効化 */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* ===== Mobile Hero Section - デスクトップ・タブレットのみ表示 ===== */
.mobile-hero {
    display: none;
    /* スマホでは完全非表示 */
    position: relative;
    height: 95vh;
    width: 100%;
    overflow: hidden;
}

/* Background Slideshow */
.mobile-hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

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

/* Hero Overlay */
.mobile-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(51, 51, 51, 0.0), rgba(85, 85, 85, 0.0));
    z-index: -1;
}

/* Hero Header - 上部のロゴとハンバーガーメニュー */
.mobile-hero-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.mobile-hero-logo img {
    width: 80px;
    height: 80px;
    filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.mobile-hamburger-menu {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    cursor: pointer;
    padding: 12px;
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    width: 48px;
    height: 48px;
    padding: 10px 8px;
    position: relative;
}

.mobile-hamburger-menu::before {
    content: '';
    width: 20px;
    height: 3px;
    background: var(--text-light);
    border-radius: 0;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.mobile-hamburger-menu .hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-light);
    border-radius: 0;
    transition: all 0.3s ease;
    align-self: center;
}

.mobile-hamburger-menu::after {
    content: '';
    width: 20px;
    height: 3px;
    background: var(--text-light);
    border-radius: 0;
    transition: all 0.3s ease;
    align-self: flex-end;
}

.mobile-hamburger-menu:hover {
    background: var(--accent-gradient);
    transform: scale(1.05);
}

/* Hero Center Content */
.mobile-hero-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.mobile-hero-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.mobile-hero-subtitle {
    font-size: var(--font-size-intro);
    color: var(--text-light);
    letter-spacing: 2px;
    opacity: 0.9;
}

/* SNS Links - 右下 */
.mobile-hero-sns {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.mobile-sns-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: var(--font-size-card-title-large);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-sns-icon:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px) scale(1.05);
    color: var(--text-light);
}

/* Scroll Down Animation - 下部中央 */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    animation: scrollBounce 2s infinite;
    cursor: pointer;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: var(--font-size-card-title);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.scroll-text {
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Animation */
@keyframes scrollBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== Common Component Styles (Shared across pages) ===== */
/* WordPress化時: style.cssとして全ページで読み込み */

/* セクションタイトル（サブ） - 共通 */
.section-title-sub {
    font-size: var(--font-size-title-main);
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 40px;
}

/* サブセクションタイトル - 共通 */
.subsection-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

/* LINE Contact Section - 共通 */
.line-contact-section {
    background: #fafafa;
    padding: 60px 40px;
    text-align: center;
}

.line-contact-section .section-title-sub {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    letter-spacing: 0.12em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.line-contact-section .section-title-sub i {
    font-size: 2.5rem;
    margin-left: 10px;
}

.line-contact-content {
    max-width: 400px;
    margin: 0 auto;
}

.line-qr {
    margin: 40px auto 30px;
}

.line-qr img {
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto;
}

.line-id {
    font-size: 1.3rem;
    font-weight: 500;
    color: #4a4a4a;
    margin: 25px 0;
    letter-spacing: 0.08em;
}

.line-description {
    font-size: 0.95rem;
    line-height: 2;
    color: #666666;
    margin: 0;
    letter-spacing: 0.05em;
}

/* ===== Desktop Layout ===== */
.main-container {
    display: flex;
    height: 100vh;
}

/* Hero Section - Takes Remaining Space (Desktop Only) */
.hero-section {
    flex: 1;
    position: relative;
    display: grid;
    grid-template-areas:
        "logo . . banner"
        "menu center . banner"
        "menu center . banner"
        "social . . .";
    grid-template-columns: 200px 1fr 100px 150px;
    grid-template-rows: 80px 1fr 1fr 80px;
    padding: 20px;
    gap: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Background Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

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

/* Default gradient overlay for all slides */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(51, 51, 51, 0.0), rgba(85, 85, 85, 0.0));
    z-index: 1;
    pointer-events: none;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(51, 51, 51, 0.0);
    z-index: -1;
}

/* Slideshow indicators */
.slideshow-indicators {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--accent-color);
    border-color: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Vertical Menu - Left Side */
.vertical-menu {
    grid-area: menu;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-item {
    color: var(--text-light);
    text-decoration: none;
    font-size: var(--font-size-intro);
    font-weight: 700;
    padding: 0px 20px 5px 20px;
    border-radius: 0;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 65px;
}

/* カタカナ表示 */
/* data-kana属性が存在する場合のみ表示 */
.menu-item[data-kana]:not([data-kana=""])::after {
    content: attr(data-kana);
    position: absolute;
    bottom: 5px;
    left: 20px;
    font-size: var(--font-size-card-title);
    color: var(--text-light);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
    white-space: nowrap;
    letter-spacing: 1px;
    font-weight: 400;
}

.menu-item[data-kana]:not([data-kana=""]):hover::after,
.menu-item[data-kana]:not([data-kana=""]).active::after {
    opacity: 1;
    transform: translateX(0);
}

.menu-item:hover {
    transform: translateX(8px);
    color: var(--text-light);
}

/* .menu-item.active {
    background: rgba(255, 255, 255, 0.3);
} */

/* Center Logo */
.center-logo {
    grid-area: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.center-logo img {
    width: 200px;
    height: 200px;
}

.main-subtitle {
    font-size: var(--font-size-card-title);
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 1px;
}

/* SNS Links - Left Bottom */
.sns-links {
    grid-area: social;
    display: flex;
    gap: 15px;
    align-items: center;
}

.sns-icon {
    width: auto;
    height: auto;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 28px;
    transition: all 0.4s ease;
    border: none;
    background-color: transparent;
}

.sns-icon:hover {
    transform: translateY(-3px);
    opacity: 0.7;
}

/* Banner Images - Right Side */
.banner-images {
    grid-area: banner;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.banner-item {
    height: 80px;
    background: var(--wood-gradient);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-color);
    transition: all 0.4s ease;
    font-size: 14px;
}

.banner-item:hover {
    background: var(--accent-gradient);
    transform: scale(1.03);
}

/* ===== Right Side Hero Section ===== */
.right-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: -80px;
    /* ヘッダーの高さ分を相殺 */
}

.right-hero-background {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Right Hero Slideshow */
.right-hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

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

.right-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(51, 51, 51, 0.0), rgba(0, 0, 0, 0.0));
    z-index: 1;
}

/* Content Header - 透明背景 + スクロール追従 (index.html用) */
.content-header {
    background: transparent !important;
    padding: 5px 15px;
    border-bottom: none;
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    min-height: 80px;
    display: flex;
    align-items: center;
}

/* スクロール時の背景 (index.html用 - 白背景に反転) */
.content-header.scrolled {
    background: #ffffff !important;
    color: var(--text-dark);
}

.right-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    color: var(--text-light);
}

.right-hero-title {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.right-hero-subtitle {
    font-size: 24px;
    letter-spacing: 2px;
    opacity: 0.9;
}

.right-hero-bottom {
    width: 100%;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-bottom-text {
    text-align: center;
    font-size: var(--font-size-intro);
    font-weight: bold;
    color: var(--text-light);
    letter-spacing: 2px;
    padding: 4px 4%;
    border-radius: 0;
}

/* Main Content Section - Fixed Width (Same on PC and Mobile) */
.main-content {
    width: 100%;
    max-width: 480px;
    flex: 0 0 auto;
    background: var(--dark-gray);
    overflow-y: auto;
    height: 100vh;
    color: var(--text-dark);
    position: relative;
    display: flex;
    flex-direction: column;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.site-title-logo {
    flex-shrink: 0;
    order: 1;
}

.site-title-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
}

/* 地域名表示 (index.html用 - 白文字) */
.header-location {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    white-space: nowrap;
    order: 2;
    transition: color 0.3s ease;
}

/* スクロール時は黒文字に変更 (index.html用) */
.content-header.scrolled .header-location {
    color: var(--text-dark);
}

/* スクロール時にハンバーガーメニューも黒アイコンに変更 (index.html用) */
.content-header.scrolled .hamburger-menu {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.content-header.scrolled .hamburger-menu::before,
.content-header.scrolled .hamburger-menu::after,
.content-header.scrolled .hamburger-menu .hamburger-line {
    background: var(--text-dark) !important;
}

/* ハンバーガーメニューボタン (index.html用 - 白アイコン) */
.hamburger-menu {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    cursor: pointer;
    padding: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    padding: 10px 8px;
    position: relative;
    order: 3;
    margin-left: auto;
}

.hamburger-menu::before {
    content: '';
    width: 20px;
    height: 3px;
    background: var(--text-light);
    border-radius: 0;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.hamburger-menu .hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-light);
    border-radius: 0;
    transition: all 0.3s ease;
    align-self: center;
}

.hamburger-menu::after {
    content: '';
    width: 20px;
    height: 3px;
    background: var(--text-light);
    border-radius: 0;
    transition: all 0.3s ease;
    align-self: flex-end;
}

.hamburger-menu:hover {
    background: var(--accent-gradient);
    transform: scale(1.05);
}

.hamburger-menu:focus {
    outline: none;
}

.hamburger-menu::before,
.hamburger-menu::after,
.hamburger-menu .hamburger-line {
    content: '';
    width: 24px;
    height: 3px;
    background: var(--text-light);
    border-radius: 0;
    transition: all 0.3s ease;
}

.hamburger-menu .hamburger-line {
    display: block;
}

.hamburger-menu:hover {
    background: var(--accent-gradient);
    transform: scale(1.05);
}

.hamburger-menu:focus {
    outline: none;
}

/* Slide Menu */
.slide-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.slide-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.slide-menu {
    position: fixed;
    top: 0;
    right: -380px;
    width: 380px;
    height: 100vh;
    background-color: #e5e2de;
    z-index: 1001;
    transition: right 0.4s ease-in-out;
    overflow-y: scroll;
    visibility: hidden;
    display: flex;
    flex-direction: column;
}

.slide-menu.show {
    right: 0;
    visibility: visible;
}

/* Slide Menu Header */
.slide-menu-header {
    padding: 19px 30px 0;
    flex-shrink: 0;
}

.slide-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.close-menu {
    background: transparent;
    border: none;
    color: #333333;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.close-menu:hover {
    opacity: 0.6;
}

.slide-top-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.slide-top-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: 32px;
    font-size: 0.75rem;
    color: #333333;
    text-decoration: none;
    border: 1px solid rgba(155, 155, 155, 0.5);
    border-radius: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.slide-top-btn:hover {
    background: #333333;
    color: #ededea;
}

.slide-top-btn i {
    font-size: 0.7rem;
}

/* Slide Menu Content */
.slide-menu-content {
    padding: 0 30px;
    flex: 1;
    overflow-y: visible;
}

/* Menu Grid - 2 Columns */
.slide-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 40px;
}

.slide-menu-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
    text-decoration: none;
    color: #333333;
    transition: opacity 0.3s ease;
}

/* 左列（奇数番目）に右ボーダーを追加 = 真ん中に縦線 */
.slide-menu-item:nth-child(odd) {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.slide-menu-item:hover {
    opacity: 0.6;
}

.slide-menu-item-empty {
    pointer-events: none;
    cursor: default;
}

.menu-main {
    font-family: 'Marcellus', serif;
    font-size: 1.125rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
    color: #333333;
}

.menu-ruby {
    font-family: 'Marcellus', serif;
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: #333333;
}

/* Company Info */
.slide-company-info {
    margin-bottom: 40px;
    padding-bottom: 30px;
}

.slide-company-info p {
    color: #333333;
    margin-bottom: 8px;
    font-size: 0.875rem;
    line-height: 1.8;
}

.slide-company-info .company-name {
    font-weight: bold;
    margin-bottom: 12px;
}

.slide-company-info .company-map a {
    color: #333333;
    text-decoration: underline;
}

.slide-company-info .company-map a:hover {
    opacity: 0.6;
}

/* Slide Menu Footer */
.slide-menu-footer {
    padding: 20px 30px 30px;
    background: transparent;
    flex-shrink: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.slide-sns-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.slide-sns-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    text-decoration: none;
    font-size: 20px;
    transition: opacity 0.3s ease;
}

.slide-sns-icon:hover {
    opacity: 0.6;
}

.slide-copyright {
    text-align: center;
    color: #333333;
    font-size: 0.6875rem;
    margin: 0;
}

/* Content Styling */
.section-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}

.price-badge {
    background: var(--accent-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 0;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.contact-info {
    background: var(--primary-gradient);
    color: var(--text-light);
    padding: 30px;
    border-radius: 0;
    margin-top: 20px;
    border: 1px solid var(--border-color);
}

/* Enhanced Cards */
.card {
    border: 1px solid var(--border-light-gray);
    transition: all 0.3s ease;
    background: #ffffff;
}

.card:hover {
    transform: translateY(-2px);
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #f8f8f8;
    transform: translateX(5px);
}

.concept-badge {
    background: var(--wood-gradient);
    color: white;
    padding: 5px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

/* Text and warning color adjustments */
.text-warning {
    color: #8a8a8a !important;
}

.border-warning {
    border-color: #8a8a8a !important;
}

/* Footer */
.main-footer {
    background-image: url('../images/footer_background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 2rem 0;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 0;
}

.main-footer>* {
    position: relative;
    z-index: 1;
}

.footer-content {
    width: 84%;
    margin: 0 auto;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.footer-logo-img {
    width: 65px;
    height: auto;
    margin-bottom: 0;
}

.footer-company-name {
    font-size: 1rem;
    font-weight: bold;
    color: var(--white);
    margin: 0;
}

.footer-info-section {
    margin-bottom: 2rem;
}

.footer-info-section p {
    font-size: 0.875rem;
    line-height: 2;
    color: var(--white);
    margin-bottom: 0;
}

.footer-info-section p:first-child {
    margin-bottom: 0.5rem;
}

.footer-copyright {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: var(--font-size-copyright);
}

/* ===== Loading Screen ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.loading-logo {
    margin-bottom: 30px;
}

.loading-logo img {
    width: 150px;
    height: 150px;
    filter: drop-shadow(0 5px 20px rgba(255, 255, 255, 0.3));
}

.loading-text {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-light);
    letter-spacing: 5px;
    margin-bottom: 15px;
}

.loading-subtitle {
    font-size: var(--font-size-intro);
    color: var(--text-muted);
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.progress-bar-container {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    overflow: hidden;
    margin: 0 auto 20px;
}

.progress-bar {
    height: 100%;
    background: var(--accent-gradient);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 0;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shimmer 2s infinite;
}

.loading-percentage {
    font-size: var(--font-size-card-title);
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ===== New Content Sections Styles ===== */

/* Common Section Styles */
.content-section {
    padding: 60px 40px;
    border-bottom: 1px solid var(--border-light-gray);
}

.section-title-main {
    font-size: var(--font-size-title-main);
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    flex-shrink: 1;
    min-width: 0;
    line-height: 1.2;
}


h2.section-title-main {
    font-size: var(--font-size-title-main);
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    flex-shrink: 1;
    min-width: 0;
    line-height: 1.2;
}

.section-ruby {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #8a8a8a;
    letter-spacing: 2px;
    margin-top: 8px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 15px;
    flex-wrap: nowrap;
}

.section-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    border: 1px solid var(--text-muted);
    text-decoration: none;
    border-radius: 17px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.section-link-btn:hover {
    color: white;
}

/* ===== EVENT Section ===== */
.event-section {
    background: var(--light-bg);
}

.event-cards-wrapper {
    overflow: visible;
    margin-bottom: 40px;
}

.event-cards-slider {
    display: grid;
    grid-template-columns: repeat(1fr);
    gap: 25px;
    padding-top: 20px;
}

.event-card {
    background: var(--light-bg);
    border-radius: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.event-card-body {
    padding: 25px 0;
}

.event-card-title {
    font-size: var(--font-size-card-title);
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.event-card-info p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-card-info i {
    color: var(--accent-color);
}

/* Sub Menu Bar */
.sub-menu-bar {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 0;
    overflow: hidden;
}

.sub-menu-item {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-dark);
    border-right: 1px solid var(--border-light-gray);
    transition: all 0.3s ease;
}

.sub-menu-item:last-child {
    border-right: none;
}

.sub-menu-item i {
    font-size: var(--font-size-card-title-large);
    color: var(--accent-color);
}

.sub-menu-item span {
    font-size: 14px;
    font-weight: 600;
}

.sub-menu-item:hover {
    background: var(--accent-gradient);
    color: white;
}

.sub-menu-item:hover i {
    color: white;
}

/* ===== CONCEPT Section ===== */
.concept-section {
    background: var(--brown-gray);
}

.section-intro {
    font-size: var(--font-size-intro);
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.8;
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.concept-card {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    width:95%;
    margin:auto;
}

.concept-card:hover {
    transform: scale(1.02);
}

.concept-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    background: var(--light-bg) !important;
}

.concept-card-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.concept-card-title {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
}

/* ===== WORKS Section ===== */
.works-section {
    background: var(--light-bg);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding-top: 40px;
}

/* Event Card Link - トップページ用 */
.event-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.works-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.works-card:hover {
    transform: translateY(-5px);
}

.works-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
}

.works-card-content {
    padding: 25px 0 ;
}

.works-card-title {
    font-size: var(--font-size-card-title);
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.works-card-location {
    font-size: 14px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.works-card-location i {
    color: var(--accent-color);
}

/* ===== PRICE Section ===== */
.price-section {
    background: white;
}

.section-description {
    font-size: var(--font-size-card-title);
    color: #666666;
    text-align: left;
    margin-bottom: 50px;
    line-height: 1.8;
}

.price-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 60px;
}

.price-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: var(--font-size-intro);
    font-weight: 600;
    border-bottom: 2px dotted var(--dotted-border-gray);
    transition: all 0.3s ease;
}

.price-link-item:hover {
    background: var(--light-bg);
    padding-left: 40px;
    color: var(--accent-color);
}

.price-link-item i {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.price-link-item:hover i {
    transform: translateX(5px);
}

.price-images {
    position: relative;
    height: 400px;
    margin-bottom: 30px;
}

.price-image-back {
    position: absolute;
    left: 0;
    top: 0;
    width: 55%;
    height: 65%;
    z-index: 1;
    border-radius: 0;
    overflow: hidden;
}

.price-image-back img {
    width: 100%;
    height: 80%;
    object-fit: cover;
}

.price-image-front {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    height: 65%;
    z-index: 2;
    border-radius: 0;
    overflow: hidden;
}

.price-image-front img {
    width: 100%;
    height: 80%;
    object-fit: cover;
}

/* YouTube Video Container */
.video-container {
    margin: 60px 0;
}

.video-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    border-radius: 0;
}

.video-header i {
    font-size: var(--font-size-title-main);
    color: white;
}

.video-header span {
    font-size: var(--font-size-card-title-large);
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.catalog-btn-wrapper {
    text-align: center;
}

.catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-size: var(--font-size-card-title);
    font-weight: 600;
    transition: all 0.3s ease;
}

.catalog-btn:hover {
    background: #666666;
    transform: translateY(-2px);
    color: white;
}

/* ===== COMPANY Section ===== */
.company-section {
    background: var(--light-bg);
}

.company-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.company-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: var(--font-size-card-title);
    font-weight: 600;
    border-bottom: 2px dotted var(--dotted-border-gray);
    transition: all 0.3s ease;
    background: white;
    margin-bottom: 2px;
    border-radius: 0;
}

.company-link-item:hover {
    padding-left: 40px;
    color: var(--accent-color);
}

.company-link-item i {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.company-link-item:hover i {
    transform: translateX(5px);
}

/* ===== Footer ===== */
.main-footer {
    background-image: url('../images/footer_background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 5rem 0;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 0;
}

.main-footer>* {
    position: relative;
    z-index: 1;
}

.footer-content {
    width: 84%;
    margin: 0 auto 40px;
    gap: 60px;
}

.footer-logo-section {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo-img {
    width: 65px;
    height: auto;
    margin-bottom: 0;
}

.footer-company-name {
    font-size: var(--font-size-card-title-large);
    font-weight: bold;
    color: var(--white);
    margin: 0;
}

.footer-info-section {
    flex: 1;
}

.footer-info-section p {
    font-size: 0.875rem;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--white);
    font-size: var(--font-size-copyright);
}

/* 背景色の変更 */
/* . {
    background: var(--brown-gray) !important;
} */

.works-section {
    background: var(--brown-gray) !important;
}

.main-footer {
    background-image: url('../images/footer_background.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* ボタンの色変更 */
.section-link-btn {
    background: var(--light-bg) !important;
    color: var(--text-dark) !important;
}

.works-section .section-link-btn {
    background: var(--brown-gray) !important;
}

.section-link-btn:hover {
    color: var(--light-bg) !important;
    background: var(--primary-color) !important;
}

.catalog-btn {
    background: white !important;
    color: var(--text-dark) !important;
    border:1px solid var(--border-gray);
}

.catalog-btn:hover {
    background: #b5ada5 !important;
    color: var(--text-dark) !important;
}

/* サブメニューバーのスタイル変更 */
.sub-menu-bar {
    background: #8a8a8a !important;
    width: 100%;
    margin-left: -40px;
    margin-right: -40px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 0 !important;
}

.sub-menu-item {
    color: white !important;
    border-right-color: rgba(255, 255, 255, 0.2) !important;
}

.sub-menu-item i {
    color: white !important;
}

.sub-menu-item span {
    color: white !important;
}

.sub-menu-item:hover {
    background: #757575 !important;
    color: white !important;
}

.sub-menu-item:hover i {
    color: white !important;
}

/* Sub Menu Section - 下部固定表示 */
.sub-menu-section {
    padding: 0;
    border-top: 1px solid var(--border-light-gray);
    position: sticky;
    bottom: 0;
    z-index: 99;
    margin-top: auto;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* スクロール後に表示 */
.sub-menu-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.sub-menu-section .sub-menu-bar {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* サブメニューバーのスタイル上書き */
.sub-menu-section .sub-menu-bar {
    background: #8a8a8a !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.sub-menu-section .sub-menu-item {
    color: white !important;
    border-right-color: rgba(255, 255, 255, 0.2) !important;
}

.sub-menu-section .sub-menu-item i {
    color: white !important;
}

.sub-menu-section .sub-menu-item span {
    color: white !important;
}

.sub-menu-section .sub-menu-item:hover {
    background: #757575 !important;
    color: white !important;
}

.sub-menu-section .sub-menu-item:hover i {
    color: white !important;
}

/* ========================================
   Custom Overrides
======================================== */

/* PAGENATION */
.page-numbers {
    border: 0px solid !important;
}

/* Footer Logo Hidden */
.footer-logo-img {
    display: none;
}

/* Flow Step Text Alignment */
.flow-step-text {
    text-align: left;
}

/* ===== Responsive: ALL Pages ===== */
@media (max-width: 768px) {
    .content-section {
        padding: 100px 40px !important;
    }
}