@charset "utf-8";

/* =========================================================
   01. Foundation
   - reset
   - variables
   - base
========================================================= */

/* Reset
--------------------------------------------------------- */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

hr {
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #ccc;
}

input,
select {
  vertical-align: middle;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Variables
--------------------------------------------------------- */
:root {
  --color-text: #222;
  --color-link: #0e6ab7;

  --font-base:
    "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN",
    "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;

  --container: 1200px;
  --container-wide: 1400px;
  --container-gutter: 15px;

  --bp-pc: 1080px;
  --bp-tab: 768px;
  --bp-sp-narrow: 428px;

  --transition-base: opacity 0.6s ease;
}

/* Base
--------------------------------------------------------- */
html {
  font-size: 62.5%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-text);
}

p,
li,
dl,
tr {
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.5;
}

a,
a * {
  color: inherit;
  font: inherit;
  text-decoration: none;
  transition: var(--transition-base);
  backface-visibility: hidden;
}

a:hover,
a:active {
  opacity: 0.7;
  text-decoration: none;
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: 700;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

br {
  line-height: inherit;
}

input[type="submit"] {
  appearance: none;
  border-radius: 0;
}

@media screen and (max-width: 767px) {
  body {
    font-size: 1.4rem;
  }
}

/* =========================================================
   02. Layout
   - containers
   - responsive display
========================================================= */

.content-inr {
  max-width: var(--container);
  margin-inline: auto;
}

.content-inr-wide {
  max-width: var(--container-wide);
  margin-inline: auto;
}

@media screen and (max-width: 1230px) {
  .content-inr {
    margin-inline: var(--container-gutter);
  }
}

@media screen and (max-width: 1430px) {
  .content-inr-wide {
    margin-inline: var(--container-gutter);
  }
}

/* Display switch
--------------------------------------------------------- */
.sp-display,
.tb-display,
.pc-none {
  display: none;
}

@media screen and (max-width: 1079px) {
  .tb-display,
  .pc-none {
    display: block;
  }

  .pc-display {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .sp-display,
  .pc-none {
    display: block;
  }

  .tb-display,
  .pc-display,
  .sp-none {
    display: none;
  }
}

/* =========================================================
   03. Utilities
   - text
   - float
   - spacing
   - flex
========================================================= */

/* Text
--------------------------------------------------------- */
.leftOn {
  text-align: left;
}

.rightOn {
  text-align: right;
}

.centerOn {
  text-align: center;
}

.inline {
  display: inline;
}

.inline-block {
  display: inline-block;
}

.txt-bold {
  font-weight: 700;
}

.txt-link {
  color: var(--color-link);
  text-decoration: underline;
}

.txt-link:hover {
  text-decoration: underline;
}

.sp-txt-left-cmn {
  text-align: center;
}

@media screen and (max-width: 428px) {
  .sp-txt-left-cmn {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }
}

:root {
  --space-sm: clamp(8px, 1.5vw, 12px);
  --space-md: clamp(16px, 2vw, 24px);
  --space-lg: clamp(24px, 4vw, 48px);
  --space-block: clamp(56px, 10.4vw, 144px);
}

/* Layout
--------------------------------------------------------- */
.row {
  display: flex;
  flex-wrap: wrap;
}
.stack {
  display: flex;
  flex-direction: column;
}

@media (max-width: 1023px) {
  .row {
    flex-direction: column;
  }
  .row.row-sp {
    flex-direction: row;
  }
}

/* Gap
--------------------------------------------------------- */
.stack-sm,
.row-sm {
  gap: var(--space-sm);
}

.stack-md,
.row-md {
  gap: var(--space-md);
}

.stack-lg,
.row-lg {
  gap: var(--space-lg);
}

/* Legacy spacing utilities
--------------------------------------------------------- */
.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-content-block {
  margin-bottom: var(--space-block);
}

/* =========================================================
   04. Components
   - media helpers
   - animation
========================================================= */

/* Object-fit helpers
--------------------------------------------------------- */
.ojf-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ojf-contain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ojf-cover,
.ojf-contain {
  aspect-ratio: 1 / 1;
}

/* Fade in
--------------------------------------------------------- */
.fadein-trigger {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.fadein-trigger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-text.is-visible span {
  opacity: 1;
  transform: translateY(0);
}
