@charset "UTF-8";
/**
 * @ main.css
 *
 * 
 */

/* ==============================
  media queries
============================== */
/* PC small */
@media screen and (max-width: 1399px) {
}
/* tablet large */
@media screen and (max-width: 1024px) {
}
/* tablet / smartphone */
@media screen and (max-width: 768px) {
}
/* smartphone large */
@media screen and (max-width: 599px) {
}
/* smartphone small */
@media screen and (max-width: 480px) {
}

/* ==============================
  :root
============================== */
:root {
  /* font */
  --family-noto: "Noto Sans JP", sans-serif;

  /* font-weight */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --weight-black: 800;

  /* color */
  --color-green: #1b4332;
  --color-light-green: #8da198;
  --color-gray: #f4f4f4;

  /* trantision */
  --transition-base: 0.3s;

  /* opacity */
  --opacity-base: 0.7;
}

/* ==============================
  usual
============================== */
html {
  font-size: 62.5%;
}
body {
  width: 100%;
  height: 100%;
  text-align: left;
  font-size: 1.6rem;
  color: var(--color-green);
  font-weight: var(--weight-regular);
  font-display: swap;
  font-optical-sizing: auto;
  line-height: 1.5;
  font-family: var(--family-noto);
  font-style: normal;
  -webkit-text-size-adjust: 100%;
  position: relative;
}
a,
a img {
  text-decoration: none;
  -webkit-transition: var(--transition-base);
  transition: var(--transition-base);
}
a:hover,
a img:hover {
  transition: var(--transition-base);
  opacity: var(--opacity-base);
}
figure {
  margin: 0;
}
dl dt,
dl dd {
  margin: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  height: auto;
}

/* ==============================
  .header
============================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: 0.1s;
  padding: 30px 0;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  padding-left: 36px;
}
.header__links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.header__links-link img,
.header__logo-link img {
  filter: brightness(100);
  transition: none;
}
/* .is-scrolled */
.header.is-scrolled {
  background: var(--color-green);
  transition: var(--transition-base);
  padding: 15px 0;
}

@media screen and (max-width: 480px) {
  .header {
    padding: 15px 0;
  }
  .header__nav {
    gap: 15px;
  }
  .header__links {
    gap: 10px;
  }
}
/* ==============================
  .hamburger-menu
============================== */
/* ハンバーガーメニュー */
.hamburger-menu {
  width: 25px;
  height: 16px;
  position: absolute;
  top: 15px;
  left: 0;
  appearance: none;
  padding: 0;
  cursor: pointer;
  z-index: 999;
}
.hamburger-menu__bar {
  display: inline-block;
  width: 100%;
  height: 2px;
  background: #fff;
  position: absolute;
  transition: 0.5s;
  left: 50%;
  transform: translateX(-50%);
}
.hamburger-menu__bar:first-child {
  top: 0;
}
.hamburger-menu__bar:nth-child(2) {
  top: calc(50% - 1px);
}
.hamburger-menu__bar:last-child {
  bottom: 0;
}

/* .is-open */
.is-open.header {
  background: #fff;
}
.is-open .hamburger-menu__bar {
  background: var(--color-green);
}
.is-open .header__links-link img,
.is-open .header__logo-link img {
  filter: unset;
}
.is-open .hamburger-menu .hamburger-menu__bar {
  top: 50%;
}
.is-open .hamburger-menu .hamburger-menu__bar:first-child {
  transform: translateX(-50%) rotate(45deg);
}
.is-open .hamburger-menu .hamburger-menu__bar:last-child {
  transform: translateX(-50%) rotate(-45deg);
}
.is-open .hamburger-menu .hamburger-menu__bar:nth-child(2) {
  display: none;
}

/* ==============================
  .hamburger-menu-mask
============================== */
.hamburger-menu-mask {
  display: none;
  transition: all 0.5s;
}

/* is-open */
.is-open .hamburger-menu-mask {
  display: block;
  position: fixed;
  top: 106px;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.8;
  z-index: -1;
  cursor: pointer;
}

/* .is-scrolled */
.header.is-scrolled.is-open .hamburger-menu-mask {
  top: 76px;
}

@media screen and (max-width: 480px) {
  .is-open .hamburger-menu-mask {
    top: 76px;
  }
}
/* ==============================
  .language-select
============================== */
.language-select {
  position: relative;
}
.language-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.language-select__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100px;
  height: 46px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 50px;
  cursor: pointer;
}
.language-select__select option {
  color: #333;
}
.language-select__select::-ms-expand {
  display: none;
}
.language-select__select:focus {
  outline: none;
}

/* is-open */
.is-open .language-select__select {
  color: var(--color-green);
  border: 1px solid var(--color-green);
}
.is-open .language-select::after {
  border-right: 2px solid var(--color-green);
  border-bottom: 2px solid var(--color-green);
}

/* ==============================
  .global-menu
============================== */
.global-menu {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  top: 106px;
  left: 0;
  background: var(--color-green);
  color: #fff;
  transition: var(--transition-base);
  padding: 50px 0;
  max-height: calc(100vh - 106px);
  overflow-y: auto;
}
.global-menu__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 70px;
}
.global-menu__group {
  position: relative;
}
.global-menu__group:not(:nth-child(4n))::before {
  content: "";
  width: 1px;
  height: 100%;
  background: #fff;
  display: inline-block;
  position: absolute;
  top: 0;
  right: -35px;
}
.global-menu__title {
  font-size: 2.2rem;
  font-weight: var(--weight-extrabold);
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
  margin-bottom: 17px;
}
.global-menu__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.global-menu__link {
  font-weight: var(--weight-medium);
}

/* .is-open */
.is-open .global-menu {
  pointer-events: auto;
  opacity: 1;
  transition: var(--transition-base);
}

/* .is-scrolled */
.header.is-scrolled .global-menu {
  top: 76px;
  max-height: calc(100vh - 76px);
}

@media screen and (max-width: 768px) {
  .global-menu__nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .global-menu__group:not(:nth-child(4n))::before {
    display: none;
  }
  .global-menu__group:not(:nth-child(2n))::before {
    display: inline-block;
  }
}

@media screen and (max-width: 480px) {
  .header .global-menu {
    top: 76px;
    max-height: calc(100vh - 76px);
  }
  .global-menu__nav {
    grid-template-columns: 1fr;
  }
  .global-menu__group::before {
    display: none !important;
  }
}

/* ==============================
  .footer
============================== */
.footer {
  background: var(--color-green);
  padding: 60px 0;
  color: #fff;
}
.footer__body {
  display: flex;
  gap: 50px;
  justify-content: space-between;
}
.footer__logo {
  display: block;
  margin-bottom: 20px;
}
.footer__copyright {
  font-weight: var(--weight-medium);
}
.footer__brands {
  display: flex;
  gap: 5px;
  align-items: flex-start;
}
.footer__brands-millet {
  width: 150px;
  height: auto;
}
.footer__social {
  display: flex;
  align-items: center;
  gap: 20px 80px;
  margin-bottom: 40px;
}
.footer__sns-list {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__nav {
  width: fit-content;
  margin: 0 70px 0 auto;
}
.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__nav-link {
  font-weight: var(--weight-bold);
}

@media screen and (max-width: 768px) {
  .footer__social {
    flex-direction: column;
  }
  .footer__nav {
    margin: 0;
  }
}
@media screen and (max-width: 480px) {
  .footer__body {
    flex-direction: column;
  }
}
