
/* -----------------------------------------------

	 header

----------------------------------------------- */
header{
  padding: 25px 0;
}
header .logo{
  max-width: 100px;
}
header .pcnavwrap li{
  margin: 0 15px;
  padding-left: unset;
  text-indent: unset;
}
header .pcnavwrap li:last-child{
  margin-right: 0;
}
header .pcnavwrap li a{
  font-size: 18px;
}
header .pcnav-btn{
  border-radius: 30px;
  min-width: 150px;
  text-align: center;
}
header .pcnav-btn a{
  color: #fff;
  padding: 18px 35px;
  display: inline-block;
  line-height: 1;
}

@media only screen and (max-width: 1024px) {
  header .logo {
    max-width: 80px;
  }
  header .cwrap{
    padding: 0 30px;
  }
  header .pcnavwrap li a{
    font-size: 16px;
  }
  header .pcnavwrap li {
    margin: 0 10px
  }
  header .pcnav-btn a{
    padding: 18px 25px;
  }
}
@media only screen and (max-width: 1000px) {
  header .pcnavwrap{
    display: none;
  }
  header .pcnav-btn a{
    padding: 22px !important;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 479px) {
  header .cwrap{
    padding: 0 20px;
  }
  header .logo{
    max-width: 60px;
  }
}


/* -----------------------------------------------

	 hamburger

----------------------------------------------- */

/*　ハンバーガーボタン　*/
.hamburger {
  display : none;
  position: fixed;
  z-index : 3;
  right : 20px;
  top   : 20px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background : #555;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}

/* ナビ開いてる時のボタン */
.hamburger.active span{
  /* background: #fff; */
}
.hamburger.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

nav.globalMenuSp {
  position: fixed;
  z-index : 2;
  top  : 0;
  left : 0;
  color: #333;
  background: #fff;
  text-align: center;
  transform: translateX(100%);
  transition: all 0.6s;
  width: 100%;
  height: 100vh;
}

nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
  max-width: 550px;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  border-bottom: 1px solid #333;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
  border-bottom: none;
  margin-top: 45px;
}
nav.globalMenuSp ul li:hover{
  background :#ddd;
}

nav.globalMenuSp ul li a {
  display: block;
  padding: 1em 0;
  text-decoration :none;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  transform: translateX(0%);
}

@media only screen and (max-width: 1000px) {
  header .hamburger{
    display: block;
  }
}
@media only screen and (max-width: 479px) {
  .hamburger{
    top: 15px;
    right: 15px;
  }
}


/* -----------------------------------------------

	 f_contact

----------------------------------------------- */
#f_contact {
  padding: 90px 0 120px;
  position: relative;
  background-image: url(../images/top_mainimg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
#f_contact::after{
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: #121c2e;
  opacity: 0.2;
  z-index: -1;
}
#f_contact .sechead *,
#f_contact .leadtxt{
  color: #fff;
}
#f_contact .boxwrap{
  gap: 60px;
}
#f_contact .boxwrap p{
  line-height: 1.5;
}
#f_contact .boxwrap .box_file{
  background: #fff;
}
#f_contact .boxwrap .box_soudan p{
  color: #fff;
}
#f_contact .boxwrap .box{
  padding: 45px 20px;
  border-radius: 5px;
  text-align: center;
  width: 100%;
}
#f_contact .box .txt{
  position: relative;
  margin-bottom: 10px;
  font-size: 16px;
  display: flex;
  align-items: flex-end;
}
#f_contact .box .txt::before{
  content: "";
  display: inline-block;
  position: absolute;
  right: calc(100% + 20px);
  width: 2px;
  height: 20px;
  -webkit-transform : translateY(-50%);
  transform : translateY(-50%);
  transform: rotate(-25deg);
  bottom: 2px;
}
#f_contact .box.box_file .txt::before{
  background-color: #333;
}
#f_contact .box.box_soudan .txt::before{
  background-color: #fff;
}
  #f_contact .box .txt::after{
  content: "";
  display: inline-block;
  position: absolute;
  left: calc(100% + 20px);
  width: 2px;
  height: 20px;
  -webkit-transform : translateY(-50%);
  transform : translateY(-50%);
  transform: rotate(25deg);
  bottom: 2px;
}
#f_contact .box.box_file .txt::after{
  background-color: #333;
}
#f_contact .box.box_soudan .txt::after{
  background-color: #fff;
}
#f_contact .box .ttl{
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}
#f_contact .box .img{
  max-width: 50px;
}

@media only screen and (max-width: 1024px) {
  #f_contact .boxwrap .box_tel .txt {
    margin-bottom: 10px;
  }
  #f_contact .boxwrap .box_tel .telwrap {
    margin-bottom: 15px;
  }
  #f_contact .box .img {
    max-width: 40px;
  }
}
@media only screen and (max-width: 768px) {
  #f_contact {
    padding: 90px 0 120px;
  }
  #f_contact .boxwrap{
    flex-direction: column;
    max-width: 480px;
    margin: auto;
    gap: 40px;
  }
  #f_contact .box .txt::before,
    #f_contact .box .txt::after{
    width: 1px;
    height: 18px;
  }
  #f_contact .box .txt::before{
    right: calc(100% + 10px);
  }
  #f_contact .box .txt::after{
    left: calc(100% + 10px);
  }
}
@media only screen and (max-width: 479px) {
  #f_contact {
    padding: 60px 0 90px;
  }
  #f_contact .boxwrap .box {
    padding: 35px 20px;
  }
  #f_contact .boxwrap .box_tel .txt {
    margin-bottom: 5px;
  }
  #f_contact .boxwrap .box_tel .telwrap{
    margin-bottom: 10px;
  }
  #f_contact .boxwrap .box_tel .tel {
    font-size: 8vw;
  }
  #f_contact .boxwrap .box_tel .img {
    width: 6vw;
    margin-right: 10px;
  }
  #f_contact .boxwrap .box_mail .txt {
    margin-bottom: 20px;
  }
  #f_contact .box .txt {
    font-size: 14px;
    margin-bottom: 5px;
  }
  #f_contact .box .ttl {
    font-size: 20px;
    margin-bottom: 20px;
  }
  #f_contact .box .img {
    max-width: 45px;
  }
  #f_contact .box .ttl{
    font-size: 28px;
  }
}


/* -----------------------------------------------

	 movetop

----------------------------------------------- */
#movetop{
  position: fixed;
  right: 35px;
  bottom: 20px;
  width: 80px;
  height: 80px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border-radius: 50vh;
  z-index: 3;
  transition: all 0.65s;
  opacity: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, #0c3764, #6dc4c8);
}
#movetop::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -25%) rotate(45deg);
}
#movetop.active{
  opacity: 1;
  transition: all 0.65s;
  pointer-events: all;
}
@media only screen and (max-width: 1024px) {
  #movetop{
    width: 65px;
    height: 65px;
    right: 20px;
    bottom: 15px;
  }
}
@media only screen and (max-width: 768px) {
  #movetop{
    width: 45px;
    height: 45px;
    right: 15px;
    bottom: 10px;
  }
}


/* -----------------------------------------------

	 footer

----------------------------------------------- */
footer *{
  font-size: 18px;
}
footer .inner{
  padding: 60px 0;
}
footer .infowrap{
  line-height: 1.8;
}
footer .logo{
  max-width: 90px;
  margin-bottom: 10px;
}
footer .nav{
  gap: 30px 40px;
  line-height: 1;
}
footer .nav li{
  text-indent: 0;
  padding: 0;
}
footer .copyright{
  padding: 20px 0 60px;
  border-top: solid 1px #555;
}
footer .copyright p{
  font-size: 16px;
  color: #333;
}
@media only screen and (max-width: 1024px) {
  footer *{
    font-size: 16px;
  }
  footer .logo{
    max-width: 80px;
  }
  footer .nav{
    max-width: 420px;
  }
}
@media only screen and (max-width: 768px) {
  footer .inner{
    flex-direction: column;
    gap: 60px;
    padding: 60px 0 45px;
  }
  footer .nav{
    gap: 20px;
    max-width: 100%;
  }
  footer .infowrap{
    margin: 0;
  }
  footer .copyright {
    padding: 10px 0 60px;
    }
}
@media only screen and (max-width: 479px) {
  footer *{
    font-size: 15px;
  }
  footer .logo{
    max-width: 60px;
  }
  footer .inner{
    gap: 30px;
    align-items: baseline;
  }
  footer .nav {
    gap: 10px;
    max-width: unset;
  }
  footer .nav li{
    width: 100%;
    border-bottom: solid 1px #555;
    padding-bottom: 5px;
  }
  footer .nav li a{
    display: block;
    padding: 10px 0;
  }
  footer .copyright{
    border: none;
    padding: 0 0 45px;
  }
  footer .copyright p{
    font-size: 14px;
  }
}