@charset "UTF-8";
/* ===============================================
  * Common Styles - サイト全体で共通のスタイル *
=============================================== */
/* ===============================================
  * Base *
=============================================== */
:root {
  --padding-horizontal-global: 4%;
}
@media screen and (min-width: 768px) {
  :root {
    --container-default: min(100%, calc(120rem + (var(--padding-horizontal-global) * 2)));
    --padding-horizontal-global: min(calc(40 / 1400 * 100%), 4rem);
  }
}

html {
  font-size: 62.5%;
  overflow-y: scroll;
  scroll-behavior: smooth;
  scroll-padding-top: var(--height-header);
}
@media screen and (min-width: 768px) {
  html {
    font-size: 10px;
  }
}
html[data-scroll-fixed=active] {
  overflow: hidden;
}
html:has(input[type=email]:focus), html:has(input[type=number]:focus), html:has(input[type=password]:focus), html:has(input[type=search]:focus), html:has(input[type=tel]:focus), html:has(input[type=text]:focus), html:has(input[type=url]:focus) {
  scroll-padding: initial !important;
}

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

  color: var(--color-text-default);
  font-family: var(--font-main);
  letter-spacing: var(--ls-regular);
  line-height: var(--lh-regular);
}
body.is-fixed {
  position: fixed;
  left: 0;
}

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

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

:where(a, button) {
  transition: opacity var(--transition-duration) var(--transition-timing-function);
  -webkit-tap-highlight-color: transparent; /* iOSでのタップ時のハイライトを無効化 */
  touch-action: manipulation; /* ダブルタップによるズームを無効化し、クリックの反応を速める */
  cursor: pointer;
}

/* アクセシビリティ考慮 */
@media (prefers-reduced-motion: reduce) {
  :where(a, button) {
    transition: none;
  }
}

/* ポインティングデバイス（マウス等）向けのスタイル */
@media (hover: hover) {
  :where(a, button):hover {
    opacity: var(--hover-opacity);
  }
}

/* フォーカス時のスタイル（全デバイス共通） */
:where(a, button):focus-visible {
  opacity: var(--hover-opacity);
  /* 以下、アクセシビリティ考慮 */
  /* outline: 2px solid var(--color-primary); */
  /* outline-offset: 2px; */
}

/* アクティブ時のスタイル（全デバイス共通） */
:where(a, button):active {
  opacity: var(--hover-opacity);
}


/* ===============================================
  * 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%);
}
.u-hidden {
  display: none !important;
}
.u-hidden-area:not(:has(.u-hidden-area--target)),
.u-hidden-area:has(.u-hidden-area--target:empty) {
  display: none !important;
}
.u-ff--ja {
  font-family: var(--font-ja);
  letter-spacing: var(--ls-ja);
}
.u-ff--en {
  font-family: var(--font-en);
  letter-spacing: var(--ls-en);
}

/* ===============================================
  * 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 (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 (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 (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 *
=============================================== */
.global-contents {
  display: grid;
  grid-template-rows: 1fr auto;
}
.global-contents__inner {
  width: 100%;
  margin-inline: auto;
  padding-bottom: 8rem;
}
@media screen and (min-width: 768px) {
  .global-contents__inner {
    width: min(90%, 120rem);
    padding-bottom: 10rem;
  }
}

.global-container {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
}

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


/* ===============================================
  * JavaScript Elements *
=============================================== */

/* 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;
}
