@charset "utf-8";

/* common */
:root {
    --primary-blue: #1B3C67;
    --primary-green: #E5EBDE;
    --secondary-green: #417263;
    --primary-black: #1E1E1E;
    --primary-white: #fff;
    --primary-gray: #777777;
    --secondary-gray:#F2F2F2;
    --contentPadding: 0 5.3%;
    --contentPaddingPC: 0 8.3%;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Noto Sans JP";
    font-weight: 400;
    font-style: normal;
    font-size: 1.6rem;
    color: var(--primary-black);
    line-height: 1.7;
    background-color: var(--primary-white);
}

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

/*=====================
 ページトップに戻るCSS
 ======================= */
/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background: var(--primary-black);
    border: 1px solid white;
    border-radius: 90px;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:1.3rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: var(--primary-gray);
}

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

/*　上に上がる動き　*/

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

/*　下に下がる動き　*/

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


/* =================
フェイドインのCSS htmlは2つ目に見せたい要素、メインにかけている
===================== */
.fadeUpTrigger{
opacity: 0;
}

.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);
}
}






/* ================
btnの設定
==================== */
/*矢印が右に移動して背景がつく*/

.btn {
    /*矢印の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    border: 1px solid var(--primary-black);
    padding: 8px 30px;
    display: block;
    text-align: center;
    text-decoration: none;
    color: var(--primary-black);
    outline: none;
    /*アニメーションの指定*/
    transition: all .2s linear;
    background-color: var(--primary-white);
    width: 250px;
    height: auto;
    font-weight: 700;
    margin: 20px auto 0;
    /* 上 下 左右 */
}


/*矢印と下線の形状*/
.btn::before {
    content: "";
    /*絶対配置で下線の位置を決める*/
    position: absolute;
    top: 50%;
    right: -26px;
    /*下線の形状*/
    width: 40px;
    height: 2px;
    background: var(--primary-black);
    /*アニメーションの指定*/
    transition: all .2s linear;
}

.btn::after {
    content: "";
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    top: 20%;
    right: -21px;
    /*矢印の形状*/
    width: 2px;
    height: 15px;
    background: var(--primary-black);
    transform: skewX(45deg);
    /*アニメーションの指定*/
    transition: all .2s linear;
}

/*hoverした際の移動*/
.btn:hover::before {
    right: -30px;
}

.btn:hover::after {
    right: -25px;
}

/* hoverしたときの背景色と文字色の変化 */
.btn:hover {
    background-color: var(--primary-black);
    color: var(--primary-white);
}



/* common topic */
.topic {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

.topic__title {
    color: var(--primary-black);
    font-family: Inter;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 2.4px;
}

.topic__subTitle {
    color: var(--primary-black);
    font-weight: 700;
    letter-spacing: 1.6px;
}


/* pc common 769px*/
@media screen and (min-width: 769px) {
    .topic {
        margin-top: 100px;
           display: flex;
        flex-direction: row;
    }

    .topic__title {
        font-size: 3.2rem;
    }

    .topic__subTitle {
        font-size: 2.4rem;
        margin-left: 20px;
    }
}


/* =========================
header
============================ */
.header {
    padding: 0 5.3%;
    background-color: var(--primary-black);
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    /* スクロールしたときの透過を自然にみせるため */
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* スクロール後 、JSで制御済み*/
.header.is-scrolled {
    background-color: rgba(0, 0, 0, 0.7);
    /* 透過 */
    backdrop-filter: blur(6px);
    /* iOS/モダンブラウザ向け */
}

.header img {
    width: 46px;
    height: auto;
}

.header__topic {
    color: var(--primary-white);
    color: #FFF;
    font-family: Inter;
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.header__logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}


/*========= ナビゲーションのためのCSS ===============*/

#g-nav {
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position: fixed;
    z-index: -1;
    opacity: 0;
    /*はじめは透過0*/
    /*ナビの位置と形状*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /*ナビの高さ*/
    background: var(--primary-black);
    /*動き*/
    transition: all 0.3s;
    /* 後ろにいるときは、他の要素が押せるようにする */
    pointer-events: none;


}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive {
    opacity: 0.9;
    z-index: 999;
    /* アクティブが付いたらnavの要素が押せるようにする */
    pointer-events: auto;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    display: none;
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#g-nav.panelactive ul {
    display: block;
    width: 300px;
}

/*リストのレイアウト設定*/

#g-nav li {
    list-style: none;
    text-align: center;
}

#g-nav li a {
    color: var(--primary-white);
    text-decoration: none;
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.nav-main {
    font-size: 1.8rem;
    font-family: Inter;
}

.nav-sub {
    font-size: 1.4rem;
}

/*========= ボタンのための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: var(--primary-white);
    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%;
}


/* pc common 769px*/
@media screen and (min-width: 769px) {

    .header img {
        width: 69px;
        height: auto;
    }

    .header__topic {
        font-size: 3.6rem;
    }

    .header {
        height: 100px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 50;
        /* スクロールしたときの透過を自然にみせるため */
        transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    }

    /* =========================
PC表示：ナビをヘッダー内に常時表示
============================ */
    @media screen and (min-width: 769px) {

        /* ハンバーガーボタンを非表示 */
        .openbtn {
            display: none;
        }

        /* g-nav を通常配置に戻す */
        #g-nav {
            position: static;
            opacity: 1;
            z-index: auto;
            height: auto;
            background: transparent;
            pointer-events: auto;
        }

        /* ナビリストの固定・中央寄せ解除 */
        #g-nav-list {
            position: static;
            height: auto;
            overflow: visible;
        }

        /* ul を横並びに */
        #g-nav ul {
            display: flex;
            position: static;
            transform: none;
            width: auto;
            gap: 30px;
            justify-content: flex-end;
        }

        /* li 調整 */
        #g-nav li {
            text-align: left;
        }

        /* リンクの見た目調整 */
        #g-nav li a {
            padding: 0;
            color: var(--primary-white);
            flex-direction: column;
            align-items: center;
        }

        .nav-main {
            font-size: 1.6rem;
        }

        .nav-sub {
            font-size: 1.2rem;
            opacity: 1;
        }
    }

}

/* =================
ここからmain
==================== */

.main {
    margin-top: 70px;
}

/* pc common */
@media screen and (min-width: 769px) {
    .main {
        margin-top: 100px;
    }
}





/* ==============
footer
================= */
.footer {
    margin-top: 50px;
    padding: 30px 20px;
    background-color: var(--primary-black);
}

.footer__logo {
    display: flex;
}


.footer__logo img {
    width: 46px;
    height: 45px;
    margin-right: 10px;
}

.footer__logo h1 {
    color: var(--primary-white);
    font-family: Inter;
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 1.44px;
}

.footer__name {
    color: var(--primary-white);
    font-family: Inter;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    margin-top: 20px;
}

.footer__detail {
    margin-top: 20px;
}

.footer__detail p {
    color: var(--primary-white);
    font-size: 1.4rem;
    font-style: normal;
}

.footer__detail img {
    width: 15px;
    height: auto;
}

.footer__detail__item {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.footer__banner img {
    width: 300px;
    height: auto;
    margin-top: 30px;
    align-items: center;
}

.footer__banner--instagram img {
    margin-top: 20px;
}

.footer__banner {
    display: flex;
    align-items: center;
    flex-direction: column;

}

.footer__privacy,
.footer__terms {
    color: var(--primary-white);
    font-size: 1.4rem;
    text-align: center;
}

.footer__privacy {
    margin-top: 20px;

}

.copy {
    color: var(--primary-white);
    text-align: center;
    font-size: 1.4rem;
    margin-top: 20px;
}



/* pc footer 769px*/
@media screen and (min-width: 769px) {
    .footer {
    margin-top: 50px;
    padding: 50px 8.3%;
}

.footer__logo {
    display: flex;
}


.footer__logo img {
    width: 69px;
    height: 67px;
    margin-right: 20px;
}

.footer__logo h1 {
    font-size: 3.6rem;
}

.footer__name {
    font-size: 2.4rem;
    margin-top: 40px;
}

.footer__detail {
    margin-top: 25px;
}

.footer__detail p {
    font-size: 1.6rem;
}

.footer__detail img {
    width: 17px;
    height: auto;
}

.footer__detail__item {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.footer__banner img {
    width: 300px;
    height: auto;
    margin-top: 30px;
    align-items: center;
}

.footer__banner--instagram img {
    margin-top: 20px;
}

.footer__banner {
    display: flex;
    align-items: center;
    flex-direction: column;

}

.footer__privacy,
.footer__terms {
    color: var(--primary-white);
    font-size: 1.4rem;
    text-align: center;
}

.footer__privacy {
    margin-top: 20px;

}

.copy {
    color: var(--primary-white);
    text-align: center;
    font-size: 1.4rem;
    margin-top: 20px;
}


}