/* ==========================================================================
  Foundation
========================================================================== */
html,
body {
  overflow-x: hidden;
}

html {
  color: #545454;
  background-color: #fff;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: max(4.2666666667vw, 16px);
  font-weight: 500;
}
@media (800px <= width) {
  body {
    font-size: min(1.5vw, 18px);
  }
}

img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

figure {
  overflow: hidden;
}

button,
input {
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
}

a,
button,
input[type=button],
input[type=submit],
input[type=reset],
*[role=button] {
  display: inline-block;
  cursor: pointer;
}
a[aria-disabled=true], a:disabled,
button[aria-disabled=true],
button:disabled,
input[type=button][aria-disabled=true],
input[type=button]:disabled,
input[type=submit][aria-disabled=true],
input[type=submit]:disabled,
input[type=reset][aria-disabled=true],
input[type=reset]:disabled,
*[role=button][aria-disabled=true],
*[role=button]:disabled {
  cursor: not-allowed;
}

input[type=radio],
input[type=checkbox] {
  appearance: auto;
  accent-color: #cb191d;
}

input:-webkit-autofill {
  transition: background-color 50000s ease-in-out 0s;
  animation-name: onAutoFillStart;
}

fieldset,
legend {
  display: contents;
}

strong {
  font-weight: 700;
}

em {
  font-style: normal;
}

i {
  display: inline-block;
  font-style: normal;
  font-weight: 400;
}

details {
  cursor: pointer;
}

:is(header, footer, nav) a {
  white-space: nowrap;
  text-decoration: none;
}

.wp-block-post-content p a {
  word-break: break-all;
}

.clearfix {
  display: block;
}
.clearfix::before, .clearfix::after {
  clear: both;
  display: block;
  content: "";
}

@media (width < 800px) {
  .only--pc {
    display: none !important;
  }
}

@media (800px <= width) {
  .only--sp {
    display: none !important;
  }
}

@media ( <= width) {
  .only--sm {
    display: none !important;
  }
}

.text--warning {
  color: #ff0000;
}

/* ==========================================================================
  Program
========================================================================== */
.accordion__trigger + div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease-out;
}
.accordion__trigger + div[aria-hidden=false] {
  grid-template-rows: 1fr;
}
.accordion__trigger + div > div {
  overflow: hidden;
}

/* ==========================================================================
  Wrapper
========================================================================== */
.wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 100dvh;
  padding-top: max(17.0666666667vw, 64px);
  margin-inline: auto;
}
@media (800px <= width) {
  .wrap {
    padding-top: min(6.6666666667vw, 80px);
  }
}

/* ==========================================================================
  Header
========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 555;
  width: 100%;
  overflow-y: hidden;
  color: #000;
  background: #fff;
}
@media (width < 800px) {
  .header.--scroll-u {
    transform: translateY(calc(-1 * max(24vw, 90px) * 2));
  }
  .header.--scroll-d {
    animation: slide 0.3s linear;
  }
}
@keyframes slide {
  0% {
    transform: translateY(calc(-1 * max(24vw, 90px)));
  }
  100% {
    transform: translateY(0);
  }
}
@media (800px <= width) {
  .header {
    border-width: min(0.0833333333vw, 1px);
  }
  .header.--scroll-d, .header.--scroll-u {
    background: #fff !important;
  }
}
.header__inner {
  width: 100%;
  max-width: 100%;
  padding-inline: 0;
  margin-inline: 0;
  display: flex;
  gap: max(6.4vw, 24px);
  align-items: center;
  justify-content: space-between;
  height: max(17.0666666667vw, 64px);
  padding: max(6.4vw, 24px) max(5.3333333333vw, 20px);
}
@media (800px <= width) {
  .header__inner {
    gap: min(0.6666666667vw, 8px);
    height: min(6.6666666667vw, 80px);
    padding: min(2vw, 24px) min(2.6666666667vw, 32px);
  }
}
.header__area1, .header__area3 {
  flex-shrink: 0;
}
.header__area2 {
  flex-grow: 1;
}
.header__brand, .header__toggle {
  position: relative;
  z-index: 999;
}
.header__secondary {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 666;
}
.header__brand {
  margin-inline: auto;
}

.headerToggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: max(10.6666666667vw, 40px);
  height: max(10.6666666667vw, 40px);
  cursor: pointer;
}
.headerToggle__line {
  position: relative;
  display: block;
  width: max(6.4vw, 24px);
  height: max(4.8vw, 18px);
}
.headerToggle__line span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: max(0.5333333333vw, 2px);
  background: #cb191d;
  border-radius: 100vmax;
  transition: all 0.5s;
  transition-property: transform;
}
.headerToggle__line span:nth-child(1) {
  top: 0;
}
.headerToggle__line span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.headerToggle__line span:nth-child(3) {
  bottom: 0;
}
.headerToggle[aria-expanded=true] .headerToggle__line span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.headerToggle[aria-expanded=true] .headerToggle__line span:nth-child(2) {
  visibility: hidden;
}
.headerToggle[aria-expanded=true] .headerToggle__line span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.headerCta {
  display: flex;
  flex-direction: column;
  gap: max(2.1333333333vw, 8px);
  align-items: center;
  justify-content: center;
}
@media (800px <= width) {
  .headerCta {
    flex-direction: row;
    gap: min(0.6666666667vw, 8px);
  }
}
.headerCta__link {
  width: max(47.4666666667vw, 178px);
  padding: max(1.6vw, 6px);
  font-size: max(4vw, 15px);
  font-weight: 900;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  letter-spacing: 0.06em;
  background: #cb191d;
  border: max(0.5333333333vw, 2px) solid #cb191d;
  border-radius: 100vmax;
  box-shadow: 0 max(1.0666666667vw, 4px) 0 #a30004;
  transition: all 0.5s;
}
@media (800px <= width) {
  .headerCta__link {
    flex-direction: row;
    gap: min(0.6666666667vw, 8px);
    width: min(14.8333333333vw, 178px);
    padding: min(0.6666666667vw, 8px);
    font-size: min(1.25vw, 15px);
    border-width: min(0.1666666667vw, 2px);
    box-shadow: 0 min(0.3333333333vw, 4px) 0 #a30004;
  }
}
.headerCta__link:hover, .headerCta__link:focus-visible {
  box-shadow: none;
  transform: translateY(max(1.0666666667vw, 4px));
}
@media (800px <= width) {
  .headerCta__link:hover, .headerCta__link:focus-visible {
    transform: translateY(min(0.3333333333vw, 4px));
  }
}
.headerCta__link--document {
  color: #cb191d;
  background: #fff;
}

.globalNav__list {
  display: flex;
  gap: min(0.6666666667vw, 8px);
  justify-content: flex-end;
  width: 100%;
  font-size: min(1.25vw, 15px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}
.globalNav__list > li > a {
  display: block;
  padding: min(0.6666666667vw, 8px);
  white-space: nowrap;
  border-bottom: min(0.1666666667vw, 2px) solid transparent;
  transition: all 0.5s;
}
@media (800px <= width) {
  .globalNav__list > li > a {
    border-width: min(0.1666666667vw, 2px);
  }
}
.globalNav__list > li > a:hover, .globalNav__list > li > a:focus-visible, .globalNav__list > li > a[aria-current=page] {
  border-color: #cb191d;
}

.drawer__bg, .drawer__body {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  opacity: 0;
}
.drawer__bg {
  z-index: 666;
  background: rgba(0, 0, 0, 0.5);
}
.drawer__body {
  z-index: 777;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: max(19.2vw, 72px);
  overflow-y: auto;
  background: #fff;
  transition: all 0.5s;
}
.drawer[aria-hidden=false] .drawer__bg,
.drawer[aria-hidden=false] .drawer__body {
  left: 0;
  opacity: 1;
}
.drawer .buttonList--horizontal {
  margin-block: min(0.6666666667vw, 8px);
}

.drawerNav {
  padding: max(10.6666666667vw, 40px) max(10.6666666667vw, 40px);
  font-size: max(5.3333333333vw, 20px);
  font-weight: 700;
}
.drawerNav__list {
  display: flex;
  flex-direction: column;
  gap: max(12.8vw, 48px);
  align-items: center;
}

/* ==========================================================================
  Footer
========================================================================== */
.footer {
  padding: max(8.5333333333vw, 32px) max(8.5333333333vw, 32px) max(12.8vw, 48px);
  color: #000;
  background: #fff;
}
@media (800px <= width) {
  .footer {
    gap: 4.875rem;
    padding: 2rem 2rem 3rem;
    border-width: 0.0625rem;
  }
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: max(8.5333333333vw, 32px);
  margin-inline: auto;
}
@media (800px <= width) {
  .footer__inner {
    gap: 2rem;
    max-width: 42.5rem;
  }
}
.footer__copyright {
  font-size: max(3.2vw, 12px);
  text-align: center;
}
@media (800px <= width) {
  .footer__copyright {
    font-size: 0.75rem;
  }
}
.footer__brand {
  text-align: center;
}
.footer__brand .logo {
  display: inline-block;
}
.footer__brand .logo img {
  width: max(56vw, 210px);
}
@media (800px <= width) {
  .footer__brand .logo img {
    width: 13.125rem;
  }
}

/* ==========================================================================
  Container
========================================================================== */
.container {
  width: 87.2%;
  max-width: 1200px;
  margin-inline: auto;
}
@media (800px <= width) {
  .container {
    width: 98%;
    max-width: 1200px;
  }
}
.container--full {
  width: 100%;
  max-width: 100%;
  padding-inline: 0;
  margin-inline: 0;
}
.container--unit {
  display: flex;
  flex-direction: column;
  gap: max(9.6vw, 36px);
  padding-bottom: max(17.0666666667vw, 64px);
}
@media (800px <= width) {
  .container--unit {
    gap: 2.25rem;
    padding-bottom: 4.5rem;
  }
}

.cont-queries {
  container-type: inline-size;
}

/* ==========================================================================
  Common
========================================================================== */
.entry {
  padding-block: max(9.6vw, 36px);
}
@media (800px <= width) {
  .entry {
    padding-block: min(5.3333333333vw, 64px);
  }
}
.entry__header {
  margin-bottom: max(8.5333333333vw, 32px);
}
@media (800px <= width) {
  .entry__header {
    margin-bottom: min(2.6666666667vw, 32px);
  }
}
.entry__title {
  margin-block: max(8.5333333333vw, 32px);
  font-size: max(5.3333333333vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
@media (800px <= width) {
  .entry__title {
    margin-block: min(2.6666666667vw, 32px);
    font-size: min(2.6666666667vw, 32px);
  }
}
.entry__body {
  font-size: max(4.2666666667vw, 16px);
}
@media (800px <= width) {
  .entry__body {
    font-size: min(1.5vw, 18px);
  }
}
.entry__body p {
  line-height: 1.8;
}
.entry__body p + p {
  margin-top: 1em;
}
@media (800px <= width) {
  .entry__body p + p {
    margin-top: 2em;
  }
}

.button {
  width: 100%;
  padding: max(3.2vw, 12px);
  font-size: max(4.2666666667vw, 16px);
  font-weight: 900;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  letter-spacing: 0.06em;
  background: #cb191d;
  border: max(0.5333333333vw, 2px) solid #cb191d;
  border-radius: 100vmax;
  box-shadow: 0 max(1.0666666667vw, 4px) 0 #a30004;
  transition: all 0.5s;
}
@media (800px <= width) {
  .button {
    flex-direction: row;
    gap: min(0.6666666667vw, 8px);
    width: min(29.1666666667vw, 350px);
    padding: min(1.3333333333vw, 16px);
    font-size: min(1.5vw, 18px);
    border-width: min(0.1666666667vw, 2px);
    box-shadow: 0 min(0.3333333333vw, 4px) 0 #a30004;
  }
}
.button:hover, .button:focus-visible {
  box-shadow: none;
  transform: translateY(max(1.0666666667vw, 4px));
}
@media (800px <= width) {
  .button:hover, .button:focus-visible {
    transform: translateY(min(0.3333333333vw, 4px));
  }
}
.button[aria-disabled=true], .button:disabled {
  color: #626466;
  background: #f5f5f5;
  border-color: #b3b3b3;
}
.button[aria-disabled=true]:hover, .button[aria-disabled=true]:focus-visible, .button:disabled:hover, .button:disabled:focus-visible {
  color: #626466;
  background: #f5f5f5;
  border-color: #b3b3b3;
}
.button[aria-disabled=true]::before, .button[aria-disabled=true]::after, .button:disabled::before, .button:disabled::after {
  opacity: 0.4;
}

.buttonList {
  padding: 0;
  list-style-type: none;
}
.buttonList--horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: max(4.2666666667vw, 16px);
  align-items: center;
  justify-content: center;
  margin: max(8.5333333333vw, 32px) auto 0;
}
@media (800px <= width) {
  .buttonList--horizontal {
    gap: min(1.5vw, 18px);
    margin: min(2.6666666667vw, 32px) auto 0;
  }
}
.buttonList--vertical {
  display: flex;
  flex-direction: column;
  gap: max(4.2666666667vw, 16px);
  margin: max(8.5333333333vw, 32px) auto 0;
}
@media (800px <= width) {
  .buttonList--vertical {
    gap: min(1.5vw, 18px);
    align-items: center;
    margin: min(2.6666666667vw, 32px) auto 0;
  }
}