* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Meiryo", "Noto Sans JP", sans-serif;
  color: #fff;
  background: #000;
  font-size: 14px;
}

a {
  color: inherit;
}



.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 107px;
  padding: 16px 40px;
  z-index: 20;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.95) 35%,
      rgba(0, 0, 0, 0.62) 52%,
      rgba(0, 0, 0, 0.34) 67%,
      rgba(0, 0, 0, 0.16) 82%,
      rgba(0, 0, 0, 0.06) 89%,
      rgba(0, 0, 0, 0) 100%);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-container a {
  text-decoration: none;
}

.header-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-logo img {
  display: block;
  height: auto;
  width: 220px;
}

.header-link {
  height: 100%;
  color: #fff;
  padding: 0 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  position: relative;
}

.header-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  bottom: -10px;
  width: 1px;
  background: #ffffff;
}

.section-anchor {
  scroll-margin-top: 80px;
}

/* Hero Section */

.hero {
  position: relative;
  background: linear-gradient(180deg, #013150 30%, #091738 100%);
  padding: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 0) 35%);
  z-index: 2;
  pointer-events: none;
}

.hero-wrapper {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-content img {
  width: min(100%, 430px);
  height: auto;
  display: block;
}

.hero-image {
  flex: 0 0 44%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -42px;
}

.hero-title {
  margin: 0;
  line-height: 1;
}

.hero-title img {
  width: 100%;
  height: auto;
  display: block;
  padding: 15% 13% 0 13%;
}

.hero-brand {
  margin: 0;
  line-height: 1;
}

.hero-brand img {
  width: 100%;
  height: auto;
  padding: 1% 13% 0 13%;
}


/* Story Section */

.story {
  padding: 80px 0 40px 0;
  background: black;
  max-width: 1280px;
  margin: 0 auto;
}

.story-container {
  margin: 0 auto;
  background-image: url("../img/story_car.jpg");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;

  padding: 0 40px 46% 40px;
}

.story-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;

}

.story-footer {
  text-align: right;
  margin-top: 20px;
  margin-right: 40px;
}

.story-footer p {
  margin: 0;
  font-size: 0.63rem;
  color: #c4c4c4
}


.story-title {
  margin: 0;
}

.story-title {
  margin: 0 auto;
  text-align: center;
}

.story-title img {
  width: min(100%, 400px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.story-message {
  margin: 0;
  font-size: clamp(1.25rem, 2.24vw, 1.69rem) !important;
  text-align: center;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
}

.story-big-message {
  margin: 0;
  font-size: min(70px, 4.2vw) !important;
  text-align: center;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
}


.story-dash {
  display: inline-block;
  height: 1em;
  width: 2em;
  margin: 0 0.1em;
  vertical-align: middle;
}

.story-break-2line {
  display: none;
}

.story-content {
  align-items: center;
}

.story-text {
  text-align: center;
}

.story-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.0rem, 1.7vw, 1.2rem);
  line-height: 1.6;
}

.story-image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}


/* Overview Section */

.overview {
  padding: 80px 40px;
  background: #1b3c54;
}

.overview-container {
  max-width: 1280px;
  margin: 0 auto;
}


.section-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: fit-content;
  margin: 0 0 32px;
  padding-left: 16px;
  text-align: left;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #A01717;
}

.section-subtitle {
  font-family: "Arial", sans-serif;
  font-weight: bold;
  margin: 0;
  color: rgba(255, 255, 255, 1);
  font-size: 0.75rem;
}

.section-title-text {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.1;
}

.mission-cards-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 60px;
}

.mission-card {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: #2C5674;
  padding: 0 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;

}

.mission-card h3 {
  margin: 28px 12px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: transparent;
  font-weight: 700;
  line-height: 1.15;
}

.mission-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  min-height: 27px;
  padding: 0 10px 0 25px;
  margin: -12px 0 -12px -19px;
  background: #183f5a;
  color: #fff;
  font-family: "Arial", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mission-title {
  display: inline-flex;
  flex-wrap: wrap;
  column-gap: 0;
  row-gap: 0.08em;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
}

.mission-title__chunk {
  display: inline-block;
  white-space: nowrap;
}

.mission-card>p {
  margin: 0;
  padding: 10px 18px 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.6;
}

.mission-card p {
  margin: 0;
}

.meta-grid {
  margin: 0 18px 22px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0;
  overflow: hidden;
}

.meta-grid div {
  display: grid;
  grid-template-columns: 165px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  background: #407194;
}

.meta-grid div:last-child {
  border-bottom: none;
}

.meta-grid dt {
  margin: 0;
  padding: 14px 18px;
  font-size: 0.88rem;
}

.meta-grid dd {
  margin: 0;
  padding: 14px 18px;
  font-size: 1rem;
}

.meta-grid dt {
  font-weight: bold;
  color: rgba(255, 255, 255, 1);
  background: #407194;
  position: relative;
}

.meta-grid dt::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  bottom: 12px;
  width: 1px;
  background: rgba(255, 255, 255, 0.6);
}

.meta-grid dd {
  color: #fff;
  font-weight: 700;
  background: #407194;
}

.icon-calendar {
  background-image: url("../img/icon_calendar.svg");
  background-repeat: no-repeat;
  background-position: left 0;
  background-size: 19px 19px;
  padding-left: 24px;
}

.icon-location {
  background-image: url("../img/icon_location.svg");
  background-repeat: no-repeat;
  background-position: left 0;
  background-size: 19px 19px;
  padding-left: 24px;
}

.icon-time {
  background-image: url("../img/icon_time.svg");
  background-repeat: no-repeat;
  background-position: left 0;
  background-size: 19px 19px;
  padding-left: 24px;
}

.icon-check {
  background-image: url("../img/icon_check.svg");
  background-repeat: no-repeat;
  background-position: left 0;
  background-size: 19px 19px;
  padding-left: 24px;
}

.mission-detail-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 10px 0 16px 17px;
}

.mission-detail-text img {
  width: 30%;
  height: auto;
  display: block;
}

.mission-prizes {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 10px 19px 16px 17px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 20px;
}

.mission-prize {
  text-align: center;
  flex: 1;
}

.mission-prize img {
  width: 100%;
}

.mission-subheading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 0 18px;
  font-size: 1rem;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mission-subheading::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #659BC6;
  flex-shrink: 0;
}

.note-text {
  margin: 0;
  font-size: 0.91rem;
  color: rgba(255, 255, 255, 0.78);
}

.facilities-grid {
  list-style: none;
  margin: 10px 18px 30px 18px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.facilities-grid li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding: 14px 12px;
  font-size: 0.85rem;
  text-align: center;
  background: #407194;
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}

.facilities-grid li::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  bottom: 18px;
  width: 1px;
  background: rgba(255, 255, 255, 0.6);
}

.facilities-grid li:nth-child(3n)::after {
  display: none;
}

.facilities-grid li:last-child {
  border-bottom: none;
}

.facilities-grid li a {
  color: #fff;
  text-decoration: underline;
  display: block;
}

.facility-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.facility-modal.is-open {
  display: block;
}

.facility-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 16, 0.84);
}

.facility-modal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 56px));
  height: calc(100vh - 56px);
  max-height: calc(100vh - 56px);
  height: calc(100dvh - 56px);
  max-height: calc(100dvh - 56px);
  margin: 28px auto;
  overflow: hidden;
  background: transparent;
}

.facility-modal__close {
  position: absolute;
  top: 10px;
  right: 26px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.facility-modal__close::before,
.facility-modal__close::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 7px;
  width: 1px;
  height: 30px;
  background: #ffffff;
}

.facility-modal__close::before {
  transform: rotate(45deg);
}

.facility-modal__close::after {
  transform: rotate(-45deg);
}

.facility-modal__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  min-height: 0;
  padding: 20px 0 calc(20px + env(safe-area-inset-bottom));
}

.facility-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 18px;
  padding-right: 16px;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.65) rgba(19, 37, 56, 0.55);
}

.facility-modal__body::-webkit-scrollbar {
  width: 10px;
}

.facility-modal__body::-webkit-scrollbar-track {
  background: rgba(19, 37, 56, 0.55);
}

.facility-modal__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  border: 2px solid rgba(19, 37, 56, 0.55);
}

.facility-modal__title {
  margin: 0 18px 14px;
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
}

.facility-floor {
  margin: 0 0 22px;
  border: 1px solid #2C5674;
  background: #8eb4d3;
}

.facility-floor__heading {
  margin: 0;
  padding: 8px 16px;
  background: #407194;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.facility-floor__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.facility-floor__item {
  border-top: 1px solid rgba(49, 83, 111, 0.55);
  padding: 8px 16px;
  color: #2C5674;
  background: #B7DCFA;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.25;
}

.facility-empty {
  margin: 0;
  padding: 16px;
  color: #d9e8f4;
  background: rgba(46, 79, 106, 0.7);
  font-size: 1.4rem;
}

.campaign-section {
  margin-bottom: 60px;
}

.campaign-title {
  margin-top: 0;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto 60px;
  width: min(100%, 300px);
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 4px;
  background: #c1272d;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
  width: 100%;
}

.action-button:hover {
  background: #a01e23;
}

.footer-content {
  text-align: center;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  margin-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo img {
  width: 33vw;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 8px;
}

.footer-logo a,
.footer-banner-item a {
  font-size: 0.8rem !important;
}

.footer-banner-image-link {
  display: inline-block;
  line-height: 0;
  transform: translateY(0);
  transition: transform 0.22s ease;
  vertical-align: top;
}

.footer-banner-image-link img {
  display: block;
  border-radius: 4px;
  box-shadow: 0 8px 18px -8px rgba(255, 255, 255, 0.48);
  transition: box-shadow 0.22s ease;
}

.footer-banner-image-link:hover,
.footer-banner-image-link:focus-visible,
.footer-logo:hover .footer-banner-image-link,
.footer-logo:focus-within .footer-banner-image-link,
.footer-banner-item:hover .footer-banner-image-link,
.footer-banner-item:focus-within .footer-banner-image-link {
  transform: translateY(3px);
}

.footer-banner-image-link:hover img,
.footer-banner-image-link:focus-visible img,
.footer-logo:hover .footer-banner-image-link img,
.footer-logo:focus-within .footer-banner-image-link img,
.footer-banner-item:hover .footer-banner-image-link img,
.footer-banner-item:focus-within .footer-banner-image-link img {
  box-shadow: 0 5px 12px -7px rgba(255, 255, 255, 0.32);
}

.footer-logo a {
  display: inline-block;
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
}

.footer-link {
  display: inline-block;
  margin-top: 0;
}


.footer-subheading {
  margin-bottom: 1em;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 1);
  font-weight: bold;
}

.footer-banner {
  display: flex;
  gap: 80px;
  justify-content: center;
  width: 100%;
}


.footer-banner-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-banner-item img {
  width: 33vw;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 8px;
}

.footer-banner-item .footer-banner-image-link {
  margin: 0 auto;
}

.footer-banner-item a {
  display: inline-block;
  font-size: 0.85rem;
  color: #fff;
  text-decoration: none;
}

.footer-logo:hover .footer-link,
.footer-logo:focus-within .footer-link,
.footer-banner-item:hover .footer-link,
.footer-banner-item:focus-within .footer-link {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.related-links {
  display: none;
}

.link-item {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.link-item:hover {
  border-color: #7de8ff;
  color: #7de8ff;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: #202020;
  padding: 20px 40px;
  text-align: left;
}

.site-footer p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}