@charset "UTF-8";
:root {
  --shadow-sm: 0 2px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
}
.shadow-sm {
  box-shadow: var(--shadow-sm);
}
.shadow-md {
  box-shadow: var(--shadow-md);
}
.shadow-lg {
  box-shadow: var(--shadow-lg);
}
.drop-shadow-sm {
  filter: drop-shadow(var(--shadow-sm));
}
.drop-shadow-md {
  filter: drop-shadow(var(--shadow-md));
}
.drop-shadow-lg {
  filter: drop-shadow(var(--shadow-lg));
}
.margin-top-sm {
  margin-top: var(--wp--preset--spacing--60);
}
.margin-top-md {
  margin-top: var(--wp--preset--spacing--70);
}
.text-center {
  text-align: center;
}
@media (min-width: 601px) {
  .hide-pc {
    display: none;
  }
}
.flex-between, .flex-between-top, .flex-between-center, .flex-between-bottom {
  display: flex;
  justify-content: space-between;
}
.flex-between-top {
  align-items: flex-start;
}
.flex-between-center {
  align-items: center;
}
.flex-between-bottom {
  align-items: flex-end;
}
/* -------------------- SP: ナビ初期非表示 -------------------- */
#masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  z-index: 99;
  position: relative;
  padding: 20px 4% 0.5em;
  width: 100%;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: padding 0.3s ease-out, background 0.3s ease-out;
}
#masthead.is-fixed {
  padding-top: 0.5em;
  background: #FFFCFA;
}
#masthead .site-navigation-area {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#masthead .header-button-s {
  display: inline-flex;
  padding: 0;
  background: transparent;
}
#masthead .header-button-m {
  font-size: var(--wp--preset--font-size--large);
  display: block;
  text-align: center;
  margin-bottom: 3rem;
}
#masthead .header-button-m > a {
  width: 200px;
  text-decoration: none;
  color: var(--wp--preset--color--base-1);
  border-radius: 100px;
  line-height: 3rem;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  color: #fff;
  font-weight: 700;
}
#masthead .header-button-s a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  height: max-content;
  white-space: nowrap;
  font-weight: 700;
}
#masthead .header-button-m a {
  background: linear-gradient(135deg, var(--wp--preset--color--accent-1) 0%, #DB2222 100%);
  padding: 0 1rem;
  display: inline-block;
}
#masthead .header-button-s a {
  width: 40px;
  font-family: var(--wp--preset--font-family--accentfont);
}
#masthead .site-branding {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 30px;
  margin-top: 4px;
  padding-left: 1rem;
  z-index: 999;
}
#masthead .site-branding a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
}
#masthead .site-branding img {
  display: block;
  max-height: 100%;
  height: auto;
  width: auto;
}
#masthead .header-button-s {
  color: var(--wp--preset--color--accent-1);
}
#masthead .header-button-s span, #masthead .header-button-s a {
  line-height: 1;
  padding-inline: 0.5em;
}
#masthead .icon-search {
  width: 1.4em;
  height: 1.4em;
}
#site-navigation {
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 99;
  overflow-y: auto;
  background: linear-gradient(-20deg, #eee, #f5f5f5 30%, #fff 30%);
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#site-navigation a {
  color: #000;
  text-decoration: none;
}
#site-navigation.open {
  transform: translateX(0);
  opacity: 1;
}
#site-navigation .menu-item-has-children.open > a {
  color: var(--wp--preset--color--accent-1);
}
#site-navigation ul {
  list-style: none;
}
#site-navigation .sub-menu {
  margin: 0;
  padding: 0;
}
#site-navigation .sub-menu-columns {
  margin: 0;
  border-radius: 1rem;
  padding: 1rem;
}
.sub-menu-columns {
  background: #f6f6f6;
}
.nav-list {
  margin-block: 0;
  font-weight: 700;
  padding: 100px clamp(var(--wp--preset--spacing--50), 10%, 10%) 2rem;
  width: 100%;
  white-space: nowrap;
}
.nav-list > li {
  font-size: var(--wp--preset--font-size--large);
}
.nav-list > li ul {
  font-size: var(--wp--preset--font-size--medium);
}
.nav-list a {
  display: block;
  padding-block: var(--wp--preset--spacing--30);
}
/* -------------------- ハンバーガー -------------------- */
#header-menu-toggle {
  top: 0;
  right: 0;
  z-index: 100;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.1s ease-in, border-radius 0.1s ease-in;
}
#header-menu-toggle .bar {
  position: absolute;
  width: 25px;
  height: 2px;
  background: var(--wp--preset--color--accent-1);
  border-radius: 2px;
  transition: all 0.4s ease;
  transform-origin: center;
}
#header-menu-toggle .bar:nth-child(1) {
  transform: translateY(-8px);
}
#header-menu-toggle .bar:nth-child(2) {
  transform: translateY(0);
}
#header-menu-toggle .bar:nth-child(3) {
  transform: translateY(8px);
}
#header-menu-toggle[aria-expanded="true"] {
  background: var(--wp--preset--color--accent-1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 100px;
}
#header-menu-toggle[aria-expanded="true"] .bar {
  background: #fff;
}
#header-menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: rotate(45deg);
}
#header-menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}
#header-menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: rotate(-45deg);
}
#header-menu-toggle .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu-item-has-children.open .plus-toggle-icon .ver {
  transform: translateX(-50%) rotate(90deg) scaleX(1);
  background: transparent;
}
/* -------------------- 子メニュー -------------------- */
.sub-menu {
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  overflow: hidden;
  padding-left: 1rem;
  transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
}
.menu-item.open > .sub-menu {
  opacity: 1;
  transform: translateY(0);
  max-height: 500px;
}
.sub-menu-title {
  display: none;
}
.sub-menu li a {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--40);
}
/* -------------------- PC用（769px以上） -------------------- */
@media (min-width: 769px) {
  /* オーバーレイ */
  #nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(209, 209, 209, 0.6);
    height: 0;
    z-index: 50;
    transition: opacity 0.3s ease;
  }
  #nav-overlay.active {
    height: 100%;
    opacity: 1;
  }
  #nav-overlay.active + #masthead.is-fixed {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  #masthead {
    overflow: visible;
    justify-content: center;
    max-width: var(--wp--style--global--wide-size);
    max-width: 100%;
    transition: padding 0.3s ease-out;
    font-size: clamp(8px, 1.3vw, 16px);
    padding: 40px 0 0;
  }
  #masthead.is-fixed {
    padding-block: 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: background 3s ease;
  }
  #masthead .site-branding {
    margin-right: 1em;
    height: 2.8em;
    min-width: 11em;
  }
  #masthead .site-navigation-area {
    gap: 0.5em;
    position: relative;
    width: max-content;
  }
  #masthead #header-menu-toggle {
    display: none;
  }
  #masthead .plus-toggle-icon {
    display: none;
  }
  #masthead #site-navigation {
    position: static;
    transition: top 0.3s;
    overflow: visible;
    width: fit-content;
    height: fit-content;
    transform: translateX(0);
    opacity: 1;
    z-index: 99;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    background: transparent;
    flex-wrap: nowrap;
  }
  #masthead #site-navigation li {
    font-size: clamp(8px, 1.3vw, 16px);
  }
  #masthead #site-navigation .sub-menu-title {
    white-space: nowrap;
    display: block;
    font-size: clamp(calc(8px * 1.2), calc(1.2vw* 1.2), calc(16px* 1.2));
  }
  #masthead .nav-list {
    display: flex;
    align-items: center;
    gap: 1.5em;
    padding: 0 1.8em;
    border-radius: 100px;
    box-shadow: var(--shadow-md);
    background: #fff;
    width: fit-content;
    font-size: clamp(8px, 1.3vw, 16px);
    height: 3em;
  }
  #masthead .nav-list a {
    transition: color 0.1s;
  }
  #masthead .nav-list a:hover {
    color: var(--wp--preset--color--accent-1);
  }
  #masthead .nav-list > li {
    font-size: clamp(8px, 1.3vw, 16px);
  }
  #masthead .nav-list > li > a {
    padding: 0;
    line-height: 3em;
  }
  #masthead .menu-item-has-children > .sub-menu {
    width: 95%;
    height: 0;
    overflow: hidden;
    position: absolute;
    margin-top: 1rem;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 12em auto;
    gap: 1em;
    background: #fff;
    box-shadow: var(--shadow-md);
    z-index: 100;
    border-radius: var(--wp--preset--spacing--50);
    box-sizing: content-box;
    transform: translateY(-10px);
    transition: max-height 0.6s ease, transform 0.6s ease;
  }
  #masthead .menu-item-has-children.open > .sub-menu {
    max-height: 500px;
    height: auto;
    transform: translateY(0);
    padding: clamp(var(--wp--preset--spacing--40), 5%, 5%);
  }
  #masthead .sub-menu-right .sub-menu-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1em;
    background: #fff;
  }
  #masthead .sub-menu li a:hover {
    color: var(--wp--preset--color--accent-1);
  }
  #masthead .sub-menu-title-en {
    display: block;
    color: #EADECC;
    font-family: var(--wp--preset--font-family--accentfont);
    line-height: 1.1;
    font-weight: bold;
    font-size: 2em;
  }
  #masthead .sub-menu-title-jp {
    display: block;
    font-weight: 700;
    font-size: inherit;
  }
  #masthead .header-button-s, #masthead .header-button-m {
    display: inline-flex;
    margin: 0;
    padding: 0;
    border: 0;
  }
  #masthead .header-button-m a, #masthead .header-button-s a, #masthead .header-button-s span {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--wp--preset--color--base-1);
    border-radius: 100px;
    height: 3em;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    width: fit-content;
    font-size: clamp(8px, 1.3vw, 16px);
    transition: box-shadow 0.3s ease;
  }
  #masthead .header-button-m a::after, #masthead .header-button-s a::after, #masthead .header-button-s span::after {
    content: "";
    position: absolute;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 0;
  }
  #masthead .header-button-m a:hover::after, #masthead .header-button-s a:hover::after, #masthead .header-button-s span:hover::after {
    animation: shine 0.8s forwards;
  }
  @keyframes shine {
    0% {
      right: -100%;
    }
    100% {
      right: 125%;
    }
  }
  #masthead .header-button-m a {
    background: var(--wp--preset--color--accent-1);
  }
  #masthead .header-button-s a, #masthead .header-button-s span {
    width: 3em;
    background: #ABA090;
    font-family: var(--wp--preset--font-family--accentfont);
    padding: 0;
  }
}
body.admin-bar #masthead {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar #masthead {
    top: 46px;
  }
}
