﻿@charset "utf-8";

/* 基本設定
------------------------------------------------------------*/
/* font-family */

body{
    font-family: "メイリオ","ヒラギノ角ゴ ProN","游ゴシック体", "YuGothic", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
	color: #333;
	font-size:16px;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;   /*  iPhoneの文字サイズ調整無効化 */
	word-wrap: break-word;
}

.top-lead,
h1,
h2,
#g-nav,
#pc-nav,
.openbtn,
#footer{
    font-family: 'M PLUS Rounded 1c', sans-serif;
    letter-spacing: 0.1em;
}

*{box-sizing: border-box;
}

ul{
	margin:0;
	padding: 0;
}

a{
	color: #333;
	text-decoration: none;
	outline: none;
}

img{
	width: 100%;
	height: auto;
}

p{
  line-height: 1.4; /*行高*/
  margin:0;
}


/* 蛍光マーカー */
.marker {
    color:#666;
    background-color:#F4D160;
    font-weight:bold;
}

/* 点線下線・太字 */
.uline{ 
    border-bottom:dotted; 
    border-color:#333;
    border-width:2px;
    font-weight:bold;
}

.center{
	text-align:center;
}

.right{
	text-align:right;
}

.burasage{
	margin-left:1em;
	text-indent:-1em;
}

.font_14{
	font-size:14px;
}


/* CMSの改変を回避するためにspanで隠す設定 */
.none{
	display:none;
}



/* 共通
------------------------------------------------------------*/
.inner{
	width: 94%;
	margin: 0 auto;
}

.innerS{
	width: 70%;
	margin: 0 auto;
}



/* heading設定
------------------------------------------------------------*/
h1{
    font-size: 1.5rem;
    position: absolute;
    top: 10px;
    left: 5%;
    line-height: 1;
    letter-spacing: 0.2em;
}


h1 a{
    color:#fff;
}


/* ヘッダー
------------------------------------------------------------*/
/* g-nav */

#g-nav.panelactive li:last-child a{ /* スマホ版メニューの電話 */
    margin: 30px 0 0 0;
    padding: 10px 20px;
    border: 2px solid #333;
    white-space: nowrap;
}

/*pc-nav*/

#pc-nav span.bgLRextend::before{
    background:#666;
}


/* メインエリア
------------------------------------------------------------*/
/* main-area */

#main-area{
    width:90%;
    margin:0 auto;
    padding: 50px 0;
    background-color:rgba(255,255,255,0.85);
}


/* フッターエリア
------------------------------------------------------------*/
/* footer */

#footer{
    padding: 50px 0;
    border-top:1px solid #333;
    text-align: center;
    background-color:#606767;
    position: relative;
    text-transform: uppercase;
    color:#fff;
}

#footer .footer-logo{
    font-weight: bold;
    font-size:18px;
    letter-spacing: 0.3em;
    margin: 0;
    padding:0;
}

#footer_Link ul{
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     margin: 0 auto 20px;
}

#footer_Link li{
     position: relative;
     text-decoration: none;
     font-size:14px;
     padding: 0.5em 2em;
     line-height: 1.5;
     list-style-type: none;
}

#footer_Link li:before {
  font-family: "Font Awesome 6 Free";
  content:'\f0da';
  font-weight: 900;
  position: absolute;
  left : 1em; /*左端からのアイコンまで*/
  color: #fff; /*アイコン色*/
}

#footer_Link li a{
     color: #fff;
}

#footer_Link li a:hover{
     color: #A6D0DD;
}

#footer p{
	font-size:14px;
	margin:-20px 0 30px;
}



/* 機能設定
------------------------------------------------------------*/
/*===========================================================*/
/*機能編  9-6-3 モーダル*/
/*===========================================================*/
/*全て共通：hideエリアをはじめは非表示*/
.hide-area{
  display: none;
}

/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after, 
.modaal-close:before{
  background:#ccc;  
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
  background:#666;
}

/*確認を促すモーダル：タイトルの色を変更したい場合*/
#modaal-title{
  font-size:1.2rem;
  text-align: center;
  margin: 0 0 20px 0;
}

/*動画表示のモーダル：余白を変更したい場合*/
.modaal-video .modaal-inner-wrapper{
  padding:0;
}

/*モーダルのリンク*/
.md{
   color:#666;
   font-weight:bold;
   border-bottom:dotted; 
   border-color:#333;
   border-width:2px;
}

.md:hover{
   border-bottom:0;
}



/*===========================================================*/
/*機能編  5-1-12 クリックしたらナビが下から上に出現 */
/*===========================================================*/
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	bottom:-120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#A6D0DD; /*  透過色 rgba(166,208,221,0.9);*/
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    bottom: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav #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:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
        border-bottom: 1px solid #fff;
	letter-spacing: 0.1em;
	font-weight: bold;
}

#g-nav .childli{
     position: relative;
     text-decoration: none;
     padding: 0.5em 2em;
     line-height: 1.5;
     list-style-type: none;
     margin:0 0 0 20px;
     border-bottom: 1px dashed #fff;
}

#g-nav .childli:before {
  position: absolute;
  font-family: "Font Awesome 6 Free";
  content:'\f105';
  font-weight: 900;
  left : 1em; /*左端からのアイコンまで*/
  color: #333; /*アイコン色*/
}

#g-nav .childli a{
	color: #333;
	text-decoration: none;
	padding:0;
	display: block;
	letter-spacing: 0.1em;
	font-weight: bold;
        border-bottom: 0;
}


/*===========================================================*/
/*機能編  5-2-5	MENUが×に */
/*===========================================================*/

.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:0;
	right: 0;
	cursor: pointer;
    width: 80px;
    height:70px;
    border-left:2px solid #333;
}
	
/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
  }

.openbtn span:nth-of-type(1),
.openbtn span:nth-of-type(3) {
    height: 2px;
	background: #333;
  	width:30%;
    opacity: 0;
    top:22px;
    left:20px;
 }

.openbtn span:nth-of-type(2) {
	top:22px;
	left:18px;
	text-transform: uppercase;
	color: #333;
    font-size: 0.9rem;
}

@media screen and (max-width:550px) {
.openbtn span:nth-of-type(2) {
    font-size: 0.8rem;
    }
    
}

.openbtn span:nth-of-type(3) {
    top:35px;
}


/*activeクラスが付与されると線が回転して×になり、Menu表記をしている2つ目の要素が透過して消える*/

.openbtn.active span:nth-of-type(1),
.openbtn.active span:nth-of-type(3) {
    opacity:1;
}

.openbtn.active span:nth-of-type(1) {
    top: 28px;
    left: 30px;
    transform: translateY(6px) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
	opacity:0;
}

.openbtn.active span:nth-of-type(3){
    top: 40px;
    left: 30px;
    transform: translateY(-6px) rotate(45deg);
}



/*===========================================================*/
/*機能編  5-1-26 追従メニューの現在地ハイライト*/
/*===========================================================*/


/*========= 現在地表示のためのCSS ===============*/

#header{
	position: fixed;/*header固定*/
	height: 100px;/*Headerの高さ設定*/
	width:100%;
    z-index: 9;
	display: flex;
	justify-content: center;
	align-items: center;
    background: #A6D0DD;
    top:0;
}

@media screen and (max-width:768px) {
#header{
    height: 75px;
    }  
}

#pc-nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
    text-transform: uppercase;
    margin: 0 0 0 20%;
}

#pc-nav li a{
	display: block;
	text-decoration: none;
	color: #606767;
	padding:0 15px;
	transition:all 0.3s;
}

#pc-nav li.current a,
#pc-nav li a:hover{
	color:#fff;	
}

/*===========================================================*/
/*機能編  9-1-5 スクロールをするとエリアの高さに合わせて線が伸びる*/
/*===========================================================*/

.scrollgress{
	z-index:99;/*他のposition指定しているエリアより前に出すためz-indexの数字を大きく*/
}


/*===========================================================*/
/*機能編  8-1-3 ページの指定の高さを超えたら右から出現*/
/*===========================================================*/

/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#A6D0DD;
	border-top:1px solid #606767;/*606767*/
	border-left:1px solid #606767;
	border-bottom:1px solid #606767;
	width: 60px;
	height: 50px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:14px;
	font-weight:bold;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #606767;
	color:#fff;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 0;
	bottom:0;
	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);
  }
}


/*===========================================================*/
/* 印象編 4 最低限おぼえておきたい動き*/
/*===========================================================*/

/*4-9　シャッ（左から）*/
.bgextend{
	animation-name:bgextendAnimeBase;
	animation-duration:1s;
	animation-fill-mode:forwards;
	position: relative;
	overflow: hidden;/*　はみ出た色要素を隠す　*/
	opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*中の要素*/
.bgappear{
	animation-name:bgextendAnimeSecond;
	animation-duration:1s;
	animation-delay: 0.6s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes bgextendAnimeSecond{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}

.bgLRextend::before{
	animation-name:bgLRextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #A6D0DD;/*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime{
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

/* 4-1 ふわっ（下から） */

.fadeUp{
animation-name: fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}


/* 4-2　パタッ（左へ） */
.flipLeft{
animation-name: flipLeftAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
perspective-origin: left center;
opacity:0;
}

@keyframes flipLeftAnime{
  from {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
 	opacity: 0;
  }

  to {
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
  opacity: 1;
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　
.bgLRextendTrigger,
.bgappearTrigger,
.fadeUpTrigger,
.flipLeftTrigger{
    opacity: 0;
}*/





/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 1200px){ /*　画面1200px以上はここを読み込む　*/
	.inner{
		width: 1024px;
	}
}

@media only screen and (min-width: 800px){  /*　画面800px以上はここを読み込む　*/
	body{
		font-size:16px;
	}
	
  #footer{
		padding: 30px 10px 70px 0;
	}
}



@media screen and (max-width:550px) { /*　画面～550pxはここを読み込む　*/
    h1{
        font-size:1.2rem;
    }
}

@media only screen and (max-width: 640px){  /*　画面～640pxはここを読み込む　*/
	.innerS{
		width: 94%;
	}
        #footer_Link ul{
                justify-content: start;
                margin: 0 auto 20px;
                width:90%;
	}
        #footer_Link li{
                line-height: 1.0;
        }
}

@media only screen and (max-width: 768px){  /*　画面～799pxはここを読み込む　*/	
        body{
                line-height:1.5;
	}
}

@media screen and (max-width:990px) {  /* 990pxまではPC版メニューを隠す */
    #pc-nav{
        display: none;
    }
}
