@charset "UTF-8";
:root {
  --max-width: 1200px;
  --max-width-narrow: 996px;
  --side-padding: 4%;
  --side-padding-home-sp: 4vw;
  --side-padding-home-pc: 3vw;
  --height-header-sp: 93px;
  --height-header-pc: 157px;
  --primary-color: #E40011;
  --gray-color: #ABB8C3;
  --white-color: #fff;
  --red-color: #C80000;
  --base-textcolor: #333;
  --gray-textcolor: #666;
  --lightgray-bgcolor: #F6F6F6;
  --fontsize-84: 5.25rem;
  --fontsize-80: 5rem;
  --fontsize-68: 4.25rem;
  --fontsize-56: 3.5rem;
  --fontsize-48: 3rem;
  --fontsize-44: 2.75rem;
  --fontsize-42: 2.625rem;
  --fontsize-40: 2.5rem;
  --fontsize-34: 2.125rem;
  --fontsize-32: 2rem;
  --fontsize-28: 1.75rem;
  --fontsize-26: 1.625rem;
  --fontsize-24: 1.5rem;
  --fontsize-22: 1.375rem;
  --fontsize-20: 1.25rem;
  --fontsize-18: 1.125rem;
  --fontsize-16: 1rem;
  --fontsize-14: 0.875rem;
  --fontsize-13: 0.8125rem;
  --fontsize-12: 0.75rem;
}

/* A (more) Modern CSS Reset */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

@media (width < 1160px) {
  html.is-globalNav-opened {
    position: fixed;
    width: 100%;
  }
}

body {
  font-family: "Noto Sans", "Noto Sans JP", "Noto Sans CJK JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: var(--fontsize-18);
  line-height: 1.6;
  color: var(--base-textcolor);
  margin: 0;
}
@media (width < 768px) {
  body {
    font-size: var(--fontsize-16);
  }
}
body:has(dialog[open]) {
  overflow: hidden;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.4;
  text-wrap: wrap;
}

ul {
  margin: 0;
  padding: 0;
}

figure {
  margin: 0;
}

img {
  display: inline-block;
  max-width: 100%;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease-out;
}

:focus:not(:focus-visible) {
  outline: none;
}

sup {
  position: relative;
  top: -0.5em;
  font-size: 0.75em;
  line-height: 0;
  vertical-align: baseline;
}

.main {
  position: relative;
  margin-bottom: 100px;
}
@media (width < 768px) {
  .main {
    margin-bottom: 84px;
  }
}
.main:has(.local-navi) {
  margin-bottom: 0;
}
.home .main {
  margin-bottom: 0;
}

.pc-only {
  display: block !important;
}

.pc-only-inline {
  display: inline !important;
}

.sp-only {
  display: none !important;
}

@media (width < 768px) {
  .pc-only {
    display: none !important;
  }
  .pc-only-inline {
    display: none !important;
  }
  .sp-only {
    display: block !important;
  }
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.js-scoll-fadein {
  opacity: 0;
  transition: opacity 1.6s ease-in-out 0.3s;
}
.js-scoll-fadein.is-visible {
  opacity: 1;
}

.js-scoll-fadein--from-bottom {
  transition: opacity 1.6s ease-in-out 0.3s, transform 1.6s ease-in-out 0.3s;
}
.js-scoll-fadein--from-bottom.is-visible {
  transform: translateY(0);
}

.js-scoll-fadein--from-left {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.6s ease-out 0.3s, opacity 1.6s ease-out 0.3s;
}
.js-scoll-fadein--from-left.is-visible {
  clip-path: inset(0 0 0 0);
}

.js-scoll-fadein--from-right {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.6s ease-out 0.3s, opacity 1.6s ease-out 0.3s;
}
.js-scoll-fadein--from-right.is-visible {
  clip-path: inset(0 0 0 0);
}