@charset "UTF-8";

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

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

   共通

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

html,body {
  width: 100%;
  font-size: 62.5%; /*ベースを10pxに設定*/
  letter-spacing: 0.06em;
  line-height: 2.2;
  font-family: source-han-sans-cjk-ja, "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", 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: #ad0310; border-bottom: 1px solid #ad0310;}
p {font-size: 1.5rem;}
a{font-size: 1.5rem; text-decoration: none;}
li, th, td {font-size: 1.5rem;}

.en {
  font-family: cora, sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em
}

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 {
  width: 1400px;
  padding: 0 3rem;
  margin: 0 auto;
}

.wrap2 {
  width: 1180px;
  padding: 0 3rem;
  margin: 0 auto;
}

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

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

::-webkit-scrollbar-thumb {
	background: #ad0310;
	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 {
  width: 160px;
  height: 50px;
  line-height: 50px;
  display: inline-block;
  border: 1px solid #ad0310;
  text-align: center;
  font-size: 18px;
  font-family: cora, sans-serif;
  font-weight: 400;
  position: relative;
  z-index: 2;
  overflow: hidden;
  color: #ad0310;
}
.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;
  border: 1px solid rgba(173,3,16,.6);
}
.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(173,3,16,1);
}

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

.btn--white:hover{
  color: #fff;
}

.btn--white:hover::after {
  background: rgba(173,3,16,.6);
}

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

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

.index__ttl p {
  font-size: 2.2rem;
  line-height: 1;
}

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

.h2--first::before {
  content: "";
  display: block;
  width: 180px;
  height: 180px;
  position: absolute;
  background-color: rgba(230,0,18,0.15);
  z-index: -1;
  left: -2%;
  bottom: -20%;
}

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

.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: rgba(230,0,18,0.15);
  left: -4%;
  bottom: -10%;
}

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

.sub__ttl--white::before {
  background-color: rgba(255,255,255,0.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;
  width: 140px;
  top: 0;
  left: 5%;
  z-index: 50;
}

#header-sub__logo img {
  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,.6);
  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{
  padding: 6rem 0 0;
  background: rgba(255,255,255,.7);
}

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

.footer__contact, .footer__menu {
  color: #1a1a1a;
}

.footer__contact .flex {
  align-items: center;
}

#footer__logo {
  transition: all .5s;
}

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

.footer__address {
  margin-left: 3rem;
}

.footer__btn {
  margin-top: 4rem;
}

.footer__menu ul {
  margin-left: 7rem;
}

.footer__menu a {
  line-height: 3;
  transition: all .3s;
  font-size: 1.4rem;
}

.footer__menu a:hover {
  color: #ad0310;
  transition: all .3s;
}

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

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

/* ************************************************************************************************
   アニメーション
   ************************************************************************************************ */
/***** ローディングアニメーション *****/
#logo__loader {
    display: block;
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 101;
    background-color: #ad0310;
}
#logo__loader.open {
    animation-name: slideOut;
    animation-fill-mode: forwards;
    animation-duration: 1.2s;
    animation-delay: unset;
}
@keyframes slideOut {
  0% {
    transform: translateX(0%);
  }
  50% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(100%);
  }
}

/***** ハンバーガーメニュー *****/
#h-menu{
  height: 34px;
  position: fixed;
  right: 4rem;
  top: 4rem;
  width: 50px;
  z-index: 99;
  cursor: pointer;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}
.menu__line{
  background: #fff;
  display: block;
  height: 4px;
  position: absolute;
  transition: .3s;
  width: 100%;
}
.menu__line--center{
  top: 15px;
}
.menu__line--bottom{
  top: 30px;
}
.menu__line--top.active{
  top: 8px;
  transform: rotate(45deg);
}
.menu__line--center.active{
  transform:scaleX(0);
}
.menu__line--bottom.active{
  top: 9px;
  transform: rotate(135deg);
}

.gnav {
  background: #fff;
  height: 100%;
  position: fixed;
  width: 50%;
  height: 100vh;
  z-index: 98;
  left: 0;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
  transition: ease-in-out .7s;
  margin-left: -100%;
  border: 7px solid #ad0310;
  display: table;
  padding: 0 13rem;
}

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

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

#gnav__logo {
  text-align: center;
  margin-bottom: 5rem;
}

#gnav__logo a {
  transition: .5s;
}

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

#gnav__logo img {
  width: 100px;
}

.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;
  color: #ad0310;
  display: block;
  line-height: 1;
}

.gnav__menu-list a {
  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: #ad0310;
  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: 50px;
  height: 50px;
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 5;
}

#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  background: #ad0310;
  color: #fff;
  border-radius: 50%;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
  opacity: .7;
  transition: .5s;
}

#page_top a:hover{
  opacity: 1;
  transition: .5s;
}

#page_top .material-icons {
  position: absolute;
  font-size: 2.5rem;
  width: 25px;
  height: 25px;
  margin: auto;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

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

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

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

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

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

.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) {
  .high-tech__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() {
  .high-tech__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: 4vh;}
  #gnav__logo img {width: auto; height: 13vh;}
  #gnav__logo {margin-bottom: 5vh;}
  .sub__ttl02 h3::before {display: none;}
}

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

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

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

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

/* ************************************************************************************************
   1024px
   ************************************************************************************************ */
@media screen and (max-width: 1025px){
  .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;
  }
  .header-sub__ttl h2 .en {font-size: 5.6rem;}
  .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 {width: 85%;}
  #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 {margin-bottom: 7rem;}
  .footer__btn {text-align: center;}
  .footer__menu ul {margin: 0 5rem;}
}

/* ************************************************************************************************
   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: 150px; font-size: 1.6rem;}

  .index__ttl h2 {margin-bottom: 1.5rem; line-height: 1.4;}
  .index__ttl p {font-size: 1.8rem;}
  .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: 45px; height: 45px;}
  #page_top {right: 1.5rem; bottom: 1.5rem;}

  #h-menu {
    height: 20px;
    right: 2rem;
    top: 2rem;
    width: 30px;
  }
  .menu__line {height: 2px;}
  .menu__line--center{top: 9px;}
  .menu__line--bottom{bottom: 0; top: initial;}
  .menu__line--bottom.active {top: 8px;}
  .gnav {padding: 0 2rem; border: 5px solid #ad0310;}
  .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;}
  #gnav__logo img {height: 11vh;}

  .header-sub {height: 66vw;}
  #header-sub__logo {width: 70px;}
  .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__contact .flex {flex-direction: column;}
  #footer__logo {width: 40%;}
  .footer__address {margin-top: 2rem; margin-left: 0; text-align: center;}
  .footer__contact {margin-bottom: 5rem;}
  .footer__btn {margin-top: 3rem;}
  .footer__menu ul:first-of-type {margin: 0 2rem 0 0;}
  .footer__menu ul:last-of-type {margin: 0 0 0 2rem;}
  .footer__menu a {font-size: 1.2rem;}
  small {font-size: 1.2rem;}
}


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

  .wrap, .wrap2 {padding: 0 2rem;}
  #header-sub__logo {width: 60px;}
  .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 1.5rem;}
  .gnav__menu-list .en {font-size: 1.4rem;}
  .gnav__menu-list a {font-size: 1.3rem;}
  #gnav__logo img {height: 10vh;}
  .sub__ttl h3 .en {font-size: 3.1rem;}
  .sub__ttl02 h3 {font-size: 2.5rem;}
  small {font-size: 1.1rem;}
}
