*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: rgb(51, 51, 51) url('./assets/background.gif') repeat 0 0;
  color: #fff;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: rgb(153, 204, 255);
}

a:hover {
  color: #fff;
}

.wrap {
  width: min(1040px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

.site-header-inner {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 10px 10px 10px #000;
  padding: 8px 16px;
}

.brand {
  display: inline-block;
  line-height: 0;
}

.brand img {
  width: 100px;
  height: 25px;
}

.button {
  display: inline-block;
  margin: 8px 0 16px;
  padding: 10px 18px;
  border-radius: 6px;
  background: rgb(51, 102, 153);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: rgb(51, 153, 204);
  color: #fff;
}

.button:focus-visible,
a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero {
  background-color: rgb(0, 0, 51);
  background-image: radial-gradient(rgba(51, 51, 102, 0) 0%, rgb(51, 51, 102));
  padding: 112px 0 72px;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: normal;
  line-height: 1.4;
}

.hero-copy {
  text-align: center;
}

.hero h1 img {
  display: block;
  width: min(100%, 420px);
  margin: 0 auto 12px;
}

.hero h1 span {
  display: block;
}

.hero-shot img {
  display: block;
  width: 100%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
}

.hero-message {
  margin-top: 40px;
  text-align: center;
}

.hero-lead {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: bold;
}

.hero-wait {
  margin: 0;
  font-size: 16px;
}

.features {
  padding: 32px 0;
}

.features-note {
  margin: 28px 0 0;
  font-size: 16px;
  text-align: center;
}

.features h2,
.faq h2 {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
}

.faq {
  padding: 32px 0;
}

.faq article {
  margin-top: 28px;
}

.faq h3 {
  margin: 0 0 12px;
  padding: 8px 16px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  font-size: 16px;
  font-weight: bold;
}

.faq p {
  margin: 0 0 8px;
  padding: 0 0 0 2em;
  font-size: 16px;
}

.faq p:last-child {
  margin-bottom: 0;
}

.card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 24px;
  padding: 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.card-reverse .card-text {
  order: 2;
}

.card-reverse .card-media {
  order: 1;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: bold;
}

.card p {
  margin: 0;
  font-size: 16px;
}

.card-media img {
  display: block;
  width: 100%;
}

.compare {
  position: relative;
}

.compare-new {
  animation: fade-new 5s linear infinite;
}

.card-media .compare-old {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fade-old 5s linear infinite;
}

@keyframes fade-new {
  0%, 40% { opacity: 0; }
  50%, 90% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes fade-old {
  0%, 40% { opacity: 1; }
  50%, 90% { opacity: 0; }
  100% { opacity: 1; }
}

.current {
  padding: 32px 0;
  text-align: center;
}

.current-block + .current-block {
  margin-top: 48px;
}

.text-20 {
  margin: 0 0 8px;
  font-size: 20px;
}

.button-with-note {
  margin: 0;
}

.button-with-note .button {
  margin-bottom: 4px;
}

.text-14 {
  margin: 0;
  font-size: 14px;
}

.site-footer {
  padding: 8px 0 40px;
  font-size: 14px;
  text-align: center;
}

.site-footer p {
  margin: 0 0 8px;
}

@media (min-width: 768px) {
  .site-header {
    margin-top: 20px;
  }

  .site-header-inner {
    width: min(1040px, calc(100% - 48px));
    margin-inline: auto;
    border-radius: 4px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 84px 0 48px;
  }

  .hero-top,
  .card {
    grid-template-columns: 1fr;
  }

  .card-reverse .card-text,
  .card-reverse .card-media {
    order: 0;
  }
}
