/* 
画像 → figure
記事 → article
copyright → small
*/

/* fade-in */

/* .fadein1 {
  opacity: 0;
  transform: translateZ(20px);
  transition: all 2s;
}

.fadein2 {
  opacity: 0;
  transform: translateY(100px);
  transition: all 2s;
} */

/* fade-in */

/* blink */

/* .blink {
  animation: blinkAnime 2s infinite alternate;
}
@keyframes blinkAnime {
  0% {
    color: #000000;
  }
  100% {
    color: #66ff66;
  }
}

.blink2 {
  animation: blinkAnime2 2s infinite alternate;
}
@keyframes blinkAnime2 {
  0% {
    color: #ffffff;
  }
  100% {
    color: #66ff66;
  }
}

.blink3 {
  animation: blinkAnime3 2s infinite alternate;
}
@keyframes blinkAnime3 {
  0% {
    color: #0000ff;
  }
  100% {
    color: #00ffff;
  }
} */

/* blink */

body {
  font-family: YuGothic, "Yu Gothic", sans-serif;
  color: #333333;
  position: relative;
}

a {
  text-decoration: none;
  color: #333333;
}

li {
  list-style: none;
}

/* up-top */
.up-top {
  text-align: center;
  width: 60px;
  height: 60px;
  background-color: #109954;
  color: #ffffff;
  border-radius: 100%;
  font-size: 35px;
  right: 20px;
  bottom: 20px;
  position: fixed;
  z-index: 10;
}

.up-top:hover {
  background-color: #03bb03;
}

.up-top p {
  margin-top: 12px;
}
/* up-top */

/* header */

.header {
  height: 70px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1080px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  justify-content: space-between;
}

.header-left img {
  width: 130px;
  height: 33px;
}

.header-right ul {
  display: flex;
}

.header-right li {
  margin-left: 15px;
  margin-right: 15px;
  font-size: 18px;
  font-weight: bold;
}

.header-right a:hover {
  color: #109954;
}

/* company */

.company {
  background-image: url("../img/top/navi-back.jpg");
  background-color: rgba(255, 255, 255, 0.6);
  background-blend-mode: lighten;
  background-size: cover;
  padding: 50px 0;
}

.company-inner {
  display: flex;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  padding: 0 15px;
}

.company-txt h2 {
  font-weight: bold;
  font-size: 36px;
  line-height: 1.7;
}

.company-txt h3 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 35px;
  line-height: 1.7;
  width: 100%;
  max-width: 400px;
}

.company-btn {
  margin-top: 60px;
}

.company-btn a {
  background-color: #109954;
  color: #ffffff;
  padding: 20px 50px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0px 10px 10px #00000029;
}

.company-btn a:hover {
  background-color: #03bb03;
}

.company-img img {
  width: 100%;
  max-width: 560px;
}

/* about */

.about-inner {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  align-content: center;
  align-items: center;
  padding: 0 15px;
}

.details-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}

.details {
  width: 50%;
}

.section-title {
  margin-top: 140px;
  margin-bottom: 100px;
  display: flex;
  align-items: center;
  font-size: 36px;
  font-weight: bold;
  justify-content: center;
}

.details h3 {
  font-size: 32px;
  font-weight: bold;
  color: #109954;
}

.details-txt {
  font-size: 16px;
  line-height: 1.7;
  margin-top: 30px;
}

.details-btn {
  margin-top: 50px;
}

.details-btn a {
  background-color: #109954;
  color: #ffffff;
  padding: 20px 50px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0px 10px 10px #00000029;
}

.details-btn a:hover {
  background-color: #03bb03;
}

.details-img img {
  width: 90%;
  height: 278px;
  margin-left: 40px;
  box-shadow: 0px 11px 20px #00000029;
  object-fit: cover;
}

.recruit-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}

.recruit-img img {
  box-shadow: 0px 11px 20px #00000029;
  width: 90%;
  height: 278px;
  object-fit: cover;
  margin-right: 40px;
}

.recruit-txt {
  width: 50%;
}

.recruit-txt h3 {
  font-size: 32px;
  font-weight: bold;
  color: #ffa500;
}

.recruit-txt p {
  font-size: 16px;
  line-height: 1.7;
  margin-top: 30px;
}

.recruit-btn {
  margin-top: 50px;
}

.recruit-btn a {
  background-color: #ffa500;
  color: #ffffff;
  padding: 20px 50px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0px 10px 10px #00000029;
}

.recruit-btn a:hover {
  background-color: #ffd700;
}

/* service */

.service-inner {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 0 15px;
}

.service-type {
  display: flex;
  justify-content: center;
}

.service-type img {
  width: 100%;
  max-width: 200px;
}

.service-txt1,
.service-txt2,
.service-txt3 {
  font-weight: bold;
  font-size: 20px;
  margin-top: 30px;
  line-height: 1.7;
}

.service-type2 {
  margin-left: 100px;
  margin-right: 100px;
}

.service-btn {
  margin-top: 100px;
}

.service-btn a {
  background-color: #005fff;
  color: #ffffff;
  padding: 20px 50px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0px 10px 10px #00000029;
}

.service-btn a:hover {
  background-color: #00ffff;
}

/* news */

.news-inner {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.blog-img-top {
  width: 160px;
  height: 120px;
  object-fit: cover;
}

.news-box-top {
  display: flex;
}

.news-details-txts {
  display: flex;
  align-items: center;
}

.news-details-txts time {
  color: #ffa500;
  font-size: 18px;
  margin-left: 30px;
  font-weight: bold;
}

.category-txt {
  background-color: #109954;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 30px;
  margin-left: 30px;
  font-weight: bold;
}

.news-details-main {
  margin-left: 30px;
  font-size: 22px;
  font-weight: bold;
  margin-top: 20px;
  line-height: 1.7;
}

.news-details-main:hover {
  color: #109954;
  border-bottom: 1px solid #109954;
}

.news-boxes hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

.news-mores {
  text-align: center;
  margin-bottom: 100px;
  margin-top: 70px;
}

.news-more {
  background-color: #109954;
  color: #ffffff;
  padding: 20px 50px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0px 10px 10px #00000029;
}

.news-more:hover {
  background-color: #66ff66;
}

/* footer */

.footer-wrapper {
  background-color: #e8e8e8;
  color: #333333;
}

.footer-box {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.footer-box {
  display: flex;
}

.footer-list {
  display: flex;
  list-style: none;
  margin-left: auto;
}

.footer-box img {
  width: 80px;
  height: 80px;
  margin-top: 50px;
  margin-bottom: 40px;
}

.footer-box img:hover {
  opacity: 0.5;
}

.footer-list li {
  font-size: 18px;
  margin-top: 80px;
  padding: 0 20px;
}

.footer-list a:hover {
  color: #109954;
}

.copyright {
  font-size: 14px;
  text-align: center;
  margin-top: 20px;
  padding-bottom: 30px;
}

.footer-list li + li {
  border-left: 1px solid #333;
  height: 14px;
}

@media screen and (min-width: 768px) {
  .pc {
    display: none;
  }

  .box {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .header-right ul {
    display: none;
  }

  /* header */

  .header {
    padding: 0 15px;
  }

  .header-left img {
    width: 110px;
    height: 28px;
  }

  /*ハンバーガー*/

  .box {
    margin-left: auto;
  }

  /*チェックボックス等は非表示に*/
  .nav-unshown {
    display: none;
  }

  /*アイコンのスペース*/
  #nav-open {
    display: inline-block;
    width: 40px;
    height: 22px;
    vertical-align: middle;
    cursor: pointer;
  }

  /*ハンバーガーアイコンをCSSだけで表現*/
  #nav-open span,
  #nav-open span:before,
  #nav-open span:after {
    position: absolute;
    height: 3px; /*線の太さ*/
    width: 30px; /*長さ*/
    border-radius: 3px;
    background: #109954;
    display: block;
    content: "";
  }
  #nav-open span:before {
    bottom: -8px;
  }
  #nav-open span:after {
    bottom: -16px;
  }

  #nav-open:hover {
    opacity: 0.5;
  }

  /*薄黒カバー*/
  #nav-close {
    display: none; /*はじめは隠しておく*/
    position: fixed;
    z-index: 99;
    top: 0; /*全体に広がるように*/
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: 0.3s ease-in-out;
  }

  /*中身*/
  #nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: #fff;
    transition: 0.5s ease-in-out;
    -webkit-transform: translateY(-120%);
    transform: translateY(-120%);
  }

  #nav-input:checked ~ #nav-close {
    display: block;
    opacity: 0.5;
  }

  #nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
  }

  .batsu {
    font-size: 50px;
    color: #109954;
    text-align: right;
    margin-right: 15px;
    margin-top: 20px;
    cursor: pointer;
    width: 50px;
    margin-left: auto;
  }

  .batsu:hover {
    color: #03bb03;
  }

  .logo-tab {
    text-align: center;
  }

  .logo-tab img {
    width: 100px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
  }

  .logo-tab img:hover {
    opacity: 0.5;
  }

  .tab-list {
    text-align: center;
    margin-top: 60px;
  }

  .tab-list li {
    font-size: 20px;
  }

  .tab-list hr {
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
    color: #333333;
  }

  /* company */

  .company {
    padding-top: 80px;
    padding-bottom: 120px;
  }

  .company-inner {
    flex-direction: column-reverse;
    align-items: center;
    padding: 0 15px;
    margin-top: 10px;
    text-align: center;
  }

  .company-img img {
    width: 100%;
    height: auto;
  }

  .company-txt h2 {
    font-size: 30px;
    margin-top: 10px;
    width: 100%;
    height: auto;
    line-height: 1.7;
  }

  .company-txt p {
    margin-top: 22px;
    width: 100%;
    height: auto;
    line-height: 1.6;
  }

  .company-btn {
    display: inline-block;
  }

  /* service */

  .service-inner {
    padding: 0 15px;
  }

  .service-type {
    flex-direction: column;
  }

  .service-type img {
    width: 200px;
    height: 200px;
    margin-top: 0;
  }

  .service-type1 img {
    margin-top: 0px;
  }

  .service-type2 {
    margin-left: 0;
    margin-right: 0;
  }

  .service-type2 img {
    margin-top: 50px;
  }

  .service-type3 img {
    margin-top: 50px;
  }

  .about-inner {
    padding: 0 15px;
  }

  .details-wrapper {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .details {
    width: 100%;
  }

  .details-img img {
    width: 100%;
    height: auto;
    margin-left: 0px;
  }

  .details h3 {
    margin-top: 50px;
  }

  .details-txt {
    margin-top: 50px;
    margin-left: 0px;
    width: 100%;
    height: auto;
    text-align: left;
  }

  .recruit-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .recruit-img img {
    width: 100%;
    height: auto;
    margin-left: 0px;
    margin-right: 0;
  }

  .recruit-txt {
    width: 100%;
  }

  .recruit-txt-p {
    width: 100%;
    height: auto;
    text-align: left;
  }

  .recruit-txt h3 {
    margin-top: 50px;
  }

  /* news */

  .news-inner {
    padding: 0 15px;
  }

  .blog-img-top {
    width: 120px;
  }

  .news-details-txts time {
    margin-left: 10px;
    font-size: 14px;
  }

  .category-txt {
    font-size: 13px;
    margin-left: 10px;
    padding: 5px 5px;
  }

  .news-details-main {
    font-size: 15px;
    margin-left: 15px;
    margin-top: 10px;
  }

  /* footer */

  .footer-wrapper {
    padding: 0 15px;
  }

  .footer-box {
    flex-direction: column;
    align-items: center;
  }

  .footer-box img {
    margin-bottom: 11px;
  }

  .footer-list {
    flex-direction: column;
    margin-left: 0;
  }

  .footer-line {
    display: none;
  }

  .footer-list li {
    margin-top: 25px;
    text-align: center;
    font-size: 18px;
  }

  .copyright {
    text-align: center;
    margin-top: 40px;
  }

  .footer-list li + li {
    border-left: none;
  }
}
