/*!
 * layout.min.css • v1.0.0
 * レイアウトのためのCSS
 * auther:ELSYS
 */
@charset "utf-8";

#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;
}

.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;
  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 small {
  color: #888;
}

#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: 250px 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 {
  margin-left: 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;
  }
}
