@charset "UTF-8";

/* 共通部ここから */

/* タイトルフォント */
h1 {
    font-family: 'Noto Sans JP', sans-serif;
    padding-bottom: 4px;
}

h2,h3 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    text-align: center;
}

h2{
    margin: 40px auto;
}


h3{
    margin: 40px auto 30px;
}

h4 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.certification_list li {
    font-size: 10px;
    text-align: center;
}

/* コンテナ */
.container {
    margin: 0 15%;
}

.container p {
    font-size: 10px;
}


/* スクロールバーのデザイン */
::-webkit-scrollbar{
    width: 10px;
 }
 ::-webkit-scrollbar-track{
    background-color: #ccc;
 }
 ::-webkit-scrollbar-thumb{
    background-color: #0098B3;
 }


 

/* フッター */
.copyright p {
    color: #dcdcdc;
}



/* 共通部ここまで */








/* スマホレイアウトここから 480px～767px */
@media screen and  (max-width:767px)  {
    
    /* お約束のアレ */
    .wrapper {
        max-width: 767px;
        min-width: 390px;
        margin: 0 auto;
        position: relative;
    }


    /* ハンバーガーメニュー */

    /* プルダウンメニューのいろいろ */
    #g-nav{
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position:fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top:-120%;
        left:0;
        width:100%;
        height: 100vh;/*ナビの高さ*/
        background:rgba(0,0,0,0.8);
        /*動き*/
        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 {
        /*ナビゲーション天地中央揃え*/
        width: 90%;
        margin:100px auto 0 auto;
    }
        
    #g-nav ul ul{
        width: 100%;
        margin: 0;
    }
     
    /*プルダウンナビのCSS*/
    #g-nav ul li.has-child ul{
          position: relative;
        left:0;
        top:0;
        width:100%;
        visibility:visible;/*JSで制御するため一旦表示*/
        opacity:1;/*JSで制御するため一旦表示*/
        display: none;/*JSのslidetoggleで表示させるため非表示に*/
        transition:none;/*JSで制御するためCSSのアニメーションを切る*/
        transform: none;
    }
    
    /*リストのレイアウト設定*/
    
    #g-nav li{
        list-style: none;
        text-align: center; 
    }
    
    #g-nav li a{
        color: #aaa;
        text-decoration: none;
        padding:10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

/*========= ボタンのための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: #666;
  	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%;
}




    /* メイン　センターのコンテンツ */
    main {
        width: 390px;
        height: 100vh;
        left: 0;
        right: 0;
        margin: auto;
        background-color: #ffffff;
        box-shadow: 0px 0px 10px 4px rgba(0, 187, 221, 0.7);
        position: absolute;
        overflow-y: scroll;
    }





    .gotop {
        width: 60px;
        height: auto;
        position: fixed;
        right: 15px;
        bottom: 15px;
    }


    /* センター部のテキストレイアウト */
    
    .explanation {
        position: sticky;
        top: 50%;
        margin: auto;
        text-align: center;
    }

    .attention {
        position: fixed;
        top: 25px;
        right: 53px;
    }

    .c-phone {
        position: sticky;
        top: 95%;
        text-align: center;
    }


    /* スマホ版でいらないもの消す */

    .logoset {
        display: none;
    }

    .c-pc {
        display: none;
    }

    .g-nav {
        display: none;
    }
    

}
/* スマホレイアウトここまで */



/* タブレットレイアウトここから 768px～1024px */
@media screen and (min-width:767px) and (max-width:1024px) {

    /* お約束のアレ */
    .wrapper {
        width: 768px;
        margin: 0 auto;
        position: relative;
    }


    /* メイン　センターのコンテンツ */
    main {
        width: 390px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: 0px 0px 10px 4px rgba(0, 187, 221, 0.7);
        position: absolute;
        right: 0;
        margin: auto;
        overflow: auto;
    }

    /* 背景 */

    .background {
        width: 768px;
        height: 100vh;
        position: absolute;
        z-index: -1;
        display: flex;
        flex-direction: column;
    }


    .mainlogo img {
        width: 80px;
        height: auto;
        padding-left: 33px;
    }

    .logoset {
        margin: auto;
        padding-right: 400px;
        padding-left: 200px;
    }

    .background-right {
        margin: auto;
        padding-right: 400px;
        padding-left: 200px;
    }

    .gotop {
        width: 60px;
        height: auto;
    }

    /* センター部のテキストレイアウト */
    

       .explanation {
        position: sticky;
        top: 50%;
        margin: auto;
        text-align: center;
    }

    
/* ナビゲーションのいろいろ */

nav{
    /*stickyで固定*/
    position: -webkit-sticky;/*Safari*/
	position: sticky;
    /*固定したい位置*/
	top: 100px;
    /*ナビゲーションの形状*/
    background:#fff;
	padding: 20px;
}

.link_child {
    padding-left: 20px;
}

li {
    line-height: 30px;
}


    /* タブレット版でいらないものをけす */
    .c-phone {
        display: none;
    }

    .attention  {
        display: none;
    }

    .gotop {
        display: none;
    }

    .mobile_menu {
        display: none;
    }


}
/* タブレットレイアウトここまで */




/* PCレイアウトここから 1025px～ */
@media screen and (min-width:1024px) {
    /* お約束のアレ */
    .wrapper {
        width: 1024px;
        margin: 0 auto;
        position: relative;
    }


     /*カーソル要素*/
 /*もともとあるカーソルは非表示に*/
  body{
    position: relative;
    cursor: none; 
    
  }
  
  
  #cursor{
    position: fixed;
  
    /*丸の大きさと色の指定*/
    background: #006699;
    border-radius:50%;
    width: 6px;
    height: 6px;
    margin: 0 0 0 0;/*カーソルの先端に固定*/
  
    z-index: 2;/*一番手前に来るように*/
    pointer-events: none;/*クリックできなくなるのを防ぐため。noneで対応*/
    opacity: 0;
    transition: transform 0.1s;/*アニメーションの秒数指定*/
  }
  
  /*ちょっと遅れてついてくるストーカー要素*/
  #stalker{
    position: fixed;
  
    /*丸の大きさと色の指定*/
    background:  rgba(255,255,0,0.8);
    width: 38px;
    height: 38px;
    border-radius:50%;
    margin: -17px 0 0 -17px;/*円がセンターに重なるようにマイナスマージンで調整*/
    z-index: 1;/*カーソルの後ろに来るように*/
    pointer-events: none;/*クリックできなくなるのを防ぐため。noneで対応*/
    opacity: 0;
    transition: transform 0.5s;/*アニメーションの秒数指定*/
  }
  
  #cursor.active,
  #stalker.active{
    transform: scale(1.8);
  }




    /* メイン　センターのコンテンツ */
    main {
        width: 390px;
        height: 100vh;
        left: 0;
        right: 0;
        margin: auto;
        background-color: #ffffff;
        box-shadow: 0px 0px 10px 4px rgba(0, 187, 221, 0.7);
        position: absolute;
        overflow-y: auto;
    }
    

    /* 背景 */
    .background {
        width: 100%;
        height: 100vh;
        position: absolute;
        z-index: -1;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 390px;
    }

    .mainlogo img {
        width: 100px;
        height: auto;
        padding-left: 11px;
    }

    .logoset {
        margin: auto;
    }

    .background-right {
        margin: auto;
    }


    .gotop {
        width: 60px;
        height: auto;
    }

/* ナビゲーションのいろいろ */

nav{
    /*stickyで固定*/
    position: -webkit-sticky;/*Safari*/
	position: sticky;
    /*固定したい位置*/
	top: 100px;
    /*ナビゲーションの形状*/
    background:#fff;
	padding: 20px;
}

.link_child {
    padding-left: 20px;
}

.main-nav li {
    line-height: 30px;
}

    /* センター部のテキストレイアウト */
    
    .explanation {
        position: sticky;
        top: 50%;
        margin: auto;
        text-align: center;
    }

    /* PC版でいらないものをけす */
    .c-phone {
        display: none;
    }

    .attention  {
        display: none;
    }

    .gotop {
        display: none;
    }

    .mobile_menu {
        display: none;
    }

}

/* PCレイアウトここまで */