body {
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f9f9f9;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1, h2 {
    color: #2c3e50;
    text-align: center;
}

p {
    line-height: 1.6;
    text-align: justify;
}

section {
    margin-top: 40px; /* 上部の間隔 */
    margin-bottom: 40px; /* 下部の間隔 */
}

/* 一番上のセクションの上部マージンを除去 */
section:first-of-type {
    margin-top: 0;
}


img {
    width: 100%; /* 画像がコンテナの幅に合わせて調整されるように */
    height: auto; /* アスペクト比を維持 */
}

.map-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio for larger screens */
    margin-top: 20px;
    width: 100%; /* Ensure it always takes full width of its container */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }

    button {
        padding: 15px;
    }

    .map-container {
        padding-top: 100%; /* More square aspect ratio for small screens */
    }
}

/* You might adjust this if your site needs to cater to other device sizes */
@media screen and (min-width: 769px) {
    .map-container {
        padding-top: 56.25%; /* Maintain a 16:9 ratio on desktop */
    }
}
