@charset "utf-8";

/* ↓↓↓ common ↓↓↓ */
:root {
  --text-sans: 'Noto Sans JP', sans-serif;
  --text-poppins: 'Poppins', sans-serif;
}

body {
  font-size: 1.6rem;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: #D2D7DC;
  position: relative;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/common/bg.png)repeat;
  }
}

.-noscroll {
  overflow: clip !important;
}

.-pc {
  display: block !important;
}

.-sp {
  display: none !important;
}

@media (max-width: 768px) {
  .-pc {
    display: none !important;
  }

  .-sp {
    display: block !important;
  }
}

.-wb {
  display: inline-block;
}

/* ↑↑↑ common ↑↑↑ */

/* ↓↓↓ header ↓↓↓ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  z-index: 10;

  @media (max-width: 768px) {
    height: 72px;
  }
}

.header-logo {
  width: 380px;
  height: 100%;
  padding-left: 40px;
  background-color: #fff;
  border-bottom-right-radius: 8px;
  display: flex;
  align-items: center;

  @media (max-width: 768px) {
    width: auto;
    flex: 1;
    padding-left: 10px;
    border-bottom-right-radius: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
  }

  .logo {
    width: 192px;

    @media (max-width: 768px) {
      width: 183px;
    }
  }

  .text {
    margin-left: 24px;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    line-height: 1;
    display: flex;
    flex-direction: column;

    @media (max-width: 768px) {
      margin-left: 10px;
      font-size: 1.2rem;
      flex-direction: row;
    }

    .txt2 {
      margin-top: 6px;
      font-size: 1.2rem;

      @media (max-width: 768px) {
        margin-top: 0;
        margin-left: 0.7em;
      }
    }
  }
}

.header-btn_group {
  width: 240px;
  height: 56px;
  margin-left: auto;
  position: relative;
  display: flex;

  @media (max-width: 768px) {
    width: 138px;
    height: 100%;
  }
}

.header-btn_group .entry-wrap,
.header-btn_group .menu-wrap {
  width: 50%;
  height: 100%;
  padding: 0 5px 7px 0;
  position: relative;
  font-family: var(--text-poppins);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.header-btn_group .entry-wrap {
  width: 100%;
  background-color: #8F2536;

  &::before {
    content: '';
    position: absolute;
    bottom: 13px;
    left: 0;
    width: 24px;
    height: 1px;
    background-color: #fff;
    transition: width 300ms 0s ease;
  }

  @media (min-width: 769px) {
    &:hover::before {
      width: 177px;
    }
  }
}

.header-btn_group .entry-wrap .megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  /* height: 88px; */
  height: 0;
  /* padding: 16px 14px 0; */
  padding: 0 14px 0;
  background-color: #8F2536;
  display: flex;
  gap: 4px;
  transition: all 300ms 0s ease;

  a {
    width: 100%;
    height: 48px;
    background-color: #fff;
    color: #8F2536;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 200ms 0s ease;
    opacity: 0;
    visibility: hidden;

    @media (min-width: 769px) {
      &:hover {
        border-radius: 48px;
      }
    }

    .ja {
      font-family: var(--text-sans);
      font-size: 1.5rem;
      font-weight: bold;
      letter-spacing: 0.04em;
      line-height: 1.46667;
    }

    .en {
      font-family: var(--text-poppins);
      font-size: 1.6rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      line-height: 1;
    }
  }
}

@media (min-width: 769px) {
  .header-btn_group .entry-wrap:hover .megamenu {
    height: 88px;
    padding: 16px 14px 0;

    a {
      opacity: 1;
      visibility: visible;
      transition: all 400ms 0s ease;
    }
  }
}

@media (max-width: 768px) {
  .header-btn_group .entry-wrap .megamenu {
    flex-direction: column;

    a {
      width: 100%;
      translate: 0 -5px;
      transition: all 100ms 0s ease;
    }
  }

  .header-btn_group .entry-wrap.-open .megamenu {
    height: 122px;
    padding: 12px 8px 8px;


    a {
      translate: 0 0;
      opacity: 1;
      visibility: visible;
      transition: all 400ms 0s ease;
    }
  }
}

.header-btn_group .menu-wrap {
  background-color: #005B9C;
  border: 0;
  cursor: pointer;

  &::before {
    content: '';
    position: absolute;
    bottom: 14px;
    left: 0;
    width: 24px;
    height: 1px;
    background-color: #fff;
  }

  &::after {
    content: '';
    position: absolute;
    bottom: 9px;
    left: 0;
    width: 24px;
    height: 1px;
    background-color: #fff;
  }
}

/* ↑↑↑ header ↑↑↑ */
@media (min-width: 1281px) {}

@media (max-width: 1280px) {}

@media (max-width: 768px) {}

@media (max-width: 480px) {}

@media (max-width: 375px) {}