@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  height: 100%;
  width: 100%;
  background-attachment: fixed;
}

html::before {
  content: '';
  display: block;
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff9bd;
}

@keyframes bgloop {
  from {
    background-position: -2000px 0;
  }
  to {
    background-position: 0 0;
  }
}

@font-face {
  font-family: 'sourceHansSans-jp';
  src: url('https://www.capcom-games.com/common/font/SourceHanSansJP-VF.otf.woff2') format('woff2-variations');
}


body {
  max-width: 750px;
  min-width: 375px;
  position: relative;

  display: flex;

  flex-direction: column;
  justify-content: center;
  gap: min(calc((100vw - 375px) / 375 * 16 + 16px), 32px) 0;
  margin: 0 auto;
  padding-bottom: 106px;

  color: #FFFFFF;

  font-family: 'sourceHansSans-jp', sans-serif;
  font-feature-settings: "palt";
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  background-attachment: fixed;
}

body::before {
  content: '';
  display: block;
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 750px;
  height: 100vh;
  background: url(../../img/campaign/summer2026/bg_outline.jpg) top center / cover no-repeat;
  margin: 0 auto;
}

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

header{
  position: relative;
  padding: 0px 0px 0;
  margin-top: -10vw;
  @media (750px < width) { margin-top: -80px; }
}

header img{
  width: 100%;
  height: auto;
}

header h2{
  position: absolute;
  top: 10%;
  right: 16px;
  font-size: 16px;
  font-weight: 700;
  width: 40%;
  @media (480px <= width <= 560px) { font-size: 20px; }
  @media (560px < width) { font-size: 24px; }
}

section{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: min(calc((100vw - 375px) / 375 * 16 + 16px),32px);/* 内側の余白 */
  padding: 0 min(calc((100vw - 375px) / 375 * 16 + 16px),32px);
}

section p {
  font-size: min(calc((100vw - 375px) / 375 * 16 + 16px),32px);
  line-height: 1.2;
  font-weight: 700;
}

a{
  text-decoration: none;
}

.appliInstall{
    width: 91.5%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: min(calc((100vw - 375px) / 375 * 16 + 16px),32px);
}
.appliInstall2{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.appliInstall3{
    width: 100%;
    margin: min(calc((100vw - 375px) / 375 * 16 + 16px),32px) auto;
    display: block;
}

a.noticeLink{
  color: #FFFFFF;
  font-size: 22px;
  line-height: 100%;
}


footer{
  padding: 0 min(calc((100vw - 375px) / 375 * 16 + 16px),32px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer div.innerFooter{
    display: flex;
    padding: min(calc((100vw - 375px) / 375 * 16 + 16px),32px) 0;
    flex-direction: column;
    align-items: center;
    gap: min(calc((100vw - 375px) / 375 * 16 + 16px),32px);
    width: 100%;

    border-radius: 16px;
    background: #0083B7;
}

footer img{
    width: 53%;
    max-width: 360px;
}

footer p{
    color: #FFFFFF;
    line-height: 120%;
    text-align: center;
    font-weight: 400;
    font-size: min(calc((100vw - 375px) / 375 * 16 + 16px),32px);
}
footer a p{
    line-height: 100%;
    font-size: min(calc((100vw - 375px) / 375 * 18 + 18px),36px);
}

footer p.copy{
    color: #FFFFFF;
    line-height: 120%;
    text-align: center;
}

a.btnInstallFixed{
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 750px;
  height: 74px;
  padding: 0;

  background: url(../../img/campaign/summer2026/installAppli.png) center;
  background-size: auto 100%;
  cursor: pointer;
  border: none;
}

/* ハンバーガーメニュー */

#nav-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 52px;
  height: 52px;
  cursor: pointer;
  z-index: 999;
  background: #0083B7;
  border: 3px solid #FFFFFF;
  border-radius: 8px;
}

#nav-toggle span {
  display: inline-block;
  position: absolute;
  right: 0;
  left: 0;
  height: 5px;
  width: 32px;
  margin: auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.6s ease-in-out, top 0.5s ease;
}
#nav-toggle span:nth-child(1) {
  top: 10.5px;
}
#nav-toggle span:nth-child(2) {
  top: 21.5px;
}
#nav-toggle span:nth-child(3) {
  top: 32.5px;
}

.open #nav-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.open #nav-toggle span:nth-child(2) {
  top: 14px;
  width: 0;
  left: 50%;
}
.open #nav-toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

#gloval-nav {
  background-color: rgba(0, 37, 52, .7);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  transform: translateX(-100%);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#gloval-nav a {
  display: block;
  color: #fff;
  padding: 26px 0;
  transition: color 0.6s ease;
  text-decoration: none;
}
#gloval-nav ul li {
  list-style: none;
  opacity: 0;
  transform: translateX(-200px);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
#gloval-nav ul li:nth-child(2) {
  transition-delay: 0.15s;
}
#gloval-nav ul li:nth-child(3) {
  transition-delay: 0.3s;
}
#gloval-nav ul li:nth-child(4) {
  transition-delay: 0.45s;
}

/* open */
.open {
  overflow: hidden;
}
.open #gloval-nav {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.6s;
}
.open #gloval-nav li {
  font-weight: bold;
  opacity: 1;
  transform: translateX(0);
  transition: transform 1s ease, opacity 0.9s ease;
}

#nav-toggle {
  z-index: 100;
}

#gloval-nav {
  z-index: 10;
}


/* 枠 */
.box {
  background: linear-gradient(to bottom, #78C7C2 0%, #AFD485 100%);
  padding: min(calc((100vw - 375px) / 375 * 6 + 6px), 12px);/* 内側の余白 */
  width: 100%;
  border-radius: 1rem;
}
.box_inner {
  position: relative;
  width: 100%;
  background-color: #fff;
  color: #0094CF;
  text-align: center;
  padding: min(calc((100vw - 375px) / 375 * 16 + 16px), 32px);/* 内側の余白 */
  margin: 0 auto;/* 外側の余白 */
  border-radius: 0.75rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(calc((100vw - 375px) / 375 * 16 + 16px), 32px);
  align-self: stretch;
}
.box_inner.bg_ptn {
  background: url(../../img/campaign/summer2026/bg_ptn.png) top center / 64px auto repeat #fff;
}
.box_head {
  position: absolute;
  width: 100vw;
  max-width: 750px;
  left: 50%;
  transform: translateX(-50%);
  right: 0;
  top: 0;
  margin: auto;
}


/* 規約 */

.box_rule p {
    font-size: min(calc((100vw - 375px) / 375 * 20 + 20px),40px);
    font-weight: 700;
}
.box_rule li {
    font-size: min(calc((100vw - 375px) / 375 * 14 + 14px),28px);
    text-align:left;
    margin-left: 1.5em;
    line-height: 1.4;
    font-weight: 400;
}
.box_rule li:not(:last-child) {
    margin-bottom: .5em;
}
.box_rule img {
    width: 100%;
}

/* 開催期間 枠 */

.box_period .box_inner {
  gap: min(calc((100vw - 375px) / 375 * 8 + 8px), 16px);
}
.box_period p {
    font-weight: bold;
    text-align: left;
}

.box_period .Imgterm{
    width: 50%;
}
.box_period img {
  display: block;
}

#section1 .box_inner, #section2 .box_inner {
  padding-top: min(calc((100vw - 375px) / 375 * 96 + 96px), 192px);
}

#section3 .box_inner {
  padding: min(calc((100vw - 375px) / 375 * 88 + 88px), 176px) min(calc((100vw - 375px) / 375 * 12 + 12px), 24px) min(calc((100vw - 375px) / 375 * 24 + 24px), 48px);
}
#section3 .pattern1 {
  position: relative;
}
#section3 .pattern1 a {
  width: min(42.6vw, 320px);
  position: absolute;
  top: 41%;
  left: 36.5%;
}
#section3 .pattern1 a img {
  margin: auto;
  width: 100%;
  max-width: 270px;
  height: auto;
}

