@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0 auto;
    font-family: 'Noto Sans JP', sans-serif;
    background: #F4F5F0;
    color: #35545f;
    line-height: 1.8;
    box-sizing: border-box;
    max-width: 100%;
    font-weight: bold;
}

main {
    width: 60%;
    margin: 0 auto;
    font-family: 'Noto Sans JP', sans-serif;
}

section {
    width: 80%;
}

/* Header */
.header {
    width: 100%;
    background: url('./img/terrace.jpg') center center / cover no-repeat;
    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);
    /* 背景ぼかし（オプション） */
}

.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: 4rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* ------------------固定CSS topをいじった時のみ変える-------------------------------------------------------------- */

h2 {
    margin: 15rem 0 5rem;
    text-align: center;
}

h3 {
    margin: 10rem 0;
    text-align: center;
    line-height: 4;
}

/* Sections */
.form {
    align-items: center;
    text-align: center;
    width: 100%;
    background-color: #35545f;
    color: #D1BA93;
    padding: 5rem;
    line-height: 4;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 15px 15px 0px 0 rgb(60, 194, 235);
}

input,
select {
    font-size: 1.2rem;
}

.faq-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.faq {
    margin: 0 auto;
    width: 100%;
    background-color: #35545f;
    color: #D1BA93;
    padding: 5rem;
    box-shadow: 15px 15px 0px 0 rgb(60, 194, 235);
}

.faq p {
    padding: 1rem;
    font-family: 'Playfair Display', serif;
}

.faq-btn>.btn:hover {
    background-color: #5a1919;
    color: #F4F5F0;
}

.q {
    font-size: 1.2rem;
    font-weight: bold;
}


.font1 {
    font-family: 'Playfair Display', serif;
}

.font2 {
    font-family: 'Noto Sans JP', sans-serif;
}

/* 予約フォーム */
input[type="date"] {
    border: 1px solid #ccc;
    padding: 5px;
}

input[type="time"],
select {
    width: 230px;
    padding: 5px;
}

/* Button */
.faq-btn {
    text-align: center;
    margin-top: 5rem;
}

.btn {
    text-align: center;
    display: inline-block;
    margin-top: 2rem;
    padding: 0.6rem 2rem;
    color: #35545f;
    background-color: #D1BA93;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    font-size: 1.2rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.btn:hover {
    background: #F4F5F0;
}

/* Footer */
footer {
    background: url(./img/sea3.jpg) center / cover no-repeat;
    color: #fff;
    padding: 8rem 2rem;
    text-align: center;
    margin-top: 15rem;
    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;
}

.fixed-reserve-btn {
    position: fixed;
    bottom: 30px;
    /* 下からの距離 */
    right: 30px;
    /* 右からの距離 */
    padding: 1rem 2rem;
    background-color: #35545f;
    color: #F4F5F0;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s;
}

.fixed-reserve-btn:hover {
    background-color: #5a1919;
}

/* ドロップダウンメニュー */
.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;
}

.pp a {
    text-decoration: none;
    color: #F4F5F0;
}

.pp {
    margin-top: 1rem;
}


@media (max-width: 999px) {
main {
    width: 80%;
}

h2 {
    margin: 5rem 0 2rem;
}

    h3 {
        line-height: 2;
        margin: 5rem auto 5rem;
    }

    .form {
        padding: 1rem;
        line-height: 3;
        font-size: 90%;
    }


    form p {
        line-height: 2;
        margin: 2rem 0;
        font-size: 100%;
    }

    .faq p {
        padding: 0;
        margin-bottom: 2rem;
        font-size: 80%;
    }

    input[type="time"],
    select {
        width: 50%;
        font-size: 80%;
    }

    input[type="date"] {
        width: 50%;
        font-size: 100%;
    }

.btn {
    margin-top: 0;
}

.faq {
    padding: 2rem 1rem;
}

}