/* リセットとベーススタイル */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ヘッダーとフッター */
header, footer {
    background-color: #fff;
    text-align: center;
    padding: 1rem;
}

h1 {
    margin-bottom: 1rem;
}

h1 img {
    width: 20%;
}

/* メインコンテンツ */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* ギャラリーセクション */
.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.image-container img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

/* PDFリンク */
.pdf-link {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #2c4946;
    color: white;
    text-decoration: none;
    border-radius: 100vh;
    font-weight: bold;
    margin: 1rem 0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    min-width: 200px;
    text-align: center;
    animation: pulse 1.5s infinite;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.pdf-link:hover {
    background-color: #d4b6b3;
    animation: none;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Google Mapsの埋め込み */
iframe {
    width: 100%;
    height: 450px;
    border: 0;
    margin-top: 1rem;
}

/* ロゴ */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 50%;
    margin-top: 1rem;
}

/* アニメーション定義 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.01);
    }
    100% {
        transform: scale(1);
    }
}

/* フローティングボタン */
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2c4946;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 1rem;
    animation: pulse 1.5s infinite;
}

.floating-button:hover {
    background-color: #d4b6b3;
    transform: translateY(-2px) scale(1.05);
    animation: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.gmap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* アスペクト比 16:9 の場合 */
    height: 0;
    overflow: hidden;
}

.gmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* フッター */
footer p {
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .image-container {
        max-width: 800px;
    }

    .pdf-link {
        font-size: 1.4rem;
    }

    .floating-button {
        font-size: 1.1rem;
    }
}
