@charset "utf-8";

:root {
  --min: 'Zen Old Mincho', serif;
}

/* ハンバーガーボタン */
/* *************************************
hamburger
************************************* */
.hamburger {
  width: fit-content;
  text-align: center;
  container-type: inline;
}

@media (any-hover: hover) {
  .hamburger:hover {
    cursor: pointer;
  }
}

.hamburger__btn {
  padding: 4px;
  border: none;
  background-color: transparent;
}

.hamburger__btn span {
  display: block;
  width: min(3.9cqw, 50px);
  height: 3px;
  border-radius: 100vmax;
  background-color: #fff;
  /* background-color: #000; */
  transition: 0.3s ease;
  @media (width < 1080px) {
    width: 40px;
  }
}

.hamburger__btn span:nth-child(2) {
  margin: 14px 0;
}

.hamburger__btn span:nth-child(3) {
  width: min(3cqw, 35px);
  margin-inline-start: auto;
  @media (width < 1080px) {
    width: 30px;
  }
}

/* is-active */
.hamburger.is-active .hamburger__btn span:nth-child(1) {
  transform: translateY(17px) rotate(45deg);
  width: min(3.9cqw, 49px);
  background-color: #000;
  @media (width < 1080px) {
    width: 40px;
    transform: translateY(17px) rotate(45deg);
  }
}
.hamburger.is-active .hamburger__btn span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .hamburger__btn span:nth-child(3) {
  transform: translateY(-17px) rotate(-45deg);
  width: min(3.9cqw, 49px);
  background-color: #000;
  @media (width < 1080px) {
    width: 40px;
    transform: translateY(-17px) rotate(-45deg);
  }
}

.header.is-active .header__hamburger {
  @media (width < 768px) {
    display: block;
  }
}

.hamburger__menu,
.hamburger__close {
  text-transform: capitalize;
  font-size: min(1.5cqw, 18px);
  font-weight: bold;
  line-height: 1;
  color: #fff;
  font-family: var(--min);
  @media (width < 768px) {
    font-size: 18px;
  }
}

.hamburger.is-active .hamburger__menu {
  display: none;
}

.hamburger__close {
  display: none;
}

.hamburger.is-active .hamburger__close {
  display: block;
  color: #000;
}

#header.renew-header {
  background-color: transparent !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  min-height: revert;
  @media (width < 768px) {
    padding-block-start: 0;
  }
}

.renew-header__inner {
  padding-inline: 10px;
  height: inherit;
}

.renew-header__container {
  display: flex;
  height: inherit;
  align-items: center;
}

.renew-header__logo {
  margin: 0 !important;
  padding: 0;
  width: min(35%, 665px);
  @media (width < 1080px) {
    width: 60%;
  }
  @media (width < 768px) {
    width: 300px;
  }
}

.renew-header__logo img {
  aspect-ratio: 300 /26;
  width: 100%;
  height: 100%;
  object-fit: cover;
  @media (width < 768px) {
    aspect-ratio: 300 /52;
  }
}

.renew-header__logo::before,
.renew-header__logo::after {
  display: none;
}

.renew-header__nav {
  width: 56%;
  margin-inline-start: auto;
  @media (width < 1080px) {
    display: none;
  }
}

.renew-header__list {
  margin-block: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2%;
  container-type: inline-size;
}

.renew-header__item {
  padding: 0;
}

.renew-header__item::before {
  display: none !important;
}

.renew-header__item a {
  display: inline-flex;
  align-items: center;
  gap: 1.9cqw;
  font-size: min(1.9cqw, 18px);
  color: #fff;
  font-family: var(--min);
  padding: 0.5cqw;
}

.renew-header__item:last-child {
  margin-inline-start: 2cqw;
}

.renew-header__item:last-child a {
  border: 1px solid #fff;
  border-radius: 100vmax;
  padding-inline: 2cqw;
  line-height: 1;
  text-transform: capitalize;
  font-size: 2.1cqw;
  font-size: min(2.1cqw, 14px);
}
#header.renew-header.is-color .renew-header__item:last-child a {
  border-color: #333;
}

.renew-header__item:not(:last-child) a::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 24px;
  background-color: #fff;
  rotate: 45deg;
}

.renew-header__item:nth-child(5) a::after {
  display: none;
}

.renew-header__hamburger {
  margin-inline-start: 16px;
  position: relative;
  z-index: 100;
  @media (width < 1080px) {
    margin-inline-start: auto;
  }
}

/* メニュー */
.renew-header__modal {
  position: fixed;
  inset: 0;
  background-color: #fff;
  height: 100vh;
  z-index: 0;
  overflow-y: scroll;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.renew-header__modal.is-active {
  visibility: visible;
  opacity: 1;
}

.renew-header__modal-top-container {
  display: flex;
  align-items: center;
  padding-inline: 10px 80px;
  height: 80px;
  @media (width < 768px) {
    display: block;
    @media (width < 768px) {
      padding-inline: 10px;
      margin-block-start: 10px;
    }
  }
}

.renew-header__modal-logo {
  width: min(35%, 665px);
  @media (width < 768px) {
    width: 300px;
  }
}

.renew-header__modal-logo img {
  aspect-ratio: 300 / 26;
  width: 100%;
  height: 100%;
  object-fit: cover;
  @media (width < 768px) {
    aspect-ratio: 5 / 1;
  }
}

.renew-header__modal-top-list {
  margin-block: 0;
  margin-inline-start: auto;
  width: 60%;
  display: flex;
  gap: 1%;
  justify-content: flex-end;
  container-type: inline-size;
  @media (width < 768px) {
    width: 100%;
    margin-block-start: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    justify-items: center;
    gap: 0 16px;
    width: min(100%, 400px);
    margin-inline: auto;
    /*  */
    display: none;
  }
}

.renew-header__modal-top-item {
  padding-inline-start: 0 !important;
  @media (width < 768px) {
    min-width: 138px;
    text-align: center;
  }
}

.renew-header__modal-top-item::before {
  display: none !important;
  @media (width < 768px) {
    padding: 0;
  }
}

.renew-header__modal-top-item:last-child {
  display: grid;
  place-content: center;
}

.renew-header__modal-top-item a {
  display: inline-flex;
  align-items: center;
  gap: 2cqw;
  font-size: min(1.9cqw, 18px);
  color: #000;
  font-family: var(--min);
  padding: 0.5cqw;
  @media (width < 768px) {
    font-size: 16px;
    width: 100%;
    padding: 10px;
  }
}

.renew-header__modal-top-item a::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: clamp(0.813rem, 0.027rem + 1.64vw, 1.5rem);
  background-color: #000;
  rotate: 45deg;
  @media (width < 768px) {
    display: none;
  }
}

.renew-header__modal-top-item:last-child a {
  line-height: 1;
  text-transform: capitalize;
  font-size: min(2.1cqw, 14px);
  border-width: 1px;
  border-style: solid;
  border-color: #000;
  border-image: initial;
  border-radius: 100vmax;
  padding-inline: 2cqw 2cqw;
  @media (width < 768px) {
    font-size: 16px;
    padding: 4px 8px;
  }
}

.renew-header__modal-top-item:nth-child(5) a::after,
.renew-header__modal-top-item:last-child a::after {
  display: none;
}

/* 下メニュー */
.renew-header__modal-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: self-start;
  gap: 32px 16px;
  margin-block-start: 40px;
  padding-inline: 20px;
  container-type: inline-size;
  @media (width < 768px) {
    margin-block-start: 40px;
    grid-template-columns: repeat(2, 1fr);
    padding-inline: 10px;
    gap: 32px 0;
    width: min(100%, 550px);
    margin-inline: auto;
  }
}

.renew-header__modal-list-title {
  color: #000 !important;
  font-size: min(1.4cqw, 22px);
  font-family: var(--min);
  display: flex;
  align-items: center;
  gap: 4%;
  padding: 5px 10px;
  @media (width < 768px) {
    font-size: 14px;
  }
}

.renew-header__modal-item {
  @media (width < 768px) {
    padding: 0 !important;
  }
}

.renew-header__modal-item::before {
  display: none !important;
}

.renew-header__modal-list-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 20px;
  background-color: #ff949e;
}
.renew-header__modal-list-title02:before {
  content: none;
}
.renew-header__modal-list-title02 {
  background-color: #ff949e;
  color: #fff !important;
  border: 4px double #fff;
  display: flex;
  justify-content: center;
}
.renew-header__modal-child-list {
  margin-block-start: 4px;
  padding-inline-start: 24px;
  @media (width < 768px) {
    padding-inline-start: 0;
  }
}

.renew-header__modal-child-item {
  padding: 5px;
}

.renew-header__modal-child-item::before {
  display: none !important;
}

.renew-header__modal-child-item a {
  color: #000;
  display: flex;
  gap: 5px;
  align-items: flex-start;
  font-family: var(--min);
  font-size: min(1.1cqw, 20px);
  @media (width < 768px) {
    font-size: 14px;
  }
}

.renew-header__modal-child-item a::before {
  content: '';
  display: block;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 100vmax;
  background-color: transparent;
  border: 2px solid #ff949e;
  margin-block-start: 5%;
  flex-shrink: 0;
}

.renew-header__modal-child-item a::after {
  display: none !important;
}
#header.renew-header.is-color {
  background-color: #fff !important;
  box-shadow: 3px 0 5px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
#header.renew-header.is-color img {
  filter: invert(1);
}
#header.renew-header.is-color .renew-header__item a {
  color: #333;
  
}
#header.renew-header.is-color .renew-header__item a::after {
  background-color: #333;
}
#header.renew-header.is-color .hamburger__btn span {
  background-color: #333;
}
#header.renew-header.is-color .hamburger__menu,
.hamburger__close {
  color: #333;
}

/* *************************************
side-fix-btns
************************************* */
.side-fix-btns {
  position: fixed;
  top: 11%;
  right: 0;
  z-index: 1000;
  @media (width < 768px) {
    top: revert;
    bottom: 0;
    left: 0;
  }
}

.side-fix-btns__container {
  display: grid;
  grid-template-rows: repeat(5, auto);
  gap: 4px;
  @media (width < 768px) {
    grid-template-rows: revert;
    grid-template-columns: repeat(2, 1fr);
    align-items: self-start;
    gap: 0;
  }
}

.side-fix-btns__container > div {
  width: fit-content;
  @media (width < 768px) {
    width: 100%;
  }
}

.side-fix-btns p {
  line-height: 1;
  display: inline-block;
  @media (width < 768px) {
    display: block;
  }
}

.side-fix-btns a {
  min-height: 100px;
  background-color: #fff;
  writing-mode: vertical-rl;
  padding: 16px;
  font-size: 14px;
  color: #2c2c2c;
  letter-spacing: 0.3em;
  line-height: 1;
  font-family: var(--min);
  text-align: center;
  transition: opacity 0.3s ease;
  box-shadow: 0px 10px 20px 0px rgb(0 0 0 / 0.2);
  @media (width < 768px) {
    writing-mode: horizontal-tb;
    display: block;
    width: 100%;
    min-height: revert;
  }
}

@media (any-hover: hover) {
  .side-fix-btns a:hover {
    opacity: 0.7;
  }
}

.side-fix-btns a span {
  display: inline-block;
  writing-mode: horizontal-tb;
  margin-inline-end: -5px;
  letter-spacing: 0.1em;
  margin-left: -4px;
  margin-bottom: 5px;
}

.side-fix-btns__container .cparts-txt-block:nth-child(1) a {
  background-color: #ec9aa9;
  color: #fff;
}

.side-fix-btns__container .cparts-txt-block:nth-child(2) a {
  background-color: #96d2d4;
  color: #fff;
}

.side-fix-btns__container .cparts-txt-block:nth-child(1) a,
.side-fix-btns__container .cparts-txt-block:nth-child(2) a {
  outline: 1px solid #fff;
  outline-offset: -2px;
}

.side-fix-btns__container .cparts-txt-block:nth-child(3),
.side-fix-btns__container .cparts-txt-block:nth-child(4),
.side-fix-btns__container .cparts-txt-block:nth-child(5) {
  @media (width < 768px) {
    display: none;
  }
}

.side-fix-btns__container .cparts-txt-block:nth-child(3) a,
.side-fix-btns__container .cparts-txt-block:nth-child(4) a,
.side-fix-btns__container .cparts-txt-block:nth-child(5) a {
  border-left: 2px solid #f47a80;
}
