@charset "UTF-8";

/* ===========================
   Reset
   =========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===========================
   Base
   =========================== */
body {
  border-bottom: 20px solid #184212;
  color: #2a2a2a;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  padding-top: 7.7rem;
}

a {
  color: #1f1f1f;
  text-decoration: none;
  transition: color 0.3s, opacity 0.3s;
}

a:hover {
  color: #184212;
}

a:hover img {
  opacity: 0.7;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

h1 {
  font-size: clamp(1.75rem, 1.25rem + 1.5vw, 3rem);
  font-weight: bold;
  line-height: 1.3;
}

h2 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  font-weight: bold;
  line-height: 1.4;
}

h3 {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  font-weight: bold;
  line-height: 1.5;
}

small {
  font-size: 0.75rem;
  line-height: 1.6;
}

/* ===========================
   Layout
   =========================== */
main > section + section {
  margin-top: 5rem;
}

.unit {
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ===========================
   Utility
   =========================== */
.u-green {
  color: #328131;
}

/* ===========================
   Privacy
   =========================== */
.privacy h2 {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  margin-top: 2em;
}

.privacy p {
  margin-top: 1em;
}

.privacy ul {
  list-style-position: inside;
  margin-top: 1em;
}

.page-title {
  border-left: 3px solid #184212;
  color: #184212;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  font-weight: bold;
  margin-bottom: 5rem;
  margin-top: 5rem;
  padding-left: 0.75em;
}

/* ===========================
   Header
   =========================== */
.header {
  background-color: #fff;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}

.header__inner {
  align-items: center;
  display: flex;
  gap: 2em;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  max-width: 1760px;
  padding-left: 1rem;
  padding-right: 1rem;
  transition: padding 0.3s;
}

.header__logo {
  display: flex;
  max-width: 400px;
  width: 100%;
}

.header__logo img {
  height: 100%;
  max-height: 64px;
  transition: max-height 0.3s;
  width: auto;
}

.header__nav-list {
  align-items: stretch;
  align-self: stretch;
  display: flex;
  gap: 0;
  line-height: 1;
  list-style: none;
}

.header__nav-item--sns {
  flex: none;
  padding: 0 1.5rem;
}

.header__nav-item--sns img {
  height: 2rem;
  width: 2rem;
}

.header__nav-item.is-current a {
  animation: nav-underline 0.5s ease forwards;
  color: #184212;
}

@keyframes nav-underline {
  from {
    background-size: 0% 3px;
  }
  to {
    background-size: 100% 3px;
  }
}

.header__nav-item a {
  align-items: center;
  background: linear-gradient(#184212, #184212) no-repeat bottom center / 0% 3px;
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 2rem 0 calc(2rem - 2px);
  transition: background-size 0.3s, color 0.3s, padding 0.3s;
  width: 8em;
}

.header__nav-item--sns a {
  background: none;
  width: auto;
}

.header__nav-item a:hover {
  background-size: 100% 3px;
  opacity: 1;
}

.header__nav-item--sns a:hover {
  background: none;
}

.header--scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.header--scrolled .header__nav-item a {
  padding: 1.5rem 0;
}

.header--scrolled .header__logo img {
  max-height: 40px;
}

/* ===========================
   Hero
   =========================== */
.hero {
  height: 100vh;
  max-height: 46.5rem;
  overflow: hidden;
  position: relative;
}

.hero__inner {
  height: 100%;
  position: relative;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 2em;
  height: 100%;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero__title {
  margin-top: 2em;
}

.hero__title span {
  display: inline-block;
}

.hero__info-item {
  display: flex;
  font-weight: bold;
  gap: 0.5em;
}

.hero__slider {
  height: 100%;
  left: 32%;
  margin-right: calc((100% - 100vw) / 2);
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

.hero__slider-track {
  display: flex;
  gap: 2.5%;
  height: 100%;
  will-change: transform;
}

.hero__slider-track img {
  aspect-ratio: 411 / 745;
  border-radius: 1rem;
  flex-shrink: 0;
  height: 100%;
  object-fit: cover;
  width: auto;
}

/* hero-scroll keyframes removed – JS handles the animation */

/* ===========================
   Info Table (dl表)
   =========================== */
.info-table {
  display: grid;
  gap: 0 1em;
  grid-template-columns: 8em 1fr;
  margin-top: 2rem;
}

.info-table dt,
.info-table dd {
  border-bottom: 1px solid #ccc;
  padding: 2em 1em;
}

.info-table dt {
  font-weight: bold;
  text-align: center;
}

/* ===========================
   Map
   =========================== */
.map {
  aspect-ratio: 1.618 / 1;
  margin-top: 5rem;
  max-height: 37rem;
  width: 100%;
}

.map iframe {
  display: block;
  height: 100%;
  width: 100%;
}

/* ===========================
   Column
   =========================== */
.column {
  align-items: center;
  display: flex;
  gap: 5%;
}

.column--reverse {
  flex-direction: row-reverse;
}

.column__image {
  flex: 1;
}

.column__image img {
  border-radius: 1rem;
  width: 100%;
}

.column__body {
  flex: 1;
}

.column__body .btn {
  margin-top: 2.5em;
}

.column__text,
.column__text + .column__title {
  margin-top: 1.5em;
}

.column__title span {
  display: inline-block;
}

/* ===========================
   About
   =========================== */
.about__inner {
  align-items: center;
  display: flex;
  gap: 5%;
}

.about__image {
  flex: 1;
}

.about__image img {
  border-radius: 1rem;
  width: 100%;
}

.about__content {
  flex: 1;
}

.about__content .btn {
  margin-top: 2.5em;
}

.about__text {
  margin-top: 1.5em;
}

.about__title span {
  display: inline-block;
}

/* ===========================
   News
   =========================== */
.news__inner {
  display: flex;
  gap: 9.375%;
  margin-top: 2rem;
}

.news__featured {
  flex-shrink: 0;
  width: 17.5rem;
}

.news__featured-image img {
  border-radius: 0.5rem;
  width: 100%;
}

.news__featured-date {
  display: block;
  margin-top: 1em;
}

.news__featured-title {
  font-weight: bold;
  margin-top: 0.25em;
}

.news__list-wrapper {
  border-left: 1px solid #ccc;
  flex: 1;
  padding-left: 9.375%;
}

.news__list {
  list-style: none;
}

.news__list-item {
  display: flex;
  gap: 1.5em;
}

.news__list-item + .news__list-item {
  margin-top: 1.5em;
}

.news__list-date {
  flex-shrink: 0;
  white-space: nowrap;
}

.news__list-title {
  flex: 1;
  font-weight: bold;
}

/* ===========================
   CTA
   =========================== */
.cta__inner {
  display: flex;
}

.cta__item {
  align-items: center;
  background-color: #328131;
  color: #fff;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2em;
  height: 37rem;
  justify-content: center;
  padding: 5rem 2rem;
}

.cta__item--recruit {
  background-blend-mode: multiply;
  background-color: #328131;
  background-image: url("../images/index-recruit.png");
  background-position: center;
  background-size: cover;
}

.cta__title {
  color: #fff;
}

.cta__inner .btn:hover {
  background-color: #ffffff;
  color: #184212;
  opacity: 1;
}

/* ===========================
   Footer
   =========================== */
.footer {
  margin-top: 5rem;
  padding-bottom: 2rem;
  padding-top: 4rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.footer__logo img {
  height: 2.5rem;
  width: auto;
}

.footer__address {
  display: flex;
  flex-direction: column;
  font-style: normal;
  gap: 1em;
  margin-top: 1.5em;
}

.footer__nav-list {
  list-style: none;
  text-align: right;
}

.footer__nav-item + .footer__nav-item {
  margin-top: 0.75em;
}

.footer__copyright {
  margin-top: 4rem;
  text-align: center;
}

/* ===========================
   Button
   =========================== */
.btn {
  align-items: center;
  background-color: #328131;
  border-radius: 999rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  line-height: 1;
  max-width: 20rem;
  padding: 2em 2.5em;
  text-decoration: none;
  transition: background-color 0.3s, opacity 0.3s;
  width: 100%;
}

.btn:hover {
  color: #fff;
  background-color: #184212;
  opacity: 1;
}

.btn span {
  text-align: center;
  transition: transform 0.3s;
}

.btn:hover span {
  transform: translate(-0.5em);
}

.btn::after {
  background: url("../images/arrow.svg") no-repeat center / contain;
  content: "";
  display: inline-block;
  flex-shrink: 0;
  height: 1.5em;
  transition: transform 0.3s;
  width: 1.5em;
}

.btn:hover::after {
  transform: translate(0.5em);
}

.btn--invert {
  background-color: #fff;
  color: #328131;
}

.btn--invert::after {
  background: url("../images/arrow-g.svg") no-repeat center / contain;
}

/* ===========================
   Hamburger
   =========================== */
.hamburger {
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  z-index: 200;
}

.hamburger__line {
  background-color: #1f1f1f;
  border-radius: 2px;
  display: block;
  height: 2px;
  transition: transform 0.3s, opacity 0.3s;
  width: 24px;
}

.hamburger.is-open .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1200px) {
  .hamburger {
    display: flex;
  }

  .hero {
    height: 64vh;
    max-height: 46.5rem;
    overflow: hidden;
    position: relative;
  }

  .hero__content {
    justify-content: flex-end;
  }

  .header__inner {
    padding: 1.5rem 1rem;
  }

  .header--scrolled .header__inner {
    padding: 1rem;
  }

  .header__nav-list {
    align-items: center;
    align-self: auto;
    background-color: rgba(255, 255, 255, 0.95);
    display: none;
    flex-direction: column;
    gap: 0;
    height: 100vh;
    justify-content: center;
    left: 0;
    padding: 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 150;
  }

  .header__nav-list::after {
    background-image: url("../images/logo-en.svg");
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    margin-top: 1rem;
    max-width: 300px;
    height: 47px;
    width: 100%;
  }

  .header__nav-list.is-open {
    display: flex;
  }

  .header__nav-list a {
    background: none;
    height: auto;
    justify-content: center;
    width: auto;
  }

  .header__nav-item {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .hero__slider {
    height: 40vh;
    left: 16%;
  }

  .about__inner,
  .column {
    flex-direction: column;
    gap: 2rem;
  }

  .news__inner {
    flex-direction: column;
    gap: 2rem;
  }

  .news__featured {
    width: 100%;
  }

  .news__list-wrapper {
    border-left: none;
    border-top: 1px solid #ccc;
    padding-left: 0;
    padding-top: 2rem;
  }

  .cta__inner {
    flex-direction: column;
  }

  .cta__item {
    height: 400px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 2rem;
  }

  .footer__nav-list {
    text-align: left;
  }

  .btn {
    max-width: 100%;
  }

  .page-title {
    margin-bottom: 2rem;
    margin-top: 0;
  }

  .column__image img {
    max-width: 390px;
  }
}
