/*=========================
  Common
=========================*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
.font-noto {
  font-family: 'Noto Serif JP', serif;
}

.font-zen {
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

:root {
  --main: #2d4f30;
  --sub: #9fd6a6;
  --sub2: #c2ffca;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--main);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  color: #ffffff;
  max-width: 1920px;
  margin: auto;
  position: relative;
}

a {
  text-decoration: none;
  transition: 0.3s;
  color: inherit;
}

a:hover {
  opacity: 0.75;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  line-height: 2;
  text-align: justify;
}

@media screen and (max-width: 960px) {
  p {
    font-size: 0.9rem;
  }
}
.sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: initial;
  }
}
.button {
  border: 1px solid #ffffff;
  border-radius: 50px;
  padding: 0.5rem 2rem;
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  position: relative;
  transition: 0.3s;
}
.button .arrow {
  background-color: #ffffff;
  width: 50px;
  height: 5px;
  -webkit-clip-path: polygon(100% 100%, 0 100%, 0 70%, 75% 70%, 75% 0);
  clip-path: polygon(100% 100%, 0 100%, 0 70%, 75% 70%, 75% 0);
  margin-top: 4px;
  margin-left: 1rem;
}

.button:hover {
  opacity: 1;
  background-color: #ffffff;
  color: var(--main);
}
.button:hover .arrow {
  background-color: var(--main);
}

/*=========================
  header
=========================*/
header {
  position: absolute;
  z-index: 999;
  width: 100%;
}
header .logo-group {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  margin: 1rem;
}
header .logo-group .logo {
  width: 15%;
  min-width: 60px;
  max-width: 180px;
}
header .logo-group .logo a:hover {
  opacity: 1;
}
header .logo-group .company-name {
  width: 10%;
  min-width: 45px;
  max-width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .logo-group .company-name .sp-img {
  display: none;
}
header .header-nav {
  height: 75px;
  padding-left: 1.5rem;
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-weight: 500;
}
header .header-nav .nav-links {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
}
header .header-nav .nav-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
header .header-nav .tel {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 1.5rem;
  font-size: 1.3rem;
}
header .header-nav .tel .icon {
  margin-right: 0.5rem;
  margin-top: 1px;
  width: 24px;
}
header .header-nav .mail {
  background-color: var(--main);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 1.5rem;
  padding: 0 1rem;
  position: relative;
}
header .header-nav .mail .icon {
  margin-right: 0.5rem;
  margin-top: 2px;
  width: 20px;
}
header .header-nav .mail:hover {
  opacity: 1;
}
header .header-nav .mail::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
header .header-nav .mail:hover::after {
  opacity: 0.25;
}
header .sp-hamburger {
  background-color: var(--main);
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10%;
  width: min(15vw, 50px);
  aspect-ratio: 1/1;
}
header .sp-hamburger .line {
  height: 1px;
  width: 30%;
  background-color: #ffffff;
  content: '';
  transition: 0.3s;
}
header .sp-hamburger.active .line {
  background-color: #ffffff;
}
header .sp-hamburger.active .line:nth-child(1) {
  position: absolute;
  top: 50%;
  bottom: 50%;
  width: 40%;
  transform: rotate(-45deg);
}
header .sp-hamburger.active .line:nth-child(2) {
  opacity: 0;
}
header .sp-hamburger.active .line:nth-child(3) {
  position: absolute;
  top: 50%;
  bottom: 50%;
  width: 40%;
  transform: rotate(45deg);
}
header .sp-nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: -120%;
  width: 80vw;
  height: 100vh;
  background-color: var(--main);
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}
header .sp-nav .nav-links {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
header .sp-nav .nav-links__item {
  font-size: 1.2rem;
}
header .sp-nav .nav-links__item a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
header .sp-nav .nav-links__item .en {
  font-size: 0.8rem;
}
header .sp-nav.active {
  right: 0;
}
header .overlay {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.75;
}
header .overlay.active {
  display: block;
}

body.no-scroll {
  overflow: hidden;
  height: 100%;
}

@media screen and (max-width: 1140px) {
  header .pc-nav {
    display: none;
  }
  header .sp-hamburger {
    display: flex;
  }
}
@media screen and (max-width: 768px) {
  header .logo-group .company-name .pc-img {
    display: none;
  }
  header .logo-group .company-name .sp-img {
    display: initial;
  }
}
/*=========================
  mv
=========================*/
section.mv {
  position: relative;
}
section.mv .sp-mv {
  display: none;
}
section.mv .container {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -30%;
  width: -moz-max-content;
  width: max-content;
  padding: clamp(3rem, 1rem + 3.3333vw, 5rem);
  border-image-source: url(../img/border.png);
  border-image-slice: 1 fill;
  border-image-width: auto;
}
section.mv .container .copy {
  font-size: clamp(2.25rem, 0.5rem + 2.9167vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 768px) {
  section.mv .pc-mv {
    display: none;
  }
  section.mv .sp-mv {
    display: block;
    width: 100%;
  }
  section.mv .container {
    translate: -50% -50%;
    padding: clamp(1rem, -0.4286rem + 7.1429vw, 3rem);
    border: none;
  }
  section.mv .container .copy {
    font-size: clamp(1.75rem, 1.2143rem + 2.6786vw, 2.5rem);
  }
}
.splide .splide__slide .box {
  width: 100%;
  height: 300px;
  background-color: skyblue;
}
.splide .slide-img {
  width: 100%;
  height: 100%;
  max-height: 740px;
  -o-object-fit: cover;
  object-fit: cover;
}

/*=========================
  news
=========================*/
section.news {
  padding: 5rem 0;
  background-color: var(--main);
  background: linear-gradient(180deg, rgba(45, 79, 48, 1) 30%, rgba(44, 78, 47, 1) 70%);
  color: #ffffff;
}
section.news .container {
  width: 90%;
  max-width: 900px;
  margin: auto;
  border: 1px solid #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
section.news .section-title {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
section.news .section-title .en {
  font-size: 3rem;
  font-weight: 600;
}
section.news .section-title .jp {
  font-size: 1.5rem;
}
section.news .news-items {
  width: 70%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
section.news .news-items__item {
  display: flex;
  gap: 2rem;
}

@media screen and (max-width: 960px) {
  section.news {
    padding: 3rem 0;
  }
  section.news .container {
    flex-direction: column;
  }
  section.news .section-title {
    width: 100%;
  }
  section.news .news-items {
    width: 100%;
    gap: 2rem;
  }
  section.news .news-items__item {
    flex-direction: column;
    gap: 0;
  }
}
/*=========================
  business
=========================*/
section.business {
  background-color: var(--main);
  background: linear-gradient(180deg, rgba(45, 79, 48, 1) 0%, rgba(44, 78, 47, 1) 50%, rgba(44, 78, 47, 1) 100%);
  padding-bottom: 5rem;
  position: relative;
}
section.business::before {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 35%;
  height: 80%;
  background-color: #ffffff;
}
section.business .section-title {
  position: relative;
  z-index: 1;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
section.business .section-title::after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 10%;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  content: 'BUSINESS';
  color: #c2ffca;
  font-size: clamp(3.5rem, -0.2rem + 18.5vw, 22rem);
  font-weight: 600;
  line-height: 1;
}
section.business .section-title .bg-white {
  position: relative;
  z-index: 1;
  width: 35%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.75);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
section.business .section-title .bg-white .jp {
  width: 60%;
  color: #333333;
  font-weight: 700;
  font-size: 3rem;
  border-bottom: 2px solid #333;
}
section.business .section-title .bg-green {
  position: relative;
  z-index: 1;
  width: 65%;
  height: 100%;
  background-color: var(--main);
  opacity: 0.95;
}
section.business .container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
section.business .flex {
  display: flex;
  justify-content: center;
}
section.business .flex .img {
  width: 50%;
}
section.business .flex .text {
  color: #ffffff;
  width: 50%;
  padding: 3rem 10%;
}
section.business .flex .text p {
  margin-bottom: 2rem;
}

@media screen and (max-width: 960px) {
  section.business::before {
    height: 240px;
    width: 60%;
  }
  section.business .section-title {
    height: 240px;
  }
  section.business .section-title::after {
    top: 10%;
    left: 0;
    bottom: initial;
    right: 0;
    font-size: clamp(4rem, -0.25rem + 21.25vw, 12.5rem);
  }
  section.business .section-title .bg-white {
    width: 60%;
  }
  section.business .section-title .bg-white .jp {
    position: absolute;
    z-index: 2;
    width: 90%;
    top: 55%;
    left: 50%;
    right: 50%;
    translate: -50% -35%;
    font-size: 2.25rem;
  }
  section.business .section-title .bg-green {
    width: 40%;
  }
  section.business .flex {
    flex-direction: column-reverse;
  }
  section.business .flex .img {
    width: 100%;
    max-width: 500px;
  }
  section.business .flex .text {
    width: -moz-max-content;
    width: max-content;
    margin: auto;
    padding: 3rem 0;
  }
}
/*=========================
  company
=========================*/
section.company {
  background-color: var(--main);
  background: linear-gradient(0deg, rgba(45, 79, 48, 1) 30%, rgba(44, 78, 47, 1) 70%);
  color: #ffffff;
  position: relative;
  padding-bottom: 5rem;
}
section.company::before {
  position: absolute;
  top: 0;
  right: 0;
  content: '';
  width: 35%;
  height: 100%;
  background-color: #ffffff;
}
section.company .section-title {
  position: relative;
  z-index: 1;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
section.company .section-title::after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 10%;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  content: 'COMPANY';
  color: #c2ffca;
  font-size: clamp(3.5rem, -0.2rem + 18.5vw, 22rem);
  font-weight: 600;
  line-height: 1;
}
section.company .section-title .bg-green {
  position: relative;
  z-index: 1;
  width: 65%;
  height: 100%;
  background-color: var(--main);
  opacity: 0.95;
}
section.company .section-title .bg-white {
  position: relative;
  z-index: 1;
  width: 35%;
  margin-left: auto;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.75);
  color: #333;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
section.company .section-title .bg-white .jp {
  width: 60%;
  font-weight: 700;
  font-size: 3rem;
  border-bottom: 2px solid #333;
}
section.company .container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
section.company .flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
}
section.company .flex .img {
  width: 50%;
}
section.company .flex .text {
  width: 50%;
  padding: 2rem 5% 2rem 0;
}
section.company .flex .text .table {
  margin-bottom: 3rem;
}
section.company .flex .text .table .row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
section.company .flex .text .table .th {
  width: 25%;
}
section.company .flex .text .table .td {
  width: 75%;
}

@media screen and (max-width: 960px) {
  section.company::before {
    height: 240px;
    width: 60%;
  }
  section.company .section-title {
    height: 240px;
  }
  section.company .section-title::after {
    top: 10%;
    left: 0;
    bottom: initial;
    right: 0;
    font-size: clamp(4rem, -0.25rem + 21.25vw, 12.5rem);
  }
  section.company .section-title .bg-white {
    width: 60%;
  }
  section.company .section-title .bg-white .jp {
    position: absolute;
    z-index: 2;
    width: 90%;
    top: 55%;
    left: 50%;
    right: 50%;
    translate: -50% -35%;
    font-size: 2.25rem;
    text-align: right;
  }
  section.company .section-title .bg-green {
    width: 40%;
  }
  section.company .flex {
    flex-direction: column-reverse;
  }
  section.company .flex .img {
    width: 100%;
    max-width: 500px;
    margin: auto;
  }
  section.company .flex .text {
    padding: 2rem 0 3rem;
    width: 100%;
  }
  section.company .flex .text .table {
    font-size: 0.9rem;
  }
  section.company .flex .text .table .row {
    flex-direction: column;
  }
  section.company .flex .text .table .th {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  section.company .flex .text .table .td {
    width: 100%;
  }
}
/*=========================
  recruit
=========================*/
section.recruit {
  background: url(../img/recruit.jpg) no-repeat;
  background-size: cover;
  color: #ffffff;
  position: relative;
  padding-bottom: 5rem;
}
section.recruit::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
section.recruit .section-title {
  position: relative;
  z-index: 1;
  height: 300px;
}
section.recruit .section-title::after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 10%;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  content: 'RECRUIT';
  color: #c2ffca;
  opacity: 10%;
  font-size: clamp(3.5rem, -0.2rem + 18.5vw, 22rem);
  font-weight: 600;
  line-height: 1;
}
section.recruit .section-title .wrapper {
  position: relative;
  z-index: 1;
  width: 35%;
  height: 100%;
  margin-left: auto;
  display: flex;
  align-items: center;
}
section.recruit .section-title .wrapper .jp {
  width: 60%;
  text-align: right;
  font-weight: 700;
  font-size: 3rem;
  border-bottom: 2px solid #ffffff;
}
section.recruit .container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}
section.recruit .container .copy {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2;
  margin-bottom: 2rem;
}
section.recruit .container p {
  text-align: center;
  font-weight: 500;
  margin-bottom: 3rem;
}

@media screen and (max-width: 960px) {
  section.recruit .section-title {
    height: 240px;
  }
  section.recruit .section-title .wrapper {
    width: 100%;
  }
  section.recruit .section-title .wrapper .jp {
    width: 90%;
    margin: auto;
    text-align: right;
    font-size: 2.25rem;
    padding-top: 1rem;
  }
  section.recruit .section-title::after {
    top: 10%;
    left: 0;
    bottom: initial;
    right: 0;
    font-size: clamp(4rem, -0.25rem + 21.25vw, 12.5rem);
  }
  section.recruit .container .copy {
    font-size: 1.25rem;
  }
  section.recruit .container p {
    font-size: 0.9rem;
  }
}
/*=========================
  contact
=========================*/
section.contact {
  background-color: var(--main);
  color: #ffffff;
  position: relative;
  padding-bottom: 5rem;
}
section.contact .section-title {
  position: relative;
  z-index: 1;
  height: 300px;
}
section.contact .section-title::after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 10%;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  content: 'CONTACT';
  color: #345737;
  font-size: clamp(3.5rem, -0.2rem + 18.5vw, 22rem);
  font-weight: 600;
  line-height: 1;
}
section.contact .section-title .wrapper {
  position: relative;
  z-index: 1;
  width: 35%;
  height: 100%;
  margin-right: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
section.contact .section-title .wrapper .jp {
  width: 70%;
  font-weight: 700;
  font-size: 3rem;
  border-bottom: 2px solid #ffffff;
}
section.contact .container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}
section.contact .container p {
  text-align: center;
  font-weight: 500;
  margin-bottom: 3rem;
}
section.contact .container p span {
  font-size: 1.5em;
}
section.contact .container .flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
section.contact .container .flex .button {
  margin: 0;
}
section.contact .container .flex .button .icon {
  width: 25px;
  margin-right: 0.5rem;
  transition: 0.3s;
}
section.contact .container .flex .button:hover .icon {
  filter: brightness(0) saturate(100%) invert(23%) sepia(7%) saturate(3177%) hue-rotate(75deg) brightness(97%) contrast(84%);
}

@media screen and (max-width: 960px) {
  section.contact .section-title {
    height: 240px;
  }
  section.contact .section-title .wrapper {
    width: 100%;
  }
  section.contact .section-title .wrapper .jp {
    width: 90%;
    margin: auto;
    text-align: right;
    font-size: 2.25rem;
    padding-top: 1rem;
  }
  section.contact .section-title::after {
    top: 10%;
    left: 0;
    bottom: initial;
    right: 0;
    font-size: clamp(4rem, -0.25rem + 21.25vw, 12.5rem);
  }
  .container p {
    font-size: 0.9rem;
  }
  .container .flex {
    flex-direction: column;
  }
}
/*=========================
  map
=========================*/
section.map {
  height: 360px;
}
section.map iframe {
  width: 100%;
  height: 100%;
}

/*=========================
  footer
=========================*/
footer {
  background-color: #ffffff;
  color: #333333;
}
footer .container {
  padding: 2rem 0;
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
footer .logo-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}
footer .logo-group .logo {
  max-width: 120px;
}
footer .logo-group .company-name {
  max-width: 90px;
  height: -moz-fit-content;
  height: fit-content;
}
footer .footer-nav {
  margin-left: 10%;
}
footer .footer-nav .nav-links {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
}
footer .footer-nav .nav-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
footer .footer-nav .nav-links a .en {
  color: var(--main);
}

@media screen and (max-width: 960px) {
  footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  footer .logo-group {
    flex-direction: column;
    margin-bottom: 4rem;
  }
  footer .footer-nav {
    margin: auto;
    margin-bottom: 2rem;
  }
  footer .footer-nav .nav-links {
    flex-direction: column;
    align-items: center;
  }
}
.copyright {
  background-color: var(--main);
  color: #ffffff;
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem;
}

.scroll-top {
  position: fixed;
  bottom: 5%;
  right: 5%;
  z-index: 99;
  opacity: 0;
  transition: 0.5s;
  pointer-events: none;
}
.scroll-top a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.scroll-top a .block {
  width: 50px;
  height: 50px;
  background: var(--main);
  display: flex;
  justify-content: center;
  align-items: center;
}
.scroll-top a .block .triangle {
  display: block;
  width: 50%;
  height: 50%;
  -webkit-clip-path: polygon(100% 60%, 100% 75%, 50% 45%, 0 75%, 0 60%, 50% 25%);
  clip-path: polygon(100% 60%, 100% 75%, 50% 45%, 0 75%, 0 60%, 50% 25%);
  background: #fff;
}
.scroll-top a::before {
  border-radius: 50px;
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.scroll-top a:hover {
  opacity: 1;
}
.scroll-top a:hover::before {
  opacity: 0.25;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
