* {
  box-sizing: border-box;
}

html {
  height: auto;
  width: auto;
  background-color: #e4fbff;
}

a {
  text-decoration: none;
}

body {
  margin: 0px auto;
  overflow-x: hidden;
  max-width: 480px;
  background-color: #fff;
  position: relative;
}
.container {
  height: fit-content;
  position: relative;
}
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 16px;
}

.logo-header {
  width: 160px;
}

.header-cta {
  display: flex;
  width: 112px;
  padding: 4px 12px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  align-self: stretch;
  background-color: #004097;
}

.header-btn {
  display: flex;
  width: 100%;
  padding: 4px 4px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  align-self: stretch;
}

.header-btn-text {
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
}

.header-btn-arrow {
  width: 10px;
  height: 10px;
  transform: rotate(135deg);
  flex-shrink: 0;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.header-btn:hover {
  opacity: 0.8;
}

.img {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0; /* 行の高さを0に設定 */
  vertical-align: top;
}

img {
  width: 100%;
}

.main-visual {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.main-visual-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
}

.main-visual img.active {
  opacity: 1;
  z-index: 1;
}

.title {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.title-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 0px;
}

.title-img {
  height: 84px;
  width: 133.07px;
  flex-shrink: 0;
  aspect-ratio: 133.07 / 84;
}

.title-text {
  color: #002d6a;
  font-family: YuMincho, serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.img-container {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  aspect-ratio: 16 / 10;
}

.img-container-inner {
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.25);
}

.office-exparin {
  text-align: right;
  margin-top: 16px;
  color: #002d6a;
  font-family: YuMincho, serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.date-info {
  position: absolute;
  left: 16px;
  bottom: calc(3% + 56px + 16px);
  font-family: "Shippori Mincho", serif;
  color: #002d6a;
  filter: drop-shadow(0px 2px 8px rgba(256, 256, 256, 0.5));
}
.day-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.day-info-year {
  font-size: 24.8px;
  line-height: 1;
}

.day-info-day {
  font-size: 64px;
  line-height: 1;
}

.day-info-day-sub {
  font-size: 24px;
  line-height: 1;
  margin-left: -16px;
}

.time-info {
  margin-top: 4px;
  font-size: 28px;
  line-height: 1;
}
.ribbon {
  margin: 0 auto;
  color: #231815;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  margin-bottom: 8px;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.ribbon span {
  background-color: #00a5f2;
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  margin-right: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.btn-cover {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background-color: #00a5f2;
  border-radius: 42px;
  padding: 8px 16px;
  border: 2px solid #fff;
}

.fv-cta {
  position: absolute;
  bottom: 8%;
  left: 0;
  width: 100%;
  height: 56px;

  padding: 0px 16px;
}

.fv-btn {
  display: flex;
  width: 100%;
  height: 64px;
  padding: 4px 4px;
  border-radius: 40px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  align-items: center;
  transition: all 0.3s ease;
  border-radius: 42px;
  background: #00a5f2;
  border: 3px solid #00a5f2;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(3.1500000953674316px);
}

.fv-btn:hover {
  transform: translateY(2px);
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.25));
}

.fv-btn-text {
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  width: 100%;
  text-align: center;
}

.fv-btn-arrow {
  width: 10px;
  height: 10px;
  transform: rotate(135deg);
  flex-shrink: 0;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.fv-btn:hover {
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.25));
}

.about-cta {
  position: absolute;
  bottom: 2%;
  left: 0;
  width: 100%;
  padding: 0px 16px;
  padding-bottom: 40px;
}

.about-btn {
  display: flex;
  width: 100%;
  height: 64px;
  padding: 4px 4px;
  border-radius: 400px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  align-items: center;
  transition: all 0.3s ease;
  border-radius: 42px;
  background: #00a5f2;
  border: 3px solid #00a5f2;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(3.1500000953674316px);
}

.about-btn:hover {
  transform: translateY(2px);
}

.about-btn-text {
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  width: 100%;
  text-align: center;
  vertical-align: middle;
}

.about-btn-arrow {
  width: 10px;
  height: 10px;
  transform: rotate(135deg);
  flex-shrink: 0;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.detail-cta {
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 100%;
  height: 56px;

  padding: 0px 16px;
}

.detail-btn {
  display: flex;
  width: 100%;
  height: 64px;
  padding: 4px 4px;
  justify-content: space-between;
  align-items: center;
  border-radius: 2px;
  border: 3px solid #00a5f2;
  background: #00a5f2;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(3.1500000953674316px);
  transition: all 0.3s ease;
}

.detail-btn-text {
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  width: 100%;
  transition: all 0.3s ease;
}

.detail-btn-arrow {
  width: 10px;
  height: 10px;
  transform: rotate(135deg);
  flex-shrink: 0;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.detail-btn:hover {
  transform: translateY(2px);
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.25));
}

.detail-btn:hover .detail-btn-text {
  color: #fff;
}

.form {
  padding: 0px;
}

.form-container {
  padding: 24px 16px;
}

.cta-title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #1a326e;
  margin-top: 16px;
  margin-bottom: 40px;
  font-family: "Noto Sans JP", sans-serif;
}

.footer {
  background-color: #1a326e;
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 8px 0px;
}

@media (max-width: 500px) {
  .btn,
  .btn02 {
    bottom: 3%;
    border: 1px solid #e95513;
  }
  .btn {
    width: 280px;
  }
  .title-img-container {
    padding: 0px 16px;
    align-items: center;
    justify-content: center;
  }
  .title-text {
    display: inline-block;
    line-height: 1.4;
    width: auto;
    margin: 0 auto;
    text-align: center;
  }
}

.thanks-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  margin: 0;
  padding: 0;
  padding-left: 16px;
  padding-right: 16px;
}

.thanks-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}
.thanks-text {
  font-size: 16px;
  text-align: center;
}
.thanks-sub-title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #cd1010;
}

.thanks-btn {
  display: flex;
  width: 70%;
  height: 64px;
  padding: 12px 20px;
  border-radius: 400px;
  background: linear-gradient(
      284deg,
      #d5650c 1.29%,
      #ec640d 35.66%,
      #e95810 58.39%,
      #ba321b 79.54%,
      #85231d 107.03%
    ),
    rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(3.1500000953674316px);
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

.thanks-btn:hover {
  transform: translateY(2px);
  opacity: 0.8;
}
