/*-----------------------------------------------------
Reset
----------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:where([hidden]:not([hidden=until-found])) {
  display: none !important;
}

:where(html) {
  -webkit-text-size-adjust: none;
  color-scheme: dark light;
}

@supports not (min-block-size: 100dvb) {
  :where(html) {
    block-size: 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  :where(html:focus-within) {
    scroll-behavior: smooth;
  }
}
:where(body) {
  block-size: 100%;
  block-size: 100dvb;
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(textarea) {
  resize: vertical;
  resize: block;
}

:where(button, label, select, summary, [role=button], [role=option]) {
  cursor: pointer;
}

:where(:disabled) {
  cursor: not-allowed;
}

:where(label:has(> input:disabled), label:has(+ input:disabled)) {
  cursor: not-allowed;
}

:where(button) {
  border-style: solid;
}

:where(a) {
  text-underline-offset: 0.2ex;
}

:where(ul, ol) {
  list-style: none;
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}

:where(img, picture, svg) {
  max-inline-size: 100%;
  block-size: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

:where(h1, h2, h3) {
  line-height: calc(1em + 0.5rem);
}

:where(hr) {
  border: none;
  -webkit-border-before: 1px solid;
          border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}

:where(:focus-visible) {
  outline: 2px solid var(--focus-color, Highlight);
  outline-offset: 2px;
}

:where(.visually-hidden:not(:focus, :active, :focus-within, .not-visually-hidden)) {
  -webkit-clip-path: inset(50%) !important;
          clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  border: 0 !important;
}

img {
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
}

body {
  color: #333333;
  font-size: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-align: justify;
  text-justify: inter-ideograph;
  background: #fff;
}

/*-----------------------------------------------------
Common
----------------------------------------------------- */
b, strong, .bold {
  font-weight: 700;
}

a {
  text-decoration: none;
  color: #333333;
  transition: 0.3s;
}

#container {
  overflow: hidden;
}

.sp, .tb {
  display: none;
}

#contents {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
}

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

.flex .column {
  max-width: 550px;
  width: 48%;
  margin-top: 110px;
}

.flex p {
  font-size: 1.125em;
  text-align: center;
  margin-top: 20px;
}

.flex p strong {
  font-size: 1.438em;  
  font-weight: 400;
}

/*-----------------------------------------------------
Footer
----------------------------------------------------- */
footer {
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer a {
  display: block;
}
footer a::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 16px;
  background: url(../images/ic_arrow.svg) no-repeat;
  background-size: 100%;
  margin-right: 5px;
}

footer small {
  font-size: 0.625em;
  text-align: center;
  margin-top: 30px;
}

/*-----------------------------------------------------
Contents
----------------------------------------------------- */
h1 { 
  width: 100%;
  height: 100vh;
}

h1 img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

#message {
  padding: 85px 0 185px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#message h2 {
  font-size: 1.875em;
  color: #1a4899;
  letter-spacing: 0.2em;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 97px;
  background: url(../images/ic_logo.svg) no-repeat center center;
  background-size: 100px auto;
  width: 100%;
}

#message h3 {
  font-size: 1.875em;
  color: #1a4899;
  letter-spacing: 0.08em;
  line-height: 1.467em;
  margin-top: 60px;
  width: 100%;
  margin-left: 120px;
}

#message .flex {
  position: relative;
  width: 100%;
  margin-top: 30px;
}

#message .txt {
  max-width: 635px;
  width: 53%;
  margin-left: 120px;
}

#message .txt p {
  font-size: 1.125em;
  text-align: initial;
  line-height: 1.556em;
}

#message .txt p + p {
  margin-top: 40px;
  display: flex;
}

#message .txt p img {
  margin-left: 25px;
}

#message .img {
  max-width: 527px;
  width: 44%;
  position: absolute;
  right: -85px;
  top: 0;
}

#spirit {
  color: #fff;
  position: relative;
  display: block;
  padding: 140px 0 110px 0;
  z-index: 0;
}

#spirit::before {
  content: "";
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: 0 calc(50% - 50vw);
  background: url(../images/bg_spirit.png) no-repeat top center;
  background-size: cover;
  z-index: -1;
}

#spirit h2 img { 
  display: block;
  margin: 0 auto;
}

#spirit h2 + p {
  font-size: 1.125em;
  line-height: 1.556em;
  max-width: 960px;
  margin: 70px auto 0 auto;
}

#spirit #base {
  max-width: 960px;
  margin: 55px auto 0 auto;
}
#spirit h3 {
  font-size: 1.563em;
  text-align: center;
  letter-spacing: 0.1em;
  background: #29abe2;
  display: block;
  width: 100%;
  padding: 15px 0;
}

#spirit #base .column {
  max-width: 450px;
  margin-top: 40px;
}
.movie {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.movie iframe {
  width: 100%;
  height: 100%;
}


@media screen and (max-width: 1320px) {
  #message h3 {
    margin-left: 0;
  }

  #message .txt {
    margin-left: 0;
  }
  
  #message .img {
    position: static;
  }
}
/*-----------------------------------------------------
Hover
----------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {

}

/*-----------------------------------------------------
Tb
----------------------------------------------------- */
@media screen and (max-width: 960px) {
  h1 { 
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 5;
  }
  
  h1 img {
    height: auto;
    aspect-ratio: 6 / 5;
    object-fit: cover;
  }

  #message {
    padding: 85px 0 0 0;
  }
  
  #message h3 br {
    display: none;
  }
  
  #message .txt {
    max-width: initial;
    width: 100%;
  }
  
  #message .img {
    width: 100%;
    margin: 50px auto 0 auto;
  }
}



/*-----------------------------------------------------
SP
----------------------------------------------------- */
@media screen and (max-width: 600px) {
  .flex .column {
    max-width: 550px;
    width: 100%;
    margin: 90px auto 0 auto;
  }

  footer {
    height: 140px;
  }

  h1 { 
    width: 100%;
    height: auto;
    aspect-ratio: initial;
  }
  
  h1 img {
    aspect-ratio: initial;
    object-fit: cover;
  }

  #message {
    padding: 65px 0 0 0;
  }
  
  #message h3 {
    letter-spacing: 0;
    margin-top: 35px;
  }
  
  #message .flex {
    margin-top: 25px;
  }
  
  #message .img {
    max-width: inherit;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  
  #spirit {
    padding: 120px 0 100px 0;
  }
  
  #spirit h2 + p {
    margin: 40px auto 0 auto;
  }
  
  #spirit #base {
    margin: 95px auto 0 auto;
  }
  
  #spirit #base .column {
    margin-top: 40px;
  }
}