@charset "UTF-8";
/* [ YAMAGA NEXT LAB. ] layout.css */
/*==================================================*
 *  [ 初期設定 ]
 *==================================================*/
html {
  font-size: 10px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  position: relative;
  width: 100%;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6em;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.4;
}

a {
  text-decoration: none;
  cursor: pointer;
}

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

figure figcaption {
  margin-bottom: 1em;
}
figure figcaption > * {
  display: inline-block;
}
figure img + figcaption {
  margin-top: 0.6em;
  margin-bottom: 0;
}

table {
  border-collapse: collapse;
}
table a {
  text-decoration: underline;
}
@media (hover: hover) {
  table a:hover {
    text-decoration: none;
  }
}

label {
  transition: all 0.4s ease;
  cursor: pointer;
}
label::before, label::after {
  transition: all 0.4s ease;
}
label * {
  transition: all 0.4s ease;
}

sup,
sub {
  position: relative;
  height: 0;
  line-height: 1;
  vertical-align: baseline;
  _vertical-align: bottom;
}

sup {
  top: -0.25em;
  padding-left: 0;
}

sub {
  top: 0.1ex;
  padding-left: 0.3em;
}

section {
  padding-left: 20px;
  padding-right: 20px;
}

p.sub-text {
  font-size: clamp(18px, 1.5625vw, 20px);
  line-height: 2;
}

p.text {
  font-size: 1.6rem;
  line-height: 2;
}

@media screen and (min-width: calc(768px + 1px)) {
  input,
  textarea {
    font-size: 1.8rem !important;
  }
}
/* */
@media only screen and (max-width: 768px) {
  input,
  textarea {
    font-size: 1.6rem !important;
  }
}
/* */
/*==================================================*
 *  [ Header ]
 *==================================================*/
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  z-index: 1;
}
header .header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  background: #003E1F;
  padding-top: 11px;
  padding-bottom: 11px;
}
header .header-wrap .header-logo {
  width: 123px;
  height: auto;
  aspect-ratio: 123/28;
  line-height: 1px;
  z-index: 1;
}
header .header-wrap .header-logo img {
  max-width: 100%;
  vertical-align: bottom;
}
@media (hover: hover) {
  header .header-wrap .header-logo:has(a):hover {
    opacity: 0.8;
  }
}

.menu-btn {
  position: relative;
  width: 22px;
  height: 22px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 2;
}
.menu-btn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}
.menu-btn span:nth-child(1) {
  top: 0;
}
.menu-btn span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.menu-btn span:nth-child(3) {
  bottom: 0;
}
.menu-btn.is-open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-btn.is-open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.nav ul {
  list-style: none;
}
.nav ul li a {
  color: #fff;
}
@media (hover: hover) {
  .nav ul li a:hover {
    opacity: 0.8;
  }
}

.is-fixed {
  overflow: hidden;
}

@media only screen and (max-width: 768px) {
  header .header-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .nav.js-nav {
    position: fixed;
    inset: 0;
    background: #003E1F;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    padding: 95px 22px 0;
  }
  .nav.js-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav.js-nav ul li {
    border-top: 1px solid #fff;
  }
  .nav.js-nav ul li:last-child {
    border-bottom: 1px solid #fff;
  }
  .nav.js-nav ul li a {
    display: block;
    font-size: 2rem;
    padding: min(36px, 8.96vw) 16px;
  }
}
@media screen and (min-width: calc(768px + 1px)) {
  header .header-wrap {
    gap: min(34px, 4.21vw);
    padding-left: min(44px, 3.44vw);
    padding-right: min(44px, 3.44vw);
  }
  .js-nav {
    position: static;
    opacity: 1;
    pointer-events: auto;
  }
  .nav {
    height: auto;
  }
  .nav ul {
    display: flex;
    gap: min(34px, 4.21vw);
  }
  .nav ul li a {
    font-size: 1.4rem;
  }
  .menu-btn {
    display: none;
  }
  .js-menu {
    display: none;
  }
}
/*==================================================*
 *  [ Main ]
 *==================================================*/
main {
  margin-top: 50px;
}

/*==================================================*
 *  [ Footer ]
 *==================================================*/
footer {
  width: 100%;
  background: #003E1F;
  padding-top: 76px;
  padding-bottom: 14px;
}
footer .footer-wrap {
  max-width: 986px;
  width: 100%;
  color: #fff;
  margin: 0 auto;
}
footer .footer-wrap .footer-logo {
  display: block;
  max-width: 296px;
  height: auto;
  aspect-ratio: 123/28;
}
footer .footer-wrap .footer-logo img {
  width: 100%;
  height: 100%;
}
footer .footer-wrap a {
  color: #fff;
}
@media (hover: hover) {
  footer .footer-wrap a:hover {
    opacity: 0.8;
  }
}
footer .footer-wrap .flex.txt-area {
  align-items: center;
  justify-content: space-between;
}
@media only screen and (max-width: 768px) {
  footer .footer-wrap .footer-logo {
    width: 60%;
  }
  footer .footer-wrap .flex.txt-area {
    align-items: start;
    flex-direction: column;
    justify-content: left;
    gap: 16px;
  }
}