@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;
}

/* Header */
.header {
    width: 100%;
    background: url('./img/sunset.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);
}

/* .header-text p {
    font-size: 2rem;
} */

/* ------------------固定CSS topをいじった時のみ変える-------------------------------------------------------------- */

h2 {
    margin-top: 10rem;
    padding: 5rem 0 1rem;
    text-align: center;
}

.font1 {
    font-family: 'Playfair Display', serif;
}

.font2 {
    font-family: 'Noto Sans JP', sans-serif;
}

form {
    background-color: #35545f;
    color: #F4F5F0;
    padding: 5rem;
    margin: 3rem auto 5rem; 
    width: 50%;
    text-align: left; 
    border-radius: 10px;
    font-size: 1.3rem;
    line-height: 4;
    box-shadow: 15px 15px 0px 0 rgb(60, 194, 235);
}

textarea {
    width: 100%;
    height: 150px;
    padding: 0.5rem;
    font-size: 1rem;
    resize: vertical;
}

/* Button */
input[type="submit"] {
    display: block;
    margin: 3rem auto 0; 
    padding: 1rem 2rem;
    color: #35545f;
    background-color: #D1BA93;
    font-size: 1.2rem;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
}


/* 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;
}

 
img {
    max-width: 100%;  /* 親要素に合わせて最大幅を設定 */
    height: auto;  /* 高さは自動調整 */
}


.pp a {
    text-decoration: none;
    color: #F4F5F0;
}

.pp {
    margin-top: 1rem;
}


@media (max-width: 999px) {
h2 {
    margin: 5rem 1rem 2rem;
    padding: 0;
}

form {
    margin: 0 1rem;
    width: 90%;
    padding: 1rem;
    font-size: 100%;
}

.btn {
    margin-top: 2rem;
}

input[type="submit"] {
    margin-top: 0;
}

}
