@charset "utf-8";

/*==========================
common
==========================*/

html {
    font-size: 62.5%;
}

body {
    font-family:
        'Noto Sans JP',
        Arial,
        sans-serif;
    font-style: normal;
    color: #2F2F2F; 
    background-color: #fff;
    line-height: 1.5;
    text-align: justify;
	/* 両端揃え */
}

.chango-regular {
  font-family: "Chango", sans-serif;
  font-weight: 400;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.topic__ttl {
    position: relative;
    padding: 0.8rem;
    border: 1.6px solid #2F2F2F;
    border-radius: 8px;
    background-color: #fff;
    color: #2F2F2F;
    font-weight: 700;
    font-size: 4.2vw;
    color: #E33828;
    line-height: 1.4;
    text-align: center;
    display: inline-block
}

.topic__ttl:before {  
    position: absolute;
    top: 100%;
    left: 45%;
    transform: skew(-25deg);
    height: 15px;
    width: 15px;
    border-right: 1.6px solid #2F2F2F;
    background-color: #fff;
    content: "";
}

.topic__box {
    margin: 0 auto;
    padding: 0.2rem;
    border-radius: 10px 10px 0 0;
    background-color: #11ABEB;
    max-width: 92%;
    color: #fff;
    font-family: "Chango", sans-serif;
    font-size: 1.6rem;
    text-align: center;
    letter-spacing: 0.1em;
}

@media (600px <= width) {
    .topic__box {
        padding: 0.4rem;
        border-radius: 16px 16px 0 0;
        background-color: #11ABEB;
        max-width: 88%;
        color: #fff;
        font-family: "Chango", sans-serif;
        font-size: 2.2vw;
        text-align: center;
    }
}
  
img {
    max-width: 100%;
    height: auto;
}


/* topic__ttl pc */
@media (1200px <= width) {
    .topic__ttl {
        font-size: 2vw;
        line-height: 1.2;
        padding: 1.2rem;
        border-radius: 1.1rem;
        border: 2px solid #2F2F2F;
    }

    .topic__ttl:before {
        position: absolute;
        top: 99%;
        left: 45%;
        transform: skew(-25deg);
        height: 24px;
        width: 10%;
        border-right: 2px solid #2F2F2F;
        background-color: #fff;
        content: "";
    }
}  

/* topic__ttl tab */
@media (600px <= width < 1200px) {
    .topic__ttl {
        font-size: 2vw;
        line-height: 1.2;
        padding: 0.8rem;
        border-radius: 1.1rem;
        border: 1.6px solid #2F2F2F;
    }

    .topic__ttl:before {
        position: absolute;
        top: 99%;
        left: 45%;
        transform: skew(-25deg);
        height: 16px;
        width: 10%;
        border-right: 1.6px solid #2F2F2F;
        background-color: #fff;
        content: "";
    }
} 

/*==========================
loading
==========================*/
#loading {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100vh;
    /* 背景画像を追加 */
    background-image: url('../images/load_bg.svg'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
}

dotlottie-player {
    width: 400px;
    height: 400px;
}

@media (max-width: 600px) {
    dotlottie-player {
        width: 200px;
        height: 200px;
    }
}

.fadeOut { 
    animation: fadeOut 3.2s; /*keyframesで命名したものを使う。2秒間で消える*/
    animation-fill-mode: both; /*0%の時と100%の時の状態を保つ*/
}

@keyframes fadeOut {
        0% {
            display: grid;
            opacity: 1;
        }
        90% {
            display: grid;
            opacity: 1;
        }
        99% {
            display: grid;
            opacity: 0;
        }
        100% {
            display: none;
            opacity: 0;
        }
    }



/* fade in container */
.container {
    display: none;
}

.container.open {
    display: block;
}


/*==========================
nav
==========================*/

.header {
  background-color: #fff;
  width: 100%;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header__inner {
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
}

/* ヘッダーのロゴ部分 */
.header__title {
  width: 50%;
}

    @media (600px <= width) {
    .header__title {
        width: 25%;
    }
    }

.header__title img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ヘッダーのナビ部分 */
.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 50vh;
  transform: translateX(100%);
  background-color: #fff;
  transition: ease .4s;
}

@media (600px <= width) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: space-around;
    width: 80%;
  }
}

@media (600px <= width) {
  .nav__items {
    width: 90%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }
}

.nav-items {
  padding-top: 100px;
  padding-left: 16%;
}

@media (600px <= width) {
  .nav-items {
    padding-top: inherit;
    padding-bottom: inherit;
  }
}

/* ナビのリンク */
.nav-items__item a {
    color: #2F2F2F;
    width: 100%;
    display: block;
    text-align: left;
    font-size: 3.4vw;
    font-weight: 500;
    margin-bottom: 24px;
}

.nav-items__item:last-child a {
    margin-bottom: 0;
    line-height: 0.8;
    padding-inline: 8px;
    text-align: center;
    display: inline-block;
    border-radius: 16px;
    padding: 0.7rem;
    width: auto;
    border: 1.6px solid #2F2F2F;
    background-color: #d5eefa;
   
}

.nav-items__img{
    width: 12vw;
    margin-bottom: 4vw;
}

@media (600px <= width) {
  .nav-items__item a {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 1.3vw;
  }

  .nav-items__img{
    display: none;
}
}

/* ハンバーガーメニュー */
.header__hamburger {
  width: 32px;
  height: 100%;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}

@media (600px <= width) {
  .hamburger {
    display: none;
  }
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #000;
  position: relative;
  transition: ease .4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}


/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;

}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}

/*==========================
About
==========================*/
.mainImg__sp {
    width: 100%;
    display: block;
    margin: 4vh 0 2vh;
}

.mainImg__pc {
    display: none;
}

.mainCaption {
    text-align: center;
}

.rule__ttl {
    text-align: center;
}

.section--about {  
    margin: 0 auto;
 }

.caption__txt {
    font-size: 3.8vw;
    font-weight: 500;
    line-height: 1.6;
    text-align: left;
    margin: 3vh 4.8% 1vh; 
}

.caption__txt_s {
    font-size: 3vw;
}

.rule__box {
    margin-top: 3vh;
    text-align: center;
}

.rule__box6 {
    margin: 0 0 20px;
}

.topic__boxrule {
    margin-bottom: 16px;
}

.ruleImg__pc {
    display: none;
}

.topic__ttl_s {
    font-size: 4vw;
    margin-bottom: 16px;
}

.rule__box_s {
    justify-content: space-around;
    margin-top: 18px;
}

.ruleImg__sp6 {
    margin-top: -24px;
}

.ruleImg__sp1 {
    margin: 2vh 0 3vh 4%;;
}

.ruleImg__sp2 {
    margin: 16px 4% 4% 0;
}

.ruleImg__sp3 {
    margin: 2vh 4% 3vh;
}

.ruleImg__sp4 {
    padding-right: 4%;
    margin: -2vh auto 1vh;
}

.ruleImg__sp5 {
    margin: 0 7% 5vh;
}

.topic__box_slide { 
    margin-top: 40px;
} 

.topic__ttl_2 {
    margin-left: 4%;
}

.ruleImg__pc {
    display: none;
}

.topic__ttl_s_group {
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    margin-bottom: 2vh;
}

.slider_1 {
    margin-top: 4vh;
}


/* about pc */
@media (600px <= width) {
    .mainImg__sp {
        display: none;
    }

    .mainImg__pc {
        display: block;
        width: 100%;
        margin-top: 4vh;
    }

    .mainImg {
        position: relative;
    }

    .topic__ttl {
        white-space: nowrap;
    }

    .topic__ttl_2 {
        margin-bottom: 3vh;
    }

    .topic__ttl_pc {
        margin-left: 0;
        margin-bottom: 4vh;
    }

    .mainCaption {
        position: absolute;
        bottom: 8%;
        left: 50%;
        text-align: left;
        width: 54%;
        left: 0;
        right: 0;
        margin: auto;
    }

    .caption__txt {
        font-size: 1.8vw;
        line-height: 1.6;
        text-align: left;
        margin: 0 auto;
    }

    .caption__txt_s {
    font-size: 1.4vw;
    }   

    .ruleImg__sp {
        display: none;
    }

    .ruleImg__pc {
        display: block;
        width: 100%;
        margin: 0 auto;
        position: relative;
    }
    .rule__ttl_2 {
        position: absolute;
        margin-left: 10%;
        width: 38%;
    }
    
    .caption__txt_2 {
        text-align: left;
        margin-left: 4%;
    }

    .ruleImg__sp {
        display: none;
    }

    .rule__group {
        display: flex;
        gap: 16%;
        justify-content: center;
        align-items: center;
    }

    .ruleImg__pc1 {
        padding-left: 8%;
        margin-top: -6%;
    }

    .ruleImg__pc4 {
        padding: 2% 6% 0;
        width: 98%;
    }

    .topic__ttl_s_group {
        display: flex;
        gap: 200px;
    }

    .topic__ttl_s {
        font-size: 2vw;
    }

    .rule__box_s {
        display: flex;
        margin-left: 18%;
    }

    /* .rule__box6 {
        margin-top: -8vh;
    } */

    .rule_topic__ttl_5 {
        position: absolute;
        bottom: 71%;
        left: 50%;
        text-align: center;
        width: 20%;
        left: 0;
        right: 0;
        margin: auto;
    }

    .rule__box6 {
        position: relative;
    }

    .ruleImg__pc_kihon {
        margin-bottom: 8vh;
    }
}

/* slider sp  */
.slider {
    margin-bottom: 7vh;
}

/* slider tab  */
@media (600px <= width < 800px) {
    .slider {
        margin-bottom: 8vh;
    }
}

.slider_2 {
    margin: 8vh auto 8vh;
}


/*==========================
Topics
==========================*/
.section--topics {
    background-color: #C9E7B6;
    padding: 20px;
}

.Caption__txt {
    font-size: 3.8vw;
    font-weight: 500;
    line-height: 1.6;

}

.topics__item {
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    margin: 24px 0 24px;
    text-align: center;
}

.topics__item2 {
    padding-bottom: 0;
}

.topics__img {
    margin: 3vh auto 0;
    width: 86%;
}

.topics__img1_sp {
    width: 90%;
    margin: 24px auto 8px;
}

.topics__img_pc {
    display: none;
}

.topics__img3 {
    margin: 5vh auto 0;
}

.topics__img4 {
    margin-bottom: 4px;
}

.topics__img5 {
    width: 64%;
    margin: 0 auto;
    margin-top: 5vh;
    
}

.topics__cap {
    color: #2F2F2F;
    font-size: 2.8vw;
    text-align: left;
    margin-top: 2vh;
}

.forest__img_sp {
    width: 30%;
    margin: 0 auto;
    margin-top: 20px;
}

.forest__img_pc {
    display: none;
}

/* topics pc */
@media (600px <= width) {
    .section--topics {
        background-color: #C9E7B6;
        padding: 3% 6% 5%;
    }
    
    .Caption__txt_pc {
        font-size: 1.6vw;
        font-weight: 500;
        line-height: 1.6;
        text-align: center;
    }
    
    .topics__item {
        background-color: #fff;
        border-radius: 16px;
        padding: 3vw;
        margin: 3vw 0 0;
        text-align: center;
        flex: 1;
    }

    .topics__group {
        display: flex;
        gap: 3vw;
    }

    .topics__img1_sp {
        display: none;
    }
    
    .topics__img_pc {
        display: block;
        width: 95%;
        margin: 0 auto;
    }

    .topics__cap {
        font-size: 1.2vw;
    }

    .topics__img3 {
        margin: 7vh auto 0;
    }
}


/*==========================
News
==========================*/

.forest__img {
    margin: 0 auto;
    width: 30%;
    margin-top: 20px;
}

.news-container {
    background-color: #EFE0C4; 
    margin: 24px 4.8% 48px;
    border-radius: 8px;
    padding: 4%;
}

.news__ttl {
    color: #11ABEB;
    font-size: 5vw;
    font-family: "Chango";
    text-align: center;
    margin: 0 auto;
    margin-bottom: 8px;
}

.news__img {
    display: none;
}

.news-date {
    font-size: 4vw;
    font-weight: 500;
    background: linear-gradient(transparent 50%, #ffff7d 50%);
}

.news__boxTtl {
    font-size: 4vw;
    font-weight: 700;
    line-height: 1.3;
    color: #0e99d4;
    margin-top: 6px;
}

.news-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.news__txt {
    font-size: 3.2vw;
    line-height: 1.3;
    margin-top: 4px;
}

.news__group {
    display: flex;
    align-items: center;
    margin-top: 16px;
}

/* News pc */
@media (600px <= width) {
    .forest__img_pc {
        margin-top: 24px;
        width: 84%;
        margin: 0 auto;
        display: block;
        padding-top: 24px;
        position: relative;
        z-index: 1;
    }

    .forest__img_sp {
        display: none;
    }

    .news__ttl {
        font-size: 3.3vw;
    }

    .news-container {
        margin: 8px 20% 8px;
        border-radius: 16px;
        padding: 2%;
        display: flex;
        align-items: center;
        /* margin-top: -20%; */
        justify-content: space-around;
    }

    .news__img {
        display: block;
        width:10vw;
        margin: 0 auto;
        margin-top: 12px;
    }
    
    .anim-box {
        animation: poyon 4s ease-out infinite;
        opacity: 1;
        }
        @keyframes poyon {
        0%, 40%, 80% {
        transform: scale(1.0);
        }
        50%, 70% {
        transform: scale(0.95);
        }
    }

    .news__boxTtl {
        font-size: 1.5vw;
        line-height: 1.3;
    }

    .news__txt {
        font-size: 1.2vw;
        line-height: 1.3;
        margin-top: 4px;
    }

    .news-date {
        font-size: 1.3vw;
        font-weight: 500;
        background: linear-gradient(transparent 50%, #ffff7d 50%);
    }
} 

/*==========================
Trial
==========================*/
.trial__logo {
    width: 88%;
    margin: 64px auto -8px;
}

.trial__box {
    background-color: #11ABEB;
    padding: 32px 4% 32px;
}

 .trial__group {
    background-color: #fff;
    border-radius: 8px;
    padding: 4%;
    text-align: center;
 }

 .trialImg__sp {
    margin: 0 auto;
    width: 80%;
    margin-top: 30px;
 }

 .trialImg__pc {
    display: none;
 }

.trial__topic {
    display: flex;
    gap: 0 16px;
    margin-top: 7%;
    align-items: center;
    justify-content: center;
}

.trial__ttlTxt {
    font-size: 3.6vw;
    font-weight: 700;
    line-height: 1.3;
    color: #2F2F2F;
}

.trial__ttlTxt2 {
    margin: 20px 0 10px;
}

.trial__go {
    font-size: 5vw;
    margin-bottom: 20px;
}

.link__cap {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* trial pc */
@media (600px <= width) {
    .trial__logo {
        width: 70%;
        margin: 100px auto -2%;
    }

    .trial__group {
        border-radius: 16px;
    }

    .trialImg__sp {
        display: none;
    }

    .trialImg__pc {
        display: block;
        width: 100%;
        margin: 0 auto;
    }

    .trial__ttlTxt2 {
        font-size: 2.4rem;
        margin: 20px 0 10px;
    }

    .trial__ttlTxt {
        font-size: 1.8vw;
    }
    
    .trial__go {
        font-size: 3vw;
        margin-bottom: 3vh;
    }

    .trial__box {
        padding: 50px 6% 64px;
    }

    .trial__topic {
    margin-top: 4%;
    }
}

.link__ttlTxt {
    font-size: 3.4vw;
    font-weight: 500;
    color: #2F2F2F;
    text-align: center;
}

.link__btn {
    display: flex;
    background-color: #E33828;
    color: #fff;
    font-size: 4vw;
    font-weight: 700;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    margin-top: 8px;
    margin: 0 auto;
    margin-top: 8px;
}

.link__btn:hover {
    background-color: #d97b53;
    color: #fff;
}

.link__btn_B {
    background-color: #B88652;
    color: #fff;
}

.link__list {
    margin-bottom: 4vh;
}

.link__icon {
    display: inline-block;
    width: 5vw;
    margin-right: 8px;
}

.link__icon_amzn {
    width: 6vw;
}

.link__amzn {
    font-size: 3vw;
    font-weight: 500;
}

.linkcap_icon {
    display: inline-block;
    width: 3vw;
}

.link__cap {
    font-size: 2.8vw;
    color: #2F2F2F;
    text-align: center;
}

/* link pc */
@media (801px <= width) {
    .link__group {
        display: flex;
        margin: 0 auto;
        margin-top: 2vh;
        justify-content: space-around;
    }

    .link__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6vw;
        font-size: 1.8vw;
        font-weight: 700;
        width: 36vw;
        padding: 16px;
        text-align: center;
        border-radius: 8px;
        margin-top: 8px;
    }

    .link__ttlTxt {
        font-size: 1.5vw;
    }

    .link__cap {
        font-size: 1.3vw;
        text-align: left;
        margin-left: 3%;
    }

    .linkcap_icon {
        width: 2vw;
    }

    .link__amzn {
    font-size: 1.1vw;
    }

    .link__icon {
    width: 2.2vw;
    }
}

/* link tab */
 @media (600px <= width < 800px){
    .link__icon {
        width: 2.5vw;
    }

    .linkcap_icon {
        width: 2vw;
    }

    .link__amzn {
        font-size: 1.5vw;
        font-weight: 500;
    }

    .link__icon_amzn {
        width: 3vw;
    }

    .link__ttlTxt {
        font-size: 1.8vw;
    }

    .link__btn {
        font-size: 2.4vw;
        width: 56vw;
    }

    .link__cap {
        font-size: 1.8vw;
        align-items: center;
        justify-content: center;
    }
}

/*==========================
footer
==========================*/
.footer {
    margin: 8%;
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer__group {
    display: flex;
    flex-direction: column;
    gap: 0 16px;
    margin: 0 auto;
}

.footer__topic {
    width: 54vw;
    margin: 0 auto;
}

.footer__sns {
    display: flex;
    gap: 0 6vw;
    align-items: end;
    justify-content: center;
    margin-top: 3vh;
}

.sns {
    width: 6vw;
}

.copy {
    text-align: center;
}

.copy small {
    font-size: 2.4vw;
}

.footer__btn {
    scroll-behavior: smooth;
    width: 12vw;
}

/* .footer pc */
@media (600px <= width) {
    .footer {
        justify-content: space-between;
        margin: 24px 6%;
    }

    .footer__group {
        display: flex;
        gap: 0 16px;
        max-width: 702px;
        margin: 0 auto;
    }

    .footer__topic {
        width: 30vw;
    }

    .footer__btn {
        scroll-behavior: smooth;
        width: 6vw;
    }

    .copy small {
    font-size: 1.2vw;
    }

    .sns {
    width: 3.2vw;
    }

    .footer__sns {
    gap: 0 4vw;
    }
}
