@charset "utf-8";
body{
    animation-name:fadeInAnime;
    animation-duration:4s;
    animation-fill-mode:forwards;
    opacity:0;
    line-height: 1.8;
	overflow-x: auto;f
	text-align:justify;
	-webkit-overflow-scrolling: touch;
	color: #545251;
	font-family: 'Noto Sans JP', "游ゴシック体", YuGothic, 'ヒラギノ角ゴシック', 'Hiragino Sans', 'メイリオ', Meiryo, sans-serif;
	color: var(--base);
    }
    @keyframes fadeInAnime{
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }
html {
	font-size: 62.5%;
	font-weight: 400;
	font-style: normal;
	scroll-behavior: smooth;
  }
a {
    transition: 0.5s;
}
a:hover {
    opacity: 0.5;
}

:root{
	--fs16: clamp(1.6rem, 1vw, 1.4rem);
	--fs18: 1.8rem;
	--base: #000030;
	--b_color: #0094d8; /*明るいブルー*/
	--db_color: #003964; /*ダークブルー*/
	--g_color: #f2f2f2; /*薄いグレイ*/
	--gr_color: #00a041; /*グリーン*/
	--wh: #fff;
	--fb: 600;
}
main {
	position: relative;
	overflow: hidden;
	display: block;
	font-size: 1.6rem;
}
.contents_wrap{
	width: min(90%, 1170px);
	margin-inline: auto;
}
.contents_wrap_02{
	width: min(90%, 900px);
	margin-inline: auto;
}
.contents_wrap_03{
	width: min(90%, 1000px);
	margin-inline: auto;
}
.contents_wrap_04{
	width: min(90%, 800px);
	margin-inline: auto;
}
.fb{ font-weight: var(--fb)}
.fb_01{
	font-weight: 500;
}
.fb_02{
	font-weight: 600;
}

/* マージン
 ====================================================*/
.mt10 { margin-top: 10px;}
.mt20 { margin-top: 20px;}
.mt30 { margin-top: 30px;}
.mt60 { margin-top: 60px;}
.mt90 { margin-top: 90px;}
.mb10 { margin-bottom: 10px;}
.mb20 { margin-bottom: 20px;}
.mb30 { margin-bottom: 30px;}

.p_mb01 p{/* pタグの下に入るマージン */
	margin-bottom: 1.5em;
}
.p_mb00{
	margin-bottom: 0 !important;
}
.p_mt01{
	margin-top: 1.5em !important
}
.txt_list li{
	text-indent: -1em;
	margin-left: 1em;
}

/* ニュース
 ====================================================*/
/* サムネール有り */
#news_thumb .news_list{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 15px 2%;
}
#news_thumb .news_list li{
	_width: 25%;
}
#news_thumb .news_list li img{
	width: 100%;
	height: 200px;
	object-fit: cover;
}

/* サムネール無し */
#news{
	width: 70%;
	background-color: #fff;
	padding: 30px 40px;
}
#news .news_list li{
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap
}
#news .news_list li + li{
	padding-top: 15px;
}
#news .news_list .post_date{
	font-size: 1.2rem;
}
#news .news_list .post_category{
	background-color: #e6e6e6;
	color: #2eb6aa;
	border-radius: 10px;
	padding: 5px 10px;
	font-size: 1.3rem;
}

/* ヘッダー
 ====================================================*/
__header{
  position: fixed;
  top: 0;
  z-index: 1;
	font-size: 1.6rem;
}
/* ヘッダーナビ（１）*/
.header_logo{
	position: fixed;
	top: 10px;
	left: 5%;
	z-index: 1;
}
.header{
	position: absolute;
	top:20px;
	right: 10%;
	writing-mode: vertical-rl;
	z-index:1
}
.header a{
	color: #fff;
}
.header ul{
	line-height: 2;
	letter-spacing: 3px;
}
.header ul li.contact{
	margin-left: 20px;
}
.header ul li.contact a{
	background-color: var(--b_color);
	padding: 5px 10px;
}
.header_scroll.scroll-nav{
	position: fixed;
  background-color: rgba(255,255,255,0.8);
	width: 100%;
  height: 100px;
	z-index: 1
}
.header.scroll-nav {
	  position: fixed;
  background-color: rgba(255,255,255,0.8);
  height: auto;
  writing-mode: inherit;
	z-index: 1
}
.header.scroll-nav ul {
  display: flex;
  gap: 30px;
}

/* ヘッダーナビ（２）*/
.header_02{
	position: fixed;
	width: 100%;
 	 height: 90px;
 	 background-color: var(--wh);
  	  padding: 10px 10% 10px 5%;
  	display: flex;
  	align-items: center;
	justify-content: space-between;
	z-index: 1
}
.header_02.scroll-nav {
  background-color: rgba(255,255,255,0.8);
  height: auto;
}
.header_02 ul{
	display: flex;
}
.header_02 ul li + li{
	margin-left: 30px;
}

.head_nav_contact{
	position: fixed;
	top: 20px;
	right: 3%;
	z-index: 3;
}
.head_nav_contact a{
	background-color: var(--b_color);
  padding: 10px 8px;
  writing-mode: vertical-rl;
  color: var(--wh);
  letter-spacing: 3px;
  border-radius: 10px;
}

.side_link{
	position: fixed;
	top: 330px;
	right: 0;
	z-index: 1;
}
.side_link div + div{
	margin-top: 10px;
}

/* レイアウト
 ====================================================*/
.t_center{
	text-align: center;
}
.bnr{
	text-align: center;
	margin-block: 50px;
}
.bnr a{
	background-color: var(--gr_color);
	padding: 30px;
	border-radius: 10px;
	color: #fff;
}

	.t-l_t-c{text-align: left}
	.t-r_t-c{text-align: right}
    .pc {display: block !important;}
    .sp {display: none !important;}
    /* インライン要素の時 */
    .pcinline {display: inline;}
    .spinline {display: none !important;}

@media screen and (max-width: 767px) {
	.t-l_t-c{text-align: center}
	.t-r_t-c{text-align: center}
    .pc {display: none !important;}
    .sp {display: block !important;}
    /* インライン要素の時 */
    .pcinline {display: none !important;}
    .spinline {display: inline !important}
}
/* タイトルまわり
 ====================================================*/
.ttl_wrap{
	text-align: center;
	line-height: 1;
}
.ttl_wrap .b_ttl{
	font-size: clamp(2.5rem, 2vw, 3.8rem);
	letter-spacing: 2px;
	margin-top: 20px;
}
.ttl_wrap .s_ttl{
	font-size: 1.4rem;
	margin-top: 5px;
}
.ttl_01{
	font-size: clamp(1.8rem, 2vw, 2.4rem);
	margin-bottom: 10px;
	font-weight: var(--fb)
}
.ttl_02{
	font-size: 2rem;
	margin-bottom: 10px;
	font-weight: var(--fb)
}
.ttl_03{
	font-size: clamp(2.5rem, 2vw, 3rem);
	margin-bottom: 5%;
	font-weight: var(--fb);
	text-align: center;
	display: table !important;
	margin-inline: auto;
}
.ttl_04{
	font-size: 2.4rem;
	border-left: 7px solid var(--b_color);
	padding-left: 1em;
	margin-bottom: 20px;
	margin-top: 60px;
}
.ttl_05{
	border-left: 8px solid var(--b_color);
  padding-left: 10px;
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: clamp(2rem, calc(0.75rem + 1vw), 2.4rem);
  font-weight: bold;
}
.border_g{
	border-bottom: 2px solid var(--gr_color);
	display: inline-block;
	padding: 0 10px 10px;
}
.border_wh{
	border-bottom: 2px solid var(--wh);
	display: inline-block;
	padding: 0 10px 10px;
}
.border_b{
	border-bottom: 2px solid var(--b_color);
	display: inline-block;
	padding: 0 10px 10px;
}

.btn{
  display: inline-block;
}
.btn_01 a{
	position: relative;
  padding: 20px 40px;
  background-color: #fff;
  border-radius: 20px;
}
.btn_01 a:before{
	position: absolute;
  top: 7px;
  left: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  content: '';
  border: 1.5px dashed var(--b_color);
  border-radius: 15px;
}

/* フッター
 ====================================================*/
#footer{
	background-color: var(--db_color);
	color: #fff;
	font-size: 1.4rem;
	display: flex;
	justify-content: space-evenly;
	padding: 40px 0 30px;
	letter-spacing: 1px;
	margin-top: 100px;
}

#footer .footer_list p{
	margin-top: 30px;
}
#footer .footer_list p.copyright{
	font-size: 1.2rem;
	margin-top: 10px;
}
#footer .footer_nav_list ul{
	display: flex;
  	gap: 3em;
  	flex-wrap: wrap;
  	width: 500px;
}
#footer h2 img{
	width: 250px;
}

/* 動かすCSS
 ====================================================*/

/* 流れるテキスト
 ====================================================*/
/*全共通*/

.slide-in {
	overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
	display: inline-block;

}

/*左右のアニメーション*/
.leftAnime{
    opacity: 0;/*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
	animation-name:slideTextX100;
	animation-duration:0.8s;
	animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
  from {
	transform: translateX(-100%); /*要素を左の枠外に移動*/
        opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeRightLeft {
	animation-name:slideTextX-100;
	animation-duration:0.8s;
	animation-fill-mode:forwards;
    opacity: 0;
}


@keyframes slideTextX-100 {
  from {
	transform: translateX(100%);/*要素を右の枠外に移動*/
    opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}


/* ナビゲーションのためのCSS
 ====================================================*/
#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
	z-index: -1;
	opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
	top:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background: var(--b_color);
    /*動き*/
	transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
	opacity: 1;
	z-index:999;
}

/*ナビゲーションの縦スクロール*/
#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;
}

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

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

#g-nav li a{
	color: #fff;
	text-decoration: none;
	padding:5px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	  font-size: 1.6rem;
	line-height: 1.5
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top: 20px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
	background-color: var(--db_color);
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 1px;
    border-radius: 2px;
	background-color: #fff;
  	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%;
}



/* じんわり出現
 ====================================================*/
/* ぼかしから出現 その場で*/
.blur_sonoba{
	animation-name:blurAnime;
	animation-duration:4s;
	animation-fill-mode:forwards;
}
@keyframes blurAnime{
  from {
	filter: blur(10px);
	transform: scale(1.02);
  }

  to {
	filter: blur(0);
	transform: scale(1);
  }
}


/* ぼかしから出現 */
.blur{
  animation-name:blurAnime;
  animation-duration:2s;
  animation-fill-mode:forwards;
}
@keyframes blurAnime{
  from {
  filter: blur(10px);
  transform: scale(1.02);
  opacity: 0;
  }

  to {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.blurTrigger{
    opacity: 0;
}

/* 下から */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(50px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeInTrigger,
.fadeUpTrigger,
.fadeDownTrigger,
.fadeLeftTrigger,
.fadeRightTrigger{
    opacity: 0;
}

/* 右から */

.fadeRight{
animation-name:fadeRightAnime;
animation-duration:2s;
animation-fill-mode:forwards;
opacity:0.2;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
	transform: translateX(200px);
  }

  to {
    opacity: 1;
	transform: translateX(0);
  }
}


/* 全共通　左から背景色が
 ====================================================*/
.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;
	left:0rem;
	top:0;
    width: 100%;
    height: 100%;
    background-color: #fff;/*伸びる背景色の設定*/
}
@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);
	}
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgLRextendTrigger{
    opacity: 0;
}


/* 丸が動いてスクロールを促す
 ====================================================*/
/*スクロールダウン全体の場所*/
.scrolldown2{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	bottom:10px;
	left:50%;
	z-index: 33;
}

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

/* 丸の描写 */
.scrolldown2:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom:0;
    left:-4.5px;
    /*丸の形状*/
	width:10px;
	height:10px;
	border-radius: 50%;
	background:#eee;
    /*丸の動き1.6秒かけて透過し、永遠にループ*/
	animation:
		circlemove 1.6s ease-in-out infinite,
		cirlemovehide 1.6s ease-out infinite;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove{
      0%{bottom:45px;}
     100%{bottom:-5px;}
 }

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide{
      0%{opacity:0}
     50%{opacity:1;}
    80%{opacity:0.9;}
	100%{opacity:0;}
 }

/* 線の描写 */
.scrolldown2:after{
	content:"";
    /*描画位置*/
	position: absolute;
	bottom:0;
	left:0;
    /*線の形状*/
	width:1px;
	height: 60px;
	background:#eee;
}


/* 矢印付きボタン
 ====================================================*/
/*== ボタン共通設定 */
.btn{
    /*アニメーションの起点とするためrelativeを指定*/
	overflow: hidden;
	display: inline-block;
	width: auto;
    /*ボタンの形状*/
	text-decoration: none;
    padding: 0rem 6px 0rem 3px;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/   
    transition: ease .2s;
	background-color: #fff;
	border: 1px solid var(--gr_color);
  border-radius: 20px;
}

/*ボタン内spanの形状*/
a.btn:hover{
	opacity: 1;
}
.btn{
	position: relative;
}
.btn span {
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color: var(--base);
}
.btn.btn--big {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
	font-weight: var(--fb);
	padding: 1px 0.6rem 0.1rem 0.2rem;
}
.btn.btn--small {
	  padding: 7px 60px 8px 20px;
}
.btn.btn--small span {
	padding-right: 0.3rem;
}
.btn:hover span{
	color:#fff;
}
.btn span:after {
	content: '';
	width: 60px;
	transform: translate(30px, 0px);
	display: block;
  position: absolute;
  top: calc(50% - 6px);
  right: -40px;
  width: 30px;
  height: 8px;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  transform: skew(45deg);
}
.btn:hover span:after{
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
}

/*== 背景が流れる（左から右） */
.bgleft:before {
 	content: '';
    /*絶対配置で位置を指定*/
 	position: absolute;
 	top: 0;
 	left: 0;
 	z-index: 2;
    /*色や形状*/
 	background-color: var(--gr_color);/*背景色*/
 	width: 100%;
	height: 50px;
    /*アニメーション*/
 	transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
 	transform: scale(0, 1);
	transform-origin: right top;
}

/*hoverした際の形状*/
.bgleft:hover:before{
	transform-origin:left top;
	transform:scale(1, 1);
}


/* フッターの前で止まるページトップ
 ====================================================*/
/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 0.5rem;
	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);
  }
}


/* SP
 ====================================================*/

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

main {
	font-size:1.4rem;
	font-weight: 400;
	font-style: normal;
	scroll-behavior: smooth;
  }
	
header h1{
	width: 300px;
}
header h1 img{
	width: 80%;
}
.side_link{
	display: flex;
	top: auto;
	right: 0;
	bottom: 10px;
}
.side_link div + div{
	margin-top: 10px;
}

/*.contents_wrap_03 {
  width: min(90%, 1000px);
  margin-inline: auto;
  margin-left: 5%;
  padding-left: 4%;
}*/
.ttl_04 {
  font-size: 2rem;
  padding-left: 0.5em;
}

.sp_kotei {
    display: flex !important;
    position: fixed;
    bottom: 0;
    background-color: #fff;
    width: 100%;
	padding-block: 10px;
}
.sp_kotei li{
	width: calc(100% / 3)
}
.sp_kotei li + li{
	border-left: 1px dashed #666;
}
.sp_kotei li img{
	width: 100%;
	margin: auto;
    display: table;
}
#footer {
  font-size: 1.3rem;
  padding-bottom: 150px;
	text-align:center;
}
#footer h2 img {
  width: 200px;
}
.sp_copyright{
	display: block;
	margin-top: 30px;	
	font-size: 1.2rem;
	}
}
