@charset "utf-8";

/*共通設定*/

html {
    scroll-behavior: smooth;
}

img {
    vertical-align: bottom;
}

body {
    font-family: 'Yu Gothic', '游ゴシック', 'YuGothic', '游ゴシック体', sans-serif;

}

a {
    text-decoration: none;
}

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

/* フェードアニメーション */
.fadeIn {
    animation-name: fadeInAnime;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeInAnime {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeDown {
    animation-name: fadeDownAnime;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeDownAnime {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}







/*sp版ここから-----------------------------------*/

/* ヘッダー画像かぶさる設定 */

#hero__space {
    /*headerを全画面で見せる*/
    width: 100%;
    height: 100vh;
    position: relative;
}


/*==================================================
ハンバーガーボタン
5-2-1 3本線が×に
===================================*/
.openbtn {
    /*ボタン内側の基点となるためrelativeを指定。
    追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    width: 85px;
    height: 85px;
    border-radius: 50%;

    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 999;
}

/*ボタン内側*/
.openbtn span {
    display: inline-block;
    transition: all .4s;
    /*アニメーションの設定*/
    position: absolute;
    left: 23.8px;
    height: 3px;
    border-radius: 2px;
    background: #000;
    width: 45%;
}

.openbtn span:nth-of-type(1) {
    top: 25.5px;
}

.openbtn span:nth-of-type(2) {
    top: 39.1px;
}

.openbtn span:nth-of-type(3) {
    top: 52.7px;
}

/*activeクラスが付与されると線が回転して×に*/

.openbtn.active span:nth-of-type(1) {
    top: 30.6px;
    left: 30.6px;
    transform: translateY(10.2px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
    /*真ん中の線は透過*/
}

.openbtn.active span:nth-of-type(3) {
    top: 51px;
    left: 30.6px;
    transform: translateY(-10.2px) rotate(45deg);
    width: 30%;
}

/* ハンバーガーボタンここまで */

/* ヘッダーの設定 */


/* spで消すもの */
#logo,
#eyecatch__1,
#hero {
    display: none;
}




.hero__image {
    width: 100%;
    height: auto;
}


/* ナビゲーション設定 */
.gnavi__link {
    color: #000;
    font-size: 30px;
    font-weight: lighter;
    border-bottom: 1px solid #000;
    letter-spacing: 0.12em;
}

.gnavi__item {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.gnavi__item+.gnavi__item {
    margin-top: 30px;
}

.gnavi__list {
    margin-top: 142px;

}

.gnavi {
    width: 220px;
    height: 500px;
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.5s;
    z-index: 998;
}

.close {
    right: -1000px;
}


#eyecatch__2 {
    text-align: center;
    margin-top: 100px;

}

/* ヒーロー部分波の設定 */

.wave_top {
    position: relative;
    /*    height:2000px;何も表示されない場合は各波の親要素に高さを持たせましょう。*/
}

#waveCanvas_top {
    bottom: 0;
    height: 100px;
}



/* メイン部分--------------------------------------------------------- */
main {
    width: 85%;
    margin: 0 auto;
}

h2 {
    margin-bottom: 30px;
    font-size: 30px;
    letter-spacing: 0.3em;
}

/* 画像サイズ設定 */
#about__image,
#product__img {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
}


/* about */
.sub__title {
    text-align: center;
}

#about {
    margin-top: 130px;
}

.about__text {
    font-size: 18px;
    font-weight: lighter;
    padding-top: 400px;
}

.about__text div {
    text-align: center;
    margin-top: 20px;
}

.about__text p:first-child {
    margin-bottom: 1em;
}

.about__text img {
    max-width: 250px;
    height: auto;
}

/* 画像切り替え用設定 */
.fade-img {
    position:relative;
  }
  .fade-img img {
    position: absolute;
  }
  



/*products*/
article {
    margin-top: 50px;
}

.product {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
}

/* 波の設定 */

.wave {
    padding: 150px 0 200px;
    position: relative;
    /*    height:2000px;何も表示されない場合は各波の親要素に高さを持たせましょう。*/
    background-color: #fff6a8;
    /*背景を塗りつぶして重ねた波を表現したい場合は、波を描画する親要素に波と同じ背景色を設定しましょう。*/
}

canvas {
    position: absolute;
    left: 0;
    width: 100%;
}

#waveCanvas {
    background-color: #fff;
    top: 0;
}

#waveCanvas2 {
    bottom: 0;
}

.color {
    padding-top: 50px;
}


.product__text {
    font-size: 20px;
    text-align: center;
    margin-top: 20px;
}

.product__text p {
    font-weight: lighter;
}

h3 {
    font-size: 37px;
    color: #85aec1;
}

.product__field2 {
    margin-top: 33px;
}

.product__box+.product__box {
    margin-top: 20px;
}

.product__box div {
    text-align: center;
    margin-bottom: 10px;
}

.product__box {
    max-width: 330px;
    margin: 0 auto;
}

#sec__2 {
    margin-top: 60px;
}

/* ボタン設定 */
.linkbtn {
    max-width: 345px;
    background-color: #5090cb;
    border-radius: 31px;
    margin: 50px auto 0;
    text-align: center;
}

.linkbtn:hover {
    background-color: rgb(68, 233, 255);
}

.linkbtn a {
    font-weight: bold;
    color: #fff;
    font-size: 25px;
    line-height: 1em;
    vertical-align: bottom;
    display: inline-block;
    padding: 20px 67px;
}


/* access */
.access__text {
    font-weight: lighter;
    font-size: 20px;
    text-align: center;
    line-height: 30px;
    letter-spacing: 0.2em;
}

.access__text .access__title {
    font-size: 36px;
}

.access__text+.access__text {
    margin-top: 70px;
}

.access__field .access__map {
    margin-top: 30px;
}

/* フッター */
footer {
    margin-top: 80px;
    background-color: #fff4a8;
    text-align: center;
}






/* pc版ここから------------------------------- */
@media (min-width: 600px) {

    /* sp版からの変更----------------- */
    .openbtn,
    #eyecatch__2,
    #hero__space,
    #hero2 {
        display: none;
    }

    .sp__none {
        display: block;
    }

    #eyecatch__1,
    #logo,
    #hero {
        display: inline;
    }

    #waveCanvas_top {
        height: 200px;
    }

    /* ナビゲーション設定----------------- */
    .gnavi {
        width: 100%;
        height: 100px;
        display: flex;
        -ms-align-items: center;
        align-items: center;
        justify-content: space-around;
    }

    #logo img {
        max-width: 90px;
    }

    .gnavi__list {
        display: flex;
        -ms-align-items: center;
        align-items: center;

    }

    .close {
        left: 0;
    }

    .gnavi__list {
        margin-top: 0;
    }

    .gnavi__item {
        display: inline;
        margin: 0 20px;
        padding: 0 30px;
        border-left: 2px solid #000;
        border-right: 2px solid #000;
    }

    .gnavi__link {
        border-bottom: none;
        display: block;
        position: relative;
    }

    .gnavi__link::after {
        content: '';
        /*絶対配置で線の位置を決める*/
        position: absolute;
        bottom: 0;
        left: 10%;
        /*線の形状*/
        width: 80%;
        height: 2px;
        background: #85aec1;
        /*アニメーションの指定*/
        transition: all .3s;
        transform: scale(0, 1);
        /*X方向0、Y方向1*/
        transform-origin: center top;
        /*上部中央基点*/
    }

    /*現在地とhoverの設定*/
    .gnavi__link:hover::after {
        transform: scale(1, 1);
        /*X方向にスケール拡大*/
    }

    .gnavi__link:hover {
        color: #85aec1;
    }

    .gnavi__item+.gnavi__item {
        margin-top: 0;
    }

    #container {
        padding-top: 280px;
    }

    #eyecatch__1 {
        text-align: center;
    }

    #eyecatch__1 img {
        max-width: 800px;
        margin: 0 auto;
        display: block;
        margin-bottom: 260px;

    }

    /* main---------------------------------- */
    main {
        max-width: 1200px;
    }

    h2 {
        margin-bottom: 60px;
        font-size: 50px;
        letter-spacing: 0.3em;
    }

    .sub__title {
        text-align: center;
    }


    /* about---------------------------------- */
    #sec__1 {
        display: flex;
    }

    #about__image,
    #product__img {
        margin: 0;
        max-width: 100%;
    }

    #about__image {
        max-width: 700px;

    }

    .about__text {
        max-width: 425px;
        display: flex;
        flex-flow: column;
        padding-top: 0;
    }

    .about__text p {
        order: 2;
        font-size: 25px;
    }

    .about__text div {
        order: 1;
        margin-top: 0;
        margin-bottom: 40px;
    }


    .about__text img {
        max-width: 100%;
        height: auto;
    }



    /* product---------------------------------- */
    .product__width {
        max-width: 1200px;
        margin: 0 auto;
    }

    #product__img {
        max-width: 566px;
    }

    .product__flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #product__img {
        order: 2;
        max-width: 570px;
        margin-left: 93px;
    }

    .product__field__1 {
        order: 1;
        max-width: 525px;
    }

    .product__text h3 {
        font-size: 55px;
        text-align: left;
    }

    .product__text p {
        font-size: 25px;
        text-align: left;
    }



    .product__field__2 {
        display: flex;
        flex-wrap: wrap;
    }

    .product__box+.product__box {
        margin-top: 32px;
    }

    .product__box {
        margin-top: 32px;
    }

    .product__box p {
        font-size: 20px;
    }

    /* ボタン設定 */
    .linkbtn {
        max-width: 535px;
        border-radius: 44px;
        margin: 62px auto 0;
    }

    .linkbtn a {
        font-size: 30px;
        padding: 25px 100px;
    }


    /* access---------------------------------- */
    .access__field {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .access__field div:first-child {
        max-width: 558px;
    }

    .access__map {
        margin-left: 132px;
    }



}