@charset "UTF-8";

/* ==========================================================================
   Base Styles
   ========================================================================== */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    letter-spacing: 0.05em;
    line-height: 1.8;
    color: #333333;
    background-image: url('../img/BodyBg.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* 右クリック/ドラッグ禁止の補助 */
    overflow-x: hidden;
}

img {
    -webkit-user-drag: none;
    /* 画像ドラッグ禁止 */
    pointer-events: none;
    /* 右クリック禁止を強化（リンク内画像のクリックイベントは親要素にバブリングさせる必要がある場合は調整） */
}

/* リンク内の画像はクリック有効にする必要があるため pointer-events を戻す */
a img {
    pointer-events: auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
#sp-menu.open {
    opacity: 1;
    pointer-events: auto;
}

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

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

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

/* ==========================================================================
   Animation (Fade In Up)
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* ==========================================================================
   Swiper Customization
   ========================================================================== */
.swiper-slide img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}



.gallery-swiper {
    padding-bottom: 50px !important;
}

.gallery-swiper .swiper-slide {
    width: 280px;
}

@media (min-width: 768px) {
    .gallery-swiper .swiper-slide {
        width: 400px;
    }
}

.swiper-pagination-bullet-active {
    background-color: #333 !important;
}

/* ==========================================================================
   Section Titles
   ========================================================================== */
.section-title-container {
    text-align: center;
    position: relative;
    padding-top: 20px;
}

.section-title-en {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    letter-spacing: 0.1em;
    line-height: 1;
    z-index: 0;
    user-select: none;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .section-title-en {
        font-size: 5rem;
    }
}

.section-title-jp {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    display: inline-block;
    padding-bottom: 12px;
}

@media (min-width: 768px) {
    .section-title-jp {
        font-size: 2rem;
    }
}

.section-title-jp::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #e0ffff;
    /* lightcyan */
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
/* パララックス効果（CSSのみで簡易実装する場合） */
.bg-fixed {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* SPでのパララックス無効化（パフォーマンス対策） */
@media (max-width: 768px) {
    .bg-fixed {
        background-attachment: scroll;
    }
}

/* ==========================================================================
   To Top Button
   ========================================================================== */
#to-top.show {
    opacity: 1;
    pointer-events: auto;
    bottom: 24px;
}

@media (max-width: 768px) {
    #to-top.show {
        bottom: 80px;
        /* SPの追従CTAの上に表示 */
    }
}

#about {
    background: #eaf8ff !important;
}

.bg-white\/90 {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

#menu .text-white {
    color: #374151 !important;
}

.bg-white {
    background-color: #eaf8ff !important;
}

#tv.bg-white,
#service.bg-white {
    background-color: #4682b48f !important;
}

#tv .border-theme-sub {
    border-color: #4682b48f !important;
}

#tv .text-theme-sub {
    color: #4682b48f !important;
}

/* Specific cards in TV and Service sections */
#tv .bg-white.shadow-2xl {
    background-color: #F5F5F5 !important;
}

#service .bg-white.shadow-2xl {
    background-color: #F5F5F5 !important;
}

#service .md\:flex-row-reverse {
    background: rgba(245, 245, 245, 0.95) !important;
}

#service .md\:flex-row-reverse .bg-theme-sub {
    background-color: #4682b4 !important;
    /* Solid steel blue */
}

@media (min-width: 768px) {
    .md\:text-4xl {
        font-size: 30px !important;
        line-height: 2.5rem !important;
    }
}

#menu {
    background: rgba(245, 245, 245, 0.95) !important;
}

#menu .bg-white {
    background-color: #F5F5F5 !important;
}

#menu .bg-gray-50 {
    background-color: #4683b436 !important;
    /* Subtle steel blue tint */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02) !important;
}

section.py-section-sp.md\:py-section-pc.bg-theme-smoke {
    background: rgba(245, 245, 245, 0.8) !important;
}

#tv .section-title-en,
#service .section-title-en,
section.bg-theme-smoke .section-title-en {
    color: #F5F5F5 !important;
}

.bg-red-500 {
    background-color: #4682b4 !important;
}

.border-gray-300 {
    color: white !important;
}

.bg-gray-100 {
    background-color: #4682b4 !important;
}

section.bg-theme-smoke h4 {
    color: #4683b4 !important;
}

#fv+section h3,
#about h3,
#service h3,
#menu h3,
section.bg-stone-100 h3 {
    color: #4683b4 !important;
}

@media (max-width: 781px) {
    .px-6 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .p-8 {
        padding: 40px 10px !important;
    }

    .p-6 {
        padding: 10px !important;
    }

    .pl-6 {
        padding-left: 10px !important;
    }
}

/* Lightbox Centering Fix */
.gcontainer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.gslide-image img {
    max-height: 90vh !important;
    width: auto !important;
    margin: 0 auto !important;
}