@charset "UTF-8";

/*
Theme Name: kitaichi-info
Version: 1.1
Author: Owndmedia
*/

/* ************************************************************************************************

  共通

************************************************************************************************ */
html,body {
  width: 100%;
  font-size: 62.5%; /*ベースを10pxに設定*/
  letter-spacing: .1em;
  line-height: 2.2;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #1a1a1a;
}

html {overflow: overlay;}

h1 {font-size: 1rem;}
h2 {font-size: 4.8rem;}
h3 {font-size: 2rem;}
h4 {font-size: 2.4rem; color: #09174E; border-bottom: 1px solid #09174E;}
p {font-size: 1.5rem;}
a{font-size: 1.5rem; text-decoration: none;}
li, th, td {font-size: 1.5rem;}

.en {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: .1em;
}

img {max-width: 100%;}
.img_pc {display: block;}
.img_sp {display: none;}

/* 改行 */
.br_sp{display: none;}
.br_ipad{display: none;}
.br_pc{display: block;}

/* ページ全体の余白など */
#page {
  overflow: hidden;
  width: 100%;
}

.wrap {
  max-width: 1400px;
  width: 100%;
  padding: 0 3rem;
  margin: 0 auto;
}

.wrap2 {
  max-width: 1180px;
  width: 100%;
  padding: 0 3rem;
  margin: 0 auto;
}

.wrap3 {
  width: 100%;
  margin: 0 auto;
}

/* スクロールバー */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background: #1a1a1a;
	border-radius: 10px;
}

/*flex, clearfix*/
.flex {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  align-items: flex-start;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/*ボタン*/
.btn01 {
  font-family: Oswald, sans-serif !important;
  width: 230px;
  height: 60px;
  line-height: 60px;
  display: inline-block;
  text-align: center;
  font-size: 16px;
  font-family: cora, sans-serif;
  font-weight: 400;
  position: relative;
  z-index: 2;
  overflow: hidden;
  color: #1a1a1a !important;
  background-color: #fff;
  border: 1px solid #5d5d5d;
}

.btn01::before,
.btn01::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: "";
}

.btn01,
.btn01::before,
.btn01::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.btn01:hover {
  color: #fff !important;
  border: 1px solid transparent;
}

.btn01::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.btn01:hover::after {
  -webkit-transform: scale(2) rotate(180deg);
  transform: scale(2) rotate(180deg);
  background: rgba(0,0,0,1);
}

.btn--white {
  color: #fff;
  border: 1px solid #5d5d5d;
}

.btn--white:hover {
  color: #fff;
  border: 1px solid #5d5d5d;
}

.btn--white:hover::after {
  background: rgba(0,0,0,.9);
}

/*h2見出し*/
.index__ttl {
  position: relative;
}

.index__ttl h2 {
  line-height: 1;
  margin-bottom: 2.5rem;
}

.index__ttl p {
  font-size: 2rem;
  line-height: 1.2;
}

.h2--first {
  color: #09174E;
  font-size: 8rem;
}

.h2--first::before {
  content: "";
  display: block;
  width: 180px;
  height: 180px;
  position: absolute;
  background-color: rgb(0 160 233 / 80%);
  z-index: -1;
  left: -2%;
  bottom: -20%;
}

/*h3見出し*/
.sub__ttl {
  position: relative;
  color: #09174E;
}

.sub__ttl h3 .en {
  font-size: 4.3rem;
  line-height: 1.4;
  display: block;
}

.sub__ttl::before {
  content: "";
  display: block;
  width: 150px;
  height: 150px;
  position: absolute;
  background-color: rgb(0 160 233 / 80%);
  left: -4%;
  bottom: -10%;
  z-index: -1;
}

.sub__ttl--white {
  color: #fff;
}

.sub__ttl--white::before {
  background-color: rgba(255,255,255,.15);
}

.sub__ttl02 h3{
  font-size: 4.3rem;
  font-weight: bold;
  position: relative;
}

.sub__ttl02 h3::before {
  content: "";
  display: block;
  background-color: #1a1a1a;
  width: 100px;
  height: 1px;
  position: absolute;
  margin: auto;
  top: 52%;
  left: -20%;
}

.sub__ttl02 p {
  font-size: 2rem;
  margin: 1rem 0 7rem;
}

/***** 下層ページヘッダー *****/
#header-sub__logo {
  position: absolute;
  top: 4rem;
  left: 4rem;
  z-index: 50;
}

#header-sub__logo img {
  max-width: 375px;
  width: 100%;
  object-fit: cover;
  transition: .5s;
}

#header-sub__logo img:hover {
  transition: .5s;
  opacity: .6;
}

.header-sub {
  width: 100%;
  height: 80vh;
  background-attachment: fixed;
  color: #fff;
}

#header-sub__filter {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.4);
  align-items: center;
  justify-content: center;
  transition: ease-in-out .4s;
}

.header-sub__ttl {
  text-align: right;
  margin: auto;
  top: 0;
  bottom: 0;
}

.header-sub__ttl h2 {
  font-size: 2.2rem;
}

.header-sub__ttl h2 .en {
  font-size: 6.4rem;
  line-height: 1.4;
  display: block;
}

.bg-active2 {
  background: none !important;
  transition: ease-in-out .4s;
}

/***** フッター *****/
footer {
  background: rgba(255, 255, 255, .9);
  border-top: 1px solid rgb(26 26 26 / 50%);
  padding: 10rem 0 0;
  position: relative;
  z-index: 10;
}

footer .wrap2 {
  justify-content: space-between;
}

.footer__contact {
  color: #1a1a1a;
  width: 100%;
}

.footer__contact .flex {
  align-items: center;
  width: 100%;
  gap: 1rem;
}

#footer__logo {
  display: block;
  transition: all .5s;
  margin-right: 5rem;
}

#footer__logo:hover {
  opacity: .6;
  transition: all .5s;
}

#footer__logo img {
  max-width: 195px;
  width: 100%;
}

.footer__menu.flex {
  align-items: center;
  width: 80%;
  gap: 8rem;
}

.footer__menu ul li a {
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.footer__menu ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  height: 1px;
  width: 100%;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer__menu ul li a:hover {
  color: #09174E;
}

.footer__menu ul li a:hover::after {
  transform: scaleX(1);
}

.footer__company {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgb(26 26 26 / 50%);
  padding-bottom: 3rem;
}

.footer__address span {
  background-color: #00A0E9;
  color: #fff;
  display: inline-block;
  font-size: 1.2rem;
  padding: 0 4rem;
  margin: 0 0 .75rem;
  clip-path: polygon(10% 0%, 95% 0%, 90% 100%, 5% 100%);
}

.footer__box {
  width: calc(100% - .5rem);
}

.footer__cp {
  width: 100%;
  height: 60px;
  background: #1a1a1a;
  text-align: center;
  margin-top: 12.5rem;
}

small {
  font-size: 1.4rem;
  line-height: 60px;
  color: #fff;
}

/* ************************************************************************************************
  アニメーション
************************************************************************************************ */
/***** ローディングアニメーション *****/
#logo__loader {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 101;
  background-color: #1a1a1a;
  animation: loaderFadeOut 1.6s ease forwards;
  animation-delay: 1.5s;
}

#logo__loader img {
  max-width: 1024px;
  width: 100%;
  opacity: 0;
  transform: scale(0.8);
  animation: logoAppear 1s ease forwards;
  animation-delay: 0.3s;
}

/* ロゴの登場アニメーション */
@keyframes logoAppear {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 全体がふわっと消える */
@keyframes loaderFadeOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
    visibility: hidden;
  }
}

/***** ハンバーガーメニュー *****/
#c-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 20rem;
  top: 4rem;
  background: #fff;
  border: 1px solid #5d5d5d;
  width: 195px;
  height: 64px;
  z-index: 20;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease, opacity 1s ease;
  pointer-events: none;
  overflow: hidden;
}

#c-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#c-btn:hover {
  background: #09174E;
  color: #fff;
}

#h-menu {
  height: 64px;
  position: fixed;
  right: 4rem;
  top: 4rem;
  width: 140px;
  z-index: 101;
  cursor: pointer;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: #000;
  border: 1px solid #5d5d5d;
  border-radius: 50px;
  color: #09174E;
  opacity: 0;
  transform: translateY(-20px);
  transition: all .4s ease;
  pointer-events: none;
}

#h-menu.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu__line {
  background: #fff;
  display: block;
  height: 1.5px;
  position: absolute;
  transition: transform 0.3s ease, width 0.3s ease, left 0.3s ease;
  width: 45%;
  left: 40px;
}

.menu__line--top {
  top: 26px;
}

.menu__line--center {
  top: 31px;
}

.menu__line--bottom {
  top: 36px;
}

.menu__line--top.active {
  top: 32px;
  transform: rotate(45deg);
  width: 30%;
  left: 50px;
}

.menu__line--center.active {
  transform:scaleX(0);
}

.menu__line--bottom.active {
  top: 32px;
  transform: rotate(135deg);
  width: 30%;
  left: 50px;
}

#h-menu:hover .menu__line--top:not(.active) {
  transform: translateY(-2px);
}

#h-menu:hover .menu__line--bottom:not(.active) {
  transform: translateY(2px);
}

.f-logo {
  position: fixed;
  top: 4rem;
  left: 4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 100;
}

.f-logo img {
  max-width: 375px;
  width: 100%;
  object-fit: cover;
}

.f-logo.show {
  opacity: 1;
  visibility: visible;
}

.gnav {
  background: #000;
  height: 100%;
  position: fixed;
  width: 50%;
  height: 100vh;
  z-index: 98;
  right: 0;
  top: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: ease-in-out .7s;
  margin-right: -100%;
  display: table;
  padding: 0 20rem;
  z-index: 100;
}

.gnav.active {
  transition: .7s;
  margin-right: 0;
}

.gnav__wrap {
  display: table-cell;
  vertical-align: middle;
}

#gnav__logo {
  margin-bottom: 10rem;
}

#gnav__logo a {
  display: block;
  transition: .5s;
}

#gnav__logo a:hover {
  opacity: .6;
  transition: .5s;
}

#gnav__logo img {
  width: 395px;
  height: auto;
  object-fit: cover;
}

.gnav__wrap .flex {
  justify-content: space-between;
}

.gnav__menu-list {
  margin-bottom: 4rem;
}

.gnav__menu-list a {
  display: block;
}

.gnav__menu-list .en {
  font-size: 3rem;
  font-weight: 600;
  color: #fff;
  display: block;
  line-height: 1;
}

.gnav__menu-list a {
  color: #fff;
  font-weight: 600;
  position: relative;
  display: inline-block;
  transition: .3s;
}

.gnav__menu-list a::before,
.gnav__menu-list a::after {
  position: absolute;
  content: "";
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: .3s;
}

.gnav__menu-list a::before {
  top: -7px;
  left: 0;
}

.gnav__menu-list a::after {
  bottom: -5px;
  right: 0;
}

.gnav__menu-list a:hover::before,
.gnav__menu-list a:hover::after {
  width: 100%;
}

/***** ページトップに戻るボタン *****/
#page_top {
  width: 125px;
  height: 125px;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 10;
}

#page_top a {
  position: relative;
  width: 125px;
  height: 125px;
  text-align: center;
  background: #000;
  color: #fff;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: grid;
  align-items: center;
  align-content: center;
  justify-content: center;
  justify-items: center;
  transition: .4s all;
}

#page_top a:hover {
  opacity: .9;
  transition: .4s all;
}

#page_top span {
  font-size: 12px;
}

#page_top .material-icons {
  font-size: 3.5rem;
  width: 40px;
  height: 40px;
  margin: auto;
  transition: transform 0.3s ease;
}

#page_top a:hover .material-icons {
  animation: arrowBounce 1.2s ease-in-out infinite;
  transition: .4s all;
}

@keyframes arrowBounce {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/***** スクロールアニメーション *****/
.scroll.fadeIn {
	opacity: 0;
	transition: all 1000ms;
}

.scroll.fadeIn2 {
	opacity: 0;
	transition: all 1000ms;
}

.scroll.fadeInUp {
	opacity: 0;
	transform: translate(0, 50px);
	transition: all 1000ms;
}

.scroll.fadeInLeft {
	opacity: 0;
	transform: translateX(-50px);
	transition: all 1000ms;
}

.scroll.fadeInRight {
	opacity: 0;
	transform: translateX(50px);
	transition: all 1000ms;
}

.scroll.scrollin {
	opacity: 1;
	transform: translate(0, 0);
}

.scroll.delay {
	-moz-transition-delay: 200ms;
	-webkit-transition-delay: 200ms;
	-o-transition-delay: 200ms;
	-ms-transition-delay: 200ms;
}

.scroll.delay2 {
	-moz-transition-delay: 400ms;
	-webkit-transition-delay: 400ms;
	-o-transition-delay: 400ms;
	-ms-transition-delay: 400ms;
}

.scroll.delay3 {
	-moz-transition-delay: 600ms;
	-webkit-transition-delay: 600ms;
	-o-transition-delay: 600ms;
	-ms-transition-delay: 600ms;
}

/*Edgee, FireFoxでスクロール解除*/
@supports (-ms-ime-align: auto) {
  .service-list__img.scroll.fadeIn {
    transform: none;
    -moz-transition-delay: unset;
    -webkit-transition-delay: unset;
    -o-transition-delay: unset;
    -ms-transition-delay: unset;
  }
}
@-moz-document url-prefix() {
  .service-list__img.scroll.fadeIn {
    transform: none;
    -moz-transition-delay: unset;
    -webkit-transition-delay: unset;
    -o-transition-delay: unset;
    -ms-transition-delay: unset;
  }
}

@media screen and (max-width: 559px){
  .scroll.delay, .scroll.delay2, .scroll.delay3 {
    -moz-transition-delay: unset;
    -webkit-transition-delay: unset;
    -o-transition-delay: unset;
    -ms-transition-delay: unset;
  }
}

/* ************************************************************************************************
  レスポンシブ調整
************************************************************************************************ */
@media screen and (max-width: 1536px) {
  .gnav {padding: 0 7vh;}
  .gnav__menu-list {margin-bottom: 2vh;}
  #gnav__logo {margin-bottom: 5rem;}
  .sub__ttl02 h3::before {display: none;}
}

@media screen and (max-width: 1440px) {
  .sub__ttl::before {left: -2%;}
  .gnav__menu-list .en {font-size: 2.3rem;}
}

@media screen and (max-width: 1400px) {
  .wrap {width: 100%; padding: 0 5rem;}
  .sub__ttl02 h3 {font-size: 4rem;}
}

/* ************************************************************************************************
  1281px
************************************************************************************************ */
@media screen and (max-width: 1280px) {
  .gnav {padding: 0 5vh;}
}

/* ************************************************************************************************
  1181px
************************************************************************************************ */
@media screen and (max-width: 1180px) {
  .wrap {padding: 0 4rem;}
  .wrap2 {width: 100%; padding: 0 6rem;}
}

/* ************************************************************************************************
  1025px
************************************************************************************************ */
@media screen and (max-width: 1024px) {
  .sub__ttl02 {width: 100%; text-align: center;}
  .sub__ttl02 p {margin: 1rem 0 5rem;}
  .sub__ttl02 h3::before {display: none;}
  .header-sub {
    height: 55vh;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .gnav {width: 60%;}
  .gnav__menu-list .en {font-size: 2.5rem;}
}

/* ************************************************************************************************
  960px
************************************************************************************************ */
@media screen and (max-width: 959px) {
  h2 {font-size: 4.5rem;}
  h3 {font-size: 1.8rem;}
  h4 {font-size: 2.2rem;}
  .br_ipad {display: block;}
  .br_pc {display: none;}

  #gnav__logo {margin-bottom: 7vh;}
  .gnav__menu-list {margin-bottom: 5vh;}

  .header-sub {height: 49vh;}
  .header-sub__ttl h2 {font-size: 2rem;}
  .header-sub__ttl h2 .en {font-size: 5rem;}

  .index__ttl p {font-size: 2rem;}
  .sub__ttl h3 .en {font-size: 4rem;}
  .sub__ttl::before {
    width: 120px;
    height: 120px;
    left: -4%;
    bottom: -4%;
  }
  .sub__ttl02 h3 {font-size: 3.6rem;}
  .sub__ttl02 p {font-size: 1.8rem;}

  footer .wrap2 {flex-direction: column; align-items: center;}
  .footer__contact .flex {display: block;}
  .footer__box {margin-bottom: 4rem;}
  .footer__btn {text-align: center;}
  .footer__menu ul {margin: 0 5rem;}
  .footer__cp {margin-top: 8rem;}
}

/* ************************************************************************************************
  781px
************************************************************************************************ */
@media screen and (max-width:780px) {
  #header-sub__logo, .f-logo {left: 2rem;}
  #header-sub__logo img, .f-logo img {max-width: 295px;}
  #h-menu {right: 2rem; height: 50px; width: 105px;}
  #c-btn {right: 14rem; width: 160px; height: 50px;}
  .menu__line {width: 38%; left: 34px;}
  .menu__line--top.active, .menu__line--bottom.active {top: 23px; left: 36px;}
  .menu__line--top {top: 20px;}
  .menu__line--center {top: 24px;}
  .menu__line--bottom {top: 28px}
}


/* ************************************************************************************************
  560px
************************************************************************************************ */
@media screen and (max-width: 559px) {
  h2 {font-size: 3.6rem }
  h3 {font-size: 1.6rem;}
  h4 {font-size: 2rem;}
  p{font-size: 1.4rem;}
  a{font-size: 1.4rem;}
  li, th, td {font-size: 1.4rem;}

  .br_sp{display: block;}
  .wrap {padding: 0 3rem;}
  .wrap2 {padding: 0 3rem;}
  .img_pc {display: none;}
  .img_sp {display: block;}

  .btn01 {width: 195px; font-size: 1.2rem; height: 45px; line-height: 45px;}

  .index__ttl h2 {margin-bottom: 1.5rem; line-height: 1;}
  .index__ttl p {font-size: 1.6rem;}
  .h2--first {font-size: 5rem;}
  .h2--first::before {
    width: 120px;
    height: 120px;
    left: -4%;
    bottom: -24%;
  }
  .sub__ttl h3 .en {font-size: 3.3rem;}
  .sub__ttl::before {width: 100px; height: 100px;}
  .sub__ttl02 h3 {font-size: 2.7rem;}
  .sub__ttl02 p {font-size: 1.6rem; margin: 3rem 0;}

  #page_top, #page_top a {width: 90px; height: 90px;}
  #page_top .material-icons {font-size: 3rem; width: 35px; height: 35px;}
  #page_top span {font-size: 10px;}

  .f-logo img {max-width: 185px; margin-top: 1rem;}
  #c-btn {display: none;}
  .menu__line {height: 2px;}

  .gnav {width: 100%;}
  .gnav__menu-list .en {font-size: 1.6rem;}
  .gnav__menu {width: 47%;}
  .gnav__menu-list {margin-bottom: 3.5vh;}
  .gnav__menu-list .en {line-height: 1.3;}
  #gnav__logo {margin-bottom: 4vh;}

  #header-sub__logo img {max-width: 200px; margin-top: 1rem;}
  .header-sub__ttl h2 {font-size: 1.8rem; line-height: 1.5;}
  .header-sub__ttl h2 .en {font-size: 4rem;}

  footer {padding: 5rem 0 0;}
  #footer__logo {width: 30%; margin: 0 0 2rem;}
  .footer__address {margin-top: 2rem; margin-left: 0; margin-bottom: 1rem; text-align: center;}
  .footer__box iframe {height: 300px !important;}
  .footer__contact {margin-bottom: 5rem;}
  .footer__company {display: block;}
  .footer__btn {margin-top: 3rem; width: 100%;}
  .footer__menu ul:first-of-type {margin: 0 1.5rem;}
  .footer__menu ul:last-of-type {margin: 0 1.5rem;}
  .footer__menu a {font-size: 1.2rem;}
  .footer__cp {margin-top: 0;}
  small {font-size: 1.2rem;}
}


/* ************************************************************************************************
  376px
************************************************************************************************ */
@media screen and (max-width: 375px) {
  h4 {font-size: 1.8rem;}

  .wrap, .wrap2 {padding: 0 2rem;}
  .header-sub__ttl h2 .en {font-size: 3.6rem;}
  .header-sub__tenpo .header-sub__ttl h2 .en {font-size: 3.2rem;}
  .header-sub__ttl h2 {font-size: 1.6rem;}
  .gnav {padding: 0 3vh;}
  .gnav__menu-list .en {font-size: 1.4rem;}
  .gnav__menu-list a {font-size: 1.3rem;}
  .sub__ttl h3 .en {font-size: 3.1rem;}
  .sub__ttl02 h3 {font-size: 2.5rem;}
  small {font-size: 1.1rem;}
}
