@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;
}

section {
    margin: 0 auto;
    width: 100%;
}


/* Header */
.header {
    width: 100%;
    background: url('./img/sea2.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-top: 10rem;
    padding: 5rem 0 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

h3 {
    font-size: 150%;
}

/* Sections */
.section {
    text-align: center;
    margin: 10rem 5rem;
    width: 100%;
    padding: 10rem;
}

.font1 {
    font-family: 'Playfair Display', serif;
}

.font2 {
    font-family: 'Noto Sans JP', sans-serif;
}

main {
    margin: 0 auto;
}

.mainp {
    margin: 10rem auto;
    text-align: center;
    line-height: 4;
    font-weight: bold;
    font-size: 120%;
}

.list {
    background-color: #35545f;
    margin: 10rem auto;
    width: 60%;
    color: #C6AB80;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 15px 15px 0px 0 rgb(60, 194, 235);
}

.list img {
    width: 40%;
    height: auto;
    border-radius: 8px;
    margin: 2rem;
}

.list div {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: 2rem;
    line-height: 3;
}

.btn {
    display: inline-block;
    margin: 2rem auto;
    padding: 0.6rem 2rem;
    background: #C6AB80;
    color: #F4F5F0;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    width: max-content;
    font-family: 'Noto Sans JP', sans-serif;
}

.btn:hover {
    background: #5a1919;
}

/* 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) {
.mainp {
    margin: 5rem 1rem 0;
    line-height: 2;
}

.list {
    width: 90%;
    margin: 3rem 1rem;
    display: flex;
    flex-direction: column; /* 縦並びに変更 */
    align-items: flex-start; /* 左揃えに変更 */
    gap: 2rem;
    box-shadow: 15px 15px 0px 0 rgb(60, 194, 235);
}

.list img {
    width: 100%; /* 画像を親の幅に合わせる */
    height: auto;
    border-radius: 8px;
    margin: 0;
    padding: 10px;
}

.list div {
    flex-direction: column;
    display: flex;
    flex-direction: column; /* コンテンツを縦並びにする */
    justify-content: flex-start; /* 上揃えに変更 */
    text-align: center; /* テキストを左揃えに */
    margin: 2rem;
    line-height: 3;
    width: 80%; 
}

}

