@charset "utf-8";

/*=====================
main
===================  */
/* article header */
.mainVisuals {
    display: grid;
    width: 100%;
    max-width: 500px;
    grid-template-columns: 1fr 1fr 1fr;
    height: auto;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas: "areaA areaA areaB" "areaC areaD areaE" "areaF areaG areaH";
    margin: auto;
    gap: 5% 0;
    margin-top: 20px;
    padding-left: 8%;
}

.mainVisual__nav-item1 {
    grid-area: areaA;
    position: relative;
}

.mainVisual__nav-item1 img {
    width: 90%;
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
}

.mainVisual__nav-item1 .nav__txt {
    color: #FFFEFE;
    font-size: 1.2rem;
    font-weight: 900;
    position: absolute;
    top: 70%;
    left: 3%;
}

.mainVisual__nav-item2 {
    grid-area: areaB;
    position: relative;
}

.mainVisual__nav-item2 img {
    width: 80%;
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
} 

.mainVisual__nav-item2 .nav__txt {
    color: #FFFEFE;
    font-size: 1.2rem;
    font-weight: 900;
    position: absolute;
    top: 6%;
    left: 16%;
    text-shadow:
        -1px 1px #000000,/*文字の左下に影を追加*/
        -1px -1px #000000;/*文字の左上に影を追加*/
}

.mainVisual__nav-item3 {
    grid-area: areaC;
    position: relative;
}

.mainVisual__nav-item3 img {
    width: 80%;
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
} 

.mainVisual__nav-item3 .nav__txt {
    color: #FFFEFE;
    font-size: 1.2rem;
    font-weight: 900;
    position: absolute;
    top: 5%;
    left: 8%;
}

.mainVisual__nav-item4 {
    grid-area: areaD;
    position: relative;
}

.mainVisual__nav-item4 img {
    width: 80%;
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
} 

.mainVisual__nav-item4 .nav__txt {
    color: #FFFEFE;
    font-size: 1.2rem;
    font-weight: 900;
    position: absolute;
    top: 70%;
    left: 8%;
}

.mainVisual__nav-item5 {
    grid-area: areaE;
    position: relative;
}

.mainVisual__nav-item5 img {
    width: 80%;
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
} 

.mainVisual__nav-item5 .nav__txt {
    color: #FFFEFE;
    font-size: 1.2rem;
    font-weight: 900;
    position: absolute;
    top: 70%;
    left: 8%;
}

.mainVisual__nav-item6 {
    grid-area: areaF;
    position: relative;
}

.mainVisual__nav-item6 img {
    display: none;
} 

.mainVisual__nav-item6 .nav__txt {
    color: #FFFEFE;
    font-size: 1.2rem;
    font-weight: 900;
    position: absolute;
    top: 70%;
    left: 8%;
}

.mainVisual__nav-item7 {
    grid-area: areaG;
    position: relative;
}

.mainVisual__nav-item7 img {
    width: 80%;
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
} 

.mainVisual__nav-item7 .nav__txt {
    color: #FFFEFE;
    font-size: 1.1rem;
    font-weight: 900;
    position: absolute;
    top: 72%;
    left: 3%;
}

.mainVisual__nav-item8 {
    grid-area: areaH;
    position: relative;
}

.mainVisual__nav-item8 img {
    width: 80%;
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
} 

.mainVisual__nav-item8 .nav__txt {
    color: #FFFEFE;
    font-size: 1.2rem;
    font-weight: 900;
    position: absolute;
    top: 37%;
    left: 25%;
}

.top__item {
    padding: 20px 8% 120px;
    position: relative;
    margin: 0 auto;
}

.top__item .img_01 {
    width: 12%;
    position: absolute;
    top: 5%;
    left: 80%;
}

.top__item .img_02 {
    width: 20%;
    position: absolute;
    top: 78%;
    left: 62%;
}

.top__item .img_03 {
    width: 15%;
    position: absolute;
    top: 78%;
    left: 73%;
}

.top__item .img_04 {
    width: 15%;
    position: absolute;
    top: 28%;
    left: 70%;
    margin: 1em;
}

.top__item .img_05 {
    width: 35%;
    position: absolute;
    top: 63%;
    left: 5%;
}

.main__title_pc img {
    display: none;
}

.main__title_sp img {
    width: 50%;
    margin: 50px auto 0 9%;
}

.main__logo_pc img {
    display: none;
}

.main__logo_sp img {
    width: 90%;
    margin: 0 auto 0 6%;
}

.main__txt {
    color: var(--primary-black, #3e3e3e);
    font-weight: 700;
    margin: 3px auto 0 9%;
}

@media screen and (min-width:500px) {
    .top__item .img_02 {
        top: 83%;
    }
    
    .top__item .img_03 {
        top: 83%;
    }

    .top__item .img_05 {
        top: 65%;
    }

    .main__txt {
        font-weight: 700;
    }
}
/* pc 500px */

@media screen and (min-width:600px) {
    .top__item .img_05 {
        top: 68%;
    }
}
/* pc 600px */

/* main pc */
@media screen and (min-width:700px) {
    .main__title_pc img {
        display: block;
        width: 46%;
        margin-top: 80px;
        margin-left: 15%;
    }

    .main__title_sp img {
        display: none;
    }

    .main__logo_pc img {
        display: flex;
        width: 70%;
        margin-top: 10px;
        margin-left: 15%;
    }

    .main__logo_sp img {
        display: none;
    }

    .main__txt {
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1.8;
        width: 100%;
        margin: 0;
        padding-top: 15px;
        margin-left: 15%;
    }

    .top__item .img_05 {
        width: 30%;
        top: 70%;
        left: 14%;
    }
}
/* pc 700px */

@media screen and (min-width:800px) {
    .main__title_pc img {
        width: 46%;
        margin-left: 22%;
    }

    .main__logo_pc img {
        width: 60%;
        margin-left: 22%;
    }

    .main__txt {
        margin-left: 22%;
    }
}
/* pc 800px */

@media screen and (min-width:900px) {
    .main__main {
        display: flex;
        flex-direction: row-reverse; 
        justify-content: space-between;
        align-items: flex-start;
        gap: 3%;
        max-width: 1300px;
        margin: 0 auto;
        padding: 40px 0;
      }
     
    .mainVisuals {
        width: 55%;
        position: static;
        margin: 0;
        padding-top: 80px;
    }

    .main__item {
        width: 50%;
        margin: 0;
    }

    .mainVisual__nav-item1 .nav__txt, 
    .mainVisual__nav-item2 .nav__txt, 
    .mainVisual__nav-item3 .nav__txt, 
    .mainVisual__nav-item4 .nav__txt, 
    .mainVisual__nav-item5 .nav__txt, 
    .mainVisual__nav-item6 .nav__txt, 
    .mainVisual__nav-item7 .nav__txt, 
    .mainVisual__nav-item8 .nav__txt {
        font-size: 1.3rem;
    }

    .main__title_pc img {
        display: block;
        width: 70%;
        margin-top: 80px;
        margin-left: 0;
    }

    .main__title_sp img {
        display: none;
    }

    .main__logo_pc img {
        display: flex;
        width: 90%;
        margin-top: 10px;
        margin-left: 0;
    }

    .main__logo_sp img {
        display: none;
    }

    .main__txt {
        font-size: 1.2rem;
        line-height: 1.8;
        width: 100%;
        margin: 0;
        padding-top: 10px;
    }

    .top__item .img_01 {
        width: 5%;
        margin-top: 3.4%;
        margin-left: 10%;
    }

    .top__item .img_02 {
        width: 10%;
        top: 70%;
        left: 73%;
    }

    .top__item .img_03 {
        width: 8%;
        top: 68%;
        left: 78%;
    }

    .top__item .img_04 {
        width: 5%;
        top: 80%;
        left: 63%;
    }

    .top__item .img_05 {
        width: 18%;
        top: 51%;
        left: 8%;
    }
}
/* pc 900px */

@media screen and (min-width:1100px) {
    .main__txt {
        font-size: 1.4rem;
        line-height: 1.6;
    }
}
/* pc 1100px */

@media screen and (min-width:1300px) {
    .mainVisuals {
        margin-left: 8%;
    }
    .main__txt {
        font-size: 1.5rem;
        line-height: 1.7;
    }
    .top__item .img_05 {
        width: 15%;
        top: 55%;
        left: 16%;
    }

    .mainVisual__nav-item6 .nav__txt {
        top: 90%;
        left: 8%;
    }
}
/* pc 1300px */

@media screen and (min-width:1400px) {
    .mainVisuals {
        margin-left: 10%;
    }
    .main__item {
        padding-right: 10%;
    } 

    .main__txt {
        font-size: 1.6rem;
        line-height: 1.8;
    }

    .top__item .img_05 {
        width: 13%;
        top: 55%;
        left: 19%;
    } 
}
/* pc 1400px */

@media screen and (min-width:1500px) {
    .top__item .img_05 {
        top: 52%;
        left: 19%;
    } 
}
/* pc 1500px */

@media screen and (min-width:1700px) {
    .top__item .img_05 {
        left: 20%;
    } 
}
/* pc 1700px */

/* .scroll */
.scroll_wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.scroll {
    display: inline-block;
    padding-top: 100px;
    position: relative;
    width: 360px;
    text-align: center;
    margin: auto;
    margin-bottom: 20px;
}

.scroll::before {
    animation: scroll 3.5s infinite;
    border: solid #000;
    border-width: 0 0 1px 1px;
    content: "";
    display: inline-block;
    margin: auto;
    position: absolute;
    top: 40px;
    right: 0;
    left: 0;
    transform: rotate(-45deg);
    width: 15px;
    height: 15px;
}

@keyframes scroll {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }

    80% {
        transform: rotate(-45deg) translate(-30px, 30px);
    }

    0%,
    80%,
    100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

/* .scroll pc */
@media screen and (min-width:900px) {
    .scroll {
        margin: 0;
        left: 0;
    }
}
/* pc 769px */

/* loop_wrap */
.loop_wrap-pc {
    display: none;
}
.loop_wrap-sp {
    display: flex;
    width: 100vw;
    height: 20px;
    overflow: hidden;
    margin-top: 5px;
}

.loop_wrap-sp img {
    width: auto;
    height: 100%;
}

@keyframes loop {
    0% {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes loop2 {
    0% {
        transform: translateX(0);
    }

    to {
        transform: translateX(-200%);
    }
}

.loop_wrap-sp img:first-child {
    animation: loop 50s -25s linear infinite;
}

.loop_wrap-sp img:last-child {
    animation: loop2 50s linear infinite;
}

/* loop_wrap-pc */
@media screen and (min-width:769px) {
    .loop_wrap-sp {
        display: none;
    }
    .loop_wrap-pc {
        display: flex;
        width: 100vw;
        height: 20px;
        overflow: hidden;
        margin-top: 5px;
    }
    
    .loop_wrap-pc img {
        width: auto;
        height: 100%;
    }
    
    @keyframes loop {
        0% {
            transform: translateX(100%);
        }
    
        to {
            transform: translateX(-100%);
        }
    }
    
    @keyframes loop2 {
        0% {
            transform: translateX(0);
        }
    
        to {
            transform: translateX(-200%);
        }
    }
    
    .loop_wrap-pc img:first-child {
        animation: loop 50s -25s linear infinite;
    }
    
    .loop_wrap-pc img:last-child {
        animation: loop2 50s linear infinite;
    }
}
/* pc 769px */

/* loop_topic */
.loop {
    height: 200px;
    background-color: var(--primary-orange, #EDD4BD);
    background-size: cover;
    overflow: hidden;
}

.loop_topic {
    overflow: hidden;
}

.loop_topic ul {
    animation: loop_topic 20s linear infinite;
    display: flex;
    margin: 0;
    padding: 0;
    width: max-content;
}

.loop_topic ul li {
    list-style: none;
    padding: 0 0.25%;
}

.loop_topic img {
    margin-top: 15px;
    display: block;
    width: 100%;
}

.loop_topic,
img:hover {
    transform: scale(1.1);
}

@keyframes loop_topic {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}

/* youtube */
#movie {
    background-image: url(../images/mizutama.jpg);
    background-repeat: no-repeat;
    background-position: center;
}

.movie_topic {
    padding: 80px 9% 40px;
}

img.movie_title {
    display: block;
    text-align: center;
    width: 45%;
    margin: 50px auto 0;
}

.movie__txt {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 16px;
    text-align: center;
    line-height: 1.8;
    
}

.movie {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    margin: 30px auto;
}

.movie_item {
    display: flex;
}

.movie_pc {
    width: 60%;
    margin-left: auto;
    margin-bottom: 40px;
}

@media screen and (min-width:1200px) {
    #movie {
        background-position: center;
    }

    .section_topic {
        display: grid;
        width: 100%;
        max-width: 1700px;
        margin: 0 auto;
        grid-template-columns: 1fr 1fr 1fr;
        height: auto;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-areas: "areaA areaA areaB" "areaA areaA areaB" "areaC areaC areaB";
    }

    .movie_topic {
        grid-area: areaA;
        padding: 60px 5% 10px 13%;
    }

    .comic {
        grid-area: areaB;
        width: 75%;
    }

    .profile {
        grid-area: areaC;
    }

    img.movie_title {
        display: block;
        text-align: center;
        width: 45%;
        margin: 0 auto;
        padding-top: 50px;
    }

    .movie__txt {
        font-size: 1.3rem;
        line-height: 1.8;
        margin-top: 16px;
        text-align: center;
    }

    .movie {
        margin: 50px 6% 50px 0;
    }

    .movie_pc {
        width: 60%;
        margin-left: auto;
        margin-bottom: 0;
    }
}
/* pc 1200px */

/* .scroll_2 */
.scroll_wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.scroll_2 {
    display: inline-block;
    padding-top: 70px;
    position: relative;
    width: 360px;
    text-align: center;
    margin-bottom: 120px;
    margin: auto;
}

.scroll_2::before {
    animation: scroll 3.5s infinite;
    border: solid #000;
    border-width: 0 0 1px 1px;
    content: "";
    display: inline-block;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    left: 0%;
    transform: rotate(-45deg);
    width: 15px;
    height: 15px;
}

@keyframes scroll_2 {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }

    80% {
        transform: rotate(-45deg) translate(-30px, 30px);
    }

    0%,
    80%,
    100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

/*=====================
comic
===================  */
.comic {
    display: block;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    background-color: var(--primary-yellow, #eee8b5);
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    position: relative;
    margin: 80px 8%;
    padding: 120px 0 5px;
}

.comic {
    margin: 0 auto;
}

.comic_clip {
    position: absolute;
    top: -60px;
    left: 42%;
}

.comic_title {
    display: block;
    text-align: center;
    width: 45%;
    margin: 0 auto;
}

.comic_obasan {
    width: 70%;
    margin: 0 auto;
    margin-left: 20%;
}

.comic__txt {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
    padding: 20px 0 30px;
}

.comic__txt .pcBr {
    display: none;
}

.comic_01, .comic_02, .comic_03, .comic_04 {
    width: 80%;
    margin: 5% auto 0 9%;
}

.comic_05 {
    width: 85%;
    margin: 5% auto 0 9%;
}

.comic__txt1 {
    font-size: 1rem;
    text-align: center;
    padding-top: 10px;
}

.comic__txt2 {
    font-size: 1rem;
    text-align: center;
    padding: 10px 0 100px;
}

@media screen and (min-width:1200px) {
    .comic {
        width: 85%;
        margin: 80px 13% 80px 0;
    }

    .comic__txt {
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1.8;
    }
}
/* pc 1200px */

/* .scroll_3 */
.scroll_wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.scroll_3 {
    display: inline-block;
    padding-top: 70px;
    position: relative;
    width: 360px;
    text-align: center;
    margin-bottom: 120px;
    margin: auto;
}

.scroll_3::before {
    animation: scroll 3.5s infinite;
    border: solid #000;
    border-width: 0 0 1px 1px;
    content: "";
    display: inline-block;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    transform: rotate(-45deg);
    width: 15px;
    height: 15px;
}

@keyframes scroll_3 {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }

    80% {
        transform: rotate(-45deg) translate(-30px, 30px);
    }

    0%,
    80%,
    100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

/*=====================
profile
===================  */

.profile {
    display: block;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
    background: rgba(223, 232, 251, 0.5);
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
    margin: 120px 8%;
    padding: 120px 0 5px;
    position: relative;
}

.profile {
    margin: 80px auto 120px;
}

.profile_clip {
    position: absolute;
    top: -60px;
    left: 42%;
}

.profile_title img {
    margin: 0 auto;
    padding-left: 25%;
}

.profile_caption {
    color: var(--primary-blue, #3399cc);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.8;
    margin-top: 15px;
}

/* floating */
.floating-pc {
    display: none;
}

.floating {
    display: inline-block;
    /* 影をつけるためにinline-block要素にする */
    position: absolute;
    /* 絶対的な位置 */
    right: 10%;
}

.floating::before {
    content: '';
    /* 疑似要素に必須 */
    background: rgba(0, 0, 0, .3);
    /* 半透明の黒を指定 */
    border-radius: 50%;
    /* 円形にする */
    display: inline-block;
    /* インラインブロック要素にする */
    position: absolute;
    /* 相対位置にする */
    bottom: -35%;
    /* 下に35%の位置に設置 */
    left: 50%;
    /* 左から50%の位置に設置 */
    transform: translateX(-50%);
    /* 左右中央にするために要素の半分ぶんだけ左に戻す */
    animation: move-y-shadow .5s infinite alternate ease-in-out;
    /* アニメーション「move-y-shadow」 */
}

.floating img {
    animation: move-y .5s infinite alternate ease-in-out;
    /* アニメーション「move-y」 */
}

/* 上下を繰り返すアニメーション */
@keyframes move-y {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(10px);
    }
}

/* 影の大きさをかえるアニメーション */
@keyframes move-y-shadow {
    from {
        width: 57%;
        height: 25%;
    }

    to {
        width: 50%;
        height: 20%;
    }
}

.profile_content {
    justify-items: center;
}

.profile_item1 {
    
    margin-top: 20px;
    position: relative;
    left: 4%;
}

.profile_list1 {
    position: absolute;
    top: 20%;
    left: 10%;
}

.profile_k,
.profile_y {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    border-bottom: 1px solid #3399cc;
}

.profile_k span,
.profile_y span {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8;
}

.profile_txt {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 6%;
}

.profile_list {
    font-size: 1rem;
    font-style: normal;
    line-height: 1.5;
    padding-top: 5%;
}

.profile_photo-k {
    position: absolute;
    left: 55%;
    top: 201px;
}

.profile_item2 {
    height: auto;
    padding-bottom: 70px;
    position: relative;
    left: 4%;
}

.profile_list2 {
    position: absolute;
    top: 18%;
    left: 10%;
}

.profile_photo-y {
    position: absolute;
    left: 60%;
    top: 210px;
}

@media screen and (min-width:1200px) {
    .scroll_3 {
        display: none;
    }

    .profile {
        padding: 60px 8% 0;
        margin: -90px 5% 80px 13%;
        max-width: 95%;
    }

    .profile_content {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        padding: 0;
        margin-top: 50px;
    }

    .profile_clip {
        left: 45%;
    }

    .profile_item1 {
        width: 100%;
        margin-left: -7%;
        padding-bottom: 70px;
    }

    .profile_item2 {
        width: 100%;
    }

    .profile_photo-k {
        top: 165px;
    }

    .profile_photo-y {
        top: 168px;
    }
}
/* pc 1200px */

@media screen and (min-width:1200px) {
.floating {
        display: none;
    }
    .floating-pc {
        display: inline-block;
        /* 影をつけるためにinline-block要素にする */
        position: absolute;
        /* 絶対的な位置 */
        top: 160px;
        right: 10%;
    }
    .floating-pc::before {
        content: '';
        /* 疑似要素に必須 */
        background: rgba(0, 0, 0, .3);
        /* 半透明の黒を指定 */
        border-radius: 50%;
        /* 円形にする */
        display: inline-block;
        /* インラインブロック要素にする */
        position: absolute;
        /* 相対位置にする */
        bottom: -35%;
        /* 下に35%の位置に設置 */
        left: 50%;
        /* 左から50%の位置に設置 */
        transform: translateX(-50%);
        /* 左右中央にするために要素の半分ぶんだけ左に戻す */
        animation: move-y-shadow .5s infinite alternate ease-in-out;
        /* アニメーション「move-y-shadow」 */
    }
    .floating-pc img {
        animation: move-y .5s infinite alternate ease-in-out;
        /* アニメーション「move-y」 */
    }
}
    /* 上下を繰り返すアニメーション */
@keyframes move-y {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(10px);
    }
}
/* 影の大きさをかえるアニメーション */
@keyframes move-y-shadow {
    from {
        width: 57%;
        height: 25%;
    }

    to {
        width: 50%;
        height: 20%;
    }
}
/* pc 1200px */

@media screen and (min-width:1500px) {
    .profile_item1 {
        width: 100%;
        margin-left: 1%;
    }

    .profile_item2 {
        width: 100%;
        margin-left: 8%;
    }
}
/* pc 1500px */


