@charset 'UTF-8';

/* 共通----------------------------------- */

html {
  scroll-behavior: smooth;
}

body{
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #282828;
  font-size: 14px;
  animation: fade 2s forwards;
}
@media (min-width:768px) {
  body{
    font-size: 16px;
  }
}

@keyframes fade{
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

p{
  line-height: 1.7;
  color: #333;
}
img{
  max-width: 100%;
  height: auto;
  vertical-align: top;
}
a{
  text-decoration: none;
  color: #fff;
}
ul{
  list-style: none;
}
.wrapper{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
}
.wrapper2{
  /* max-width: 1100px; */
  margin: 0 auto;
  padding: 0 4%;
}

/* 英語フォント */
.en{
  font-family: "Figtree", sans-serif;
  font-style: normal;
}

/* ヘッダー--------------------------------------------------------- */
.header .logo{
  padding-left: 4%;
}
.header-logo{
  width: clamp(180px, 22vw, 260px);
  height: auto;
    object-fit: contain;
  /* padding-left: 4%; */
  z-index: 100;
}
.header{
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  background: #ffffffda;
}

/* ハンバーガーメニューの三本線 */
.btn{
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 3;
  background: #282828;
}
.btn span,
.btn span::before,
.btn span::after{
  content: '';
  display: block;
  width: 26px;
  height: 1px;
  background-color: #ffffff;
  position: absolute;
  transition: all 0.4s ease-out;
}
.btn span::before{
  bottom: 8px;
}
.btn span::after{
  top: 8px;
}

/* ハンバーガークリックした時のアニメーション */
.btn.open span{
  background-color: transparent !important;
}
.btn.open span::before{
  bottom: 0;
  transform: rotate(225deg);
  background-color: #fff !important;
}
.btn.open span::after{
  top: 0;
  transform: rotate(-225deg);
  background-color: #fff !important;
}

/* ハンバーガーメニュー開いた時のナビ */
.gnav{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  display: none;
  z-index: 2;
}
.gnav a{
  font-size: 20px;
  font-weight: 400;
}
.gnav-ul{
  /* height: 100%; */
  display: flex;
  flex-direction: column;
  font-size: 1.5rem;
  padding: 20px;
  margin-top: 30%;
}
.gnav-li{
  /* line-height: 80px; */
  padding-left: 20px;
}
.nav-list{
  display: flex;
  flex-direction: column;
  color: #282828; /* 色はお好みで */
  padding-bottom:40px;
}

/* SPナビゲーション内のボタンたち */
.menu-cta{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-cta a{
  font-size: 14px;
}

/* SP版ではPC版用ナビとお問い合わせボタン非表示 */
.pc-nav{
  display: none;
}
.entry-btn2{
  display: none !important;
}

/* エントリーボタンあたり */
.entry-ham{
  display: flex;
  /* gap: 10px; */
}
.entry-btn a,.entry-btn2 a{
  background: #007365;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcnav-box{
  display: none;
}

@media (min-width:1000px) {

  .header{
    height: 90px;
    border-bottom: 1px solid #d9d9d9;
  }
  .gnav{
    display: none;
  }
  .entry-ham{
    display: none;
  }
  .entry-btn2 a{
    /* display: block; */
    padding: 10px 40px;
  }
  .pc-nav{
    display: flex;
  }
  .pc-nav a{
    color: #282828;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  .pc-nav ul {
    display: flex;
    gap: 50px;
    margin: 0;
    padding: 0;
  }
  .pcnav-box{
    display: flex;
    align-items: center;
    gap: 50px;
    margin-left: auto;
    padding-right: 4%;
  }
  .entry-btn2{
    display: flex !important;
  }
  .entry-btn2 a:hover{
    background: #C3AC80;
  }
  .pc-nav li a:hover{
    color: #C3AC80;
  }

}

/* 採用情報------------------------------------------------- */

/* 各セクションタイトル */
.section-title{
  font-size: 36px;
}
.section-subtitle{
  font-size: 12px;
  margin-bottom: 32px;
}

@media (min-width:768px) {
  .section-title{
    font-size: 48px;
  }
  .section-subtitle{
    font-size: 16px;
    margin-top: 4px;
    margin-bottom: 40px;
  }
}

.page-top{
  margin-top: 80px;
  padding: 0 4%;
}

@media (min-width:768px) {
  .page-top{
    margin-top: 160px;
    padding: 0 6%;
  }
  }

  .sub-visual{
    background: url('../img/top4.webp')no-repeat center 20% / cover;
    height: 35vh;
    position: relative;
  }
  .page-title{
    font-size: 36px;
    font-weight: 500;
  }
  .page-subtitle{
    font-size: 12px;
    margin-bottom: 32px;
  }

@media (min-width:768px) {
  .sub-visual{
    height: 90svh;
    min-height: 400px;
  }
  .page-title{
    font-size: 70px;
    font-weight: 500;
  }
  .page-subtitle{
    font-size: 16px;
    margin-bottom: 50px;
  }
}

/* 下層ページタイトル */
.section-title2{
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 30px;
}
.section-subtitle2{
  font-size: 16px;
  color: #007365;
  font-weight: 500;
}
@media (min-width:768px) {
  .section-title2{
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 30px;
  }
  .section-subtitle2{
    font-size: 20px;
    color: #007365;
    margin-bottom: 12px;
}
}

/* Personality----- */
#personality{
  padding-top: 50px;
  padding-bottom: 60px;
  background: #f7f7f7;
  scroll-margin-top: 50px;
}
.personality-img{
  margin-top: 40px;
  width: 80%;
  margin-left: -6%;
}
.personality-img img{
  border-radius: 0 6px 20px 0;
}
.personality-text p:first-child{
  margin-bottom: 14px;
}

@media (min-width:768px) {
  #personality{
    padding-top: 100px;
    padding-bottom: 100px;
    scroll-margin-top: 90px;
  }
  .personality-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .personality-text{
    width: 55%;
  }
  .personality-img{
    width: 38%;
    margin-top: 0;
  }
}

/* job----- */
#job{
  padding-top: 40px;
  padding-bottom: 40px;
  scroll-margin-top: 50px;
}
.job-heading {
  margin: 32px 0 16px;
}
.job-label {
  display: inline-block;
  background: #007365;
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.job-title {
  position: relative;
  padding-left: 16px;
  font-size: 20px;
}

/* 左の「｜」部分 */
.job-title::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 5px;
  top: 10%;
  left: 0;
  background: #007365;
}

.job-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.job-table th,
.job-table td {
  border-bottom: 1px solid #e5e5e5;
  padding: 16px;
  vertical-align: top;
  font-size: 12px;
}

.job-table th {
  width: 30%;
  font-weight: 500;
  color: #333;
  background: #fafafa;
}

.job-table td {
  line-height: 1.7;
}

@media (min-width:768px) {
  #job{
    padding-top: 80px;
    padding-bottom: 100px;
    scroll-margin-top: 90px;
  }
  .job-label {
  font-size: 16px;
  margin-bottom: 20px;
}

  .job-title {
    font-size: 24px;
  }
  .job-title::before {
    height: 24px;
    width: 5px;
  }
  .job-table th,
  .job-table td {
    padding: 20px;
    font-size: 14px;
}
}

/* FAQ----- */
#faq{
  padding-top: 50px;
  padding-bottom: 60px;
  background: #f7f7f7;
  scroll-margin-top: 50px;
}
.faq-list {
  background: #fff;
  border-radius: 6px;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
}
.faq-item:last-child{
  border-bottom: none;
}

.faq-question {
  width: 100%;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.faq-question .q {
  color: #007365;
  font-weight: 600;
  font-size: 16px;
}

.faq-question .text {
  flex: 1;
  font-size: 14px;
  color: #007365;
}

.faq-question .icon {
  width: 8px;
  height: 8px;
  border-right: 2px solid #007365;
  border-bottom: 2px solid #007365;
  transform: rotate(45deg);
  transition: transform 0.3s;
}

/* 回答 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 16px 0 40px;
  font-size: 14px;
  color: #555;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    padding 0.3s ease;
}

/* 開いた状態 */
.faq-item.is-open .faq-answer {
  max-height: 300px; /* ← 想定より少し大きめでOK */
  opacity: 1;
  padding: 0 16px 16px 40px;
}

.faq-item.is-open .icon {
  transform: rotate(-135deg);
}

/* Message----- */
#message{
  padding-top: 50px;
  padding-bottom: 60px;
  scroll-margin-top: 50px;
}

.message-text p{
  margin-bottom: 14px;
}

@media (min-width:768px) {
  #faq{
    padding-top: 80px;
    padding-bottom: 100px;
    scroll-margin-top: 90px;
  }
  .faq-container{
    display: flex;
    justify-content: space-between;
    align-items: start;
  }
  .faq-title{
    width: 35%;
  }
  .faq-list{
    width: 65%;
  }
  .faq-question {
    padding: 20px;
  }
}

/* スライダー */
.message-swiper {
  width: 100%;
  overflow: hidden;
}

.message-swiper img {
  width: 100%;
  border-radius: 3px;
  display: block;
  max-height: 200px;
  object-fit: cover;
  margin-top: 30px;
}
.message-swiper .swiper-wrapper{
  transition-timing-function: linear;
}


@media (min-width:768px) {
  #message{
    padding-top: 80px;
    padding-bottom: 100px;
    scroll-margin-top: 90px;
  }
  .message-swiper img {
    min-height: 350px;
    margin-top: 80px;

}
}


/* Recruit----- */
.recruit{
  padding-top: 40px;
  padding-bottom: 40px;
  background: #f7f7f7;
}
.recruit-list{
  background: #fff;
  border-radius: 4px;
}
.recruit-item{
  padding: 20px 25px 20px 25px;
  border-bottom: 1px solid #d9d9d9;
}
.recruit-item:last-child {
  border-bottom: none;
}
.recruit-link{
  color: #007365;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.recruit-link .arrow {
  width: 34px;
  height: 34px;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* エントリーボタンたち */
.recruit-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  width: 290px;
  margin: 0 auto;
}
.recruit-cta{
  text-align: center;
}
.cta-btn.black {
  background: #282828;
  transition: all 0.3s ease;
}

.cta-btn.black:hover {
  background: #C3AC80;
}
.cta-btn.green {
  background: #007365;
  transition: all 0.3s ease;
}
.cta-btn.green:hover {
  background: #C3AC80;
}
.cta-btn .plus {
  font-size: 16px;
  line-height: 1;
}

@media (min-width:768px) {
  .recruit{
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .recruit-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .recruit-list{
    width: 55%;
  }
  .recruit-cta{
    width: 40%;
    margin-top: 0;
    gap: 30px;
  }
  .cta-btn {
    padding: 40px 40px;
    font-size: 16px;
    max-width: 320px;
  }
  .recruit-link .arrow {
    width: 40px;
    height: 40px;
  }
  .recruit-link span{
    transition: all 0.3s ease;
  }
  .recruit-item:hover .recruit-link span:first-child{
    color: #C3AC80;
  }
  .recruit-item:hover .arrow{
    color: #C3AC80;
  }
}

/* フッター----- */
.footer {
  padding: 50px 0 40px;
}

.footer-logo {
  margin-bottom: 40px;
  width: 200px;
}

.footer-site {
  font-size: 14px;
  margin-top: 8px;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 0px;
}
.footer-col.environment {
  grid-column: 1 / -1; /* 横いっぱい使う */
}

.footer-title {
  font-size: 14px;
  margin-bottom: 10px;
  color: #AAC0B0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #282828;
  font-size: 12px;
}

.site-link1{
  position: relative;
}
.site-link1::after{
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: url(../img/link-icon.png)no-repeat center / contain;;
  top: 25%;
  right: -16px;
}

@media (min-width:768px) {
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 30px;
    width: 65%;
  }
    .footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 80px;
  }

  .footer-logo {
    margin-bottom: 0;
    width: 30%;
  }
  .footer-col ul li {
    margin-bottom: 14px;
}
}

@media (min-width: 1000px) {
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 30px;
    width: 65%;
  }
    .footer-logo {
    margin-bottom: 0;
    width: 20%;
  }
}


/* 一番下のところ */
.footer-bottom {
  margin-top: 40px;
  padding-top: 14px;
  border-top: 1px solid #d9d9d9;
  text-align: center;
  font-size: 12px;
}

.footer-bottom a{
  color: #d9d9d9;
  font-size: 10px;
}

.footer-legal {
  margin: 6px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.copyright{
  color: #d9d9d9;
}

.footer-col li a{
    transition: 0.3s ease;
}
.footer-col li a:hover{
    color: #C3AC80;
}

@media (min-width: 1000px) {
  .footer-bottom {
  padding-top: 30px;
  }
}


/* Jquery */
.fadein{
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s 0.2s;
}
.fadein.loaded{
  opacity: 1;
}
.slidein{
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.5s 0.2s;
}
.slidein.scrollin{
  opacity: 1;
  transform: translateY(0);
}