@charset "UTF-8";

#header {
  background-color: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10000;
  border-bottom: var(--background-gray) solid 1px;
  display: flex;
  justify-content: center;
  contain: layout inline-size;
  container-type: inline-size;
  container-name: headerContainer;
  transition: transform 0.3s ease;
  transform: translateY(0);
}

#header.hidden {
  transform: translateY(-100%);
}

#header-overlay {
  opacity: 0;
  transition: opacity 0.3s;
  position: absolute;
  top: 0;
  left: 0;
}

#header-overlay.overlay {
  width: 100vw;
  height: 100vh;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.6274509804);
  position: fixed;
  opacity: 1;
}

/* スキップリンク
-------------------------------------*/
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  color: var(--black);
  font-weight: bold;
}

.skip-link:focus,
.skip-link:active {
  display: block;
  width: auto;
  height: auto;
  top: 5px;
  left: 5px;
  clip: auto;
  z-index: 1000;
  font-size: 20px;
  padding: 16px 32px;
  background-color: #FCFFE9;
  text-align: center;
}

/* 上段
-------------------------------------*/
.header-top {
  max-width: 1088px;
  padding: 14px 32px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@container (max-width: 760px) {
  .header-top {
    padding: 16px 8px 16px 24px;
  }
}

@container (max-width: 440px) {
  .header-top {
    padding-left: 16px;
  }
}

.header-top a img {
  box-sizing: border-box;
  width: 94px;
  height: auto;
}

@container (max-width: 760px) {
  .header-top a img {
    width: 120px;
  }
}

.header-top #header-right-contents {
  order: 2;
}

@container (max-width: 760px) {
  .header-top #header-right-contents {
    display: flex;
    align-items: center;
    position: relative;
    gap: 8px;
    width: 100%;
    justify-content: end;
  }

  .header-top #header-right-contents::before {
    content: "";
    position: fixed;
    width: 230px;
    height: 61px;
    top: 0;
    right: 0;
    z-index: 10001;
    background: var(--white);
    transform: translateX(100%);
    opacity: 0;
  }

  .header-top #header-right-contents.active::before {
    transition: transform 0.55s ease, opacity 0.7s ease;
    transform: translateX(0);
    opacity: 1;
  }
}

.header-top #header-right-contents .headerButtons_link {
  width: -moz-max-content;
  width: max-content;
  margin: 0;
  z-index: 10001;
}

.header-top #header-right-contents .headerButtons_link.cvButton a {
  width: 100%;
  min-width: -moz-max-content;
  min-width: max-content;
  padding: 8px 24px;
  font-size: 14px;
  line-height: 1;
  background-color: var(--white);
  color: var(--primary);
}

@media (hover:hover) {
  .header-top #header-right-contents .headerButtons_link.cvButton a:hover {
    opacity: 0.4;
  }
}

.header-top #header-right-contents .headerButtons_link a:focus {
  color: var(--black);
  background: var(--background-blue);
}

.header-top #header-right-contents .headerButtons_link a::after {
  display: none;
}

.header-top #header-right-contents #header-hamburger {
  display: none;
}

@container (max-width: 760px) {
  .header-top #header-right-contents #header-hamburger {
    display: block;
    position: relative;
    width: 64px;
    height: 64px;
    cursor: pointer;
    text-align: center;
    padding: 14px;
  }

  .header-top #header-right-contents #header-hamburger .menu {
    display: block;
    position: absolute;
    width: 36px;
    height: 3px;
    background: var(--black);
    transition: 0.3s;
    border-radius: 50px;
    background: var(--primary);
  }

  .header-top #header-right-contents #header-hamburger,
  .header-top #header-right-contents #header-hamburger .headerButtons_link {
    z-index: 10001;
  }

  .header-top #header-right-contents #header-hamburger span:nth-child(1) {
    top: 18px;
  }

  .header-top #header-right-contents #header-hamburger span:nth-child(2) {
    top: 30px;
  }

  .header-top #header-right-contents #header-hamburger span:nth-child(3) {
    top: 42px;
  }

  .header-top #header-right-contents #header-hamburger.active span:nth-child(1) {
    top: 30px;
    transform: rotate(-45deg);
  }

  .header-top #header-right-contents #header-hamburger.active span:nth-child(2),
  .header-top #header-right-contents #header-hamburger.active span:nth-child(3) {
    top: 30px;
    transform: rotate(45deg);
  }
}

.header-top #header-nav {
  order: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: start;
  padding-left: 24px;
  gap: 8px;
}

.header-top #header-nav li.header-bottom-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 230px;
  text-align: center;
  padding: 0 16px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  align-self: stretch;
}

.header-top #header-nav li.header-bottom-arrow p.navLists_title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
}

.header-top #header-nav li.header-bottom-arrow p.navLists_title::after {
  font-family: "FontAwesome";
  content: "\f105";
  font-size: 1.7em;
  transform: rotate(90deg);
  display: block;
}

.header-top #header-nav li.header-bottom-arrow p.navLists_title>a {
  justify-content: center;
}

.header-top #header-nav li.header-bottom-arrow .header-bottom-dropdown {
  position: absolute;
  background: var(--white);
  top: 36px;
  z-index: 2;
  align-items: start;
  padding: 16px;
  width: -moz-max-content;
  width: max-content;
  border-radius: 0 0 4px 4px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.05);
}

.header-top #header-nav li.header-bottom-arrow .header-bottom-dropdown li {
  text-align: left;
  width: 100%;
}

.header-top #header-nav li.header-bottom-arrow .header-bottom-dropdown li a {
  text-align: left;
  width: 100%;
  display: block;
  padding: 12px 16px;
}

.header-top #header-nav li.header-bottom-arrow .header-bottom-dropdown li a:hover,
.header-top #header-nav li.header-bottom-arrow .header-bottom-dropdown li a:focus {
  background: var(--background-blue);
}

.header-top #header-nav li.header-bottom-arrow:hover .header-bottom-dropdown,
.header-top #header-nav li.header-bottom-arrow:focus .header-bottom-dropdown,
.header-top #header-nav li.header-bottom-arrow .header-bottom-dropdown:focus-within {
  opacity: 1;
  pointer-events: auto;
}

.header-top #header-nav li.header-bottom-arrow p.navLists_title:focus,
.header-top #header-nav li.header-bottom-arrow a:focus,
.header-top #header-nav li.header-bottom-arrow:hover,
.header-top #header-nav li.header-bottom-arrow a:hover {
  color: var(--primary);
}

.header-top #header-nav li.header-bottom-arrow a {
  color: var(--black);
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  transition: 0.3s;
}

@container (max-width: 880px) {
  .header-top #header-nav {
    padding-left: 16px;
    gap: 0;
  }

  .header-top #header-nav li.header-bottom-arrow {
    padding: 8px 16px;
  }

  .header-top #header-nav li.header-bottom-arrow p.navLists_title::after {
    display: none;
  }
}

@container (max-width: 760px) {
  .header-top #header-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10000;
    justify-content: flex-start;
    padding: 64px 0 24px 0;
    overflow: scroll;
    background: var(--white);
    height: 100vh;
    padding-bottom: 96px;
    width: 230px;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
    /* 初期状態でフォーカスを無効にする */
  }

  .header-top #header-nav.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    /* アクティブ時にフォーカスを有効にする */
  }

  .header-top #header-nav li.header-bottom-arrow {
    justify-content: space-between;
    max-width: none;
    flex: none;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .header-top #header-nav li.header-bottom-arrow p.navLists_title {
    justify-content: start;
    height: auto;
    position: relative;
    z-index: 2;
    padding: 16px 24px;
    border-top: 1px solid #ededed;
    width: 100%;
    text-align: left;
    font-size: 16px;
  }

  .header-top #header-nav li.header-bottom-arrow p.navLists_title>a {
    justify-content: start;
  }

  .header-top #header-nav li.header-bottom-arrow p.navLists_title::after {
    display: block;
    position: absolute;
    top: 6px;
    right: 24px;
    transition: 0.3s;
  }

  .header-top #header-nav li.header-bottom-arrow p.navLists_title.active::after {
    transform: rotate(-90deg);
  }

  .header-top #header-nav li.header-bottom-arrow a {
    justify-content: start;
    height: 100%;
    width: 100%;
  }

  .header-top #header-nav li.header-bottom-arrow:nth-of-type(1) p.navLists_title {
    border-top: none;
  }

  .header-top #header-nav li.header-bottom-arrow:focus,
  .header-top #header-nav li.header-bottom-arrow a:focus,
  .header-top #header-nav li.header-bottom-arrow:hover {
    background: var(--white);
  }

  .header-top #header-nav li.header-bottom-arrow .header-bottom-dropdown {
    width: 100%;
    display: none;
    position: relative;
    top: 3px;
    align-items: start;
    opacity: 1;
    border-top: 1px solid #ededed;
    background: var(--background-gray);
    border-radius: 0;
    height: auto;
    overflow: hidden;
    box-shadow: none;
    padding: 6px 12px;
  }

  .header-top #header-nav li.header-bottom-arrow .header-bottom-dropdown li {
    width: 188px;
    pointer-events: auto;
    font-size: 13px;
  }

  .header-top #header-nav li.header-bottom-arrow .header-bottom-dropdown li:nth-last-of-type(1) a {
    border: none;
  }

  .header-top #header-nav li.header-bottom-arrow .header-bottom-dropdown li a {
    word-break: keep-all;
    overflow-wrap: break-word;
    padding: 12px 0px 12px 10px;
    border-bottom: solid 1px rgba(51, 51, 51, 0.062745098);
  }

  .header-top #header-nav li.header-bottom-arrow .header-bottom-arrow.open .header-bottom-dropdown {
    display: block;
  }
}

/* 下部ナビ
-------------------------------------*/
.underNav {
  padding: 12px 32px;
  position: fixed;
  width: 100%;
  left: 0px;
  bottom: 0px;
  background-color: #fff;
  border-bottom: none;
  z-index: 998;
  border-top: #F4F4F4 solid 1px;
  contain: layout inline-size;
  container-type: inline-size;
  container-name: headerContainer;
}

.underNav ul.navButtons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1024px;
  width: 100%;
  margin: auto;
  gap: 32px;
}

.underNav li.all-btn {
  max-width: 32%;
  width: 100%;
  box-sizing: border-box;
  flex: 1;
  display: flex;
}

.underNav li.all-btn.store-btn a {
  background-color: var(--white);
  border: 2px solid var(--primary);
  border-radius: 8px;
  text-align: center;
  color: var(--primary);
}

.underNav a {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  position: relative;
  width: 100%;
  padding: 12px;
  background-color: var(--secondary);
  border: 2px solid var(--secondary);
  /* text-shadow: 0px 0px 20px #8d0000; */
  border-radius: 8px;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  transition: 0.3s;
  box-sizing: border-box;
  letter-spacing: 1px;
}

.underNav li.all-btn.online-btn {
  max-width: 50%;
}

@media (hover:hover) {
  .underNav a:hover {
    background-color: var(--white);
    color: var(--secondary);
    text-shadow: none;
  }

  .underNav li.all-btn.store-btn a:hover {
    opacity: 0.4;
  }
}

@container (max-width: 1024px) {
  .underNav ul.navButtons {
    margin: auto;
    flex-wrap: nowrap;
  }
}

@container (max-width: 869px) {
  .underNav ul.navButtons {
    gap: 16px;
  }

  .underNav a {
    font-size: 14px;
    line-height: 1.2;
    border-radius: 5px;
    margin-right: 0;
    padding: 8px;
    flex: auto !important;
  }

  .underNav span {
    word-break: keep-all;
    line-height: 1.3;
  }
}

@container (max-width: 500px) {
  .underNav {
    padding: 12px 16px;
    border-radius: 20px 20px 0 0;
    /* box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.15); */
    border-top: #e0e0e0 solid 1px;
  }

  .underNav ul.navButtons {
    gap: 12px;
  }

  .underNav li.all-btn.online-btn {
    max-width: 64%;
  }

  .underNav a {
    border-radius: 10px;
    letter-spacing: 0;
    padding: 10px 6px;
  }
}

/* body
-------------------------------------*/
body {
  padding-top: 52px;
}

@container (max-width: 767px) {
  body {
    padding-top: 64px;
  }
}
