/**
 * components.css - 追加コンポーネントスタイル
 * style.cssに無い新しいコンポーネントのみ定義
 */

/* =================================================================
   SECTION COMPONENTS (index.phpで使用)
   ================================================================= */

/* セクションタイトル */
.section-title {
    font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #2C2C2C;
    text-transform: uppercase;
}

/* セクションサブタイトル */
.section-subtitle {
    font-size: 1rem;
    color: #D4AF37;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
    display: block;
    font-weight: 500;
}

/* =================================================================
   ACCORDION COMPONENTS (index.phpのAboutセクション用)
   ================================================================= */

/* 基本アコーディオン（About用） */
.about-accordion-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    transition: background-color 0.3s ease;
}

.about-accordion-item:first-child {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.about-accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .about-accordion-header {
        padding: 1.8rem 0;
    }
}

.about-accordion-header h3 {
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .about-accordion-header h3 {
        font-size: 1.25rem;
    }
}

.about-accordion-header:hover h3 {
    color: #D4AF37;
}

.about-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-accordion-content {
    padding-bottom: 2rem;
    padding-top: 0.5rem;
    color: #666;
    line-height: 1.9;
    text-align: justify;
    font-size: 1rem;
}

/* アコーディオンアイコン */
.accordion-icon {
    font-size: 1.5rem;
    color: #D4AF37;
    font-weight: 300;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .accordion-icon {
        font-size: 1.8rem;
    }
}

.about-accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.about-accordion-item.active .about-accordion-body {
    max-height: 500px;
}

/* =================================================================
   ANIMATION COMPONENTS (追加アニメーション)
   ================================================================= */

/* アニメーション遅延クラス */
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1s;
}

/* フェードインアニメーションキーフレーム */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gate ページで使用される別のfadeInアニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================================================
   PHOTO PLACEHOLDER (ギャラリー用)
   ================================================================= */

.photo-placeholder {
    color: #999;
    font-size: 0.8rem;
    text-align: center;
    padding: 1rem;
}

/* =================================================================
   HERO BACKGROUND IMAGE ANIMATION (FV画像スライドショー)
   ================================================================= */

/* Hero Background Image Animation */
.hero-bg-image {
    transition: opacity 4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
    background-attachment: scroll;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-bg-image-pc-2,
.hero-bg-image-sp-2 {
    opacity: 0; /* 初期状態で2枚目を非表示 */
}