@charset "utf-8";

#vdbanner {
    width: 0;
    height: 0;
    margin: 0 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header */
.header {
    width: 100%;
    height: 100vh;
    color: #F4F5F0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

nav {
    overflow: hidden;
}

.logo {
    width: 140px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px 0 50px;
    width: 100%;
    background-color: #ffffff32;
    height: 10%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* ヘッダーより上に表示されるように */
    background-color: rgba(255, 255, 255, 0.2);
    /* 背景を半透明に保つ */
    backdrop-filter: blur(15px);
    /* 背景ぼかし（オプション） */
}

#header-menu {
    display: block;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 6rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav li {
    flex-shrink: 0;
    font-family: 'Playfair Display', serif;
}

.nav a {
    color: #C6AB80;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    white-space: nowrap;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}


.nav a:hover {
    opacity: 0.7;
}

.header-text {
    margin: auto;
    font-family: 'Playfair Display', serif;
}

.header-text h1 {
    font-size: clamp(2rem, 8vw, 5rem);
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.header-text p {
    font-size: clamp(1rem, 4vw, 3rem);
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
    background: url(./img/sea3.jpg) center / cover no-repeat;
    color: #fff;
    padding: 8rem 2rem;
    text-align: center;
    margin-top: 25rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.footer-content nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 5rem;
    margin-bottom: 2rem;
}

.footer-content nav a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-content nav a:hover {
    opacity: 0.7;
}

.sns img {
    width: 40px;
    margin: 0 10px;
    vertical-align: middle;
}

.sns a {
    color: #F4F5F0;
    text-decoration: none;
}

footer p {
    margin-top: 3rem;
}

.logo-footer {
    width: 120px;
    margin-top: 1rem;
}

.footer-content small {
    display: block;
    text-align: center;
    margin-top: 1rem;
}

/* ドロップダウンメニュー */
.footer-content nav {
    position: relative;
    overflow: visible;
}

.footer-content nav ul {
    position: relative;
    font-family: 'Playfair Display', serif;
}

/* ドロップダウン全体の親 */
.footer-content .dropdown {
    position: relative;
}

/* ドロップダウンの中身 */
.footer-content .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #35545fac;
    padding: 0;
    list-style: none;
    margin: 0;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    min-width: 160px;
}

/* メニューのリンク */
.footer-content .dropdown-menu li a {
    color: #F4F5F0;
    padding: 10px;
    display: block;
    text-decoration: none;
    white-space: nowrap;
    font-family: 'Playfair Display', serif;
}

.footer-content .dropdown-menu li a:hover {
    background-color: #5a1919;
}

/* ホバーで表示 */
.footer-content .dropdown:hover .dropdown-menu {
    display: block;
}



/* ハンバーガー */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: 0.3s;
}

/* メニューを開いた時のハンバーガー変形 */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

.pp a {
    text-decoration: none;
    color: #F4F5F0;
}

.pp {
    margin-top: 1rem;
}

/* レスポンシブ */
@media (max-width: 999px) {

    /* ハンバーガー表示 */
    .hamburger {
        display: flex;
        z-index: 1006;
    }

    /* ヘッダーメニューを非表示にする（初期状態） */
    .nav-inner {
        flex-direction: column;
        /* gap: 0; */
        background-color: #35545f;
        padding: 1rem;
        height: auto;
    }

    .nav ul {
        gap: 0;
    }

    nav.show {
        left: 0;
        right: 0;
        z-index: 1001;
    }

    /* メニュー項目スタイルの調整 */
    .nav-inner li {
        text-align: right;
    }

    .nav {
        position: relative;
        height: 15%;
        padding: 10px;
    }

    header nav {
        position: fixed;
        top: 0;
        left: -100%;
        right: 0;
        width: 100%;
        height: auto;
        z-index: 1001;
        transition: all 2.5s;
    }

    .nav a {
        font-size: 1.5rem;
        padding-top: 1.5rem;
    }

    #nav-menu {
        /* top: 100px; */
        right: 20px;
        /* background-color: #35545f; */
        /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
        z-index: 999;
        /* メニューが隠れないように */
    }

    ul {
        /*最初はナビゲーションボタンは非表示*/
        display: none;
        list-style: none;
    }

    li a {
        padding: 0 8px 24px;
        display: block;
        text-align: center;
        text-decoration: none;
    }

    .hamburger {
        position: absolute;
        top: 32px;
        right: 32px;
        cursor: pointer;
        width: 32px;
        height: 24px;
        z-index: 1006;
    }

    .hamburger span {
        /*3本の線を作る*/
        transition: all .3s;
        position: absolute;
        height: 2px;
        background-color: #F4F5F0;
        width: 100%;
        z-index: 1006;
    }

    .hamburger span:nth-of-type(1) {
        /*上の線の位置*/
        top: 4px;
    }

    .hamburger span:nth-of-type(2) {
        /*真ん中の線の位置*/
        top: 12px;
    }

    .hamburger span:nth-of-type(3) {
        /*下の線の位置*/
        top: 20px;
    }

    .hamburger.open span:nth-of-type(1) {
        /*openのとき、上の線を右斜めにする*/
        top: 10px;
        transform: translateY(6px) rotate(-33deg);
    }

    .hamburger.open span:nth-of-type(2) {
        /*真ん中の線を消す*/
        opacity: 0;
    }

    .hamburger.open span:nth-of-type(3) {
        /*下の線を左斜めにする*/
        top: 22px;
        transform: translateY(-6px) rotate(33deg);
    }

    /* ↑ハンバーガーここまで */

    /* 7. ボタンサイズ */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    /* 8. フッターのレイアウト */
    footer {
        padding: 3rem;
        margin-top: 10rem;
    }

    .footer-content nav ul {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 0;
        padding: 1rem;
    }

    footer nav {
        font-size: 150%;
    }

    .sns img {
        width: 50px;
        margin: 0 5px;
    }

    .logo-footer {
        width: 100px;
    }

    .footer-content .dropdown:hover .dropdown-menu {
        display: none;
    }

    .fade {
        width: 80%;
    }

    .fade img {
        width: 300px;
        object-fit: cover;
    }
}