@charset "UTF-8";
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Noto Sans JP", sans-serif;
    overflow-x: hidden;
}
.inner {
    max-width: 750px;
    margin: 0 auto;
}
.backimage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url(""); /* 今度背景に使ってた画像貰う*/
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.main-content {
    position: relative;
    text-align: center;
    max-width: 100%;
    margin-bottom: 30px;
}
.obi {
    background-color: #e1ff98;
    width: 100vw;
    height: 105px;
    margin: 0 calc(50% - 50vw);
    position: absolute;
    z-index: 1;
}
.main-image {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    z-index: 10;
}

/* ▼動画の位置調整（画像サイズに対しての比率 */
/*.video-wrapper {
    position: absolute;
    bottom: calc((20 / 240) * 100%);
    left: calc((65 / 505) * 100%);
    width: calc((380 / 505) * 100%);
    height: calc((39 / 247) * 100%);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    max-width: 100%;
}
.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
*/
/* youtubeの時　
.video-wrapper {
    position: absolute;
    bottom: calc((20 / 240) * 100%);
    left: calc((75 / 505) * 100%);
    width: calc((380 / 505) * 100%);
     height: calc((39 / 247) * 100%);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    max-width: 100%;
    z-index: 101;
}
*/
.responsive-iframe {
    width: 100%;
    height: 100%;
    position: relative;
}
.responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.image-button-link-1 {
    position: absolute;
    bottom: calc((87 / 209) * 100%);
    left: calc((22 / 498) * 100%);
    width: calc((465 / 511) * 100%);
    height: calc((7 / 202) * 100%);
    display: block;
    z-index: 10;

    /* デバッグ用↓ 
    background: rgba(255, 0, 0, 0.3);
    */
}

.image-button-link-2 {
    position: absolute;
    bottom: calc((11 / 208) * 100%);
    left: calc((23 / 505) * 100%);
    width: calc((465 / 511) * 100%);
    height: calc((7 / 202) * 100%);
    display: block;
    z-index: 10;

    /* デバッグ用↓ 
    background: rgba(255, 0, 0, 0.3);
    */
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #e1ff98;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #ddd;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0 15px;
    z-index: 1000;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #504734;
    font-size: 12px;
    flex: 1 1 0;
    transition: transform 0.3s ease, color 0.3s ease;
    border-right: 1px solid #ccc;
    min-width: 0;
    overflow: hidden;
}

.bottom-nav a:last-child {
    border-right: none;
}

.bottom-nav a:hover {
    color: #ffc44e;
    transform: translateY(-5px);
}

.bottom-nav a:focus {
    outline: none;
}

.bottom-nav p {
    font-size: 0.75rem;
    margin: 0;
}

.bottom-nav .material-symbols-outlined {
    font-size: 24px;
    margin-bottom: 4px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.bottom-nav a.active {
    color: #ffc44e;
}

.bottom-nav a.active .material-symbols-outlined {
    transform: scale(1.2);
}

/* オプション：特定のリンクにアイコン色変更やアニメーションなど */
.bottom-nav .image-button-link:hover {
    color: #ff4081;
}

@media screen and (max-width: 767px) {
    .main-content {
        margin-bottom: 50px;
    }
}