/*=========================
  Common
=========================*/
/* fonts */
/* // <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 300 to 700 */
.font-quicksand {
  font-family: 'Quicksand', sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}
.font-zenmaru {
  font-family: 'Zen Maru Gothic', system-ui;
  font-weight: 500;
  font-style: normal;
}

.en {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
}
.jp {
  font-family: 'Zen Maru Gothic', system-ui;
  font-weight: 500;
}

/* variables */
:root {
  --balck: #3d3732;
  --green: #9ac938;
  --orange: #ff9966;
  --bg-beige: #fcfbf4;
  --bg-skyblue: #d6ebf6;
}

.green {
  color: var(--green);
}
.orange {
  color: var(--orange);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
@media screen and (max-width: 960px) {
  html {
    scroll-padding-top: 60px;
  }
}
body {
  font-family: 'Noto Sans JP', system-ui;
  font-weight: 400;
  color: #3d3732;
  background-color: #ffffff;
  max-width: 1920px;
  margin-inline: auto;
  position: relative;
  /* overflow-x: clip; */
}
a {
  text-decoration: none;
  transition: opacity 0.3s;
  color: inherit;
  &:hover {
    @media (any-hover: hover) {
      opacity: 0.5;
    }
  }
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
p {
  line-height: 2;
  text-align: justify;
  @media (max-width: 960px) {
    font-size: 0.9rem;
  }
}

.pc-only {
  display: initial;
}
.sp-only {
  display: none !important;
}
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: initial;
  }
}

.container {
  width: calc(100% - 2rem);
  max-width: 1200px;
  margin-inline: auto;
}

/* button */
.button {
  --bg-color: inherit;
  --color: inherit;
  background-color: var(--bg-color);
  color: var(--color);
  padding: 0.5rem 1rem;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  .icon {
    margin-right: 0.5rem;
  }
  @media (any-hover: hover) {
    &::before {
      content: '';
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      background-color: #fff;
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
    }
    &:hover {
      opacity: 1;
    }
    &:hover::before {
      opacity: 0.25;
    }
  }
}

/*=========================
  header
=========================*/
header {
  background-color: #ffffff;
  position: sticky;
  z-index: 99;
  top: 0;
  width: 100%;
  max-width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
  padding-inline: 1rem;
  padding-bottom: 1.5rem;
  .logo {
    max-width: 330px;
    width: 60%;
    .logo-wrapper {
      opacity: 1;
    }
  }
  .pc-nav {
    margin-top: auto;
    width: 75%;
    max-width: 1000px;
    .nav-items {
      display: flex;
      align-items: center;
    }
    .nav-item {
      flex-grow: 1;
      text-align: center;
      border-right: 1px dotted #3d3732;
      position: relative;
      &:first-of-type {
        border-left: 1px dotted #3d3732;
      }
      > a {
        display: block;
        width: 100%;
        position: relative;
      }
      &::before {
        position: absolute;
        opacity: 0;
        bottom: -16px;
        left: 0;
        right: 0;
        margin-inline: auto;
        content: '';
        clip-path: polygon(100% 60%, 100% 75%, 50% 45%, 0 75%, 0 60%, 50% 25%);
        background-color: #9ac938;
        rotate: 180deg;
        width: 16px;
        height: 16px;
        transition: opacity 0.3s;
      }
      @media (any-hover: hover) {
        &:hover::before {
          opacity: 1;
        }
      }
    }
    .nav-item:has(.dropdown-menu):hover {
      .dropdown-menu {
        visibility: visible;
        opacity: 1;
      }
    }
    .dropdown-menu {
      visibility: hidden;
      opacity: 0;
      transition: opacity 0.3s, visibility 0.3s;
      position: absolute;
      z-index: 1;
      top: 110%;
      left: 50%;
      translate: -50% 0%;
      width: 120%;
      background-color: rgb(255 255 255 / 1);
      .dropdown-menu__item {
        padding: 0.75rem 1rem;
      }
      .dropdown-menu__item a {
      }
    }
  }
  .contact-button {
    position: absolute;
    top: 0;
    right: 1rem;
    background-color: #ff9966;
    color: #ffffff;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 1rem 1.5rem;
  }
  .sp-hamburger {
    display: none;
    background-color: #ff9966;
    border-radius: 20%;
    position: relative;
    top: 0;
    z-index: 1001;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10%;
    width: 40px;
    height: 40px;
    aspect-ratio: 1/1;
    .line {
      height: 1px;
      width: 30%;
      background-color: #ffffff;
      content: '';
      transition: 0.3s;
    }
  }
  .sp-hamburger.active {
    position: fixed;
    top: 10px;
    right: 1rem;
    .line {
      background-color: #ffffff;
    }
    .line:nth-child(1) {
      position: absolute;
      top: 50%;
      bottom: 50%;
      width: 40%;
      transform: rotate(-45deg);
    }
    .line:nth-child(2) {
      opacity: 0;
    }
    .line:nth-child(3) {
      position: absolute;
      top: 50%;
      bottom: 50%;
      width: 40%;
      transform: rotate(45deg);
    }
  }
  .sp-nav {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: -120%;
    width: 90vw;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    .nav-items {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      .nav-item {
        font-size: 1.1rem;
      }
    }
  }
  .sp-nav.active {
    right: 0;
  }
  .overlay {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.75;
  }
  .overlay.active {
    display: block;
  }
}
body.no-scroll {
  overflow: hidden;
  height: 100%;
}
@media (max-width: 960px) {
  header {
    /* position: fixed; */
    height: 60px;
    padding-bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    .logo {
      max-width: 200px;
    }
    .pc-nav {
      display: none;
    }
    .contact-button {
      display: none;
    }
    .sp-hamburger {
      display: flex;
    }
  }
}

/*=========================
  contact
=========================*/
section.contact {
  padding: 5rem 0;
  .banners {
    width: calc(90% - 2rem);
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    .banner {
      width: 50%;
      border-radius: 20px;
      overflow: hidden;
      position: relative;
      padding: 1rem 2rem;
      display: flex;
      justify-content: center;
      align-items: center;
      .img {
        position: absolute;
        z-index: 1;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      .text {
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 20px;
        position: relative;
        z-index: 2;
        padding: 1rem 1rem;
        font-size: 1.5rem;
      }
    }
    @media (max-width: 960px) {
      flex-direction: column;
      .banner {
        width: 100%;
        .text {
          font-size: 1.25rem;
        }
      }
    }
  }
  .container {
    position: relative;
    padding: 4rem 0;
    .bg-img {
      position: absolute;
      inset: 0;
      z-index: -1;
      width: 100%;
      height: 100%;
    }
    @media (max-width: 960px) {
      width: 100%;
      padding: 0 1rem 3rem;
      .bg-img {
        object-fit: cover;
      }
    }
  }
  .section-title {
    line-height: 1;
    text-align: center;
    margin-bottom: 3rem;
    .en {
      font-size: 3rem;
      margin-bottom: 0.5rem;
    }
    .jp {
      font-size: 1.25rem;
    }
    @media (max-width: 960px) {
      .en {
        font-size: 2.5rem;
      }
      .jp {
        font-size: 1rem;
      }
    }
  }
  .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: 4rem;
    .button {
      width: 50%;
      border-radius: 100vmax;
      font-size: 1.25rem;
      padding: 1rem 1rem;
      .icon {
        width: 20px;
      }
    }
    .tel {
      background-color: #91877f;
      font-family: 'Quicksand', sans-serif;
      color: #ffffff;
    }
    .mail {
      background-color: #ec765f;
      font-family: 'Zen Maru Gothic', system-ui;
      color: #ffffff;
    }
    @media (max-width: 960px) {
      flex-direction: column;
      .button {
        width: 85%;
        max-width: 400px;
        padding: 1rem 0rem;
      }
    }
  }
  .textbox {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 1rem;
    width: 80%;
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    .texts {
      .title {
        display: flex;
        align-items: center;
        font-size: 1.5rem;
        margin-bottom: 1rem;
      }
      .logo {
        width: 50px;
        margin-left: 0.5rem;
      }
      .text {
        font-size: 0.9rem;
      }
    }
    @media (max-width: 960px) {
      width: 100%;
      flex-direction: column;
      gap: 1rem;
      .texts {
        .title {
          justify-content: center;
          font-size: 1.2rem;
        }
        .logo {
          width: 36px;
        }
      }
    }
  }
}

/*=========================
  footer
=========================*/
footer {
  border-top: #91877f dotted 3px;
  padding: 3rem 0;
  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin-inline: auto;
    border-bottom: #91877f dotted 3px;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    gap: 2rem;
    @media (max-width: 960px) {
      width: 100%;
      flex-direction: column;
    }
  }
  .logo {
    max-width: 300px;
    @media (max-width: 960px) {
      max-width: 200px;
    }
  }
  .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    .button {
      width: 300px;
      border-radius: 100vmax;
      font-size: 1.25rem;
      padding: 1rem 2rem;
      .icon {
        width: 20px;
      }
    }
    .tel {
      background-color: #91877f;
      font-family: 'Quicksand', sans-serif;
      color: #ffffff;
    }
    .mail {
      background-color: #ec765f;
      font-family: 'Zen Maru Gothic', system-ui;
      color: #ffffff;
    }
    @media (max-width: 960px) {
      flex-direction: column;
      width: 100%;
      .button {
        width: 80%;
        max-width: 400px;
        padding: 1rem 0;
      }
    }
  }
  .nav-items {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 1rem;
  }
  .nav-item {
    width: 20%;
    text-align: center;
    border-right: 1px dotted #3d3732;
    &:first-of-type {
      border-left: 1px dotted #3d3732;
    }
    a {
      display: block;
      width: 100%;
    }
    @media (max-width: 960px) {
      width: 50%;
      &:nth-last-of-type(2n) {
        border-left: 1px dotted #3d3732;
      }
    }
  }
}

.copyright {
  color: #91877f;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
}
