@charset "UTF-8";

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, em, img, ol, ul, li,
dl, dt, dd, section, header, footer, nav {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
ol, ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
em {
  font-style: normal;
}

/* ==========================================================================
   Base
   ========================================================================== */
:root {
  --color-text: #4b2814;
  --color-pink: #db6a8f;
  --color-blue: #1eb2ca;
  --color-caution: #e73357;
  --color-gray: #b3aea8;
  --color-bg: #fcfbf7;
  --font-base: YakuHanJP, "Open Sans", "M PLUS 1p", sans-serif;
  --font-en: "Open Sans", sans-serif;
  --content-width: 1080px;
}

html {
  scroll-behavior: smooth;
}
html, body {
  min-width: 320px;
}
body {
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
  background: var(--color-bg) url(../images/body_bg.png) left top / 200px 200px repeat;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

#container {
  overflow: hidden;
}

.pink {
  color: var(--color-pink);
}
.blue {
  color: var(--color-blue);
}

.caution {
  font-size: 12px;
  line-height: 1.9;
  color: var(--color-caution);
}

/* 背景装飾（コンテンツ枠の左右に配置。位置はページ中央からの距離で指定） */
#catch > .inner,
#product,
#update {
  position: relative;
}
.bg_item {
  position: absolute;
  z-index: 0;
  background: center / 100% 100% no-repeat;
  pointer-events: none;
}
.bg_item_l1 {
  top: 264px;
  left: calc(50% - 573px);
  width: 45.64px;
  height: 49.91px;
  background-image: url(../images/bg_item_l1.svg);
}
.bg_item_r1 {
  top: 330px;
  left: calc(50% + 567px);
  width: 76.24px;
  height: 412.55px;
  background-image: url(../images/bg_item_r1.svg);
}
.bg_item_l2 {
  top: -19px;
  left: calc(50% - 641px);
  width: 99.46px;
  height: 369.65px;
  background-image: url(../images/bg_item_l2.svg);
}
.bg_item_r2 {
  top: 25px;
  left: calc(50% + 616px);
  width: 2px;
  height: 285.49px;
  background-image: url(../images/bg_item_r2.svg);
}
.bg_item_l3 {
  top: -256px;
  left: calc(50% - 653px);
  width: 86.83px;
  height: 93.82px;
  background-image: url(../images/bg_item_l3.svg);
}
.bg_item_r3 {
  top: 277px;
  left: calc(50% + 604px);
  width: 2px;
  height: 478.34px;
  background-image: url(../images/bg_item_r3.svg);
}
.bg_item_l4 {
  top: 371px;
  left: calc(50% - 623px);
  width: 87.06px;
  height: 535.69px;
  background-image: url(../images/bg_item_l4.svg);
}

/* セクション見出し [ PRODUCT ] [ UPGRADE ] */
.section_box > .header h2 {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .3em;
  text-align: center;
  color: var(--color-gray);
}
.section_box > .header h2::before {
  content: "[ ";
}
.section_box > .header h2::after {
  content: " ]";
}

/* ==========================================================================
   Jumbotron
   ========================================================================== */
#jumbotron {
  position: relative;
  /* 画像比率（1920:1146）を上限に画面の高さへ収める。極端に低い画面では46vwを下限とする */
  height: max(min(59.6875vw, 100vh), 46vw);
  height: max(min(59.6875vw, 100svh), 46vw);
  overflow: hidden;
}
#jumbotron::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/header_bg.jpg) center / cover no-repeat;
  animation: jumbotron_bg 2.4s cubic-bezier(.2, .7, .2, 1) both;
}
#jumbotron .inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 4.7%;
}
#jumbotron .title {
  width: 42%;
}
#jumbotron .staff {
  width: 46.6%;
  margin-top: .5%;
}

@keyframes jumbotron_bg {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   Catch
   ========================================================================== */
#catch {
  padding-top: 22.7vw;
  background: url(../images/catch_bg.jpg) center top / 100% auto no-repeat;
}
#catch > .header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#catch .catch_a {
  width: min(1020px, 53.2vw);
}
#catch .catch_b {
  width: min(892px, 46.5vw);
  margin-top: min(38px, 2vw);
}
#catch > .inner {
  display: flex;
  max-width: var(--content-width);
  margin: 60px auto 0;
}
#catch .character {
  flex-shrink: 0;
  width: 375px;
}
#catch .text_wrap {
  margin-left: 65px;
  padding-top: 113px;
}
#catch .text_wrap > * + * {
  margin-top: 34px;
}
#catch .text {
  line-height: 2.4;
}
#catch .lead {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.6;
}
#catch .caution {
  margin-top: 40px;
}

/* ==========================================================================
   Product
   ========================================================================== */
#product {
  margin-top: 10px;
}
#product > .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  max-width: var(--content-width);
  margin: 40px auto 0;
}
#product .product_section h3 {
  margin-bottom: 26px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f3dde2;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--color-pink);
}
#product .product h3 {
  border-bottom-color: #cdebef;
  color: var(--color-blue);
}
#product .spec {
  grid-column: 1 / -1;
  margin-top: 30px;
}
#product dt {
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.6;
  color: var(--color-gray);
}
#product dd {
  margin: 10px 0 40px;
  font-size: 16px;
  line-height: 1.9;
}
#product dd:last-child {
  margin-bottom: 0;
}
#product .caution {
  margin-top: 16px;
}

/* ==========================================================================
   Update
   ========================================================================== */
#update {
  margin-top: 120px;
}
#update .update_catch {
  width: min(944px, 90%);
  margin: 50px auto 0;
}
#update > .inner {
  max-width: var(--content-width);
  margin: 60px auto 0;
}
#update .intro {
  display: flex;
  align-items: flex-start;
}
#update .sd {
  flex-shrink: 0;
  width: 325px;
  margin-left: 25px;
}
#update .sd img {
  animation: sd_float 4s ease-in-out infinite;
}
#update .intro .text_wrap {
  margin: 50px 0 0 80px;
}
#update .intro .text {
  line-height: 2.3;
}
#update .intro .caution {
  margin-top: 24px;
}

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

/* ダウンロード方法 */
#update .step_section {
  margin-top: 120px;
}
#update .step_title {
  margin-bottom: 40px;
  font-weight: 700;
  letter-spacing: .2em;
  text-align: center;
}
#update .step {
  display: flex;
  align-items: center;
}
#update .step + .step {
  margin-top: 22px;
}
#update .step .img {
  flex-shrink: 0;
  width: 408px;
  margin-left: 10px;
}
#update .step .text {
  margin-left: 40px;
  line-height: 2;
}
#update .step .num {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: .05em;
  line-height: 1.6;
  color: var(--color-gray);
}
#update .step a {
  text-underline-offset: 4px;
  transition: color .3s;
}
#update .step a:hover {
  color: var(--color-pink);
}
#update .step .note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--color-caution);
}

/* ==========================================================================
   Footer
   ========================================================================== */
#footer {
  padding: 110px 0 120px;
  text-align: center;
}
#footer .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#footer .pagetop {
  width: 90px;
  transition: transform .3s;
}
#footer .pagetop:hover {
  transform: translateY(-6px);
}
#footer .sns {
  margin-top: 60px;
  line-height: 1;
}
#footer .brand {
  width: 154px;
  margin-top: 40px;
  transition: opacity .3s;
}
#footer .brand:hover {
  opacity: .7;
}
#footer .copyright {
  margin-top: 30px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--color-gray);
}

/* ==========================================================================
   Animation（JS有効時のみ初期状態を隠す）
   ========================================================================== */
.js .anim {
  opacity: 0;
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--delay, 0s);
}
.js .anim_up {
  transform: translateY(40px);
}
.js .anim_left {
  transform: translateX(-60px);
}
.js .anim_right {
  transform: translateX(40px);
}
.js .anim_zoom {
  transform: scale(1.1);
  filter: blur(6px);
  transition-property: opacity, transform, filter;
}
.js .anim_pop {
  transform: scale(.85);
}
.js .anim.is_show {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  #jumbotron::before,
  #update .sd img {
    animation: none;
  }
  .js .anim {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ==========================================================================
   背景装飾：左右の余白に収まらない幅では非表示
   ========================================================================== */
@media (max-width: 1339px) {
  .bg_item {
    display: none;
  }
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1199px) {
  #catch > .inner,
  #product > .inner,
  #update > .inner {
    padding: 0 4vw;
  }
  #catch .character {
    width: 38%;
  }
  #catch .text_wrap {
    margin-left: 4vw;
    padding-top: 6vw;
  }
  #product > .inner {
    column-gap: 6vw;
  }
  #update .sd {
    width: 28%;
    margin-left: 0;
  }
  #update .intro .text_wrap {
    margin: 3vw 0 0 5vw;
  }
  #update .step .img {
    width: 40%;
    margin-left: 0;
  }
  #update .step .text {
    margin-left: 4vw;
  }
  #catch .text br,
  #update .intro .text br,
  #update .caution br {
    display: none;
  }
}

/* ==========================================================================
   SP
   ========================================================================== */
@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
  .caution {
    font-size: 11px;
  }

  /* Jumbotron */
  #jumbotron {
    height: auto;
    aspect-ratio: 375 / 520;
  }
  #jumbotron::before {
    background-position: 52% center;
  }
  #jumbotron .inner {
    padding-bottom: 8vw;
  }
  #jumbotron .title {
    width: 86%;
  }
  #jumbotron .staff {
    width: 94%;
    margin-top: 2vw;
  }

  /* Catch */
  #catch {
    padding-top: 56vw;
    background-size: 190% auto;
  }
  #catch .catch_a {
    width: 94%;
  }
  #catch .catch_b {
    width: 92%;
    margin-top: 3vw;
  }
  #catch > .inner {
    flex-direction: column;
    margin-top: 24px;
    padding: 0 20px;
  }
  #catch .character {
    width: 64%;
    margin: 0 auto;
  }
  #catch .text_wrap {
    margin-left: 0;
    padding-top: 30px;
  }
  #catch .text_wrap > * + * {
    margin-top: 24px;
  }
  #catch .text {
    line-height: 2;
  }
  #catch .lead {
    font-size: min(18px, 4.4vw);
    letter-spacing: 0;
  }
  #catch .caution {
    margin-top: 28px;
  }

  /* Product */
  #product {
    margin-top: 60px;
  }
  #product > .inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  #product .product {
    margin-top: 50px;
  }
  #product .spec {
    margin-top: 50px;
  }
  #product dd {
    margin-bottom: 22px;
    font-size: 15px;
  }

  /* Update */
  #update {
    margin-top: 80px;
  }
  #update .update_catch {
    width: 92%;
    margin-top: 24px;
  }
  #update > .inner {
    padding: 0 20px;
  }
  #update .intro {
    flex-direction: column;
    align-items: center;
  }
  #update .sd {
    width: 60%;
  }
  #update .intro .text_wrap {
    margin: 24px 0 0;
  }
  #update .intro .text {
    line-height: 2;
  }
  #update .step_section {
    margin-top: 50px;
  }
  #update .step_title {
    margin-bottom: 24px;
    letter-spacing: .1em;
  }
  #update .step {
    flex-direction: column;
    align-items: stretch;
  }
  #update .step + .step {
    margin-top: 36px;
  }
  #update .step .img {
    width: 100%;
  }
  #update .step .text {
    margin: 12px 0 0;
  }
  #update .step .num {
    font-size: 20px;
  }

  /* Footer */
  #footer {
    padding-top: 80px;
  }
  #footer .pagetop {
    width: 70px;
  }
  #footer .brand {
    width: 130px;
  }
  #footer .copyright {
    padding: 0 20px;
    font-size: 9px;
  }
}
