@charset "utf-8";

/* 基本設定 */

* {
  padding: 0;
  margin: 0;
}

:root {
  --color-white: #ffffff;
  --color-yellow: #fff100;
  --color-blue: #001e78;
  --color-light-blue: #c8d9e9;
}

html {
  scroll-behavior: smooth;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 62.5%;
}

body {
  color: var(--color-blue);
  overflow-x: clip;
  background-image: url(../img/bg.webp);
  background-position: center top;
  background-repeat: repeat;
  background-size: 100% auto;
}

p {
  text-align: start;
}

li {
  list-style: none;
}

/* 共通レイアウト */

main,
footer {
  width: 100%;
  max-width: none;
  position: relative;
  margin: 0 auto;
  text-align: center;
}

.campaign,
.terms,
.inquiry {
  width: calc(100% - 40px);
  max-width: 1166px;
  margin-inline: auto;
  text-align: center;
}

@media screen and (max-width: 750px) {
  .campaign,
  .terms,
  .inquiry {
    width: calc(100% - 40px);
  }
}

.campaign > .products,
.campaign > .apply {
  width: 100%;
  min-width: 0;
}

/* 共通パーツ・ボタン */

.hanging-note {
  padding-left: 1em;
  text-indent: -1em;
}

@media screen and (max-width: 750px) {
  .apply-button-note .hanging-note {
    font-size: 10px;
    line-height: 20px;
    letter-spacing: 0;
    font-weight: 700;
  }
}

a:not(.campaign-button) img {
  transition: filter 0.3s ease-in-out;
}

a:not(.campaign-button):hover img {
  filter: brightness(1.4);
}

.border {
  border: 10px solid var(--color-blue);
  border-radius: 82px;
  background-color: var(--color-white);
  @media screen and (max-width: 750px) {
    border: 5px solid var(--color-blue);
    border-radius: 30px;
  }
}

.apply-button-note {
  line-height: 20px;
  text-align: center;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  margin: 0 auto;
  margin-top: 43px;
  @media screen and (max-width: 750px) {
    font-size: 10px;
    margin-top: 20px;
  }
}

.apply-button-note p {
  text-align: center;
}

.apply-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  height: 160px;
  background-color: var(--color-yellow);
  text-align: center;
  @media screen and (max-width: 750px) {
    height: 80px;
  }
}

.apply-button a {
  border-top: 4px solid var(--color-blue);
  border-bottom: 4px solid var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 132px;
  @media screen and (max-width: 750px) {
    height: 66px;
    border-top: 2px solid var(--color-blue);
    border-bottom: 2px solid var(--color-blue);
  }
}

.apply-button a picture {
  display: flex;
  align-items: center;
  justify-content: center;
}

.apply-button a img {
  display: block;
  height: 60px;
  width: auto;
  @media screen and (max-width: 750px) {
    height: 30px;
    width: auto;
  }
}

.campaign-button {
  transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 520px;
  max-width: 100%;
  margin: 40px auto 32px;
  text-align: center;
  padding: 20px;
  background-color: var(--color-blue);
  color: var(--color-white);
  border-radius: 40px;
  box-shadow: 0 5px 0 var(--color-light-blue);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.08em;
  text-decoration: none;
  @media screen and (max-width: 750px) {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    font-size: 12px;
    line-height: 14.4px;
  }
}

.campaign-button:hover {
  filter: brightness(1.4);
  transform: translateY(5px);
}

.campaign-button__arrow {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: auto;
  @media screen and (max-width: 750px) {
    right: 20.92px;
    width: 8px;
  }
}

.campaign-button__arrow img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* キービジュアル */

.kv {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.kv-visual {
  position: relative;
  isolation: isolate;
}

.kv-visual img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin-inline: auto;
}

.kv-visual .kv-steam {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2500px;
  max-width: none;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  @media screen and (max-width: 750px) {
    display: none;
  }
}

.kv-image {
  position: relative;
}

/* キャンペーン・アンカーリンク */

.campaign > .border {
  --heading-overlap: 0px;
  --section-gap: 0px;
  display: flow-root;
  margin-top: calc(var(--heading-overlap) + var(--section-gap));
}

.campaign > .prize,
.campaign > .products,
.campaign > .apply {
  --section-gap: 70px;
  @media screen and (max-width: 750px) {
    --section-gap: 40px;
  }
}

@media screen and (min-width: 751px) {
  .campaign > .prize,
  .campaign > .products,
  .campaign > .apply {
    padding-bottom: 60px;
  }
}

.campaign > .border > h3 {
  position: relative;
  z-index: 1;
  line-height: 0;
  transform: translateY(-60%);
  margin-bottom: calc(-1 * var(--heading-overlap));
}

.campaign > .prize > :last-child,
.campaign > .products > :last-child,
.campaign > .apply > :last-child {
  margin-bottom: 0;
}

.campaign > .border > h3 img {
  display: block;
  width: 100%;
  max-width: 404px;
  height: auto;
  margin-inline: auto;
  @media screen and (max-width: 750px) {
    width: 40.5333333vw;
    max-width: 100%;
    height: auto;
  }
}

.anchor-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 2.57vw, 30px);
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
  margin-top: 36.38px;
}

.anchor-nav a {
  flex: 1;
  min-width: 0;
}

.anchor-nav img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 750px) {
  .campaign {
    margin-top: 20px;
    display: flow-root;
  }
}

@media screen and (max-width: 750px) {
  .anchor-nav {
    width: 100%;
    height: auto;
    margin-top: 0;
    gap: clamp(6px, 2vw, 15px);
  }
}

/* 賞品 */

.prize-image,
.prize-course {
  align-items: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 900px;
  margin-inline: auto;
  @media screen and (max-width: 750px) {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: clamp(24px, 8vw, 60px);
    max-width: 900px;
    margin-inline: auto;
  }
}

.prize-image {
  grid-template-columns: minmax(0, 195.1191px) minmax(0, 414.9006px);
  justify-content: center;
  gap: 120.97px;
  @media screen and (max-width: 750px) {
    grid-template-columns: minmax(0, 1fr);
    /* gap: clamp(20px, 6.87vw, 51.52px); */
    gap: 0;
  }
}

.prize-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.prize-image img[src="img/prize-image1.webp"] {
  max-width: 195.1191px;
  margin-inline: auto;
  @media screen and (max-width: 750px) {
    width: 67.0512%;
    max-width: none;
  }
}

.prize-image img[src="img/prize-image2.webp"] {
  max-width: 414.9006px;
  margin-inline: auto;
  @media screen and (max-width: 750px) {
    width: 64.4863%;
    max-width: none;
  }
}

.prize-course {
  grid-template-columns: minmax(0, 461.88px) minmax(0, 411.28px);
  justify-content: center;
  max-width: 979.01px;
  gap: 105.85px;
  margin-top: 64.72px;
  @media screen and (max-width: 750px) {
    margin-top: 32.63px;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
}

.prize {
  --prize-padding-block: 63.62px;
  padding: var(--prize-padding-block) 62px;
  @media screen and (max-width: 750px) {
    --prize-padding-block: 27.5px;
    padding: var(--prize-padding-block) 17px;
  }
}

.campaign > .prize > h3 {
  top: calc(-1 * var(--prize-padding-block));
}

.prize-description + .note {
  margin-top: 20px;
  @media screen and (max-width: 750px) {
    margin-top: 25px;
  }
}

.prize .note {
  font-size: 11px;
  line-height: 20px;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.prize-description {
  font-size: 20px;
  line-height: 36px;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-top: 38px;
  @media screen and (max-width: 750px) {
    font-size: 14px;
    line-height: 25px;
    margin-top: 32.19px;
  }
}

.prize-course img {
  display: block;
  width: 100%;
  height: auto;
}

.prize-course img[src="img/prize-course1.webp"] {
  max-width: 461.88px;
  margin-inline: auto;
  @media screen and (max-width: 750px) {
    max-width: 100%;
  }
}

.prize-course img[src="img/prize-course2.webp"] {
  max-width: 411.28px;
  margin-inline: auto;
  @media screen and (max-width: 750px) {
    max-width: 100%;
  }
}

/* 対象商品 */

.products {
  padding: 25px 11.5px;
}

.campaign > .products > h3 {
  top: -25px;
}

.products-content {
  display: grid;
  grid-template-columns: minmax(0, 355.9789fr) minmax(0, 436fr);
  width: 100%;
  max-width: 831.9789px;
  margin-inline: auto;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 3.43vw, 40px);
  @media screen and (max-width: 750px) {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

.products-details {
  min-width: 0;
  text-align: left;
  @media screen and (max-width: 750px) {
    display: contents;
  }
}

@media screen and (max-width: 750px) {
  .products-content .products-description {
    order: 2;
    text-align: left;
  }
}

@media screen and (max-width: 750px) {
  .products-content .products-note {
    order: 3;
    text-align: left;
    margin-top: 0;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 750px) {
  .products-content + .campaign-button {
    margin-top: 0;
  }
}

.products-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.products-content img[src="img/products1.webp"] {
  width: 100%;
  max-width: 355.9789px;
  @media screen and (max-width: 750px) {
    width: calc(100% - 35.4666667vw);
    max-width: none;
    order: 1;
    position: relative;
    z-index: 1;
    margin-top: -35px;
  }
}

.products-content img[src="img/products2.webp"] {
  width: 100%;
  max-width: 436px;
  @media screen and (max-width: 750px) {
    width: 100%;
    order: 0;
  }
}

.products-note {
  font-size: 10px;
  line-height: 34px;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.products-description {
  font-size: 18px;
  line-height: 33px;
  letter-spacing: 0.06em;
  font-weight: 900;
  @media screen and (max-width: 750px) {
    font-size: 14px;
    line-height: 25px;
    font-weight: 700;
  }
}

/* 応募方法 */

.apply img[src="img/apply1.webp"],
.apply img[src="img/apply2.webp"] {
  max-width: 100%;
}

.apply img[src="img/apply1.webp"] {
  display: block;
  margin: 28.78px auto 0;
  width: 671.8079px;
  height: auto;
  @media screen and (max-width: 994px) {
    width: 100%;
  }
  @media screen and (max-width: 750px) {
    margin-top: 16px;
  }
}

.apply img[src="img/apply2.webp"] {
  width: 830.3551px;
  height: auto;
  @media screen and (max-width: 994px) {
    width: 100%;
  }
}

.apply img[src="img/flow.webp"] {
  display: block;
  margin: 37.15px auto 0;
  width: 100%;
  max-width: 939.3639px;
  height: auto;
  @media screen and (max-width: 750px) {
    margin-top: 29.45px;
    width: 67.67792vw;
    max-width: 100%;
  }
}

.apply {
  --apply-padding: 103px;
  padding: var(--apply-padding) calc(var(--apply-padding) / 2);
  margin-bottom: 80px;
  @media screen and (max-width: 750px) {
    --apply-padding: 27.5px;
    margin-bottom: 53px;
  }
}

.campaign > .apply > h3 {
  top: calc(-1 * var(--apply-padding));
}

@media screen and (min-width: 751px) {
  .campaign > .apply > h3 {
    margin-bottom: calc(-1 * var(--heading-overlap) - 52px);
  }
}

.apply-description + .apply-note {
  margin-top: 30px;
  @media screen and (max-width: 750px) {
    margin-top: 20.5px;
  }
}

.apply-note {
  font-size: 14.04px;
  line-height: 21.06px;
  letter-spacing: 0;
  font-weight: 700;
  @media screen and (max-width: 750px) {
    font-size: 10px;
    line-height: 20px;
  }
}

.apply-break-sp {
  display: none;
}

@media screen and (max-width: 750px) {
  .apply-break-sp {
    display: inline;
  }
}

@media screen and (max-width: 750px) {
  .apply-break-pc {
    display: none;
  }
}

.apply-description {
  border-block: 4px solid var(--color-blue);
  padding-block: 26.22px;
  font-size: 22px;
  line-height: 29px;
  letter-spacing: 0.1em;
  font-weight: 900;
  text-align: center;
  @media screen and (max-width: 750px) {
    border-block-width: 3px;
    padding-block: 15.78px;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.08em;
  }
}

/* 応募規約・スクロール */

.terms {
  padding: 82px 91.5px;
  margin-top: 51px;
  @media screen and (max-width: 750px) {
    padding: 46.95px 11px;
    margin-top: 30px;
  }
}

.terms .section-subtitle + h2 {
  margin-top: 21.76px;
  @media screen and (max-width: 750px) {
    margin-top: 15.77px;
  }
}

.terms h2 {
  text-align: center;
  font-size: 38px;
  line-height: 38.89px;
  letter-spacing: 0.1em;
  font-weight: 900;
  @media screen and (max-width: 750px) {
    font-size: 22px;
    line-height: 22.52px;
  }
}

.terms .section-subtitle {
  text-align: center;
  font-size: 25px;
  line-height: 25.59px;
  letter-spacing: 0.08em;
  font-weight: 700;
  @media screen and (max-width: 750px) {
    font-size: 15px;
    line-height: 22px;
  }
}

.section-subtitle-break {
  display: none;
  @media screen and (max-width: 750px) {
    display: inline;
  }
}

.scroll {
  width: 100%;
  height: 329px;
  font-size: 15px;
  line-height: 30px;
  letter-spacing: 0.06em;
  font-weight: 400;
  @media screen and (max-width: 750px) {
    height: 390px;
    font-size: 13px;
    line-height: 25px;
    letter-spacing: 0.1em;
  }
  overflow-y: auto;
  margin: 20px 0 0;
  padding-inline: 6px;
  text-align: left;
  overflow-wrap: anywhere;
  background-color: var(--color-white);
  scrollbar-color: var(--color-blue) var(--color-white);
}

.scroll dt {
  margin-top: 30px;
  font-size: 20px;
  line-height: 35px;
  letter-spacing: 0.06em;
  font-weight: 900;
  @media screen and (max-width: 750px) {
    margin-top: 25px;
    font-size: 13px;
    line-height: 25px;
    letter-spacing: 0.1em;
  }
}

.scroll dd {
  margin: 0;
}

.scroll::-webkit-scrollbar {
  width: 3px;
}

.scroll::-webkit-scrollbar-track {
  background-color: var(--color-white);
}

.scroll::-webkit-scrollbar-thumb {
  background-color: var(--color-blue);
  border-radius: 5px;
}

/* お問い合わせ */

.inquiry {
  padding: 82px 91.5px;
  margin-top: 80px;
  @media screen and (max-width: 750px) {
    padding: 46.95px 11px;
    margin-top: 30px;
  }
}

@media screen and (min-width: 751px) {
  .inquiry h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-inline: 0;
    text-align: center;
  }
}

@media screen and (min-width: 751px) {
  .inquiry h2::before,
  .inquiry h2::after {
    content: "";
    flex: 1;
    border-top: 2px solid var(--color-blue);
  }
}

.inquiry h2 {
  font-size: 28px;
  line-height: 49px;
  letter-spacing: 0.1em;
  font-weight: 900;
  @media screen and (max-width: 750px) {
    font-size: 17px;
    line-height: 20px;
    letter-spacing: 0.08em;
  }
}

.inquiry h2 + p {
  margin-top: 39px;
  @media screen and (max-width: 750px) {
    margin-top: 33px;
  }
}

.inquiry p {
  font-size: 15px;
  line-height: 30px;
  letter-spacing: 0.16em;
  font-weight: 700;
  @media screen and (max-width: 750px) {
    font-size: 13px;
    line-height: 25px;
    letter-spacing: 0.06em;
  }
}

/* フッター */

footer {
  color: var(--color-white);
  font-size: 10px;
  line-height: 30px;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding-block: 40.56px 29.91px;
  @media screen and (max-width: 750px) {
    padding-block: 51.89px 29.19px;
  }
}

footer small {
  font-size: inherit;
}
