@charset "UTF-8";

/*
 * 頻出ユーティリティ集（base）
 * プロジェクトで :root に --a-color, --font-color, --gray 等の CSS 変数を定義すること
 */

html {
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

/* Lenis 動作中は CSS smooth を切り二重補間を防ぐ */
html.lenis,
html.yab_lenis_ready {
  scroll-behavior: auto;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
}

a {
  /* color: var(--a-color, #2271b1); */
  word-wrap: break-word;
}

.fl,
.fix_fl {
  float: left;
}

.fr,
.fix_fr {
  float: right;
}

.fixed {
  position: fixed;
  top: 0;
  padding: 0;
  width: 100%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.tar {
  text-align: right;
}

.tal {
  text-align: left;
}

.tac {
  text-align: center;
}

.taj {
  text-align: justify;
}

.vertical_text {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.text-combine {
  -webkit-text-combine: horizontal;
  -ms-text-combine-horizontal: all;
  text-combine-upright: all;
}

.p0 {
  padding: 0;
}

.m0 {
  margin: 0;
}

/* --------------------------------------- flex --------------------------------------- */
.flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flex.column {
  flex-direction: column;
}

.flex.nowrap {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.flex.start {
  justify-content: flex-start;
}

.flex.end {
  justify-content: flex-end;
}

.flex.center {
  justify-content: center;
}

.flex.between {
  justify-content: space-between;
}

.flex.around {
  justify-content: space-around;
}

.flex.reverse {
  flex-direction: row-reverse;
}

.flex.v-start {
  align-items: flex-start;
}

.flex.v-end {
  align-items: flex-end;
}

.flex.v-center {
  align-items: center;
}

.flex.v-baseline {
  align-items: baseline;
}

.flex.v-stretch {
  align-items: stretch;
}

.flex.i-start {
  align-content: flex-start;
}

.flex.i-end {
  align-content: flex-end;
}

.flex.i-center {
  align-content: center;
}

.flex.i-between {
  align-content: space-between;
}

.flex.i-around {
  align-content: space-around;
}

.flex.gap025 {
  gap: 0.25rem;
}

.flex.gap050 {
  gap: 0.5rem;
}

.flex.gap075 {
  gap: 0.75rem;
}

.flex.gap100 {
  gap: 1rem;
}

.flex.gap125 {
  gap: 1.25rem;
}

.flex.gap150 {
  gap: 1.5rem;
}

.flex.gap200 {
  gap: 2rem;
}

.flex.gap250 {
  gap: 2.5rem;
}

.flex.gap1000 {
  gap: 1em;
}

.flex.gap2000 {
  gap: 2em;
}

/* --------------------------------------- grid --------------------------------------- */
.grid {
  display: grid;
  height: 100%;
}

.grid.lanes {
  display: grid-lanes;
}

.grid.columns_auto {
  grid-template-columns: repeat(auto-fill, minmax(0, 1fr));
}

.grid.columns1 {
  grid-template-columns: repeat(1, 1fr);
}

.grid.columns2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid.columns3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid.columns4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid.columns5 {
  grid-template-columns: repeat(5, 1fr);
}

.grid.columns6 {
  grid-template-columns: repeat(6, 1fr);
}

.grid.columns7 {
  grid-template-columns: repeat(7, 1fr);
}

.grid.columns8 {
  grid-template-columns: repeat(8, 1fr);
}

.grid.columns9 {
  grid-template-columns: repeat(9, 1fr);
}

.grid.columns10 {
  grid-template-columns: repeat(10, 1fr);
}

.grid.rows_auto {
  grid-template-rows: repeat(auto-fill, minmax(0, 1fr));
}

.grid.rows1 {
  grid-template-rows: repeat(1, 1fr);
}

.grid.rows2 {
  grid-template-rows: repeat(2, 1fr);
}

.grid.rows3 {
  grid-template-rows: repeat(3, 1fr);
}

.grid.rows4 {
  grid-template-rows: repeat(4, 1fr);
}

.grid.rows5 {
  grid-template-rows: repeat(5, 1fr);
}

.grid.rows6 {
  grid-template-rows: repeat(6, 1fr);
}

.grid.rows7 {
  grid-template-rows: repeat(7, 1fr);
}

.grid.rows8 {
  grid-template-rows: repeat(8, 1fr);
}

.grid.rows9 {
  grid-template-rows: repeat(9, 1fr);
}

.grid.rows10 {
  grid-template-rows: repeat(10, 1fr);
}

.grid.grid_padding1 {
  gap: 1px;
}

.grid.grid_padding2 {
  gap: 2px;
}

.grid.grid_padding3 {
  gap: 3px;
}

.grid.grid_padding4 {
  gap: 4px;
}

.grid.grid_padding5 {
  gap: 5px;
}

.grid.grid_padding6 {
  gap: 6px;
}

.grid.grid_padding7 {
  gap: 7px;
}

.grid.grid_padding8 {
  gap: 8px;
}

.grid.grid_padding9 {
  gap: 9px;
}

.grid.grid_padding10 {
  gap: 10px;
}

.grid.grid_padding1em {
  gap: 1em;
}

.grid.grid_padding2em {
  gap: 2em;
}

.grid.grid_padding3em {
  gap: 3em;
}

.grid.grid_padding4em {
  gap: 4em;
}

.grid.grid_padding5em {
  gap: 5em;
}

.grid.grid_padding6em {
  gap: 6em;
}

.grid.grid_padding7em {
  gap: 7em;
}

.grid.grid_padding8em {
  gap: 8em;
}

.grid.grid_padding9em {
  gap: 9em;
}

.grid.grid_padding10em {
  gap: 10em;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.sp480 {
  display: none;
}

.flex.pc {
  display: flex;
}

.flex.sp {
  display: none;
}

.inline.pc {
  display: inline;
}

.grid.pc {
  display: grid;
}

.grid.sp {
  display: none;
}

.hidden {
  display: none;
}

/* スクリーンリーダー用・視覚的に非表示 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sticky {
  position: sticky;
}

.pointer {
  cursor: pointer;
}

.not-allowed {
  cursor: not-allowed;
}

.cb {
  clear: both;
}

.oh {
  overflow: hidden;
}

.keep-all-break-word {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.nobr {
  display: inline-block;
}

*:has(.core) {
  position: relative;
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
}

.half_core {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  transform: translate(0, -50%);
}

.monitor_size {
  width: 100%;
  height: 100vh;
}

header {
  position: relative;
  z-index: 10;
}

button {
  padding: 0;
  margin: 0;
  border: 0px solid;
  background: none;
  cursor: pointer;
}

table {
  width: 100%;
  table-layout: fixed;
}

table th {
  padding: 5px;
  vertical-align: middle;
  border: 1px solid;
}

table td {
  padding: 5px;
  vertical-align: middle;
  border: 1px solid;
}

img,
object,
svg {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

img:not([alt]) {
  outline: 5px solid red;
}

video {
  width: 100%;
}

.scroll::-webkit-scrollbar {
  width: 10px;
  background: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: inset 0 0 2px #777;
}

.scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
  box-shadow: none;
}

@media screen and (max-width: 768px) {
  .fl {
    float: none;
  }

  .fr {
    float: none;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  .flex.pc {
    display: none;
  }

  .flex.sp {
    display: flex;
  }

  .inline.pc {
    display: none;
  }

  .inline.sp {
    display: inline;
  }

  .grid.pc {
    display: none;
  }

  .grid.sp {
    display: grid;
  }
}

@media screen and (max-width: 480px) {
  .sp480 {
    display: block;
  }
}

/*---------------------------------------フォント----------------------------------------*/
html {
  font-size: 62.5%;
}

body {
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.serif {
  font-family: var(--font-serif);
}

.sanserif {
  font-family: var(--font-sans);
}

input,
textarea {
  color: var(--font-color);
}

/* 対応ブラウザのみテキスト量に応じて伸縮（Chrome 等） */
textarea {
  field-sizing: content;
}

.bold {
  font-weight: bold;
}

.bold100 {
  font-weight: 100;
}

.bold200 {
  font-weight: 200;
}

.bold300 {
  font-weight: 300;
}

.bold400 {
  font-weight: 400;
}

.bold500 {
  font-weight: 500;
}

.bold600 {
  font-weight: 600;
}

.bold700 {
  font-weight: 700;
}

.bold800 {
  font-weight: 800;
}

.bold900 {
  font-weight: 900;
}

/*---------------------------------------フォントサイズ----------------------------------------*/
.fs06 {
  font-size: 0.6rem;
}

.fs07 {
  font-size: 0.7rem;
}

.fs08 {
  font-size: 0.8rem;
}

.fs09 {
  font-size: 0.9rem;
}

.fs10 {
  font-size: 1rem;
}

.fs11 {
  font-size: 1.1rem;
}

.fs12 {
  font-size: 1.2rem;
}

.fs13 {
  font-size: 1.3rem;
}

.fs14 {
  font-size: 1.4rem;
}

.fs15 {
  font-size: 1.5rem;
}

.fs16 {
  font-size: 1.6rem;
}

.fs17 {
  font-size: 1.7rem;
}

.fs18 {
  font-size: 1.8rem;
}

.fs19 {
  font-size: 1.9rem;
}

.fs20 {
  font-size: 2rem;
}

.fs21 {
  font-size: 2.1rem;
}

.fs22 {
  font-size: 2.2rem;
}

.fs23 {
  font-size: 2.3rem;
}

.fs24 {
  font-size: 2.4rem;
}

.fs08em {
  font-size: 0.8em;
}

.fs09em {
  font-size: 0.9em;
}

.fs11em {
  font-size: 1.1em;
}

.fs12em {
  font-size: 1.2em;
}

.fs13em {
  font-size: 1.3em;
}

.fs14em {
  font-size: 1.4em;
}

.fs15em {
  font-size: 1.5em;
}

.fs16em {
  font-size: 1.6em;
}

.fs17em {
  font-size: 1.7em;
}

.fs18em {
  font-size: 1.8em;
}

.fs19em {
  font-size: 1.9em;
}

.fs20em {
  font-size: 2em;
}

/*---------------------------------------レイアウト----------------------------------------*/
.mt1 {
  margin-top: calc(16px * 1);
}

.mt2 {
  margin-top: calc(16px * 2);
}

.mt3 {
  margin-top: calc(16px * 3);
}

.mt4 {
  margin-top: calc(16px * 4);
}

.mt5 {
  margin-top: calc(16px * 5);
}

.mt6 {
  margin-top: calc(16px * 6);
}

.mt7 {
  margin-top: calc(16px * 7);
}

.mt8 {
  margin-top: calc(16px * 8);
}

.mt9 {
  margin-top: calc(16px * 9);
}

.mt10 {
  margin-top: calc(16px * 10);
}

.mb1 {
  margin-bottom: calc(16px * 1);
}

.mb2 {
  margin-bottom: calc(16px * 2);
}

.mb3 {
  margin-bottom: calc(16px * 3);
}

.mb4 {
  margin-bottom: calc(16px * 4);
}

.mb5 {
  margin-bottom: calc(16px * 5);
}

.mb6 {
  margin-bottom: calc(16px * 6);
}

.mb7 {
  margin-bottom: calc(16px * 7);
}

.mb8 {
  margin-bottom: calc(16px * 8);
}

.mb9 {
  margin-bottom: calc(16px * 9);
}

.mb10 {
  margin-bottom: calc(16px * 10);
}

.mt1p {
  margin-top: 1%;
}

.mt2p {
  margin-top: 2%;
}

.mt3p {
  margin-top: 3%;
}

.mt4p {
  margin-top: 4%;
}

.mt5p {
  margin-top: 5%;
}

.mt6p {
  margin-top: 6%;
}

.mt7p {
  margin-top: 7%;
}

.mt8p {
  margin-top: 8%;
}

.mt9p {
  margin-top: 9%;
}

.mt10p {
  margin-top: 10%;
}

.mb1p {
  margin-bottom: 1%;
}

.mb2p {
  margin-bottom: 2%;
}

.mb3p {
  margin-bottom: 3%;
}

.mb4p {
  margin-bottom: 4%;
}

.mb5p {
  margin-bottom: 5%;
}

.mb6p {
  margin-bottom: 6%;
}

.mb7p {
  margin-bottom: 7%;
}

.mb8p {
  margin-bottom: 8%;
}

.mb9p {
  margin-bottom: 9%;
}

.mb10p {
  margin-bottom: 10%;
}

/*---------------------------------------z-index----------------------------------------*/
.z1 {
  z-index: 1;
}

.z2 {
  z-index: 2;
}

.z3 {
  z-index: 3;
}

.z4 {
  z-index: 4;
}

.z5 {
  z-index: 5;
}

.z6 {
  z-index: 6;
}

.z7 {
  z-index: 7;
}

.z8 {
  z-index: 8;
}

.z9 {
  z-index: 9;
}

.z10 {
  z-index: 10;
}

.z20 {
  z-index: 20;
}

.z30 {
  z-index: 30;
}

.z40 {
  z-index: 40;
}

.z50 {
  z-index: 50;
}

.z60 {
  z-index: 60;
}

.z70 {
  z-index: 70;
}

.z80 {
  z-index: 80;
}

.z90 {
  z-index: 90;
}

.z100 {
  z-index: 100;
}

/*---------------------------------------onetime-fadein----------------------------------------*/
.ot-fadein {
  opacity: 0;
}

.ot-fadein.fadein {
  opacity: 1;
}

.ot-slidein-top {
  margin-top: 5%;
}

.ot-slidein-top.slidein {
  margin-top: 0%;
}

.ot-slidein-bottom {
  margin-bottom: 5%;
}

.ot-slidein-bottom.slidein {
  margin-bottom: 0;
}

.ot-slidein-left {
  margin-left: 5%;
}

.ot-slidein-left.slidein {
  margin-left: 0;
}

.ot-slidein-right {
  margin-right: 5%;
}

.ot-slidein-right.slidein {
  margin-right: 0;
}

.duration01 {
  transition-duration: 0.1s;
}

.duration02 {
  transition-duration: 0.2s;
}

.duration03 {
  transition-duration: 0.3s;
}

.duration04 {
  transition-duration: 0.4s;
}

.duration05 {
  transition-duration: 0.5s;
}

.duration06 {
  transition-duration: 0.6s;
}

.duration07 {
  transition-duration: 0.7s;
}

.duration08 {
  transition-duration: 0.8s;
}

.duration09 {
  transition-duration: 0.9s;
}

.duration10 {
  transition-duration: 10s;
}

.delay01 {
  transition-delay: 0.1s;
}

.delay02 {
  transition-delay: 0.2s;
}

.delay03 {
  transition-delay: 0.3s;
}

.delay04 {
  transition-delay: 0.4s;
}

.delay05 {
  transition-delay: 0.5s;
}

.delay06 {
  transition-delay: 0.6s;
}

.delay07 {
  transition-delay: 0.7s;
}

.delay08 {
  transition-delay: 0.8s;
}

.delay09 {
  transition-delay: 0.9s;
}

.delay10 {
  transition-delay: 10s;
}

/*--------------------------------------- stagger_list（リスト／並列の一件ずつ入場） ----------------------------------------
 * 使い方: 親に class="stagger_list scroll_view wow"
 * 進入時: js/wow.js が子を 220ms 間隔で順に表示（jQuery.animate + .is_in）
 * 備考: prefers-reduced-motion でも連出する（サイト演出方針）
 */
.stagger_list > *,
.wow_list > * {
  opacity: 0;
  -webkit-transform: translateY(1.25em);
  transform: translateY(1.25em);
}

.stagger_list > *.is_in,
.wow_list > *.is_in {
  /* JS の animate が本体。ここはフォールバック */
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

/*--------------------------------------- 行クランプ・アスペクト比 ----------------------------------------*/
.line-clamp1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

/* object-fit（画像のトリミング） */
.cover {
  object-fit: cover;
}

.contain {
  object-fit: contain;
}
