/* グローバルスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    background: linear-gradient(180deg, #e0f7fa, #fff);
}

/* ヘッダー */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #0277bd;
    color: white;
    position: relative;
    width: 100%;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 80px;
    width: auto;
    margin-right: 15px;
}

.site-title {
    font-size: 1.8rem;
    color: white;
    font-weight: bold;
}

/* メニュー */
nav {
    position: relative;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
}

/* 画像表示の改善 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Heroセクション */
.hero {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    width: 100%;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Heroセクションのオーバーレイ */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* Heroセクションのテキストスタイル */
.hero-content h1 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    margin-top: 10px;
}

/* Googleマップ */
.map-container iframe {
    width: 800px;
    height: 450px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* フッター */
footer {
    text-align: center;
    padding: 20px;
    background-color: #0288d1;
    color: white;
    font-size: 0.8rem;
    position: relative;
    width: 100%;
}

/* お問い合わせフォーム */
.contact-form {
    max-width: 800px; /* PC版では大きめのサイズ */
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
}

.contact-form label {
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    color: white;
    background-color: #0288d1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #0277bd;
}

/* レスポンシブ対応（799px以下） */
@media (max-width: 799px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .site-title {
        font-size: 1.2rem;
    }

    nav ul {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 300px;
        max-width: 300px;
        background-color: #0277bd;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0;
        z-index: 10;
        border-radius: 0 8px 8px 0;
    }

    nav ul li {
        padding: 10px 20px;
    }

    nav ul li a {
        font-size: 0.9rem;
        display: block;
    }

    .hamburger {
        display: flex;
    }

    nav ul.open {
        display: flex;
    }

    .hero {
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }

    .hero-slideshow {
        width: 100%;
        height: 300px;
        position: relative;
    }

    .slide {
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        position: absolute;
    }

    .slide.active {
        opacity: 1;
    }

    .hero-content h1 {
        font-size: 1.25rem; /* 元サイズの半分程度に縮小 */
    }

    .hero-content p {
        font-size: 0.6rem; /* 元サイズの半分程度に縮小 */
    }

    .map-container iframe {
        max-width: 300px;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .contact-form {
        max-width: 300px;
        margin: 0 auto;
        padding: 10px;
    }

    .contact-form h2 {
        font-size: 1.5rem;
    }

    .contact-form label {
        font-size: 0.9rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 8px;
        font-size: 0.9rem;
    }

    .contact-form button {
        padding: 10px;
        font-size: 1rem;
    }
}