/*!
 * parts.css • v1.0.0
 * パーツの細かい調整のCSS
 * auther:ELSYS
 */
@charset "utf-8";
/*===========================================================*/
/*背景色が伸びる（下から上） */
/*===========================================================*/


/*========= ローディング画面のためのCSS ===============*/
#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 9999999;
	text-align:center;
	color:#fff;
}

#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#splash-logo img{
	width:50px;
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/

.splashbg{
	display: none;
}

body.appear .splashbg{
    display: block;
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: scaleY(0);
    background-color: #615cee;/*伸びる背景色の設定*/
	animation-name:PageAnime;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;

}

@keyframes PageAnime{
	0% {
		transform-origin:bottom;
		transform:scaleY(0);
	}
	50% {
		transform-origin:bottom;
		transform:scaleY(1);
	}
	50.001% {
		transform-origin:top;
	}
	100% {
		transform-origin:top;
		transform:scaleY(0);
	}
}

/*画面遷移の後現れるコンテンツ設定*/

#wrapper{
	opacity: 0;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #wrapper{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay: 0.8s;
	animation-fill-mode:forwards;
	opacity: 0;
}

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


/*===========================================================*/
/*クリックしたらナビが下から上に出現 */
/*===========================================================*/
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	bottom:-120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#615cee;
    /*動き*/
	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:40%;
    transform: translate(-50%,-50%);
}

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

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

#g-nav li a{
	color: #f3f3f3;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*===========================================================*/
/*MENUが×に */
/*===========================================================*/

.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:28px;
	right: 0;
	cursor: pointer;
    width: 80px;
    height:70px;
    border-left:2px solid #333;
}

@media screen and (max-width:990px) {
.openbtn{
    top: 1px;
    }  
}
	
/*ボタン内側*/
.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);
}



/*===========================================================*/
/*追従メニューの現在地ハイライト*/
/*===========================================================*/

/*========= 現在地表示のためのCSS ===============*/

#header{
	position: fixed;/*header固定*/
	top: 0;
	height: 100px;/*Headerの高さ設定*/
	width:100%;
    z-index: 9;
	display: flex;
	justify-content: center;
	align-items: center;
    background-color: rgb(255, 252, 252,0.8);
}

@media screen and (max-width:990px) {
#header{
    height: 75px;
    }  
}

#pc-nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
    text-transform: uppercase;
    margin: 0 0 0 5%;
}

#pc-nav li a{
	display: block;
	text-decoration: none;
	color: #333;
	padding:0 15px;
	transition:all 0.3s;
}

#pc-nav li.current a,
#pc-nav li a:hover{
	color:#615cee;	
}

/*===========================================================*/
/*スクロールをするとエリアの高さに合わせて線が伸びる*/
/*===========================================================*/

.scrollgress{
	z-index:99;/*他のposition指定しているエリアより前に出すためz-indexの数字を大きく*/
}

/*===========================================================*/
/*下線が伸びて背景に変わる*/
/*===========================================================*/


.btnlinestretches3{
    /*線の基点とするためrelativeを指定*/
	position:relative;
    /*ボタンの形状*/  
	color:#333;
    padding: 5px 30px;
	display:inline-block;
    text-decoration: none;
    outline: none;
}

/*テキストの設定*/
.btnlinestretches3 span{
    /*テキストを前面に出すためz-indexの値を高く設定*/
	position:relative;
	z-index: 2;
}

.btnlinestretches3:hover span{
	color: #fff;
}

/*線の設定*/
.btnlinestretches3::after {
	content:'';
    /*絶対配置で線の位置を決める*/
	position:absolute;
	z-index:1;
	bottom:0;
	left:0;
    /*線の形状*/
	background:#333;
	width:100%;
	height:3px;
    /*アニメーションの指定*/
	transition:all 0.3s ease-in-out;
}

/*線が伸びて背景に*/
.btnlinestretches3:hover::after {
	height:100%;
}

/*===========================================================*/
/*ページの指定の高さを超えたら右から出現*/
/*===========================================================*/

/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#615cee;
	width: 60px;
	height: 50px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#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);
  }
}

/*===========================================================*/
/*任意の場所をクリックすると隠れていた内容が開き、先に開いていた内容が閉じる*/
/*===========================================================*/

/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
}

.accordion-area li{
    margin: 10px 0;
}

.accordion-area section {
	border: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
}

@media screen and (max-width:768px) {
.title {
    font-size:0.9rem;
}
}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    
}
.title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}

/*　closeというクラスがついたら形状変化　*/

.title.close::before{
	transform: rotate(45deg);
}

.title.close::after{
	transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
    background: #f3f3f3;
	margin:0 3% 3% 3%;
    padding: 3%;
}


/*===========================================================*/
/*ニュースティッカー*/
/*===========================================================*/

/*ニュース1行の周りの余白*/
.slider a{
    display: block;
    background:#fff;
    padding:10px 0;
}

/*日付*/
.slider time{
    display:inline-block;
    font-size:0.8rem;
    margin-right:10px;
    color:#777;
}

/*768px以下の見た目*/
@media screen and (max-width:768px) {
    .slider {
        padding:20px;
        background:#fff;
    }

    .slider li {
        border-bottom:1px dashed #ccc;
    }

    .slider li:last-child {
        border-bottom:none;
    }
    .slider time {
        display:block;
		padding-bottom:10px;
    }
}


/*===========================================================*/
/*最低限おぼえておきたい動き*/
/*===========================================================*/

/*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: #615cee;/*伸びる背景色の設定*/
}
@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;
  }
}

/* スマホ表示用。flipLeftTriggerを指定している親要素に指定しないとうまく動かない*/
#vision,
.service-area{
    transform:  translate3d(0, 0, 0);
}

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


/*===========================================================*/
/*スクロールすると下のエリアがヘッダーにかぶさる*/
/*===========================================================*/

#top-main{
	width:100%;
	height: 100vh;
	position: relative;
} 

#top-main:before{
	content: '';
	position:fixed;
	top:10vh;
	left:5%;
	z-index:-1;
	width:90%;
	height: 80vh;
	/*背景画像設定*/
	background:url("../img/pict-main001.png") no-repeat center;
	/* background:url("../img/main.jpg") no-repeat center; */
	background-size:cover;
}

@media screen and (max-width:768px) {
#top-main:before{
    background-position: top center;
    background-size:auto 90%;
    }
}

#container{
	position: relative;
	z-index:1;
	background:#fff;
}


/* ボタン共通設定 */
.btn04 {
	/*線の基点とするためrelativeを指定*/
position: relative;
	/*ボタンの形状*/
display:inline-block;
	padding:10px 30px;
color:#333;
border:1px solid #ccc;
	text-decoration: none;
	outline: none;
	/*はみ出す背景色を隠す*/
 overflow: hidden;
}

/*hoverした際のボタンの形状*/
.btn04:hover {
color:#fff;
border-color: transparent;
	/*色の変化を遅らせる*/
transition-delay: .6s;
}

/*線の設定*/
.btn04 span{
	display: block;
	z-index: 2;
}

/*== 線から塗に変化（上から下） */

/*線の設定*/
.bordertop span::before,
.bordertop span::after {
	content: '';
	/*絶対配置で線の位置を決める*/
	position: absolute;
	width:1px;
	height: 0;
	/*線の形状*/
	background: #a09ef2;
	/*アニメーションの設定*/
transition: all .3s;
}

/*左線*/
.bordertop span::before {
	left:0;
	top:0;
}

/*右線*/
.bordertop span::after {
	right:0;
	top:0;
}

/*hoverをすると線が伸びる*/
.bordertop:hover span::before,
.bordertop:hover span::after {
	height: 100%;
}

/*背景の設定*/
.bordertop::before{
content: '';
	/*絶対配置で線の位置を決める*/
position: absolute;
left: 0;
	top:0;
z-index: -1;
	/*背景の形状*/
width: 100%;
height: 0;
background:#a09ef2;
	/*アニメーションの設定*/
transition: all .3s;
}

/*hoverをすると背景が伸びる*/
.bordertop:hover::before{
height: 100%;
	/*0.4秒遅れてアニメーション*/
transition-delay: .4s;
}
/*!
 * layout.min.css • v1.0.0
 * レイアウトのためのCSS
 * auther:ELSYS
 */
@charset "utf-8";

#wrapper {
	background: #fff;
}
#top-main02 {
  position: relative;
  /*h1の中央寄せ配置の起点とするためのrelative*/
  height: 100vh;
  /*高さを全画面にあわせる*/
}

#video-area {
  position: fixed;
  z-index: -1;
  /*最背面に設定*/
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
}

#video {
  /*天地中央配置*/
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /*縦横幅指定*/
  width: 177.77777778vh;
  /* 16:9 の幅→16 ÷ 9＝ 177.77% */
  height: 56.25vw;
  /* 16:9の幅 → 9 ÷ 16 = 56.25% */
  min-height: 100%;
  min-width: 100%;
}

/*見出し設定*/
.top-message {
  /*要素の配置*/
  position: absolute;
  /*要素を天地中央寄せ*/
  top: 60%;
  left: 15%;
  /* transform: translateY(-50%) translateX(0%); */
  /* margin-left:40px; */
  /*見た目の調整*/
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 0 15px #666;
}

/* レイアウトのためのCSS */

body {
  font-family: "Noto Serif JP", serif, sans-serif;
  color: #333;
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 0.8rem;
  }
}

* {
  box-sizing: border-box;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #333;
  text-decoration: none;
  outline: none;
}

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

/* font-family */

#splash-logo,
.top-lead,
h1,
h2,
h3 span,
#g-nav,
#pc-nav,
.openbtn,
#footer {
  font-family: "Lato", sans-serif;
  letter-spacing: 0.1em;
}

/* splash */

#splash-logo {
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #615cee;
}

#splash-logo img {
  width: 50%;
}

@media screen and (max-width:660px){
	#splash-logo img {
		width:90%;
	}
}
/* g-nav */

#g-nav.panelactive li:last-child a {
  margin: 30px 0 0 0;
  padding: 10px 20px;
  border: 2px solid #f3f3f3;
  white-space: nowrap;
}

#g-nav.panelactive li:nth-child(6) a {
  background-color: #f3f3f3;
  color: #615cee;
}

/*pc-nav*/
#pc-nav {
  margin-left: auto;
  margin-right: 130px;
  margin-bottom: -30px;
}
#pc-nav ul {
  margin-left: auto;
  padding-left: 180px;
}
#pc-nav ul li {
  padding: 10px 0;
}
#pc-nav ul li:last-child {
  background-color: rgb(97, 92, 238);
  opacity: 0.8;
}

#pc-nav span.bgLRextend::before {
  background: #333;
}

#pc-nav span {
  white-space: nowrap;
}

@media screen and (max-width: 990px) {
  #pc-nav {
    display: none;
  }
}

/* heading */

h1 {
  text-transform: uppercase;
  font-size: 1.5rem;
  position: absolute;
  top: 30%;
  left: 5%;
  line-height: 1;
  letter-spacing: 0.2em;
}

h1 img {
  width: 15%;
  padding-right: 15px;
}

@media screen and (max-width: 550px) {
  h1 {
    font-size: 1.2rem;
    top: 32%;
  }
}

h1 a {
  color: #615cee;
}

h2 {
  text-transform: uppercase;
  font-size: 3rem;
}

@media screen and (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }
}

/* lead */

.top-lead {
  position: fixed;
  bottom: 10%;
  left: 5%;
  font-size: 3rem;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 1.5;
}

.top-lead span.bgLRextend::before {
  background: #333;
}

@media screen and (max-width: 550px) {
  .top-lead {
    font-size: 2.2rem;
  }
}

@media screen and (max-width: 380px) {
  .top-lead {
    font-size: 1.8rem;
  }
}

/* main-area */

#main-area {
  width: 90%;
  margin: 0 auto;
  padding: 50px 0;
}

/* topics */

#topics {
  border-left: 3px solid #000;
  padding: 0 0 0 20px;
}

@media screen and (max-width: 768px) {
  #topics {
    margin: 0 0 32px 0;
  }
}

#topics h2 {
  font-size: 1.5rem;
}

#topics h2 span.bgLRextend::before {
  background: #333;
}

.bx-wrapper {
  box-shadow: none;
  border: none;
}

.info-btn {
  margin: 30px auto 42px auto;
  text-align: center;
}

/* vision */

#vision {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 100px 0;
}

@media screen and (max-width: 768px) {
  #vision {
    margin: 0 0 50px 0;
  }
}

.webp .vision-img {
  background: url("../img/pict-004m.webp") no-repeat center;
  background-size: cover;
}

.no-webp .vision-img {
  background: url("../img/pict-004m.png") no-repeat center;
  background-size: cover;
}

#vision .img {
  width: 40%;
  min-height: 590px;
}

#vision .content {
  width: 50%;
  text-align: right;
}

@media screen and (max-width: 768px) {
  #vision .img {
    width: 100%;
    min-height: 290px;
    margin: 0 0 50px 0;
  }

  #vision .content {
    width: 100%;
    text-align: left;
  }
}

#vision h2 {
  color: #615cee;
  margin: 0 0 30px 0;
}

#vision p {
  line-height: 2;
  margin: 0 0 50px 0;
}

#vision .vision-lead {
  position: relative;
  color: #615cee;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0 0 90px 0;
}

@media screen and (max-width: 768px) {
  #vision .vision-lead {
    font-size: 1rem;
  }
}

#vision .vision-lead::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: 0;
  background: #615cee;
  width: 12em;
  height: 3px;
}

@media screen and (max-width: 480px) {
  #vision .vision-lead::after {
    right: 50%;
  }
}

/* service */

#service h2 {
  text-align: center;
  margin: 0 0 100px 0;
}

@media screen and (max-width: 550px) {
  #service h2 {
    margin: 0 0 50px 0;
  }
}

#service h2 {
  text-align: center;
  color: #615cee;
  margin: 0 0 100px 0;
}

#service h2 span.bgLRextend::before {
  background: #615cee;
}

#service .service-area {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 0 300px 0;
}

@media screen and (max-width: 768px) {
  #service .service-area {
    margin: 0 0 200px 0;
  }
}

@media screen and (max-width: 590px) {
  #service .service-area {
    margin: 0 0 50px 0;
  }
}

#service .service-area::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 23em;
  background: #f3f3f3;
  right: 10%;
  top: 20%;
  z-index: -1;
}

#service .service-area:nth-of-type(2n + 1) {
  flex-direction: row-reverse;
}

#service .service-area .img {
  width: 50%;
}

#service .service-area .content {
  width: 40%;
  background: #fff;
  box-shadow: 0 0 20px #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 150px;
}

@media screen and (max-width: 768px) {
  #service .service-area .content {
    width: 47%;
    top: 100px;
  }
}

@media screen and (max-width: 590px) {
  #service .service-area .img {
    width: 100%;
    z-index: 2;
  }

  #service .service-area .content {
    width: 100%;
    top: -10px;
    animation: none;
    opacity: 1;
    z-index: 1;
  }
}

#service .service-area .content-area {
  padding: 40px;
}

#service .service-area .content-area h3 {
  text-align: center;
  font-size: 1rem;
  margin: 0 0 30px 0;
}

#service .service-area .content-area h3 span {
  font-weight: bold;
  text-transform: uppercase;
  display: block;
  font-size: 1.2rem;
}

#service .service-area .content-area p {
  margin: 0 0 30px 0;
}

#service .btn {
  text-align: right;
}

/* about */

#about {
  margin: 0 0 200px 0;
}

@media screen and (max-width: 768px) {
  #about {
    margin: 0 0 100px 0;
  }
}

#about h2 {
  text-align: center;
  color: #615cee;
  margin: 0 0 100px 0;
}

@media screen and (max-width: 550px) {
  #about h2 {
    margin: 0 0 50px 0;
  }
}

#about .about-list {
  width: 96%;
  max-width: 900px;
  margin: 0 auto;
}

#about .about-list li {
  border-bottom: 1px solid #ccc;
  margin: 0 0 15px 0;
  padding: 0 0 15px 0;
}

#about .about-list dl {
  display: flex;
  justify-content: space-between;
}

#about .about-list dt {
  width: 30%;
  padding: 0 0 0 40px;
}

@media screen and (max-width: 590px) {
  #about .about-list dt {
    padding: 0 0 0 10px;
  }
}

#about .about-list dd {
  width: 65%;
}

/* history */

#history {
  position: relative;
  padding: 0 70px;
  margin: 0 0 100px 0;
}

#history h2 {
  position: absolute;
  right: 45%;
  z-index: 2;
  text-align: center;
}

.history-area {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.webp .history-img {
  background: url("../img/kihoku_history.webp") no-repeat center;
  background-size: cover;
}

.no-webp .history-img {
  background: url("../img/kihoku_history.png") no-repeat center;
  background-size: cover;
}

.history-img {
  margin-top: 180px;
  height: 40vh;
  width: 40%;
}

.history-content {
  width: 45%;
  padding: 150px 0 0 0;
}

@media screen and (max-width: 768px) {
  #history {
    padding: 0 30px;
  }

  #history h2 {
    position: relative;
    right: inherit;
    top: 40px;
  }

  .history-img,
  .history-content {
    width: 100%;
  }

  .history-img {
    height: 40vh;
  }

  .history-content {
    padding: 50px 0 0 0;
  }
}

@media screen and (max-width: 430px) {
  .history-img {
    height: 20vh;
  }
}

.faq-bg {
  position: relative;
  height: 55vh;
  margin: 0 0 200px 25%;
}

.webp .faq-bg {
  background: url("../img/22129749_m.webp") no-repeat center;
  background-size: cover;
}
.no-webp .faq-bg {
  background: url("../img/22129749_m.png") no-repeat center;
  background-size: cover;
}
.faq-bg::after {
  content: "";
  position: absolute;
  top: 20%;
  left: -32%;
  width: 100%;
  height: 55vh;
  background: #f3f3f3;
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .faq-bg,
  .faq-bg::after {
    height: 35vh;
  }
}

@media screen and (max-width: 550px) {
  #faq {
    margin: 0 0 100px 0;
  }

  #faq h2 {
    margin: 0 0 50px 0;
  }

  .faq-bg {
    margin: 0 0 100px 25%;
  }

  .faq-bg,
  .faq-bg::after {
    height: 20vh;
  }
}

/*========= バー表示のためのCSS ===============*/

/*タイムライン全体の設定*/

.timeline li {
  /*線の起点とするためrelativeを設定*/
  position: relative;
  list-style: none;
  padding: 0 0 20px 0;
}

.timeline dl {
  margin: 0 0 20px 3em;
}

/*絶対配置で線を設定*/
.border-line {
  /*線の位置*/
  position: absolute;
  left: 0.2em;
  top: 0;
  width: 2px;
  /*線の太さ*/
  height: 0;
  /*はじめは高さを0に*/
  background: #999999;
}

/*タイムラインの見出し横の丸の位置と形状*/
.timeline li::after {
  content: "";
  position: absolute;
  top: 10px;
  left: -1px;
  width: 10px;
  height: 10px;
  background: #999999;
  border-radius: 50%;
}

/* contact */
#contact {
  margin: 0 0 100px 0;
}

#contact h2 {
  text-align: center;
  margin: 0 0 100px 0;
  color: #eb6101;
}

@media screen and (max-width: 550px) {
  #contact h2 {
    margin: 0 0 50px 0;
  }
}

.contact-h2 {
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

#contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

#contact .contact-img {
  width: 70%;
  min-height: 300px;
  background-size: cover;
}

.webp .contact-img {
  background: url("../img/pict-005m.webp") no-repeat center;
}

.no-webp .contact-img {
  background: url("../img/pict-005m.png") no-repeat center;
}

#contact .contact-area {
  width: 340px;
  text-align: center;
}

@media screen and (max-width: 600px) {
  #contact .contact-area {
    width: 330px;
  }

  #contact .contact-img {
    margin: 0 0 50px 0;
  }
}

#contact .contact-area dt {
  font-size: 1.2rem;
  margin: 0 0 10px 0;
}

#contact .contact-area dd {
  font-size: 0.8rem;
  margin: 0 0 30px 0;
}

/* footer */

#footer {
  padding: 100px 0 0 0;
  border-top: 1px solid #333;
  text-align: center;
  background: #fff;
  position: relative;
  text-transform: uppercase;
}

#footer .footer-logo {
  font-weight: bold;
  letter-spacing: 0.3em;
  margin: 0 0 50px 0;
  color: #666;
}

#footer .footer-text {
	padding: 25px 0;
	margin: 25px 0;
	background: #615cee;
}

#footer small,#footer small a  {
  color: #fff;
}

#footer .recruit {
  width: 50%;
  margin: auto;
  margin-bottom: 50px;
}

@media screen and (max-width: 600px) {
  #footer .recruit {
    width: 90%;
  }
}

/* トップ-お知らせ */
/*.news-list__date {
  width: 8em;
}
#news {
  width: 90%;
  margin: 0 auto;
}*/

.pc_img {
  margin-top: 100px;
}

.sp_img {
  display: none;
}
@media screen and (max-width: 920px) {
  .pc_img {
    display: none;
  }
  .sp_img {
    display: block;
    padding-top: 75px;
  }
}
/* ****************************** */
/*お知らせ一覧 カスタマイズ  /info */
/* ****************************** */
#info .content {
  width: 90%;
  margin: 100px auto;
}
.article-list {
  display: grid;

  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}

.article-list .article-item {
  position: relative;
  z-index: 1;
  border: 1px solid #ddd;
}
.article-item img {
  border-bottom: 1px solid #ddd;
}

.article-list .article-item a {
  display: block;
  text-decoration: none;
  color: #333;
}

.article-list .article-item img {
  display: block;
  width: 100%;

  aspect-ratio: 3/2;
  object-fit: cover;
}

.article-list .article-item .text-wrap {
  padding: 1rem;
}

.article-list .article-item .article-cat {
  font-size: 0.875rem;
  line-height: 1;
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.25rem 0.5rem;
  vertical-align: middle;
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  background-color: rgb(97, 92, 238);
}

.article-list .article-item .article-date {
  font-size: 0.875rem;
  display: inline-block;
  vertical-align: middle;
  color: #888;
}

.article-list .article-item .article-date i {
  font-size: 1rem;
  position: relative;
  top: 0.1875rem;
  margin-right: 0.125rem;
}

.article-list .article-item .text-wrap h2 {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

@media (max-width: 920px) {
  .article-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .article-list {
    display: block;

    gap: none;
    grid-template-columns: none;
  }

  .article-list .article-item {
    margin-bottom: 2rem;
  }
}
/* ページネーション */
.pagination {
  margin: 4rem 0;
  text-align: center;
}

.pagination ul {
  font-size: 0;
}

.pagination ul li {
  font-size: 1rem;
  display: inline-block;
  margin-right: 0.75rem;
}

.pagination ul li:last-child {
  margin-right: 0;
  border: 0;
}

.pagination ul li a,
.pagination ul li .current {
  font-weight: 600;
  line-height: 1;
  display: block;
  padding: 0.75rem 0.875rem;
  border: 1px solid #ddd;
}

.pagination ul li a {
  text-decoration: none;
  color: #555;
}

.pagination ul li .current {
  color: #fff;
  background-color: #1d2d43;
}

.pagination ul li .prev,
.pagination ul li .next {
  padding: 0.75rem 0.5rem;
  border: 0;
}

.pagination ul li i {
  font-size: 1rem;
  color: #1d2d43;
}

@media (max-width: 480px) {
  .pagination {
    margin: 3rem 0;
  }

  .pagination ul li a {
    padding: 0.5rem;
  }
}

/* ********************** */
/* 投稿ページ single.php */
/* ********************** */
#single main {
  margin: 120px auto;
}

@media (max-width: 660px) {
  #single main {
   margin: 96px auto;
 }	
}

#single h1 {
  position: inherit;
}
#single img {
  width: auto;
  height: auto;
  max-width: 100%;
}
#single article {
  width: 60%;
  margin: auto;
}

.post-link {
  width: 90%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}
.post-link li:first-child {
  margin-right: auto;
  margin-left: 10%;
}
.post-link li:last-child {
  margin-left: auto;
  margin-right: 10%;
}

#single .text {
  margin-top: 40px;
  margin-bottom: 30px;
}

#single article .meta {
  display: flex;
  margin: 12px 0;
}

#single article .meta li {
  margin-right: 16px;
}

/*-------------------------------------------
      SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .post-link {
    width: 100%;
  }

  #single article {
    width: 90%;
  }
}

/* ****************************** */
/*ContactForm7カスタマイズ  /contact */
/* ****************************** */

table.CF7_table {
  width: 100%;
  margin: 100px 0 30px 0;
  border: 3px solid #e5e5e5;
  font-size: 1.2rem;
  text-align: left;
}

table.CF7_table tr {
  border-top: 1px solid #e5e5e5;
}

table.CF7_table tr:first-child > * {
  padding: 5px 0;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table {
  display: table;
}

/*入力欄*/
.CF7_table input {
  border: 1px solid #d8d8d8;
  margin: 5px 5px 5px 5px;
}

.CF7_table textarea {
  border: 1px solid #d8d8d8;
  margin: 5px 5px 0 5px;
}

.wpcf7-text,
.CF7_table textarea {
  width: 98%;
}

.CF7_table ::placeholder {
  color: #797979;
  padding-left: 5px;
}

/*「必須」文字*/
.CF7_req {
  font-size: 0.6em;
  padding: 3px;
  background: #f79034;
  /*オレンジ*/
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
  margin-left: 8px;
}

/*「任意」文字*/
.CF7_unreq {
  font-size: 0.6em;
  padding: 3px;
  background: #bdbdbd;
  /*グレー*/
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
  margin-left: 8px;
}

/* タイトル列 */
@media screen and (min-width: 768px) {
  .CF7_table th {
    width: 30%;
    /*横幅*/
    background-color: #ebedf5;
    /*ブルーグレー*/
  }
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  table.CF7_table {
    width: 100%;
  }

  .CF7_table tr,
  .CF7_table td,
  .CF7_table th {
    display: block;
    width: 100%;
    line-height: 2.5em;
  }

  .CF7_table th {
    background-color: #ebedf5;
  }
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
  background-color: #f79034;
  /* オレンジ*/
  padding: 5px;
  border: 0;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 auto;
}

.CF7_btn {
  width: 80%;
  text-align: left;
  margin: 30px 0 120px 0;
}

.wpcf7-spinner {
  width: 0;
  margin: 0;
}

.SinglePage .single-container {
  max-width: 840px;
  margin: 75px auto;
}
@media screen and (max-width: 990px) {
  .SinglePage .single-container {
    max-width: 90%;
    margin: auto;
  }
}

/* カテゴリーページ */
.main--category h1 {
	top:45%;
}

@media screen and (max-width: 660px) {
	.main--category h1 {
　	　font-size: 1.1rem;
	   top: 40%;
	}
}