html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FEDF62;
    position: relative;
    justify-content: center;
}

header img {
    width: 400px; /* 画像の幅を指定 */
    height: auto; /* 高さを自動調整 */
}

.hamburger-menu {
    display: none;/*一旦ね*/
    position: absolute;
    right: 10px;
    cursor: pointer;
}

.hamburger-menu i {
    font-size: 1.5em;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    list-style-type: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.dropdown-menu li {
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    height: 30px;
    padding-block: 5px;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 20px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    box-sizing: border-box; 
}

.dropdown-menu li a:hover {
    background-color: #f1f1f1;
    height: 40px;
    border-radius: 10px;
}

.hamburger-menu:hover .dropdown-menu {
    display: flex;
    opacity: 1;
}


main {
    flex: 1;
    padding: 20px;
    background-color: #f9f9f9;
}

main section {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

main h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

main p {
    font-size: 1em;
    line-height: 1.6;
}

.contact-banner {
    position: fixed;
    bottom: 0;
    left: 0; /* 左端に固定 */
    width: 100%;
    background-color: #FF5733;
    color: white;
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
    overflow: hidden;
    margin: 0 0 40px; /* マージンをリセット */
}

.banner-content {
    display: inline-block;
    white-space: nowrap;
    animation: scrollText 15s linear infinite;
}

.banner-text {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
}

@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }
    50% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 アスペクト比 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 20px 0;
}

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

footer {
    background-color: #a9e8f9;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: black;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 10px;
}

footer p {
    margin-left: 20px;
}

.footer-menu {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin: 0 15px;
}

.footer-menu li a {
    text-decoration: none;
    color: black;
}

.footer-menu li a:hover {
    text-decoration: underline;
}