@charset "utf-8";

/*共通設定=================================================-*/

html {
    font-size: 100%;
    font-family: "Noto Sans JP", sans-serif;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    object-fit: cover;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #000;
}

/*header================================*/
.header {
    width: 100%;
}

.header__container {
    width: 100%;
    padding: 8px 0px ;
    position: relative;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX( -50%) ;
    background-color: rgb(255,255,255,0.9);
    z-index: 500;
    transition: transform 0.3s ease-in-out;
}

.header__container__box {
    width: 1000px;
    margin: 0 auto;
}

.header__container__flex {
    display: flex;
    justify-content: center;
    align-items: center;
    padding:12px ;
}

.header__none {
    display: block;
    width: 100px;
}

.header__hide {
    transform:translateX(-50%) translateY( -100%);
}

.header__logo img {
    width: 100px;
    transition: all 0.2s ease-in;
}
.header__logo img:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.header__nav__list {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 12px 0;

}

.header__nav__link {
    padding: 8px 0.8em;
    font-size: calc(18/16*1rem);
    color: #000;
    transition: all 0.2s;
}

.header__nav__link:hover {
    color: #FE53BB;
    transition: all 0.2s;
}

.header__nav__item {
    transition: all 0.2s;
}

.header__nav__item:hover {
    color: red;
    transform: scale(1.1);
    transition: all 0.2s;
}

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

.sns__link img {
    margin: 0 8px;
    transition: all 0.2s ease-in;
    transform: scale(1);
}

.sns__link img:hover {
    opacity: 0.6;
    transform: scale(1.2);
}

.openbtn,
#g-nav {
    visibility: hidden;
    opacity: 0;
    display: none;
}



/*footer=============================*/
.footer {
    background-color: #363636;
    color: #fff;
    text-align: center;
    padding: 96px 0 32px;
}

.footer__logo {
    margin-bottom: 40px;
}

.footer__logo img {
    transition: 0.2s all ease-in;
}

.footer__logo img:hover {
    opacity: 0.7;
}

.footer__container {
    width: 90%;
    margin: 0 auto 88px;
    display: flex;
    align-items: center;
    justify-content:center;
}

.footer__none {
    width: 124px;
    display: block;
}

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

.footer__nav__link {
    color: #fff;
    padding: 8px 2em ;
}

.footer__nav__link:hover,
.footer__sns__link:hover {
    opacity: 0.8;
}

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

.footer__sns__link {
    margin: 0 8px;
    transition: all 0.2s ease;
}

/*ページトップボタン=====================*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#393939;
    border: #d9d9d9 solid 1px;
	width: 40px;
	height: 40px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateX(100px);
}

/*左の動き*/

#page-top.LeftMove{
	animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }
  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/*右の動き*/

#page-top.RightMove{
	animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
  	opacity: 1;
	transform: translateX(0);
  }
  to {
  	opacity: 1;
	transform: translateX(100px);
  }
}

/*1080px以下======================================*/

@media screen and (max-width: 1080px) {
    .header__container__box {
        width: 720px;
    }
}

/*767px以下設定=============================================*/

@media screen and (max-width: 767px) {

    /*header================================================*/

    .header__container {
        padding: 8px 24px ;
        background-color: transparent;
    }

    .header__container__box {
        display: block;
        width: 100%;
    }

    .header__none {
        width: 0;
    }

    .header__logo {
        width: 100%;
    }
    
    .header__logo img {
        width: 80px;
    }

    .header__nav,
    .sns__list {
        display: none;
    }

    .openbtn,
    #g-nav {
        visibility: visible;
        opacity: 1;
        display: block;
    }

    #g-nav{
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position:fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top:-120%;
        left:0;
        width:100%;
        height: 100vh;/*ナビの高さ*/
        background:#999;
        /*動き*/
        transition: all 0.6s;
    }
    
    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive{
        top: 0;
    }
    
    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list{
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999; 
        width: 100%;
        height: 100vh;/*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top:40%;
        left:50%;
        transform: translate(-50%,-40%);
    }
    
    /*リストのレイアウト設定*/
    
    #g-nav li{
        list-style: none;
        text-align: center; 
    }
    
    #g-nav li a{
        color: #333;
        text-decoration: none;
        padding:10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }
    #g-nav li a:hover {
        opacity: 0.7;
    }
    #g-nav li a img {
        margin-bottom: 32px;
    }

    .sns__sp__box {
        display: flex;
        align-items: center;
        gap: 24px;
        margin-top: 48px;
    }
    
    .sns__sp__link {
        width: 64px;
    }
    .sns__sp__link:hover {
        opacity: 0.7;
    }


    
    /*========= ボタンのためのCSS ===============*/
    .openbtn{
        position:fixed;
        z-index: 9999;/*ボタンを最前面に*/
        top:10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height:50px;
    }
        
    /*×に変化*/	
    .openbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #333;
        border: #d9d9d9 1px solid;
        width: 45%;
      }
    
    .openbtn span:nth-of-type(1) {
        top:15px;	
    }
    
    .openbtn span:nth-of-type(2) {
        top:23px;
    }
    
    .openbtn span:nth-of-type(3) {
        top:31px;
    }
    
    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    
    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    
    .openbtn.active span:nth-of-type(3){
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    /*footer==================================*/
    .footer {
        background-color: #363636;
        color: #fff;
        text-align: center;
        padding: 64px 0 32px;
    }
    
    .footer__logo {
        margin-bottom: 40px;
    }

    .footer__container {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 40px;
    }

    .footer__none {
        display: none;
    }
    
    .footer__nav__link {
        color: #fff;
        padding: 8px 1em ;
    }
    
    .footer__sns__link {
        padding: 0 16px;
    }
}

@media screen and (max-width: 428px) {

    /*header=========================================*/
    .header__container {
        padding: 8px 16px 4px ;
    }
    
    .header__logo img {
        width: 80px;
    }



    .footer {
        padding: 48px 0 24px;
    }

    .footer__logo {
        margin-bottom: 24px;
    }

    .footer__container {
        gap: 24px;
        margin-bottom: 24px;
    }

    .footer__nav__link {
        font-size: calc(14/16*1rem);
        padding: 8px 0.6em ;
    }
}

/*sub__hero共通=============================*/
.sub__hero {
    padding: 224px 40px 56px;
    max-width: 1240px;
    margin: 0 auto;
}

.sub__hero__title {
    /* font-family: "Freeman", serif; */
    font-family: "PT Sans", sans-serif;
    font-size: 128px;
    line-height: 1;
}

.sub__hero__subtitle {
    font-size: 18px;
    margin-left: 1em;
    margin-bottom: 40px;
}

.sub__hero__text {
    font-size: 18px;
    margin-left: 1em;
    width: 50%;
}

@media screen and (max-width: 1139px) {
    .sub__hero {
        padding: 224px 40px 40px;
    }
    
    .sub__hero__title {
        font-size: 96px;
    }
    
    .sub__hero__subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .sub__hero__text {
        font-size: 16px;
    }
}
@media screen and (max-width: 767px) {
    .sub__hero {
        padding: 144px 40px 24px;
    }
    
    .sub__hero__title {
        font-size: 48px;
    }
    
    .sub__hero__subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .sub__hero__text {
        font-size: 14px;
        width: 80%;
    }
}

@media screen and (max-width: 428px) {
    .sub__hero {
        padding: 128px 24px 24px;
    }
    .sub__hero__text {
        width: 90%;
    }
}
/*sub__hero共通ここまで=============================*/



/*ドロップダウン====================*/
/*2階層目以降は横並びにしない*/
nav ul ul{
	display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li{
	position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
	display: block;
	color: #333;
	padding:8px 16px;
	transition:all .3s;
    font-size: 12px;
}

nav ul li a:hover{
	color:#fefefe;	
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
nav ul li.has-child::before{
	content:'';
	position: absolute;
	left:1px;
	top:18px;
	width:6px;
	height:6px;
	border-top: 2px solid #999;
    border-right:2px solid #999;
    transform: rotate(135deg);
}


/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;
	left:0;
	top:36px;
	z-index: 4;
    /*形状を指定*/
	background:#fefefe;
    border: 1px solid #333;
	width:154px;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
    /*アニメーション設定*/
	transition: all .3s;
}

/*hoverしたら表示*/
nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

nav li.has-child ul li:last-child > a{
 border-bottom:none;
 }

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
	background:#666;
}




/*フェードアップ===============================*/

.fadeUpTrigger{
    opacity: 0;
    }

    .fadeUp {
        animation-name: fadeUpAnime;
        animation-duration:1.4s;
        animation-fill-mode:forwards;
        opacity: 0;
    }
    @keyframes fadeUpAnime{
    from {
        opacity: 0;
        transform: translateY(48px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
    }

    /*フェードアップ===============================*/