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

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);
}
body.is-fixed {
  position: fixed;
  left: 0;
}

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

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

@media (hover: none) {
  :where(a):active,
  :where(button):active {
    opacity: var(--hover-opacity);
  }
}

@media (hover: hover) {
  :where(a),
  :where(button) {
    transition: opacity var(--transition-default);
  }

  :where(a):hover,
  :where(button):hover {
    transition-duration: calc(var(--transition-duration) / 2);
    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%);
}

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

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

/* TODO: デバッグ用スタイル */
.u-dummy {
  display: grid;
  place-content: center;
  grid-auto-flow: column;
  align-items: center;

  aspect-ratio: 16 / 9;
  background-color: var(--color-project-bg);
  border-radius: .8rem;

  letter-spacing: .05em;

  & > b {
    margin-right: .5em;
    padding: .25em .5em;
    background-color: var(--color-emphasis);
    border-radius: .4rem;

    color: var(--color-white);
    font-weight: var(--fw-bold);
  }
}


/* ===============================================
  * 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__inner {
  width: 100%;
  margin-inline: auto;
  padding-bottom: 8rem;
}
@media screen and (min-width: 768px) {
  .global-contents__inner {
    width: min(90%, calc(var(--max-width-desktop) * .1rem));
    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-inline: auto;
  padding-inline: var(--padding-horizontal-global);
}

.global-content__fluid-wrapper--without-padding-mobile {
  width: var(--container-default);
  margin-inline: auto;

  @media (min-width: 768px) {
    padding-inline: var(--padding-horizontal-global);
  }
}

.global-content__fluid-wrapper--narrow {
  width: min(100%, calc((600 * .1rem) + calc(var(--padding-horizontal-global, 0) * 2)));
  margin-inline: auto;
  padding-inline: var(--padding-horizontal-global);
}

/*# sourceMappingURL=common_global.css.map */
