@charset "UTF-8";

/*==========================
common
==========================*/

:root {
  --primary-white: #fefefe;
  --primary-black: #3b3232;
  --primary-offwhite: #fffff9;
  --primary-brown: #b47d5e;
  --contentWidth: 88vw;
  --contentPadding: 4.2%;
  --vw: 100vw;
}

@supports (width: 100dvw) {
  :root {
    --vw: 100dvw;
  }
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 70px;
  scroll-behavior: smooth;
}

html.is-fixed {
  overflow: hidden;
}


body {
  font-family: "Nunito", "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro",
    "Noto Sans JP", sans-serif;
  line-height: 1.5;
  color: var(--primary-black, #3b3232);
  background-color: var(--primary-offwhite, #fffff9);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.pc-none {
  display: none;
}

/*==========================
header
==========================*/

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 10px var(--contentPadding) 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-sizing: border-box;
  background-color: var(--primary-offwhite);
}

.header__logo {
  font-size: 2.2rem;
  font-weight: 700;
  transition: color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .header__logo:hover {
    color: var(--primary-brown);
  }
}

.nav__list {
  display: flex;
  gap: 20px;
}

.nav__item {
  width: 120px;
  height: 40px;
  border: 1px solid var(--primary-brown);
  border-radius: 30px;
  transition: color 0.25s ease;
}

.nav__item:hover {
  color: var(--primary-offwhite);
  background-color: var(--primary-brown);
}

.nav__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
}

.hamburger {
  display: none;
}

/*==========================
footer
==========================*/

.footer {
  margin-top: 80px;
  background-color: var(--primary-brown);
}

footer p {
  font-size: 1rem;
  color: var(--primary-offwhite);
  text-align: center;
  line-height: 2.5rem;
}

/*==========================
Responsive
==========================*/

/* Tablet */
@media screen and (max-width: 1024px) {
  body.nav-open {
    overflow: hidden;
  }

  .header__logo {
    position: relative;
    z-index: 1002;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
  }

  .hamburger span {
    height: 3px;
    width: 100%;
    background: var(--primary-brown);
    border-radius: 999px;
    display: block;
    transition: 0.3s;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background: var(--primary-offwhite);
    background-image: linear-gradient(
        to right,
        rgba(198, 196, 193, 0.4) 1px,
        transparent 1px
      ),
      linear-gradient(to bottom, rgba(198, 196, 193, 0.4) 1px, transparent 1px);
    background-size: 25px 25px;
    background-position: 12px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: 0.3s;
    z-index: 1000;
    overflow: hidden;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav__list {
    width: 80%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    padding: 20% 0 20%;
    background: var(--primary-offwhite);
  }

  .nav__item {
    width: 60%;
    height: auto;
    border: none;
    border-bottom: 1px solid var(--primary-brown);
    border-radius: 0;
  }

  .nav__item a {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 12px 0;
    color: #2b2b2b;
    position: relative;
  }

  .nav__item:hover {
    background: none;
    color: inherit;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .pc-none {
    display: block;
  }
  .sp-none {
    display: none;
  }
}

@media (min-width: 1025px) {
  .nav {
    transform: translateX(0) !important;
  }
}

