.ic-header-search {
  box-sizing: border-box;
  position: absolute;
  border: 1px solid #CC507E;
  border-radius: 999px;
  width: 100%;
  height: 100%;
}
.ic-header-search__content {
  height: 100%;
  width: 100%;
  position: absolute;
  border-radius: 999px;
  background: none;
  border: none;
  box-sizing: border-box;
  padding-left: 8px;
  padding-right: 30px;
}
.ic-header-search__content:focus-visible {
  outline: none;
}
.ic-header-search__suffix {
  display: flex;
  align-items: center;
  margin-block-start: 0;
  position: absolute;
  right: -1px;
  height: 100%;
  color: #CC507E;
  padding-right: 8px;
  cursor: pointer;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

.ic-modal {
  --content-padding-right: clamp(15px, 11.359223301px + 0.9708737864 * 1vw, 30px);
  margin-block-start: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: block;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.ic-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.ic-modal.is-open .ic-modal-container {
  transform: translateY(0);
}
.ic-modal-container {
  width: 100vw;
  height: 90%;
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.4s ease-out;
}
.ic-modal-wrapper {
  width: clamp(350px, 100%, 1450px);
  height: 100%;
  border-top-left-radius: var(--ic-radio-size);
  border-top-right-radius: var(--ic-radio-size);
  background: var(--wp--preset--color--base);
  display: flex;
  justify-content: center;
}
.ic-modal-close {
  position: absolute;
  top: clamp(14px, 11.572815534px + 0.6472491909 * 1vw, 24px);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
}
.ic-modal-close .ic-icon {
  height: 100%;
  width: 100%;
}
.ic-modal-main {
  --padding-top: clamp(74px, 60.8932038835px + 3.4951456311 * 1vw, 128px);
  --padding-bottom: clamp(42px, 25.0097087379px + 4.5307443366 * 1vw, 112px);
  --padding-left: clamp(54px, 36.0388349515px + 4.7896440129 * 1vw, 128px);
  --padding-right: clamp(39px, 24.6796116505px + 3.8187702265 * 1vw, 98px);
  width: 100%;
  height: calc(100% - var(--padding-bottom) - var(--padding-top));
  margin: var(--padding-top) var(--padding-right) var(--padding-bottom) var(--padding-left);
  overflow-x: hidden;
  overflow-y: auto;
}
.ic-modal-main::-webkit-scrollbar {
  width: 6px;
}
.ic-modal-main::-webkit-scrollbar-track {
  background-color: #F4F4F4;
  border-radius: 43px;
}
.ic-modal-main::-webkit-scrollbar-thumb {
  background: #D9D9D9;
  border-radius: 43px;
}
.ic-modal-content {
  padding-right: var(--content-padding-right);
}

:root {
  --ic-header-top: calc(24px + var(--ic-header-top-spacing));
  --ic-header-height: clamp(36px, 10.42vw, 60px);
}

.header-wrapper {
  position: fixed;
  z-index: 999;
  width: calc(100vw - var(--ic-scroll-width-px));
  top: var(--ic-header-top);
}
.header-wrapper .wp-block-image > a, .header-wrapper .wp-block-image > figure > a {
  display: flex;
}
.header-wrapper .header-content--mobile,
.header-wrapper .menu-mobile,
.header-wrapper .header-icon {
  display: none;
}
.header-wrapper .header-content {
  padding: clamp(12px, 9.0873786408px + 0.7766990291 * 1vw, 24px) clamp(16px, 12.1165048544px + 1.0355987055 * 1vw, 32px);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  box-shadow: 1px 1px 100px 0px rgba(0, 0, 0, 0.0509803922);
}
.header-wrapper .header-logo {
  min-width: 153px;
}
.header-wrapper .header-logo .wp-block-image {
  display: flex;
  height: 25px;
}
.header-wrapper .header-list {
  gap: clamp(6px, 2.5vw, 48px);
}
.header-wrapper .header-list-item {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-family: "Futura PT", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.725px;
  height: 36px;
  cursor: pointer;
  text-decoration: none;
  flex: 1;
}
.header-wrapper .header-list-item.is-active::before, .header-wrapper .header-list-item:hover::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  top: 0;
  height: 1px;
  animation: width-grow 0.3s ease-out forwards;
  background: var(--wp--preset--color--contrast);
}
.header-wrapper .header-list-item a {
  display: flex;
  text-decoration: none;
}
.header-wrapper .header-list-item span {
  margin-block-start: 0;
  white-space: nowrap;
  color: var(--wp--preset--color--contrast);
}
.header-wrapper .header-list-item__suffix.arrow {
  position: relative;
  top: -1px;
}
.header-wrapper .header-list-item__suffix.arrow .ic-icon {
  transform: rotate(0deg);
}
.header-wrapper .header-list-item:has(.header-list-item__menu):hover .header-list-item__menu {
  opacity: 1;
  visibility: visible;
}
.header-wrapper .header-list-item__menu {
  transition: opacity 0.3s ease-in, visibility 0.3s ease-in;
  visibility: hidden;
  opacity: 0;
  margin-block-start: 0;
  position: absolute;
  top: 200%;
  background: #FFFFFF;
  cursor: default;
  border-radius: 25px;
  padding: 32px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.header-wrapper .header-list-item__menu-item {
  white-space: nowrap;
  position: relative;
}
.header-wrapper .header-list-item__menu-item:hover::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  top: -5px;
  height: 1px;
  animation: width-grow 0.3s ease-out forwards;
  background: var(--wp--preset--color--contrast);
}
.header-wrapper .header-list-item__suffix,
.header-wrapper .header-search__suffix {
  display: flex;
  align-items: center;
  margin-block-start: 0;
}
.header-wrapper .header-list-item__suffix.is-right,
.header-wrapper .header-search__suffix.is-right {
  padding-left: 5px;
}
.header-wrapper .header-list-item__suffix.is-left,
.header-wrapper .header-search__suffix.is-left {
  padding-right: 5px;
}
.header-wrapper .header-search {
  position: relative;
  width: 120px;
  height: 32px;
}
@media (max-width: 1734px) {
  .header-wrapper {
    padding-right: var(--ic-page-spacing-main) !important;
    padding-left: var(--ic-page-spacing-main) !important;
  }
}
@media (max-width: 1170px) {
  .header-wrapper .header-search {
    display: none;
  }
}
@media (max-width: 1000px) {
  .header-wrapper .header-list > .header-list-item:nth-last-of-type(2) {
    display: none;
  }
}
@media (max-width: 850px) {
  .header-wrapper .header-list > .header-list-item:nth-last-of-type(3) {
    display: none;
  }
}
@media (max-width: 700px) {
  .header-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    top: var(--ic-header-top-spacing);
  }
  .header-wrapper .header-icon {
    --ic-icon-size: 16px;
    display: flex;
  }
  .header-wrapper .menu-mobile {
    display: block;
  }
  .header-wrapper .header-content {
    display: none;
  }
  .header-wrapper .header-content--mobile {
    padding: 0;
    margin: 0;
    padding-left: var(--ic-page-spacing-main);
    border-radius: 0;
    backdrop-filter: unset;
    background: #FFFFFF;
    --ic-icon-size: 24px;
    display: flex;
    height: var(--ic-header-height);
    align-items: center;
    justify-content: center;
    justify-content: space-between;
  }
  .header-wrapper .header-content--mobile .header-menu {
    height: var(--ic-header-height);
    aspect-ratio: 1;
    cursor: pointer;
  }
}
@media (max-width: 600px) {
  .header-wrapper {
    position: relative;
    top: 0;
  }
}

@media (min-width: 600px) and (max-width: 700px) {
  .page-banner {
    margin-top: var(--ic-header-height);
  }
}
@media (max-width: 600px) {
  header.wp-block-template-part {
    top: var(--ic-header-top-spacing);
  }
}

.header-wrapper-mobile .menu-modal {
  margin-block-start: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.header-wrapper-mobile .menu-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.header-wrapper-mobile .menu-modal.is-open .ic-modal-container {
  transform: translateY(0);
}
.header-wrapper-mobile .menu-modal-container {
  background: var(--wp--preset--color--base);
  position: absolute;
  top: var(--wp-admin--admin-bar--height, 0px);
  right: 0;
  display: flex;
  justify-content: center;
  border-bottom-left-radius: var(--ic-radio-size);
}
.header-wrapper-mobile .menu-modal-close {
  position: absolute;
  top: 20px;
  right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 27px;
  cursor: pointer;
}
.header-wrapper-mobile .menu-modal-close .ic-icon {
  height: 100%;
  width: 100%;
}
.header-wrapper-mobile .menu-modal-main {
  width: 100%;
  height: calc(100% - 112px - 128px);
  margin: 63px 15px 48px 45px;
}
.header-wrapper-mobile .menu-modal-main .wp-block-image {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 32px;
  min-height: 25px;
}
.header-wrapper-mobile .menu-modal-main .header-list {
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
}
.header-wrapper-mobile .menu-modal-main .header-list-item {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  flex: 1;
}
.header-wrapper-mobile .menu-modal-main .header-list-item span {
  margin-block-start: 0;
  font-family: "Futura PT";
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 1px;
}
.header-wrapper-mobile .menu-modal-main .header-list-item a {
  display: flex;
  text-decoration: none;
}
.header-wrapper-mobile .menu-modal-main .header-list-item__submenu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.header-wrapper-mobile .menu-modal-main .header-list-item__submenu h4 {
  margin-block-start: 0;
  margin-block-end: 0;
  font-family: "Noto Sans JP";
  font-weight: 450;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.125px;
}
.header-wrapper-mobile .menu-modal-main .header-list-item__submenu h4 a {
  text-decoration: none;
}
.header-wrapper-mobile .menu-modal-main .header-list-item__suffix,
.header-wrapper-mobile .menu-modal-main .header-search__suffix {
  --ic-icon-size: 14px;
  display: flex;
  align-items: center;
  margin-block-start: 0;
}
.header-wrapper-mobile .menu-modal-main .header-list-item__suffix.is-right,
.header-wrapper-mobile .menu-modal-main .header-search__suffix.is-right {
  padding-left: 5px;
}
.header-wrapper-mobile .menu-modal-main .header-list-item__suffix.is-left,
.header-wrapper-mobile .menu-modal-main .header-search__suffix.is-left {
  padding-right: 5px;
}
.header-wrapper-mobile .menu-modal-main .header-search {
  --ic-icon-size: 16px;
  position: relative;
  width: 180px;
  height: 32px;
}
