@charset "UTF-8";
*{
    font-family: "Noto Sans JP", sans-serif;
    font-size: 10px;
    box-sizing: border-box;
    font-feature-settings: "palt";
    letter-spacing: 0.08em;
    /* line-height: 1.6; */
}
button{
    background: none;
    border: none;
}
a:hover{
    color: #fff;
}
.video {
    pointer-events: none;
    user-select: none;
    display: block;       /* インライン表示防止 */
    width: 100%;
    height: auto;
}

/* --パーツ--------------------------------------------- */
.pc{
    display: none;
}
.tb{
    display: block;
}
.tb2{
    display: none;
}
@media screen and (min-width: 768px){
    .pc{
        display: block;
    }
    .sp{
        display: none;
    }
    .tb{
        display: none;
    }
    .tb2{
        display: block;
    }
}
@media screen and (min-width: 910px){
    .tb{
        display: block;
    }
    .tb2{
        display: none;
    }
}
.button1{
	width: 90%;
	padding: .5em 0;
	background-color: #FF2EB4;
	position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
	z-index: 999;
    cursor: pointer;
    text-align: center;
    border-radius: 500px;
    transition: transform 0.2s ease;
    background: linear-gradient(-45deg, #FF2EB4, #FF84B7, #FFD86B, #FF2EB4);
    background-size: 400% 400%;
    animation: gradientFlow 5s ease infinite;
    color: #FFFF00;
    font-size: 2rem;
    border: 2px solid #ffff00;
}
@media screen and (min-width: 768px){
    .button1:hover {
        transform: scale(1.05);
        color: #fff;
        background: #FF2EB4;
    }

}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.button1 i{
    font-size: 1em;
    padding-right: .5em;   
}

.follow-button {
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.follow-button.stopped {
  position: absolute;
  bottom: auto;
}

.answerwrap{
    text-align: center;
    margin: 3em 0 0 0;
}
.answer{
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.8;
}
.line {
  display: inline;
  background-image: linear-gradient(transparent 50%, #ffff00 50%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  font-weight: 600;

  background-position: left bottom;
  background-size: 0% 100%;
  transition: background-size 0.6s ease-out;
}

.line.active {
  background-size: 100% 100%;
}
@media screen and (min-width: 768px){
    .button1{
        width: 360px;
        bottom: 5%;
        left: auto;
        right: 2.5%;
        transform: translateX(0);
    }
    .answer{
        font-size: 2.8rem;
    }
}
.kome {
    font-size: 0.6em;
    vertical-align: super;
    line-height: 1;
}
.caption{
    width: 80%;
    margin: 2em auto 0;
    font-size: 1.2rem;
    line-height: 1.5;
    font-weight: 200;
    color: #565656;
}
@media screen and (min-width: 768px){
    .caption{
        max-width: 520px;
        font-size: 1.4rem;
    }
}

/* --ヘッダー--------------------------------------------- */

header{
    margin: 2em 0;
}
.logo_wrap{
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}
.logo{
	width: 125px;
}
@media screen and (min-width: 768px){
    header{
    margin: 3em 0;
    }
    .logo{
	width: 140px;
    }
}

/* --トップムービー--------------------------------------------- */

.movie{
	width: 100%;
	height: auto;
}
.movie .video_wrapper{
    width: 90%;
    max-width: 1400px;
    height: 50vh;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 50px 0 0 0;
}
.movie .video_wrapper .videocopy{
    position: absolute;
    color: #fff;
    font-size: 2.7rem;
    top: 7%;
    left: 7%;
    line-height: 1.6;
    letter-spacing: 0.1em;
}
.movie .video_wrapper .video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
}
@media screen and (min-width: 768px){
    .movie .video_wrapper{
        height: 70vh;
    }
    .movie .video_wrapper .videocopy{
        font-size: 4.2rem;
        top: 8%;
        left: 8%;
        letter-spacing: 0.12em;
    }
}
.movie .video_wrapper .play{
    position: absolute;
    width: 80px;
    height: 80px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: .8;
    transition: transform 0.3s ease;
    transform-origin: center center;
}
.movie .video_wrapper .play .playbutton{
    position: absolute;
    width: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.movie .video_wrapper .play .playtext{
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}
@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@media screen and (min-width: 768px){
    .movie .video_wrapper .play{
        width: 120px;
        bottom: 50px;
        transition: width 0.3s ease, opacity 0.3s ease;
    }
    .movie .video_wrapper .play:hover{
        opacity: 1; 
    }
    .movie .video_wrapper .play .playtext:hover{
        animation-play-state: paused;
    }

}

/* --Youtube--------------------------------------------- */

#videoModal iframe{
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px; /* 好きな最大幅を指定（任意） */
    aspect-ratio: 16 / 9;
    margin: 0 auto;
}
.closeButton {
    position: absolute;
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    top: 105%;
    left: 50%;
    transform: translate(-50%);
}

/* --ママリ--------------------------------------------- */

.mamari{
    width: 90%;
    max-width: 1400px;
    margin: 3em auto 0;
    padding: 3em 0;
    border-radius: 50px 0 0 0;
    background-color: #FFE5E5;
}
.mamari .mamarititle{
    font-size: 1.7rem;
    font-weight: 800;
    color: #C30D23;
    text-align: center;
    text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
     0px -2px 0 #fff,
    -2px  0px 0 #fff,
     2px  0px 0 #fff,
     0px  2px 0 #fff;
    line-height: 1.8;
}
.mamari .mamari_logo_wrap .mamarilogo{
    width: 200px;
    display: block;
    margin: 2em auto 0;
}
.mamari .mamari_logo_wrap p{
    margin: 1em 0 0;
    font-size: 1.4rem;
    color: #6F2C22;
    line-height: 1.5;
    text-align: center;
    font-weight: 500;
}
.mamari .answer{
    color: #E60012;
}
@media screen and (min-width: 768px){
    .mamari{
        margin: 5em auto 0;
        padding: 5em 0;
    }
    .mamari .mamarititle{
        text-shadow:
        -3px -3px 0 #fff,
         3px -3px 0 #fff,
        -3px  3px 0 #fff,
         3px  3px 0 #fff,
         0px -3px 0 #fff,
        -3px  0px 0 #fff,
         3px  0px 0 #fff,
         0px  3px 0 #fff;
    }
    .mamarigrid{
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-areas:
        "a b"
        "c b";
        gap: 3%;
        max-width: 750px;
        width: 80%;
        margin: 0 auto;
    }
    .item1 {
        grid-area: a;
    }
    .item2 {
        grid-area: b;
    }
    .item3 {
        grid-area: c;
    }
    .mamari .mamarititle{
        text-align: left;
        font-size: 2.4rem;
    }
    .mamari .answer{
        font-size: 2.4rem;
    }
    .mamari .answerwrap{
        text-align: left;
        margin: 0;
    }
    .mamari .mamari_logo_wrap .mamarilogo{
        margin: 0 auto;
    }
}

/* --ポイント--------------------------------------------- */

.point{
    width: 100%;
    max-width: 1400px;
    margin: 5em auto 0;
    padding: 3em 0;
    border-radius: 50px 0 0 0;
    background-color: #FFFDD8;
}
.point .illust1{
    display: block;
    margin: -5em auto 0;
    width: 85px;
}
.fadeup {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fadeup.active {
  opacity: 1;
  transform: translateY(0);
}

.point .pointtop_titlebox{
    text-align: center;
}
.point .pointtop_titlebox img{
    width: 75px;
    display: block;
    margin: 1.5em auto .5em;
}
.point .pointtop_title{
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.3;
}

@media screen and (min-width: 768px){
    .point{
        width: 90%;
    }
    .pointtop{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
    .point .illust1{
        margin: 0;
        width: 120px;
    }
    .point .pointtop_title{
        font-size: 3rem;
    }
    .flexcontents3{
        width: 120px;
    }
}

/* --ポイント１--------------------------------------------- */
.pointbox{
    width: 90%;
    margin: 2em auto 0;
    padding-top: 2em;
    background-color: #fff;
    border-radius: 50px 0 0 0;
}
.point_ue{
    margin: 0 2em;
}
.pointtitle_box{
    display: flex;
    align-items: flex-end;
    margin-bottom: 2em;
}
.pointtitle{
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1;
    margin-left: .1em;
}
.point1 .pointtitle,
.point1 .answer{
    color: #FF2EB4;
}
.pointnumber img{
    width: 75px;
}
.point_ue .pointtext,
.point_ue .pointtext span{
    font-size: 1.6rem;
    line-height: 1.8;
}
.point_ue .pointtext{
    font-weight: 400;
}

.point_sita{
    margin-top: 3em;
    padding-bottom: 3em;
    background-color: #FFEEF9;
}
.pointarrow{
    display: block;
    margin: 0 auto;
}
@media screen and (min-width: 768px){
    .pointbox{
        padding: 4em 0 0 0;
    }
    .pointtitle{
        font-size: 2.1rem;
        line-height: 1.3;
    }
    .pointnumber img{
        width: 85px;
    }
    .point_ue{
        display: flex;
        align-items: center;
        width: 95%;
        max-width: 750px;
        margin: 0 auto;
        gap: 1%;
    }
    .pointtitle_box{
        align-items: center;
        gap: 10px;
        width: 45%;
        margin: 0;
    }
    .point_ue .pointtext,
    .point_ue .pointtext span{
        min-width: 380px;
        font-size: 2.1rem;
    }
    .point_sita{
        margin-top: 5em;
        padding-bottom: 5em;
    }

}
@media screen and (min-width: 910px){
    .pointtitle{
        font-size: 2.8rem;
    }
    .point_ue .pointtext,
    .point_ue .pointtext span{
        font-size: 2.2rem;
    }
}

@keyframes popAndShake {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) rotate(3deg);
  }
  70% {
    transform: scale(1) rotate(-2deg);
  }
  85% {
    transform: scale(1) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.popshake {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popshake.active {
    opacity: 1;
    animation: popAndShake 0.8s ease forwards;
}

/* --アコーディオン-------------------- */

.accordion {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 2em auto 0;
}
.accordion-toggle {
    order: 0;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 1em auto;
    line-height: 1;
}
.accordion-toggle .label{
    font-size: 1.4rem;
    font-weight: 500;
}
.accordion-toggle .icon{
    font-size: 1.4rem;
    font-weight: 700;
    /* display: block; */
    background-color: #fff;
    border-radius: 50px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.accordion-content {
    order: 1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    border-bottom: 1px solid #565656;
}
.accordion-content .caption{
    width: 90%;
}
.accordion-content.open {
    max-height: 800px;
    margin: 1em 0;
    padding: 0 0 2em 0;
}
.accordion.open .accordion-toggle {
    order: 2;
}
@media screen and (min-width: 768px){
    .accordion {
        max-width: 800px;
        margin: 3em auto 0;
    }
    .accordion-content.open {
        padding: 0 0 3em 0;
    }
}


/* --ポイント2--------------------------------------------- */

.point2 .pointtitle,
.point2 .answer{
    color: #2EA1FF;
}
.point2 .point_sita{
    background-color: #EEF3FF;
}

/* --ポイント3--------------------------------------------- */
.point3 .pointtitle,
.point3 .answer{
    color: #FF7700;
}
.point3 .point_sita{
    background-color: #FFECDC;
}
@media screen and (min-width: 768px){
    .point3 .caption{
        text-align: center;
    }
}

/* --クリップ--------------------------------------------- */

.clip{
    max-width: 515px;
    margin: 0 auto;
}
@media screen and (min-width: 768px){
    .clip{
        margin: 5em auto 1em;
    }
}

/* --アンパンマン--------------------------------------------- */
.anpan{
    margin: 0 0 10em;
    width: 100%;
}
.anpan_banner{
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* --フッター--------------------------------------------- */

footer{
    width: 100%;
    background-color: #017B62;
    color: #fff;
    text-align: center;
    padding: 5em 0 0 0;
    margin-top: 5em;
}
.sitebutton{
    display: inline-block;
    color: #fff;
    text-align: center;
    font-size: 1.4rem;
    border-bottom: 1px solid #fff;
    margin-bottom: 2em;
    font-weight: 200;
}
.copylight{
    font-size: 1em;
    font-weight: 100;
}
.number{
    background-color: #373737;
    width: 100%;
    text-align: center;
    padding: 1em 0;
    margin-top: 1em;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
}
