/* root */

:root {
    font-family: "ヒラギノ丸ゴ ProN", "sans-serif";
}

hr {
    background-color: black;
}

:root {
    background-color: #FFFFE8;
    columns: white;
}

img{
    border-radius: 30px;
}

.border-radius {
    border-radius: 30px;
}

a {
    color: black;
}

a.white {
    color: white;
}

.miharu {
    max-width: 100vh;

}

/* Font */

.font-cursive {
    font-family: cursive;
}

.font-serif {
    font-family: serif;
}

@media screen and (min-width: 500px) {

    /* パソコン */
    section:hover {
        transform: scale(1.02, 1.02);
    }

    img:not(#notstyle):hover {
        transform: scale(1.02, 1.02);
    }

    .video-container:hover {
        width: 100%;
        height: 100%;
        transform: scale(1.02, 1.02);
    }

    .video-container {
        transition: 0.35s;
    }

    .btn-line:hover {
        transform: scale(1.02, 1.02);
        background-color: green;
    }

    img {
        max-width: 390px;
        max-height: 390px;
        transition: 0.35s;
    }

    .mv-wrap {
        height: 100vh;
    }

    .pcnone {
        display: none;
    }

    .padding {
        padding: 2rem;
    }

    .message {
        padding: 2rem;
    }


}

@media screen and (max-width: 500px) {
    /* スマホ */

    img {
        max-width: 100%;
        max-height: 100%;
    }

    .btn-line:hover {
        background-color: green;
    }

    .mv-wrap {
        height: 100vh;
    }

    .mobilenone {
        display: none;
    }

    .padding {
        padding: 0.3rem;
    }

    .message {
        padding: 1rem;
    }

}

/* 文字の場所 */
.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.title {
    text-align: center;
    margin-bottom: 2rem;
}

/* セクション */


.section-title {
    text-align: center;
    font-family: cursive;
}

.section-border {
    width: 75%;
    height: 3px;
    margin-bottom: 1.5rem;
}

.caption-section {
    padding: 1rem;
    text-align: left;
    background-color: #609960;
    color: white;
    border-radius: 30px;
    transition: 0.35s;
}


.spring-pink-section {
    background-color: #FFC2C1;
    color: black;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    transition: 0.35s;
}

.spring-lightorange-section {
    background-color: #ffe4c4;
    color: black;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    transition: 0.35s;
}

.spring-lightgreen-section {
    background-color: #CDE990;
    color: black;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    transition: 0.35s;
}

/* シェア */

.btn-line {
    display: inline-block;
    padding: .6em 1em .6em 1em;
    background-color: #1dcd00;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.35s;
}

/* background movie */

.mv {
    margin-top: 0px;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
}

.mv-wrap {
    position: relative;
    height: 100vh;
}

video .back {
    display: block;
    width: 100vh;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0px;
    left: 0;
}

.mv-text {
    color: black;
    width: 100%;
    height: 0px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 30vh;
    z-index: 3;
    text-align: center;
}


.scrolldown {
    position: absolute;
    left: 50%;
    bottom: 50px;
    height: 100px;
}

.scrolldown span {
    position: absolute;
    left: -15px;
    top: -15px;
    color: black;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.scrolldown::after {
    content: "";
    position: absolute;
    top: 0;
    width: 1px;
    height: 30px;
    background: black;
    animation: pathmove 1.4s ease-in-out infinite;
    opacity: 0;
}

@keyframes pathmove {
    0% {
        height: 0;
        top: 0;
        opacity: 0;
    }

    30% {
        height: 30px;
        opacity: 1;
    }

    100% {
        height: 0;
        top: 50px;
        opacity: 0;
    }
}

/* Message video */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 のアスペクト比を維持するための値 */
    height: 0;
    overflow: hidden;
    border-radius: 30px;
}

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