@charset "UTF-8";
/* ===================================
common
==================================== */
:root {
    --graige: #907b7b;
    --offwhite: #FFFAF6;
    --brown: #531A1A;
    --lightgray: #D9D3D2;
    --mossgreen: #656f63;
    --darkbrown: #2F0606;
    --deepblue: #27243C;
    --bluegray: #A8ABBB;
    --palegreen: #B3BBB3;
    --cream: #dbcebe;
} 

.container {
    width: 100%;
}

html {
    font-size: 62.5%;
}

body {
    font-style: normal;
    line-height: 2.2;
    font-weight: 400;
    font-size: 1.6rem;
    text-align: center;
    color: var(--brown);
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
} 

.section__topic {
    font-family: "Kaisei Decol", serif;
    font-size: 4.0rem;
    line-height: 1.5;
    padding: 60px 0;
}

.section__topicwhite {
    font-family: "Kaisei Decol", serif;
    font-size: 4.0rem;
    line-height: 1.5;
    color: var(--offwhite);
    padding: 60px 0;
} 

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 53px;
    background-color: var(--btn-bg-color);
    color: var(--btn-text-color);
    text-decoration: none;
    font-family: "Hina Mincho", serif;
    font-size: 2.0rem;
    line-height: 1;
    position: relative;
    border: none;
    cursor: pointer;
    transition: all 0.6s ease-in-out;
    gap: 16px;
}

.btn::before,
.btn::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--btn-line-color);
}

.btn::before {
    top: 6px;
}

.btn::after {
    bottom: 6px;
}

.btn__arrow {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.6s ease-in-out;
}

/* フェードインアニメーション用のスタイル */

/* 共通のフェードインスタイル（下から） */
.whitespace__img1,
.whitespace__img2,
.whitespace__img3,
.whitespace__column1,
.whitespace__img5,
.workshop__img img {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.whitespace__img1.fade-in,
.whitespace__img2.fade-in,
.whitespace__img3.fade-in,
.whitespace__column1.fade-in,
.whitespace__img5.fade-in,
.workshop__img img.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* 左からスライドイン */
.whitespace__txt2,
.marche__txt,
.antique__txt,
.arrangement__txt,
.news__txt,
.workshopitem__txt {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.whitespace__txt2.slide-in,
.marche__txt.slide-in,
.antique__txt.slide-in,
.arrangement__txt.slide-in,
.news__txt.slide-in,
.workshopitem__txt.slide-in {
    opacity: 1;
    transform: translateX(0);
}

/* 右からスライドイン */
.whitespace__txt3,
.whitespace__txt5,
.workshop__txt {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.whitespace__txt3.slide-in,
.whitespace__txt5.slide-in,
.workshop__txt.slide-in {
    opacity: 1;
    transform: translateX(0);
}

/* グリッド画像のフェードイン */
.arrangement__grid img,
.news__grid img,
.arrangementitem__grid img,
.wreathitem__grid img,
.swagitem__grid img,
.ceremonyitem__grid img,
.workshop__grid img {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.arrangement__grid img.fade-in,
.news__grid img.fade-in,
.arrangementitem__grid img.fade-in,
.wreathitem__grid img.fade-in,
.swagitem__grid img.fade-in,
.ceremonyitem__grid img.fade-in,
.workshop__grid img.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== モーダルウィンドウ ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    background-color: transparent;
    max-width: 90%;
    max-height: 90vh;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content img {
    max-width: 90vw;   
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
}

.modal-trigger {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-trigger:hover {
    transform: scale(1.05);
}

/* クローズボタン */
.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    transition: transform 0.2s ease;
}

.modal-close:hover {
    transform: scale(1.2);
}

/* sp */
@media screen and (max-width: 767px) {
    .modal-close {
        top: 10px;
        right: 10px;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .section__topic {
        font-size: 2.8rem;
        padding: 24px 0;
    }

    .section__topicwhite {
        font-size: 2.8rem;
        padding: 24px 0;
    }
}

/* タブレット */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .section__topic {
        font-size: 3.2rem;
        padding: 30px 0;
    }

    .section__topicwhite {
        font-size: 3.2rem;
        padding: 30px 0;
    }
} 

/* ===================================
header
==================================== */
.header__btn {
    display: none;
} 

header {
    position: fixed;
    padding: 8px 1.0%;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Kaisei Opti", serif;
    font-size: 1.6rem;
    box-sizing: border-box;
} 

header a {
    color: #FFF;
    text-decoration: none;
    font-size: clamp(1.2rem, 0.8vw, 1.6rem);
}

header ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header__logo {
    height: 30px;
    margin: 0;
    padding: 0;
    display: block;
    writing-mode: horizontal-tb;
}

.header__logo a {
    display: block;
    height: 100%;
    width: auto;
    text-decoration: none;
}

.header__logo img {
    height: auto;
    width: 206px;
    display: block;
}

.nav__list {
    display: flex;
    color: #FFF;
    font-family: "Kaisei Decol", serif;
    font-weight: 400;
    line-height: normal;
    gap: 1vw;
    align-items: center;
}

.nav__item a {
    transition: color 0.3s ease;
}

.nav__item a:hover {
    color: #f6aa9a;
}

.nav__icon {
    height: clamp(16px, 1.2vw, 24px);
    width: auto;
    display: block;
    margin-top: 4px;
    transition: color 0.3s ease;
} 

.nav__icon:hover {
    opacity: 0.7;
}


/* 初期状態：スマホではメニュー非表示 */
.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__buttons {
    display: none;
}

/* header スマホ・タブレット共通　*/
@media screen and (max-width: 1024px) {
    .nav__list {
        position: fixed;
        top: 0;
        right: -100%;
        width:100%;
        height: 780px;
        background-color: var(--graige);
        opacity: 0.9; 
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex;
        margin: 0 auto;
        max-width: 375px;
        padding-top: 82px;
    }

    .nav__item {
        width: 100%;
        text-align: left;
        padding-left: 32px; 
        font-weight: 400;
    }

    .nav__item a {
        font-size: 2.0rem;
        color: var(--offwhite);
        text-decoration: none;
        display: block;
    }

    .nav__list.active {
        right: 0;
        display: flex;
    }

    .nav__icon {
        width: 24px;
        height: 24px;
    }

    .header__btn {
        display: block;
        position: fixed;
        top: 11px;
        right: 20px;
        width: 23px;
        height: 18px;
        background: none;
        border: none;
        padding: 0;
        object-fit: contain;
        cursor: pointer;
        z-index: 1100;
        transition: transform 0.3s ease;
    }

    .header__btn img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease, opacity 0.2s ease; 
    } 

    /* メニューを開くときの回転 */
    .header__btn.close img {
        transform: rotate(90deg); 
    }

    /* メニューボタン自体にホバー効果 */
    .header__btn:hover img {
        opacity: 0.7; 
    }

    .header__logo {
        width: 100%;
        max-width: 190px;
        height: auto;
        margin-left: 8px;
        z-index: 1100;
        position: relative;
    }

    .video-pc { 
        display: none; 
    }

    .video-sp { 
        display: none
    }
    
    .main__title.hide {
        display: none;
        opacity: 0;  
        visibility: hidden; 
    }

    .nav__buttons {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-top: 42px;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .nav__items--buttons {
        width: 100%;
    }

    .nav__buttons .btn {
        display: flex;
        width: 250px;
        justify-content: center; 
        align-items: center;
        padding: 6px 16px;
        text-align: center;
        background-color: var(--lightgray);
        color: var(--brown);
        text-decoration: none;
        font-size: 2rem;
        border: none;
        box-sizing: border-box;
        gap: 8px;
        --btn-line-color: var(--brown);
        font-family: "Kaisei Opti", serif;
        white-space: nowrap;
        margin: 0 auto;
    }

    .nav__buttons .btn__arrow {
        background-image: url(../images/brown_arrow.png) !important;
        height: 8px;
        flex-shrink: 0;
    } 

    .nav__buttons .btn--arrangement:hover,
    .nav__buttons .btn--workshop:hover {
        color: var(--offwhite);          
        --btn-line-color: var(--offwhite); 
    }

    .nav__buttons .btn--arrangement:hover .btn__arrow,
    .nav__buttons .btn--workshop:hover .btn__arrow {
        background-image: url(../images/white_arrow.png) !important;
    }

    .btn--arrangement:hover {
        background-color: var(--deepblue);
    }
    
    .btn--workshop:hover {
        background-color: var(--mossgreen);
    }
}

/* タブレット */
@media screen and (min-width: 768px) and (max-width: 1024px) {
     .header__btn {
        width: 24px;
        height: 24px;
        top: 8px;
    }

    .header__logo {
        max-width: 180px;
        height: auto;
    }
}

/* 375px以下のスマホ */
@media screen and (max-width: 374px) {
    .nav__list {
        gap: 16px; 
        justify-content: flex-start;
        padding-top: 80px; 
        height: 100vh; 
        overflow-y: auto; 
    }

    .nav__item {
        padding-left: 24px;
    }

    .nav__item a {
        font-size: 1.6rem;
    }

    .nav__buttons {
        margin-top: 20px; 
        gap: 16px; 
    }

    .nav__buttons .btn {
        font-size: 1.6rem;
    }

}