/*
Theme Name: 福山建設株式会社
Description: 福山建設株式会社のベーステーマです
Version: 1.0
Author: FUNSCREATION
Author URI: https://funscreation.co.jp/
*/



/****************************************
		1. General Setting
*****************************************/
body {
  color: #000;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 100%;
  font-family: "source-han-serif-japanese", "Source Han Serif JP", "Noto Serif JP", serif, "Noto Serif CJK JP", "游明朝体", "Yu Mincho", YuMincho;
  width: 100%;
}


a {
  color: #000;
  outline: none;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:visited {
  color: #000;
}


.clear {
  clear: both;
  line-height: 0
}

/*----- Clearfix -----*/
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  display: inline-block;
  min-height: 1%;
  /* for IE 7*/
}

/* Hides from IE-mac */
* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}

/* End hide from IE-mac */

.pc {
  display: block;
}

.sp {
  display: none;
}

.tablet {
  display: none;
}

.br-pc {
  display: inline-block;
}

.br-tablet {
  display: none;
}

.br-sp {
  display: none;
}

@media (max-width: 1024px) {
  body {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
  }

  .tablet {
    display: block;
  }

  .br-tablet {
    display: block;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .br-pc {
    display: none;
  }

  .br-tablet {
    display: none;
  }

  .br-sp {
    display: inline-block;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

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


/* 透明から表示 */
.fadeIn.visible {
  animation: opacityFadeIn 2s ease 0s 1 normal;
}

@keyframes opacityFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* 下から上にフェードイン */
.fadeInUp.visible {
  animation: fadeInBottom 1s ease 0s 1 normal;
}

@keyframes fadeInBottom {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
  }
}

.fixed {
  position: fixed;
}

/* BUTTON*/
.btn {
  background-color: #FFF;
  border: solid 1px #000;
  border-radius: 2em;
  color: #000 !important;
  display: block;
  line-height: 1;
  font-size: 18px;
  padding: 1em 0.5em;
  max-width: 280px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.btn_view {
  border: unset;
  padding-left: 0;
  text-align: start;
  font-size: 16px;
  font-weight: bold;
}

@media (max-width: 767px) {
  .btn {
    font-size: 15px;
  }
}

.btn.btn-white {
  background-color: transparent;
  border-color: #FFF;
  color: #FFF !important;
}

.btn.btn-white2 {
  border: unset;
}

.arrow {
  padding-right: 3rem;
  position: relative;
  color: #16c79a;
  transition: 0.5s;
}

.arrow_w {
  color: #fff;
}

.arrow::after {
  background: url(img/common/arrow.png) center center no-repeat;
  background-size: contain;
  content: '';
  display: inline-block;
  position: absolute;
  margin: auto;
  height: 2.8em;
  top: 50%;
  left: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}

.arrow_w::after {
  background: url(img/common/arrow_w.png) center center no-repeat;
  background-size: contain;
}

.arrow_s::after {
  background: url(img/common/arrow_s.png) center center no-repeat;
  background-size: contain;
  height: 20px;
  left: 16.5em;
  transition: 0.5s;
}

.arrow_s:hover::after {
  /*left: 17em;
  transition: 0.5s;*/
}

.arrow_sw::after {
  background: url(img/common/arrow_sw.png) center center no-repeat;
  background-size: contain;
  height: 20px;
  left: 16.5em;
  transition: 0.5s;
}

.arrow_sw:hover::after {
  /*left: 17em;
  transition: 0.5s;*/
}

.arrow2::after {
  background: url(img/common/arrow2.png) center center no-repeat;
  height: 2.6rem;
  top: 1em;
  left: 17em;
  width: 2.5rem;
}

.arrow-white::after {
  background-image: url(img/common/arrow_w.png);
}

@media (max-width: 767px) {
  .arrow_s::after {
    height: 20px;
    left: 9em;
    width: 50%;
    max-width: 90px;
  }

  .arrow_sw::after {
    height: 20px;
    left: 9em;
    width: 50%;
    max-width: 90px;
  }

}

@media (max-width: 480px) {
  .arrow::after {
    max-width: 100px;
    left: 55%;
  }
}

.btn-white .arrow::after {
  background-image: url(img/common/arrow_w.png);
}

.ico {
  display: inline-block;
  vertical-align: bottom;
}

.ico::before {
  content: '';
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.5em;
  vertical-align: middle;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.txt_view_more {
  position: relative;
  max-width: 300px;
}

.txt_view_more:after {
  content: '';
  position: absolute;
  top: 0;
  right: 7%;
  bottom: 0;
  display: block;
  width: 0.6em;
  height: 0.6em;
  margin: auto;
  border-top: solid 1px #072a7e;
  border-right: solid 1px #072a7e;
  transform: rotate(45deg);
  transition: 0.5s;
}

.txt_view_more:hover:after {
  right: 3%;
  transition: 0.5s;
}

/****************************************
  Header, Menu
*****************************************/

#header {
  background-color: #fff;
  position: fixed;
  height: 57px;
  left: 0;
  width: 100%;
  top: 0;
  transition: all 0.3s ease;
  z-index: 99;
  font-family: "source-han-serif-japanese", serif;
}

@media (min-width: 1501px) {
  #header {
    height: 71.5px;
  }
}

#header.open {
  background-color: transparent;
}


@media (max-width: 1140px) {
  #header {
    height: 50.5px;
  }
}

@media (max-width: 1024px) {
  #header {
    height: 80px;
  }
}

@media (max-width: 767px) {
  #header {
    height: 80px;
  }
}

@media (max-width: 414px) {
  #header {
    height: 60px;
  }
}

#header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  margin: 0 auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  width: 100%;
  width: 90%;
  max-width: 1900px;
}

@media (min-width: 1025px) {
  #header .header-inner {
    width: 90%;
    max-width: 1800px;
  }
}

.header-logo {
  height: auto;
  max-width: 280px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  width: 50%;
  z-index: 999;
}

@media (min-width: 1501px) {
  .header-logo {
    max-width: 350px;
  }
}

@media (max-width: 767px) {
  #header .header-inner {
    width: 94%;
  }
}


#header:not(.open) .logo_w {
  display: none;
}

#header.open .logo {
  display: none;
}

#header.open .logo_w {
  display: block;
}

#header .header-nav {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
  z-index: 9999;
}

#header .header-info_box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 280px;
}

#header .h_tel_number {
  padding-right: 20px;
}

#header .h_contact,
#header .h_access {
  width: 100%;
  transition: 0.5s;
}

#header .h_contact:hover,
#header .h_access:hover {
  opacity: 0.8;
  transition: 0.5s;
}
@media (min-width: 1024px){
  #header .header-info_box {
    height: 100%;

    & a {
      width: 73px;
      height: 100%;
    }
  }
}
@media (min-width: 1501px) {
  #header .header-info_box {
    max-width: 350px;
  }
}

@media (max-width: 1140px) {
  .header-logo {
    max-width: 220px;
  }

  #header .header-info_box {
    max-width: 250px;

  }
}

@media (max-width: 1024px) {
  .header-logo {
    max-width: 280px;
  }

  .gnav-container {
    display: none;
  }

  #header .header-info_box {
    display: none;
  }
}

@media (max-width: 767px) {
  .header-logo {
    margin-left: 3%;
  }
}

#header .header-nav #gnav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 auto;
  height: 100%;
}

#header nav .menu-item {
  font-weight: bold;
  line-height: 1.4;
  padding: 0 1em 0 1em;
  text-align: left;
}

#header nav .menu-item:hover {
  opacity: 0.7;
  transition: 0.5s;
}

#header nav .menu-item a {
  color: #072a7e;
  position: relative;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

#header nav .menu-item a>* {
  display: block;
}

#header nav .menu-item .en {
  font-size: 10px;
  margin-top: 5px;
}

@media (max-width: 1280px) {
  #header nav .menu-item {
    font-size: 14px;
  }
}

@media (max-width: 1140px) {
  #header nav .menu-item {
    padding: 0 0.6em 0 0.6em;
  }

}

/*--- HEADER MENU BUTTON ---*/
#header-menu-box {
  display: flex;
  display: flex;
  align-items: center;
  height: 100%;
}

.header-menu-btn {
  align-items: center;
  background-color: transparent;
  color: #FFF;
  display: flex;
  font-size: 1.8em;
  height: 100px;
  justify-content: center;
  text-align: center;
  width: 100px;
  transition: all 0.3s ease;
}

#nav-toggle {
  position: relative;
  display: block;
  width: 100px;
  height: 100px;
  padding: 0;
  z-index: 9999;
}

@media (min-width: 1025px) {
  #nav-toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  #nav-toggle {
    height: 80px;
    width: 80px;
  }
}

@media (max-width: 414px) {
  #nav-toggle {
    height: 60px;
    width: 60px;
  }
}

#nav-toggle .menu-line {
  background-color: #072a7e;
  display: block;
  height: 1px;
  position: absolute;
  left: 0;
  margin: auto;
  right: 0;
  top: 45%;
  transition: transform .3s;
  width: 50%;
}

/**
#nav-toggle .menu-line.menu-line--center {
  top: 50%;
}**/

#nav-toggle .menu-line.menu-line--bottom {
  top: 55%;
}

/*active時*/
#nav-toggle.active .menu-line {
  top: 45%;
}

#nav-toggle.active .menu-line.menu-line--top {
  transform: rotate(-20deg);
}

#nav-toggle.active .menu-line.menu-line--center {
  transform: scaleX(0);
}

#nav-toggle.active .menu-line.menu-line--bottom {
  transform: rotate(20deg);
}

/*--- SLIDENAV ---*/
#slidenav {
  -webkit-overflow-scrolling: touch;
  background-color: #fff;
  display: none;
  height: 100%;
  overflow: scroll;
  padding-top: 10px;
  position: fixed;
  padding-top: 2%;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 99;
}

#slide-nav-ul {
  list-style-type: none;
  margin: 0 auto;
  width: 90%;
}

#slide-nav-ul .menu-item {
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 0.8em;
  text-align: left;
  width: 75%;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  border-bottom: solid 2px #072a7e;
}

#slide-nav-ul .menu-item.last {
  margin-bottom: 1.8em;
}

@media (min-width: 768px) {
  #slide-nav-ul .menu-item {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 0.8em;
    text-align: left;
    width: 75%;
    margin-right: auto;
    margin-left: auto;
  }
}

#slide-nav-ul .arrow_01 {
  padding-bottom: 15px;
}

#slide-nav-ul .arrow_01:after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: 50%;
  display: block;
  width: 0.5em;
  height: 0.5em;
  margin: auto;
  border-top: solid 2px #072a7e;
  border-right: solid 2px #072a7e;
  transform: rotate(45deg);
}

#slide-nav-ul #sub_ul {
  width: 62%;
}

#slide-nav-ul #sub_ul .sub_item_middle {
  width: 120%;
}

#slide-nav-ul #sub_ul .sub_item {
  position: relative;
  border-bottom: solid 2px #072a7e;
  font-size: 15px;
  color: #072a7e;
  padding-bottom: 0.6em;
  margin-bottom: 0.8em;
}

#slide-nav-ul #sub_ul .sub_item.sub_item_middle {
  font-size: 18px;
  padding-top: 0.2em;
}

@media (min-width: 768px) {
  #slide-nav-ul #sub_ul .sub_item {
    font-size: 20px;
    padding-bottom: 0.5em;
    margin-bottom: 0.8em;
  }

  #slide-nav-ul #sub_ul .sub_item.sub_item_middle {
    font-size: 22px;
  }
}

#slide-nav-ul #sub_ul .sub_item:after {
  content: '';
  position: absolute;
  top: 0;
  right: 2%;
  bottom: 25%;
  display: block;
  width: 0.6em;
  height: 0.6em;
  margin: auto;
  border-top: solid 2px #072a7e;
  border-right: solid 2px #072a7e;
  transform: rotate(45deg);
}

#slide-nav-ul #sub_ul .sub_item.sub_item_middle:after {
  bottom: 20%;
  width: 0.5em;
  height: 0.5em;
}

#slide-nav-ul #sub_ul .sub_item.last {
  margin-bottom: 1.9em;
}

#slide-nav-ul .menu-item a {
  color: #072a7e;
  display: block;
  position: relative;
}

#slide-nav-ul .menu-item a>* {
  display: block;
}

#slide-nav-ul .menu-item .en {
  font-size: 24px;
  font-weight: normal;
}

#slide-nav-ul .logo-item {
  width: 100%;
  margin-bottom: 10%;
  border-bottom: unset;
  max-width: 400px;
}

#slide-nav-ul .info-item {
  margin: 0 auto;
  padding-top: 3%;
  padding-bottom: 2%;
  padding-right: 10%;
  padding-left: 10%;
  width: 75%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 2px #072a7e;
  margin-bottom: 6%;
}

#slide-nav-ul .contact-item {
  margin: 0 auto;
  width: 75%;
  background-color: #072a7e;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 3%;
  padding-bottom: 3%;
  padding-right: 20%;
  padding-left: 20%;
  margin-bottom: 6%;
}

#slide-nav-ul .access-item {
  margin: 0 auto;
  width: 75%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 3%;
  padding-bottom: 3%;
  padding-right: 23%;
  padding-left: 23%;
  margin-bottom: 6%;
}


@media (max-width: 767px) {
  #slide-nav-ul .logo-item {
    width: 70%;
    margin-top: 5px;
    margin-left: 0;
    max-width: 300px;
  }

  #slidenav .info-box {
    font-size: 12px;
  }
}

@media (max-width: 580px) {

  #slide-nav-ul .logo-item {
    width: 70%;
    margin-top: 5px;
  }
}

@media (max-width: 414px) {

  #slide-nav-ul .logo-item {
    width: 70%;
    margin-top: 5px;
  }

  #slide-nav-ul .menu-item {
    font-size: 18px;
  }

  #slide-nav-ul .menu-item .en {
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  #nav-toggle {
    display: block;
  }
}

@media (max-width: 767px) {
  #nav-toggle {
    height: 75px;
    width: 75px;
  }
}

@media (max-width: 414px) {
  #nav-toggle {
    height: 65px;
    width: 65px;
  }
}

/****************************************
  Main
*****************************************/
#container {
  width: 100%;
  margin: 0 auto;
  background-color: #FFF;
  font-family: "source-han-serif-japanese", serif;
}

@media (max-width: 767px) {
  #container {
    padding-top: 0;
  }
}


/****************************************
  Footer
*****************************************/

#footer {
  background: #fff;
  position: relative;
  width: 100%;
  font-family: "source-han-serif-japanese", serif;
}

@media (max-width: 767px) {
  #footer {
    background: #fff;
  }
}

#footer a {
  color: black;
  display: block;
}

#footer .footer-inner {
  max-width: 1200px;
  width: 70%;
  margin: 0 auto;
  padding: 50px 0 10px;
  text-align: center;
}

#footer .footer-content {
  display: flex;
  padding-bottom: 3em;
}

@media (min-width: 1025px) {
  #footer .footer-content {
    justify-content: space-between;

  }
}

@media (max-width: 1024px) {
  #footer .footer-content {
    align-items: center;
    flex-direction: column;
  }
}

#footer .footer-info-block {
  align-items: center;
  display: flex;
  flex-direction: column;
  color: black;
  padding-right: 20px;
  text-align: left;
}

#footer .footer-logo {
  max-width: 400px;
  width: 100%;
  margin-bottom: 1em;
}

@media (max-width: 1024px) {
  #footer .footer-info-block {
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 5%;
    width: 100%;
  }

  #footer .footer-logo {
    margin-bottom: 20px;
    width: 100%;
  }

}

@media (max-width: 767px) {

  #footer .footer-content {
    padding-bottom: 1.5em;
  }

  #footer .footer-logo {
    width: 100%;
  }

  #footer .footer-info-block {
    flex-direction: column;
    margin-bottom: .5em;
  }

  #footer .footer-info-box {
    display: flex;
    font-size: 16px;
    align-items: flex-start;
    margin-bottom: 5%;
    flex-direction: column;
    width: 90%;
  }

  #footer .footer-info-box .tel>* {
    display: block;
  }

  #footer .tel {
    line-height: .8em;
    margin-top: 0.6em;
  }
}

@media (max-width: 480px) {
  #footer .footer-inner {
    width: 90%;
  }
}

#footer .footer-info-box {
  line-height: 2;
  margin-right: auto;
}

@media (min-width: 768px) {
  #footer .footer-info-box .tel>*:not(:last-child) {
    margin-right: 2em;
  }
}

.footer-nav-area {
  max-width: 700px;
}

@media (min-width: 1025px) {
  .footer-nav-area {
    width: 55%;
  }
}

#footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#footer-nav .menu-item {
  margin-top: 2.5em;
  margin-right: 2.8em;
  width: calc(22% - 15em / 5);
  white-space: nowrap;
  font-weight: 600;
}

#footer-nav .menu-item:hover {
  opacity: 0.7;
  transition: 0.5s;
}

#footer-nav .menu-item:nth-child(1) {
  width: 7%;
}

#footer-nav .menu-item:nth-child(2),
#footer-nav .menu-item:nth-child(3),
#footer-nav .menu-item:nth-child(4) {
  width: 12%;
}


#footer-nav .menu-item:nth-child(5) {
  margin-right: 0;
  width: 17%;
}

#footer-nav .menu-item:nth-child(6),
#footer-nav .menu-item:nth-child(7) {
  width: 12%;
  margin-right: 3em;
}

#footer-nav .menu-item:nth-child(8) {
  width: 17%;
  margin-right: 3em;
}

#footer-nav .menu-item:last-child {
  width: 27%;
  margin-right: 0;
}

#footer-nav .menu-item::before {
  content: '';
  display: inline-block;
  height: 1px;
  width: 0.5em;
  margin-right: 0.3em;
  vertical-align: middle;
  background-color: #FFF;
}

#footer-nav .menu-item a {
  color: black;
}

@media (max-width: 1500px) {

  #footer-nav .menu-item,
  .footer-info-box {
    font-size: 14px;
  }
}

@media (max-width: 1275px) {
  #footer-nav .menu-item {
    margin-right: 2em;
  }

  #footer-nav .menu-item:nth-child(6),
  #footer-nav .menu-item:nth-child(7),
  #footer-nav .menu-item:nth-child(8) {
    margin-right: 2.5em;
  }
}

@media (max-width: 767px) {

  #footer-nav {
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
  }

  #footer-nav .menu-item {
    margin-bottom: 1em;
  }

  #footer-nav .menu-item,
  .footer-info-box {
    font-size: 16px;
  }

  #footer-nav .menu-item:nth-child(1),
  #footer-nav .menu-item:nth-child(2),
  #footer-nav .menu-item:nth-child(3),
  #footer-nav .menu-item:nth-child(4),
  #footer-nav .menu-item:nth-child(5),
  #footer-nav .menu-item:nth-child(6),
  #footer-nav .menu-item:nth-child(7),
  #footer-nav .menu-item:nth-child(8),
  #footer-nav .menu-item:last-child {
    width: 34%;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
    margin-right: 0;
  }

}

.copyright {
  color: black;
  font-size: 13px;
  padding: 25px 0 5px;
  border-top: solid 0.5px #261288;
  text-align: center;
}

@media (max-width: 767px) {
  .copyright {
    font-size: 10px;
    text-align: center;
  }
}

/*ページトップへ*/
button#scroll-to-top {
  display: none;
  background: none;
  height: 90px;
  position: fixed;
  bottom: 20px;
  right: 5%;
  width: 70px;
  z-index: 98;
}

#scroll-to-top:hover {
  opacity: 0.8;
  transition: 0.5s;
}

@media (max-width:767px) {
  button#scroll-to-top {
    bottom: 10%;
    right: 2%;
  }
}

@media (max-width:1500px) {
  button#scroll-to-top {
    height: 60px;
    width: 60px;
  }
}

@media (max-width:480px) {
  button#scroll-to-top {
    height: 57px;
    width: 57px;
  }
}
