@charset "UTF-8";

/* ===============================================
  * Common Styles - サイト全体で共通のスタイル *
=============================================== */

/* ===============================================
  * Foundation *
=============================================== */

@media (min-width: 768px) {
  :root {
    --container-default: min(100%, calc(var(--design-default-width, 114rem) + (var(--padding-horizontal-global) * 2)));
  }
}

html {
  font-size: 62.5%;
  overflow-y: scroll;
}

@media screen and (min-width: 768px) {
  html {
    font-size: 10px;
  }
}

html[data-scroll-fixed=active] {
  overflow: hidden;
}

@media (min-width: 768px) and (max-width: 1199px) {
  html {
    font-size: calc(10 * 100vw/1200);
  }
}

body {
  width: 100%;
  color: var(--color-text-default);
}

body.is-fixed {
  position: fixed;
  left: 0;
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

:where(a) {
  color: var(--color-textlink, inherit);
}


/* ===============================================
  * Utilities *
=============================================== */

.u-visually-hidden {
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip-path: inset(0px 0px 99.9% 99.9%);
}

/* Responsive */
.u-hidden {
  display: none !important;
}

@media (min-width: 375px) {
  .u-hidden-sm-up {
    display: none !important;
  }
}

@media (max-width: 374px) {
  .u-hidden-sm-down {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .u-hidden-md-up {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .u-hidden-md-down {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .u-hidden-lg-up {
    display: none !important;
  }
}

@media (max-width: 1279px) {
  .u-hidden-lg-down {
    display: none !important;
  }
}

@media (min-width: 1500px) {
  .u-hidden-xl-up {
    display: none !important;
  }
}

@media (max-width: 1499px) {
  .u-hidden-xl-down {
    display: none !important;
  }
}

@media (min-width: 1700px) {
  .u-hidden-xxl-up {
    display: none !important;
  }
}

@media (max-width: 1699px) {
  .u-hidden-xxl-down {
    display: none !important;
  }
}

/* エリアを非表示にする. */
.u-hidden-area:not(:has(.u-hidden-area--target)),
.u-hidden-area:has(.u-hidden-area--target:empty) {
  display: none !important;
}


/* ===============================================
  * Animation *
=============================================== */

[data-animation-type] {
  --animation-hover: 150ms ease-in;
}

@media screen and (min-width: 768px) and (hover: none) {
  [data-animation-type=text-underline] {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  [data-animation-type=text-underline]:active {
    text-decoration: underline !important;
  }
}

@media screen and (min-width: 768px) and (-ms-high-contrast: none),
screen and (min-width: 768px) and (-ms-high-contrast: active),
screen and (min-width: 768px) and (-moz-touch-enabled: 0),
screen and (min-width: 768px) and (hover: hover) {
  [data-animation-type=text-underline]:hover {
    text-decoration: underline !important;
  }
}

[data-animation-type=opacity] {
  transition: opacity var(--animation-hover);
}

@media (prefers-reduced-motion: reduce) {
  [data-animation-type=opacity] {
    transition: none;
  }
}

@media (hover: none) {
  [data-animation-type=opacity] {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  [data-animation-type=opacity]:active {
    opacity: var(--hover-opacity);
  }
}

@media (-ms-high-contrast: none),
(-ms-high-contrast: active),
(-moz-touch-enabled: 0),
(hover: hover) {
  [data-animation-type=opacity]:hover {
    opacity: var(--hover-opacity);
  }
}

[data-animation-type=image-circle] {
  display: grid;
  place-content: center;
  border-radius: 4px;
  transition: border-radius var(--animation-hover), background var(--animation-hover);
}

@media (prefers-reduced-motion: reduce) {
  [data-animation-type=image-circle] {
    transition: none;
  }
}

@media (hover: none) {
  [data-animation-type=image-circle] {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  [data-animation-type=image-circle]:active {
    background-color: var(--color-gray-500);
    border-radius: 50%;
  }
}

@media (-ms-high-contrast: none),
(-ms-high-contrast: active),
(-moz-touch-enabled: 0),
(hover: hover) {
  [data-animation-type=image-circle]:hover {
    background-color: var(--color-gray-500);
    border-radius: 50%;
  }
}

[data-animation-type=image-circle]>* {
  transition: scale var(--animation-hover);
}

@media (prefers-reduced-motion: reduce) {
  [data-animation-type=image-circle]>* {
    transition: none;
  }
}

@media (hover: none) {
  [data-animation-type=image-circle] {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  [data-animation-type=image-circle]:active>* {
    scale: 0.8;
  }
}

@media (-ms-high-contrast: none),
(-ms-high-contrast: active),
(-moz-touch-enabled: 0),
(hover: hover) {
  [data-animation-type=image-circle]:hover>* {
    scale: 0.8;
  }
}


/* ===============================================
  * Layout *
=============================================== */

.l-body {
  display: grid;
  grid-template-rows: auto 1fr auto;

  width: 100%;
  min-height: 100svh;
}

.l-contents__inner {
  width: 100%;
  margin-inline: auto;
  padding-bottom: 8rem;
}

@media screen and (min-width: 768px) {
  .l-contents__inner {
    width: min(90%, var(--design-max-width, 114rem));
    padding-bottom: 10rem;
  }
}

.l-content__fluid-wrapper {
  width: var(--container-default);
  margin: auto;
  padding-right: var(--padding-horizontal-global);
  padding-left: var(--padding-horizontal-global);
}

.l-content__fluid-wrapper--large {
  width: min(100%, calc(var(--design-max-width, 114rem) + (var(--padding-horizontal-global) * 2)));
}

.l-section--full {
  width: 100%;
}

@media (max-width: 767px) {
  .l-section--full .l-content__fluid-wrapper {
    padding-inline: 0;
  }

  :where(.l-section--full .l-content__fluid-wrapper) .c-heading__text {
    margin-bottom: 3rem;
    padding-inline: var(--padding-horizontal-global);
  }
}

@media (min-width: 768px) {
  :where(.l-section--full .l-content__fluid-wrapper) .c-heading__text {
    margin-bottom: 4rem;
  }
}


/* ===============================================
  * JavaScript Element *
=============================================== */

/* JavaScript Element - Tabpanel */

.js-toggleTabPanel:not(.js-toggleSplideTabPanel) :where([role="tabpanel"][aria-hidden="true"]) {
  display: none;
}

.js-toggleTabPanel.js-toggleSplideTabPanel .c-tab-panel__panel[role="tabpanel"][aria-hidden="true"] {
  display: none;
}


/* JavaScript Element - Discount Rate */

.js-discountrate:empty {
  display: none;
}
