@charset "utf-8";

/* -----------------------
Base style
----------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI",
    "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic",
    Verdana, Meiryo, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  position: relative;
  word-wrap: break-word;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  /*Chrome,Safari*/
  -ms-text-size-adjust: 100%;
  /*EgdeMobile*/
  -moz-text-size-adjust: 100%;
  /*firefox*/
}

@media screen and (max-width: 900px) {
  body>* {
    font-size: 14px;
  }
}

h1,
ul {
  margin: 0;
}

label,
input,
textarea,
select,
button {
  cursor: pointer;
}

button {
  border: 0;
}

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

ul>li {
  list-style: none;
}

a {
  backface-visibility: hidden;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  color: #002878;
}

a:hover {
  text-decoration: underline;
}

/* -----------------------
loading(2022.10追加)
------------------------*/
.body-fixed {
  overflow: hidden;
}

.display-off {
  display: none;
}

#loadingBg {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
}

#loadingArea {
  position: relative;
  z-index: 10;
}

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


/* -----------------------
grid
----------------------- */

.grid {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: space-between;
}

.grid-item {
  list-style: none;
}

.grid-col-2>.grid-item {
  width: 50%;
}

.grid-col-3>.grid-item {
  width: 33.3%;
}

.grid-col-4>.grid-item {
  width: 25%;
}

@media screen and (max-width: 900px) {
  .grid {
    display: block;
  }

  .grid.flex2 {
    flex-flow: column-reverse;
    display: flex;
    flex-wrap: wrap;
  }

  .grid-col-2>.grid-item,
  .grid-col-3>.grid-item,
  .grid-col-4>.grid-item {
    width: 100%;
    margin: 20px 0;
  }
}

/* -----------------------
txt
----------------------- */

.txt_center {
  text-align: center;
}

.txt_left {
  text-align: left;
}

.palt {
  font-feature-settings: "palt";
  -webkit-font-feature-settings: "palt";
}

.section .grid .top_txt {
  font-size: 36px;
  font-weight: bold;
  color: #002878;
  margin-bottom: 20px;
  font-feature-settings: "palt";
  letter-spacing: 1px;
  line-height: 1.5;
}

.section#greeting .grid .top_txt {
  font-size: 28px;
}

@media screen and (max-width: 900px) {
  .section .grid .top_txt {
    font-size: 27px;
    margin-bottom: 15px;
  }

  .section#greeting .grid .top_txt {
    font-size: 20px;
  }
}

/* -----------------------
br
----------------------- */

.u-sp {
  display: none;
}

@media screen and (max-width: 900px) {
  .u-sp {
    display: block;
  }

  .u-sp.ib {
    display: inline-block;
  }

  .u-pc {
    display: none !important;
  }
}

/* -----------------------
アニメーション
----------------------- */

.text-fadein span.anime {
  display: inline-block;
  position: relative;
}

.text-fadein span.anime:before {
  content: "";
  position: absolute;
  top: 0%;
  right: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  -webkit-transition: all 0.8s linear;
  -o-transition: all 0.8s linear;
  transition: all 0.8s linear;
}

#greeting .text-fadein span.anime:before {
  background: #f5f5f5;
}

.text-fadein.active span:before {
  width: 0%;
}

.zoomin.active {
  animation: zoomIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
  backface-visibility: hidden;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* -----------------------
slide
----------------------- */

#slider {
  width: 100%;
  height: 100vh;
  background-color: #969696;
}

@media screen and (max-width: 900px) {
  #slider {
    height: 510px !important;
  }
}

.slider_section {
  position: relative;
}

.slider_section .slider_copy {
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

@media screen and (max-width: 900px) {
  .slider_section .slider_copy {
    width: 45%;
  }
}

@media screen and (max-width: 767px) {
  .slider_section .slider_copy {
    width: 75%;
  }
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}

.vegas-animation-kenburns {
  animation: kenburns ease-out;
}

@keyframes kenburns {
  0% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img {
  animation: zoomUp 10s linear 0s 1 normal both !important;
}

@media screen and (max-width: 900px) {
  .vegas-slide-inner.vegas-animation-kenburns {
    background-size: contain !important;
  }
}

/*imgタグだと下に隙間ができるのでblockに*/
.slide-img img {
  display: block;
  width: 100%;
  height: 100vh;
}

.scroll-icon {
  display: inline-block;
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 2;
  font-size: 20px;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

.scroll-icon span {
  position: absolute;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}

.scroll-icon.hide span {
  display: none;
}

.verticcal-single {
  padding-top: 70px;
}

.scroll-icon.verticcal-single span {
  top: 0;
  left: 50%;
  -webkit-animation: avs 1.5s infinite;
  animation: avs 1.5s infinite;
  will-change: transform;
}

@-webkit-keyframes avs {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    -webkit-transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}

@keyframes avs {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}

/* -----------------------
header
----------------------- */

.header {
  width: 100%;
  display: flex;
  position: absolute;
  top: 0;
  z-index: 10;
}

.lower header {
  height: 100px;
}

@media screen and (max-width: 900px) {
  .lower header {
    height: 80px;
  }
}

@media screen and (max-width: 767px) {
  .lower header {
    height: 60px;
  }
}

.header-logo {
  position: absolute;
  top: 20px;
  left: 20px;
}

@media screen and (max-width: 900px) {
  .header-logo {
    top: 10px;
    left: 10px;
  }
}

.lower .header-logo {
  position: absolute;
  top: 15px;
  left: 20px;
}

@media screen and (max-width: 900px) {
  .lower .header-logo {
    top: 10px;
    left: 10px;
  }
}

@media screen and (max-width: 767px) {
  .lower .header-logo {
    top: 10px;
    left: 10px;
  }
}

.header-logo img {
  width: 277px;
  height: auto;
}

@media screen and (max-width: 900px) {
  .header-logo img {
    width: 36.6vw;
  }
}

@media screen and (max-width: 767px) {
  .header-logo img {
    width: 43.6vw;
  }
}

.lower .header-logo img {
  width: 257px;
  height: auto;
}

@media screen and (max-width: 900px) {
  .lower .header-logo img {
    width: 28.6vw;
  }
}

@media screen and (max-width: 767px) {
  .lower .header-logo img {
    width: 38.6vw;
  }
}

header .menu-wrap {
  position: absolute;
  top: 0;
  right: 0;
}

header .openbtn {
  position: fixed;
  z-index: 9999;
  /*ボタンを最前面に*/
  top: 0;
  right: 0;
  cursor: pointer;
  width: 80px;
  height: 80px;
  transition: all 0.5s ease 0s;
}

@media screen and (max-width: 767px) {
  header .openbtn {
    width: 60px;
    height: 60px;
  }
}

header .openbtn.changeColor {
  background-color: #002878;
}

/*×に変化*/
header .openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  height: 3px;
  background-color: #fff;
  width: 40px;
}

@media screen and (max-width: 767px) {
  header .openbtn span {
    width: 30px;
    height: 2px;
  }
}

.lower header .openbtn span {
  background-color: #002878;
}

.lower header .openbtn.active span {
  background-color: #fff;
}

header .openbtn span:nth-of-type(1) {
  top: 15px;
}

header .openbtn span:nth-of-type(2) {
  top: 27px;
}

header .openbtn span:nth-of-type(3) {
  top: 39px;
}

@media screen and (max-width: 767px) {
  header .openbtn span:nth-of-type(1) {
    top: 13px;
  }

  header .openbtn span:nth-of-type(2) {
    top: 21px;
  }

  header .openbtn span:nth-of-type(3) {
    top: 29px;
  }
}

header .openbtn .text .open,
header .openbtn .text .close {
  font-size: 13px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  position: absolute;
  bottom: 13px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

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

  header .openbtn .text .open,
  header .openbtn .text .close {
    font-size: 11px;
    bottom: 8px;
  }
}

header .openbtn .text .open {
  color: #fff;
  width: 100%;
  margin-top: -2em;
}

header .openbtn .text .close {
  color: rgba(0, 0, 0, 0);
}

header .openbtn.active .text .open {
  color: rgba(0, 0, 0, 0);
}

header .openbtn.active .text .close {
  color: #fff;
}

header .openbtn.active span:nth-of-type(1) {
  top: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(0px) rotate(-45deg);
  width: 50%;
}

header .openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

header .openbtn.active span:nth-of-type(3) {
  top: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px) rotate(45deg);
  width: 50%;
}

@media screen and (max-width: 767px) {
  header .openbtn.active span:nth-of-type(1) {
    top: 23px;
  }

  header .openbtn.active span:nth-of-type(3) {
    top: 35px;
  }
}

header #g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 9998;
  /*ナビのスタート位置と形状*/
  top: 0;
  right: -120%;
  width: 30%;
  height: 100vh;
  /*ナビの高さ*/
  background: #002878;
  /*動き*/
  transition: all 0.6s;
}

@media screen and (max-width: 900px) {
  header #g-nav {
    width: 90%;
  }
}

/*アクティブクラスがついたら位置を0に*/
header #g-nav.panelactive {
  right: 0;
}

header #g-nav.panelactive+.hamburger-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9997;
  background: rgba(3, 3, 3, 0.5);
  display: block;
}

/*ナビゲーション*/
header #g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  padding: 150px 0 50px 60px;
}

@media screen and (max-width: 900px) {
  header #g-nav ul {
    padding: 50px 0 50px 30px;
  }
}

@media screen and (max-width: 425px) {
  header #g-nav ul {
    padding: 50px 20px 50px 20px;
  }
}

/*リストのレイアウト設定*/
header #g-nav li {
  list-style: none;
  text-align: left;
}

header #g-nav li:not(:last-child) {
  margin-bottom: 30px;
}

header #g-nav li a {
  color: #fff;
  text-decoration: none;
  display: block;
  /*  text-transform: uppercase;*/
  text-transform: none;
  letter-spacing: 0.1em;
  font-weight: bold;
  font-size: 24px;
}

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

  header #g-nav li a,
  header #g-nav li a span {
    font-size: 21px !important;
  }
}

/* -----------------------
section
----------------------- */

.section_inner {
  width: min(960px, 90vw);
  margin: 0 auto;
  padding: 75px 0 90px;
}

#fsbj .section_inner {
  width: min(1022px, 90vw);
  margin: 0 auto;
}

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

  #fsbj .section_inner,
  .section_inner {
    width: 90%;
    padding: 50px 0 65px;
  }
}

/* -----------------------
section
----------------------- */

.parallax_wrap {
  height: 240px;
  width: 100%;
  background-size: cover;
  background-position: center 50%;
  /*   background-attachment: fixed;
  background-repeat: repeat; */
}

@media screen and (max-width: 900px) {
  .parallax_wrap {
    background-attachment: scroll;
    height: 180px;
    /* background-size: 100%; */
    /* background-position: center bottom;*/
  }

}

#kinousei .parallax_wrap {
  background-image: url("../img/top/bg_kinousei.jpg");
}

#service .parallax_wrap {
  background-image: url("../img/top/bg_service.jpg");
}

#contact .parallax_wrap {
  background-image: url("../img/top/bg_contact.jpg");
  background-size: 110%;
}

#value .parallax_wrap {
  background-image: url("../img/about/bg_value.jpg");
}

#buisiness .parallax_wrap {
  background-image: url("../img/about/bg_buisiness.jpg");
}

.about_h2_img {
  margin-bottom: 30px;
}

@media screen and (max-width: 900px) {
  #kinousei .parallax_wrap {
    background-image: url("../img/top/bg_kinousei_sp.jpeg");
  }

  #service .parallax_wrap {
    background-image: url("../img/top/bg_service_sp.jpeg");
  }

  #contact .parallax_wrap {
    background-image: url("../img/top/bg_contact_sp.jpeg");
  }

  #value .parallax_wrap {
    background-image: url("../img/about/bg_value_sp.jpeg");
    /* background-size:180%; */
  }

  #buisiness .parallax_wrap {
    background-image: url("../img/about/bg_buisiness_sp.jpeg");
    /* background-size:180%; */
  }

  .about_h2_img {
    margin-bottom: 0;
  }
}

.parallax_wrapInner {
  position: relative;
  height: 240px;
}

.parallax_wrapInner .section_ttl {
  text-align: center;
  color: #fff;
  font-size: 48px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

@media screen and (max-width: 900px) {
  .parallax_wrapInner {
    height: 180px;
  }

  .parallax_wrapInner .section_ttl {
    font-size: 36px;
    width: 100%;
  }

  .parallax_wrapInner .section_ttl img {
    height: 30px;
    width: auto;
  }

  #service .parallax_wrap {
    background-size: 180%;
  }

  #contact .parallax_wrap {
    /*background-size:300%;*/
  }
}

.parallax_wrapInner .section_ttl span {
  font-size: 18px;
  font-weight: bold;
  display: block;
  letter-spacing: 3px;
  margin-top: 15px;
}

@media screen and (max-width: 900px) {
  .parallax_wrapInner .section_ttl span {
    font-size: 14px;
    margin-top: 0;
  }
}

/* -----------------------
aside
----------------------- */

aside .aside_ttl {
  font-size: 24px;
  font-weight: bold;
  color: #002878;
  text-align: center;
}

aside .bg_bannerLinkWrap {
  background-color: #f5f5f5;
  padding: 70px 0 50px;
}

@media screen and (max-width: 900px) {
  aside .bg_bannerLinkWrap {
    padding: 30px 0;
  }
}

aside .banner_linkWrap {
  width: min(915px, 96vw);
  margin: 50px auto 0;
}

@media screen and (max-width: 900px) {
  aside .banner_linkWrap {
    width: 80%;
    margin-top: 30px;
  }

  aside .banner_linkWrap .banner_linkItem:first-child {
    margin-bottom: 15px;
  }
}

aside .sns_linkWrap {
  width: min(225px, 50vw);
  margin: 30px auto;
}

@media screen and (max-width: 900px) {
  aside .sns_linkWrap {
    /* width: 50%; */
    display: flex;
    padding: 0;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    margin: 40px auto;
  }
}

aside .sns_linkWrap .sns_linkItem {
  width: 60px;
}

@media screen and (max-width: 900px) {
  aside .sns_linkWrap .sns_linkItem {
    width: calc(33.33% - 13px);
  }
}

/* -----------------------
footer
----------------------- */

.footer {
  width: 100%;
  background-color: #002878;
  padding: 40px 0 50px;
  text-align: center;
}

.footer .footer-copy {
  color: #fff;
  font-size: 14px;
}