/*----------------------------------------------------*/
/*root　　※https://colorhunt.co/palette/4e89ae43658bed6663ffa372*/
/*----------------------------------------------------*/

:root {
  --main-color: #4E89AE;/*rgb(78, 137, 174)*/
  --sub-color: #43658B;/*rgb(67, 101, 139)*/
  --gray-color: #f9f9f9;
  --point-color: #ED6663;/*rgb(237, 102, 99)*/
  --light-color: #fff;
  --main-color-light: #43658B;/*rgb(67, 101, 139)*/
  --point-color-light: #FFA372;/*rgb(255, 163, 114)*/
  --sub-color-light: rgb(16,20,54,0.125);
  --main-color-dark: #008080;
}

/*----------------------------------------------------*/
/*charset*/
/*----------------------------------------------------*/
@charset "utf-8";

/*----------------------------------------------------*/
/*fonts*/
/*----------------------------------------------------*/


/*----------------------------------------------------*/
/*body*/
/*----------------------------------------------------*/
body{
  font-family:'メイリオ', 'Meiryo', sans-serif;
}

/*----------------------------------------------------*/
/*others*/
/*----------------------------------------------------*/
a{
  color: var(--main-color);
}

p{font-size: 1.2rem;}
@media screen and (max-width: 768px) {
  p{font-size: 1rem;}
}

/*----------------------------------------------------*/
/*背景色*/
/*----------------------------------------------------*/
.bg-main{
  background: var(--main-color);
}
.bg-main-light{
  background: var(--main-color-light);
}
.bg-sub{
  background: var(--sub-color);
}
.bg-sub-light{
  background: var(--sub-color-light);
}
.bg-point{
  background: var(--point-color);
}
.bg-point-light{
  background: var(--point-color-light);
}
.bg-white{
  background: var(--light-color);
}

.bg-top {
  background: linear-gradient(180deg, var(--main-color) 0%, var(--main-color) 50%, var(--sub-color) 50%, var(--sub-color) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 400px;
  margin-bottom: -0.1rem;
}


/*----------------------------------------------------*/
/*文字色*/
/*----------------------------------------------------*/
.color-main{
  color: var(--main-color);
}
.color-sub{
  color: var(--sub-color);
}
.color-point{
  color: var(--point-color);
}
.color-white{
  color: var(--light-color);
}
.color-gray{
  color: var(--gray-color);
}
/*----------------------------------------------------*/
/*position*/
/*----------------------------------------------------*/
.center{
  text-align: center;
}
.right{
  text-align: right;
}
.left{
  text-align: left;
}

/*----------------------------------------------------*/
/*font-size*/
/*----------------------------------------------------*/
.sm{
  font-size: 0.8rem;
}
.big{
  font-size: 1.2rem;
}
.so-big{
  font-size: 1.5rem;
}
.sm-for-link{
  font-size: 0.8rem;
}

/*----------------------------------------------------*/
/*image-size*/
/*----------------------------------------------------*/
.illustration{
  width:80%;
}
.illustration-small{
  width:30%;
}
/*----------------------------------------------------*/
/*PC/mb*/
/*----------------------------------------------------*/
.pc	{ display:inline!important; }
.mb	{ display:none!important; }
@media screen and (max-width: 768px) {
.pc	{ display:none!important; }
.mb { display:inline!important; }
}


/*----------------------------------------------------*/
/*row */
/*----------------------------------------------------*/
.row-base{
  padding-top:5%;
  padding-bottom:5%;
  margin-top:1%;
  margin-bottom:1%;
}

.row-between-waves{
  padding-top:5%;
  padding-bottom:5%;
  margin-top: -0.5rem;
  margin-bottom: -0.5rem;
}

.row-brand{
  margin-top:1rem;
  margin-bottom:1rem;
}
.row-padding{
  padding-left: 5%;
  padding-right: 5%;
}
/*----------------------------------------------------*/
/*background */
/*----------------------------------------------------*/
.bg-diagonal-point {
  -webkit-clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 100%);
  background-color:RGBA(255, 163, 114,0.7);
  color:var(--light-color);
  padding: 100px 0 10px 0;
}
.bg-diagonal-sub {
  -webkit-clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 100%);
  background-color:RGBA(0, 0, 0);
  color:var(--sub-color);
  padding: 100px 0 10px 0;
}
.bg-diagonal-main {
  -webkit-clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 100%);
  background-color:RGBA(78, 137, 174,0.7);
  color:var(--light-color);
  padding: 100px 0 10px 0;
}

.border-inside-white-no-shadow{
  background: var(--light-color);
  padding:3%;
  border: 2px solid;
  border-color: var(--gray-color);
  border-radius: 8px; /* 半径が8pxの角丸 */
}


/*----------------------------------------------------*/
/*height */
/*----------------------------------------------------*/
.height-vh{
  min-height:70vh;
  height:auto !important;
  height:70vh;
}

.height-contents-title{
  min-height:20vh;
  height:auto !important;
  height:20vh;
}

/*----------------------------------------------------*/
/*footer */
/*----------------------------------------------------*/
.col-my-footer{
  padding: 5% 2% 5% 2%;
}

.row-my-footer-copylight{
  background: var(--main-color);
  color: #fff;
  padding: 1% 5% 1% 5%;
}

.my-footer{
  background: var(--sub-color);
  color: #fff;
  text-decoration: none;
  font-size: 80%;
  margin-top: -1rem;
}
.my-footer  a{
  text-decoration: none;
  color: var(--light-color);
}

/*----------------------------------------------------*/
/*action scroll */
/*----------------------------------------------------*/
.scroll-fade{opacity: 0; transition: all 2s/*処理にかかる時間*/;}
.scroll-up{opacity: 0; transform: translateY(100px)/*スクロールアップする距離*/; transition: all 2s/*処理にかかる時間*/;}
.scroll-up.done, .scroll-fade.done{opacity : 1; transform : translate(0, 0);}
.load-fade {opacity : 0; transition : all 2s/*処理にかかる時間*/;}
.load-up{opacity: 0; transform: translateY(100px)/*スクロールアップする距離*/; transition: all 2s/*処理にかかる時間*/;}
.load-up.done, .load-fade.done{opacity : 1; transform : translate(0, 0);}
.load-down{opacity: 0; transform: translateY(-100px)/*スクロールアップする距離*/; transition: all 2s/*処理にかかる時間*/;}
.load-down.done, .load-fade.done{opacity : 1; transform : translate(0, 0);}
.scroll-right{opacity: 0; transform: translateX(-100px)/*スクロールアップする距離*/; transition: all 2s/*処理にかかる時間*/;}
.scroll-right.done, .scroll-right.done{opacity : 1; transform : translate(0, 0);}
.scroll-left{opacity: 0; transform: translateX(100px)/*スクロールアップする距離*/; transition: all 2s/*処理にかかる時間*/;}
.scroll-left.done, .scroll-left.done{opacity : 1; transform : translate(0, 0);}

/*----------------------------------------------------*/
/*button */
/*----------------------------------------------------*/
/*ホバーでテキストが変化するボタン*/
.btn-text-change{
    /*テキストの基点とするためrelativeを指定*/
  position: relative;
    /*ボタンの形状*/
  border: 1px solid var(--main-color);
  border-radius:25px;
    min-width:210px;
  padding: 20px;
    text-align: center;
  display: inline-block;
    text-decoration: none;
    color: var(--main-color);
    background: var(--light-color);
    outline: none;
    /*アニメーションの指定*/
    transition: all .2s;
}

/*hoverした際の変化*/
.btn-text-change:hover{
  background:var(--main-color);
  color:var(--light-color);
}

.btn-text-change span{
    /*絶対配置でテキストの位置を決める*/
  position: absolute;
  left: 50%;
  top:50%;
    transform:translate(-50%,-50%);
    /*アニメーションの指定*/
    transition: all .5s;
  /*ブロック要素にしてテキスト折り返しなし*/
  display: block;
  white-space: nowrap;
}

/*差し替わるテキストの設定*/
.btn-text-change span:nth-child(2){
  opacity:0;/*透過0に*/
}

/*hoverするとテキストが入れ替わる設定*/
.btn-text-change:hover span:nth-child(1){
  opacity:0;/*透過0に*/
}

.btn-text-change:hover span:nth-child(2){
  opacity:1;/*不透明に*/
}

/*普通のボタン（color-main）*/
.btn-flat-border {
  display: inline-block;
  padding: 0.3em 1em;
  text-decoration: none;
  background: var(--main-color);
  color: white;
  border: solid 2px var(--main-color);
  border-radius: 3px;
  transition: .4s;
}

.btn-flat-border:hover {
  background: white;
  color: var(--main-color);
  text-decoration: none;
}

/*普通のボタン（color-point）*/
.btn-flat-border-point {
  display: inline-block;
  padding: 0.3em 1em;
  text-decoration: none;
  background: var(--point-color);
  color: white;
  border: solid 2px var(--point-color);
  border-radius: 3px;
  transition: .4s;
}

.btn-flat-border-point:hover {
  background: white;
  color: var(--point-color);
  text-decoration: none;
}

/*----------------------------------------------------*/
/*navigation */
/*----------------------------------------------------*/
/*アクティブになったエリア*/
#g-nav.panelactive{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  top: 0;
  width:100%;
  height: 100vh;
  text-align: left;
}

/*丸の拡大*/
.circle-bg{
    position: fixed;
    z-index:3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--point-color);;
    /*丸のスタート位置と形状*/
  transform: scale(0);/*scaleをはじめは0に*/
  right:-50px;
    top:-50px;
    transition: all .6s;/*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive{
  transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list{
    display: none;/*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
     display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
  opacity: 0;/*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    width:60%;
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
    opacity:1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li{
  animation-name:gnaviAnime;
  animation-duration:1s;
  animation-delay:.2s;/*0.2 秒遅らせて出現*/
  animation-fill-mode:forwards;
  font-size: 1.5em;
  font-family:'メイリオ', 'Meiryo', sans-serif;
  opacity:0;
}


@keyframes gnaviAnime{
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*リストのレイアウト設定*/
#g-nav li{
  text-align: center;
  list-style: none;
}

#g-nav li a{
  color: var(--light-color);
  text-decoration: none;
  padding-top:2em;
  display: block;
  /*text-transform: uppercase;*/
  letter-spacing: 0.1em;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position:fixed;
  top:10px;
  right: 10px;
  z-index: 9999;/*ボタンを最前面に*/
  cursor: pointer;
    width: 50px;
    height:50px;
  background-color: var(--main-color);
  border-radius: 10px;
}

/*×に変化*/
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background-color: var(--light-color);
    width: 45%;
  }

.openbtn1 span:nth-of-type(1) {
  top:15px;
}

.openbtn1 span:nth-of-type(2) {
  top:23px;
}

.openbtn1 span:nth-of-type(3) {
  top:31px;
}

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

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

/*----------------------------------------------------*/
/*スクロールダウン */
/*----------------------------------------------------*/


/*=== 9-1-4 矢印が動いてスクロールを促す  ====*/

/*スクロールダウン全体の場所*/
.scroll-down{
    /*描画位置※位置は適宜調整してください*/
  position:absolute;
  bottom:1%;
  right:50%;
    /*矢印の動き1秒かけて永遠にループ*/
  animation: arrowmove 1s ease-in-out infinite;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove{
      0%{bottom:1%;}
      50%{bottom:3%;}
     100%{bottom:1%;}
 }

/*Scrollテキストの描写*/
.scroll-down span{
    /*描画位置*/
  position: absolute;
  left:-20px;
  bottom:10px;
    /*テキストの形状*/
  color: var(--point-color);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scroll-down:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    right: -6px;
    /*矢印の形状*/
    width: 3px;
    height: 20px;
    background: var(--point-color);
    transform: skewX(-31deg);
}

.scroll-down:after{
  content:"";
    /*描画位置*/
  position: absolute;
  bottom:0;
  right:0;
    /*矢印の形状*/
  width:3px;
  height: 50px;
  background:var(--point-color);
}

/*----------------------------------------------------*/
/*  タイトルアニメーション（）*/
/*----------------------------------------------------*/
.rollAnime.roll span {
    transition-property: opacity,transform;
    transform: rotateY(360deg);
    transition: all .8s cubic-bezier(.77,0,.175,1);
    transition-timing-function: cubic-bezier(.77,0,.175,1);
    display: inline-block;
}
