@charset "UTF-8";

/*****************
共通
*****************/
* {
  box-sizing: border-box;
}

body {
  color: #333333;
  font-size: 14px;
  font-family: "Source Sans Pro", sans-serif !important;
}

.w-container {
  width: min(92%, 1140px);
  margin: 0 auto;
  /* position: relative; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #443f3f;
  font-weight: 600;
  margin: 10px 0 24px;
}

.bold {
  color: rgb(68, 63, 63);
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0 24px;
}

table {
  width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
}

tbody {
  display: table-row-group;
  vertical-align: middle;
  border-color: inherit;
}

tr {
  display: table-row;
  vertical-align: inherit;
  border-color: inherit;
}

th,
td {
  border: 1px solid #333;
  padding: 5px;
  text-align: center;
}

th {
  display: table-cell;
  vertical-align: inherit;
  font-weight: bold;
}

td {
  display: table-cell;
  vertical-align: inherit;
}

/* レイアウト */
.company,
.map {
  margin-bottom: 100px;
}

/*****************
header
*****************/

#header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  position: static;
}

/*JSを使いfixedクラスが付与された際の設定*/
#header.fixed {
  position: fixed; /*fixedを設定して固定*/
  z-index: 999; /*最前面へ*/
  top: 0%; /*位置指定*/
  left: 0%; /*位置指定*/
}

.header__overlay {
  background-color: #f4f0d9;
  opacity: 0.9;
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.header__logo h1 img {
  width: 73%;
}

@media screen and (max-width: 768px) {
  .header__logo h1 img {
    width: 66.66666667%;
  }
}

@media screen and (max-width: 480px) {
  .header__logo h1 img {
    width: 70%;
  }

  .header__logo {
    margin-left: 2%;
    margin-top: 5%;
  }
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav ul li {
  outline: none;
  list-style: none;
}

nav ul li a {
  color: #ee8c00;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

nav.header__menu {
  flex-basis: 50%;
  max-width: 550px;
}

@media screen and (max-width: 980px) {
  nav.header__menu {
    display: none;
  }

  nav ul {
    display: block;
    padding: 0;
  }
}

.hero {
  background-image: url(../imges/qjin4_gousei2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 0;
  background-attachment: fixed;
  width: 100%;
  height: 100%;
  /* position: absolute; */
  /* top: 0; */
  /* z-index: 2; */
}

.hero__text {
  position: relative;
  top: 60%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  width: 100%;
  min-height: 260px;
  padding-top: 5px;
}

@media screen and (max-width: 480px) {
  .hero__text {
    top: 34%;
  }
}

.fadeRight {
  position: relative;
  animation-name: fadeRightAnime;
  animation-duration: 1s;
  animation-fill-mode: both;
  opacity: 0;
}

@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(1200px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero__text h2 {
  z-index: 10;
  font-size: 32px;
  color: #fff;
  font-weight: 600;
  margin: 0;
  letter-spacing: -1px;
  text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.7);
  position: relative;
  display: inline-block;
  line-height: 67px;
  padding-bottom: 10px;
}

.hero__text p {
  z-index: 10;
  font-size: 28px;
  color: #308f48;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0px;
  text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.7);
  line-height: 40px;
  padding: 20px 0 50px;
}

/*****************
コンテンツ
*****************/
.imgtext {
  padding: 100px 0;
}

.imgtext h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 600;
}

.text h2 {
  color: rgb(48, 141, 72);
  font-size: 20px;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  padding-bottom: 10px;
}

.text h2:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 50px;
  height: 1px;
  margin-left: -25px;
  background-color: #333333;
}

.text p {
  margin: 10px 0 24px;
  line-height: 1.8em;
  color: rgb(10, 10, 10);
  font-size: 18px;
  font-weight: 600;
}

.img img {
  margin: 0 auto;
}
/* Google Map */
.gmap__wrapper {
  aspect-ratio: 19/7;
}

.gmap__wrapper iframe {
  width: 100%;
  height: 100%;
}

/* catch */
.catch__container {
  background-image: url(../imges/item2.jpg);
  padding: 100px 0px;
  background-position: 50% 167px;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  z-index: 11;
  overflow: hidden;
}

.catch__text {
  text-align: center;
}

.catch__text h2 {
  margin: 0px;
  color: rgb(255, 255, 255);
  font-size: 20px;
}

.catch__text p {
  line-height: 1.8em;
  color: rgb(255, 255, 255);
  font-size: 25px;
  font-weight: 600;
}

.overlay {
  background-color: rgb(0, 0, 0);
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=70);
  opacity: 0.7;
}

/* インタビュー */
.interview {
  padding: 100px 0;
}
.interview__text h2 {
  font-size: 25px;
  color: rgb(48, 141, 72);
  text-align: center;
}

.interview__text h3 {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  padding-bottom: 10px;
  font-size: 20px;
}

.interview__text h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 50px;
  height: 1px;
  margin-left: -25px;
  background-color: #333333;
}

.interview__text img {
  margin: 0 auto;
}

.interview__text dl {
  padding: 100px 0;
}

.interview__text dt {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  padding-bottom: 10px;
  color: rgb(238, 140, 0);
  font-size: 20px;
}

.interview__text dt::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 50px;
  height: 1px;
  margin-left: -25px;
  background-color: #d65050;
}

@media screen and (max-width: 480px) {
  .interview__text dl {
    padding: 50px 0;
  }

  .interview__text dt {
    margin-top: 24px;
    margin-bottom: 24px;
  }
}

/* catch2 */
.catch2 {
  position: relative;
}
.catch2__container {
  background-image: url(../imges/item3.jpg);
  background-repeat: no-repeat;
  background-position: 50% 180px;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding: 100px 0px;
  height: 200px;
  z-index: 11;
  overflow: hidden;
  margin-bottom: 100px;
}

.overlay2 {
  background-color: rgb(30, 115, 190);
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=70);
  opacity: 0.7;
}
/* フッター */

.site-footer,
.site-footer a {
  color: #f4f0d9;

  width: 100%;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=70);
}

.site-footer {
  background-color: #308d48;
  margin: 0 auto;
  line-height: 35px;
  padding: 15px 0;
  width: 100%;
}

.site-info {
  max-width: 1170px;
  margin: 0 auto;
  position: relative;
}

@media screen and (max-width: 980px) {
  .site-info {
    margin: 0 0 0 4%;
  }
}

#page__top {
  position: fixed !important;
  right: 20px;
  /* bottom: -45px; */
  color: #fff;
  display: block;
  font-size: 22px;
  line-height: 40px;
  text-align: center;
  width: 40px;
  height: 40px;
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  z-index: 9999;
  cursor: pointer;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -o-border-radius: 2px;
  border-radius: 2px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  opacity: 1;
  visibility: visible;
  bottom: 11px;
  background-color: #333;
  pointer-events: painted;
}

#page__top:hover {
  opacity: 0.7;
}

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

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

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*リストのレイアウト設定*/

#g-nav li {
  list-style: none;
  text-align: center;
}

#g-nav li a {
  color: #333;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  z-index: 9999; /*ボタンを最前面に*/
  top: 3%;
  right: 7%;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: none;
}

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

  header#header {
    justify-content: flex-start;
  }

  .header__logo {
    margin-left: 7%;
    margin-top: 1%;
  }
}

@media screen and (max-width: 480px) {
  .openbtn {
    top: 2%;
    right: 3%;
  }
}

/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #308f48;
  width: 45%;
}

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

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

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

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

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

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

/*===================================
　news
===================================*/

.news__container {
  padding: 100px 0;
  text-align: center;
}
