@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:500,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');

/* MediaQuery = SP => Tablet(540px) => PC(1024px) */
/* 1em = 1vw */

/* -------------------------
  root設定
------------------------- */
:root {
  font-size: 62.5%;

  /* カラー変数 */
  --color_main:           hsl(0, 0%, 100%);
  --color_base:           #BFE3F7;
  --color_baseRGB:        255, 255, 255;
  --color_baseHalf:       rgb(194, 26, 0);
  --color_baseHalfRGB:    194, 26, 0;
  --color_baseDark:       rgb(163, 22, 0);
  --color_baseDarkRGB:    163, 22, 0;
  --color_accent:         #C09A5E;
  --color_accentRGB:      192, 154, 94;
  --color_accentDark:     #996515;
  --color_accentDarkRGB:  153, 101, 21;
  --color_links:          #039be5;
  --color_text:           #110D40;

  /* フォントファミリー変数 */
  --font_family_ENG: "Inter", "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", sans-serif;
  --font_weight_ENG: 700;
  
  /* border-radius変数 */
  --radius_xs:   3px;
  --radius_sm:   6px;
  --radius_md:   8px;
  --radius_lg:  12px;
  --radius_xl:  24px;

  /* line-height変数 */
  --line_height_sm:  1.3;
  --line_height_md:  1.5;
  --line_height_lg:  1.7;
  --line_height_xl:  2.0;
  --line_height_2xl: 2.2;

  /* サイズ変数 */
  --header_height: 40px;
  --contents__maxWidth: 100%;

 /* フォントサイズ変数 */
  --font_size_xs:   1.3vw;
  --font_size_sm:   1.4vw;
  --font_size_md:   1.6vw;
  --font_size_lg:   2.0vw;
  --font_size_xl:   2.4vw;
  --font_size_2xl:  3.0vw;
  --font_size_3xl:  3.8vw;
  --font_size_4xl:  5.2vw;
}

/* タブレット変数 */
@media (min-width: 540px) {
  :root {
    font-size: 72.5%;

    /* サイズ変数 */
    --header_height: 40px;
    --contents__maxWidth: 540px;
  }
}

/* PC変数 */
@media (min-width: 1024px) {
  :root {
    font-size: 72.5%;

    /* サイズ変数 */
    --header_height: 40px;
    --contents__maxWidth: 540px;
  }
}


/* -------------------------
  デバイス判定
------------------------- */
@media (max-width: 539px) {
  .pc {
    display: none !important;
  }
  .tablet:not(.sp) {
    display: none !important;
  }
}
@media (min-width: 540px) and (max-width: 1023px) {
  .tablet ~ .pc:not(.tablet) {
    display: none !important;
  }
  .sp:not(.tablet) {
    display: none !important;
  }
}
@media (min-width: 1024px) {
  .sp {
    display: none !important;
  }
  .tablet:not(.pc) {
    display: none !important;
  }
}
/* デバイスが縦長の向き */
@media (orientation: portrait) {
  .landscape {
    display: none !important;
  }
}
/* デバイスが横長の向き */
@media (orientation: landscape) {
  .portrait {
    display: none !important;
  }
}


/* -------------------------
  html body
------------------------- */
html {
  touch-action: manipulation;
  background-color: var(--color_main);
  overscroll-behavior: none;
  scroll-behavior: smooth;
}
body {
  font-family: 'Noto Sans JP', "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 1vw;
  font-weight: normal;
  line-height: var(--line_height_md);
  background: var(--color_base);
  color: var(--color_text);
  text-align: left;
  font-feature-settings: "palt";
  background-color: var(--color_base);
}
@media (min-width: 540px) {
  body {
    font-size: calc(1vw * 0.8);
  }
}
@media (min-width: 1024px) {
  body {
    /* font-size: calc(var(--contents__maxWidth) * 0.01); */
    font-size: calc(var(--contents__maxWidth) * 0.008);
  }
}
body * {
  letter-spacing: 0.1em;
}


/* -------------------------
  ローディング中の画面
------------------------- */
.loading__mask {
  z-index: 1001;
  position: fixed;
  top: 0;
  left: 0;
  width:  100vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  user-select: none;
  text-align: center;
  background: var(--color_main);
  clip-path: polygon(0% 0%, 0% 100%, 0 100%, 0 50%, 100% 50%, 100% 50%, 0 50%, 0 100%, 100% 100%, 100% 0%);
  transition: clip-path 0.75s, opacity 0s 0.75s;
  will-change: clip-path;
}
body.loaded .loading__mask {
  clip-path: polygon(0% 0%, 0% 100%, 0 100%, 0 0, 100% 0%, 100% 100%, 0 100%, 0 100%, 100% 100%, 100% 0%);
  opacity: 0;
}

.loading__progress {
  --progress_percent: 0%;
  --bar_height: 4px;
  color: var(--color_text);
  position: absolute;
  top: 0;
  left: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 70%;
  height: auto;
  max-width: 300px;
  pointer-events: none;
}
.loading__progressText {
  position: absolute;
  top: -1.3em;
  left: 0;
  width: 100%;
  font-size: 12px;
  height: 1em;
  line-height: 1;
}
.loading__progressText::before,
.loading__progressText::after {
  content: '';
  color: currentColor;
  font-family: system-ui;
  letter-spacing: 0.05em;
  opacity: 0.8;
}
.loading__progressText::before {
  content: 'LOADING...';
  text-align: left;
  position: absolute;
  top: 0;
  left: 0;
  animation: loadingText 0.75s infinite linear;
}
@keyframes loadingText {
  0%   {content: 'LOADING   ';}
  25%  {content: 'LOADING.  ';}
  50%  {content: 'LOADING.. ';}
  75%  {content: 'LOADING...';}
  100% {content: 'LOADING   ';}
}

.loading__progressText::after {
  content: attr(data-progress);
  text-align: right;
  position: absolute;
  top: 0;
  right: 0;
}

.loading__progressBar {
  width: 100%;
  height: var(--bar_height);
  background-color: hsla(0, 0%, 0%, 0.1);
  border-radius: var(--bar_height);
  overflow: hidden;
}
.loading__progressBarFill {
  border-radius: var(--bar_height);
  height: 100%;
  width: var(--progress_percent);
  background-color: hsla(0, 0%, 0%, 1);
  transition: width 0.2s ease-in-out;
}


/* -------------------------
  common
------------------------- */
*:focus {
  outline: none;
}
img {
  display: block;
  /* Microsoft Edgeで画像検索無効に */
  pointer-events: none;
}
span.br {
  display: inline-block;
}
::selection {
  /* background-color: yellow; */
}
h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0.1em;
  line-height: var(--line_height_sm);
}
/* @media (any-hover: hover) {
  a[href] {
    transition: opacity 0.1s;
  }
  a[href]:hover {
    transition: opacity 0.2s;
    opacity: 0.5;
  }
} */
a[href] {
  transition: opacity 0.15s, scale 0.15s;
}
@media (any-hover: hover) {
  a[href]:hover {
    opacity: 0.7;
    transition: opacity 0.1s, scale 0.1s;
  }
}
a[href]:active {
  opacity: 0.7;
  transition: opacity 0.1s, scale 0.1s;
}

p>a[href^="http"] {
  color: var(--color_links);
}
p>a[href^="http"][target="_blank"] {
  position: relative;
  margin-left:  0.2em;
  margin-right: 0.2em;
}
p>a[href^="http"][target="_blank"]::after {
  content: "";
  position: relative;
  display: inline-block;
  width:  1em;
  height: 1em;
  aspect-ratio: 1 / 1;
  transform: translate(0, 15%);
  -webkit-mask: url(../img/icon__externaLlink.svg) center / contain no-repeat;
  mask: url(../img/icon__externaLlink.svg) center / contain no-repeat;
  background-color: var(--color_links);
}

section {
  position: relative;
  width: 100%;
  /* overflow: hidden; */
}
.inner {
  position: relative;
  padding-left:   4em;
  padding-right:  4em;
  padding-top:    6em;
  padding-bottom: 6em;
  max-width: var(--contents__maxWidth);
  margin-left:  auto;
  margin-right: auto;
}
hr {
  width: 100%;
  color: #000;
  opacity: 0.2;
}
.sectionBorder {
  position: relative;
  width: 100%;
}
.sectionBorder .inner {
  padding-top:    0;
  padding-bottom: 0;
}

/* -------------------------
  header
------------------------- */
header {
  position: relative;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: var(--header_height);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF;
}
header .logo a img {
  height: 24px;
}
@media (max-width: 1024px) {
  header {
    height: var(--header_height);
  }
  header .logo a img {
    height: 24px;
  }
}



/* -------------------------
  main
------------------------- */
.contents__wrapper {
  position: relative;
  background-color: var(--color_base);
  width: 100%;
  max-width: var(--contents__maxWidth);
  margin: auto;
}
.contents__pc {
  display: none;
}
@media (min-width: 540px) {
  .contents__wrapper {
    margin: 30px auto 30px;
    border-radius: 16px;
    /* overflow: hidden; */
    filter: drop-shadow(0px 0px 8px rgba(66, 91, 137, 0.3));
  }
}
@media (min-width: 1200px) {
  :root {
    /* バリアブルサイズ計算変数（画面幅に比例して上昇する数値） */
    --variableSize__minWindow:  1200; /* 想定する最小画面幅 */
    --variableSize__maxWindow:  1920; /* 想定する最大画面幅 */
    --variableSize__minSize:      40; /* 最小画面幅時の目標サイズ */
    --variableSize__maxSize:     240; /* 最大画面幅時の目標サイズ */
    --variableSize__calc: ((var(--variableSize__minSize) * 1px) + (var(--variableSize__maxSize) - var(--variableSize__minSize)) * (100vw - (var(--variableSize__minWindow) * 1px))/(var(--variableSize__maxWindow) - var(--variableSize__minWindow)));
  }
  .contents__pc {
    width: calc(100% - (var(--contents__maxWidth) + var(--variableSize__calc)));
    margin-right: calc(var(--contents__maxWidth) + var(--variableSize__calc));
  }
  .contents__wrapper {
    display: block;
    margin-right: calc(var(--variableSize__calc));
  }
  .contents__pc {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    height: calc(100% - var(--header_height));
    filter: drop-shadow(0px 0px 0.5vw rgb(239, 247, 253)) drop-shadow(0px 0px 1.5vw rgb(239, 247, 253));
  }
  .contents__pc img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

}

.contents__bg {
  display: none;
}
@media (min-width: 540px) {
  .contents__bg {
    display: block;
    position: fixed;
    top:  0;
    left: 0;
    width:  100%;
    height: 100%;
    height: 100lvh;
    background: url(../img/hero__bg.jpg) center / cover no-repeat;
  }
  .contents__bg::after {
    content: "";
    position: absolute;
    top:  0;
    left: 0;
    width:  100%;
    height: 100%;
    background: hsla(0, 0%, 100%, 0.3);
    backdrop-filter: blur(0.1vw);
  }
}
main {
  position: relative;
  text-align: center;
}


/* -------------------------
  hero
------------------------- */
.hero {
  overflow: hidden;
}
@media (min-width: 540px) {
  .hero {
    border-radius: 16px 16px 0 0;
  }
}
.hero h1 {
  position: relative;
  width: 100%;
}
.hero h1 img {
  width: 100%;
  max-width: var(--contents__maxWidth);
  margin: auto;
}


/* -------------------------
  headline
------------------------- */
.headline {
}
.headline p {
  font-size: 4em;
  font-weight: bold;
  line-height: var(--line_height_lg);
}


/* -------------------------
  campaign
------------------------- */
.campaign {
  position: relative;
}
.campaign>.inner {
  padding-top: 4em;
  padding-bottom: 12em;
  display: flex;
  flex-direction: column;
  gap: 8em;

}

/* campaign__head
------------------------- */
.campaign {
  --campaignHead_height: 115px;
}
@media (min-width: 540px) {
  .campaign {
    --campaignHead_height: 120px;
  }
}
.campaign__head {
  background-color: var(--color_base);
  position: sticky;
  width: 100%;
  height: var(--campaignHead_height);
  top: 0;
  z-index: 10;
}
.campaign__head .inner {
  padding-top:    15px;
  padding-bottom: 15px;
  height: 100%;
}
.campaign__list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}
.campaign__list a {
  flex: 1;
  background-color: #fff;
  position: relative;
}
.campaign__list a:not(:last-child) {
  border-right: 2px solid var(--color_base);
}
.campaign__list a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.campaign__list a.comingsoon::after {
  content: "";
  position: absolute;
  top:  50%;
  left: 50%;
  transform: translate(-50%,-50%) rotate(-15deg);
  width:  80%;
  height: 80%;
  background: url(../img/comingsoon.svg) center / contain no-repeat;
}

/* campaign__head アニメーション */
.campaign__list a.aos-init {
  transition: background-color 0.5s;
}
.campaign__list a.aos-init img {
  transition: scale 0.3s ease-in-out;
  scale: 0.95;
}
.campaign__list a.aos-init.aos-animate:has(+a:not(.aos-animate)),
.campaign__list a.aos-init.aos-animate:last-child {
  transition: background-color 0.1s;
  background-color: hsl(55, 100%, 85%);
  background-image: linear-gradient(145deg, rgba(255, 249, 179, 1) 50%, rgba(255, 249, 124, 1) 50%);
}
.campaign__list a.aos-init.aos-animate:has(+a:not(.aos-animate)) img,
.campaign__list a.aos-init.aos-animate:last-child img {
  transition: scale 0.3s;
  scale: 1;
}

/* campaign__item
------------------------- */
.campaign__item {
  margin-top:  calc(var(--campaignHead_height) * -1);
  padding-top: var(--campaignHead_height);
}
.campaign__itemInner {
  position: relative;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.campaign__item img {
  width: 100%;
}

.campaign__itemContents {
  display: flex;
  flex-direction: column;
  gap: 4em;
}

.campaign__comingsoon {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 4em;
  margin-bottom: 6em;
}
.comingsoon__title {
  font-size: 2.4rem;
  font-weight: bold;
}
.comingsoon__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1/0.4;
  display: flex;
  justify-content: center;
}
.comingsoon__image img {
  width:  80%;
  height: 80%;
  object-fit: contain;
  transform: rotate(-15deg);
}

.campaign__itemDetail {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.campaign__itemDetail p {
  font-size: 1.4rem;
  line-height: var(--line_height_xl);
  opacity: 0.8;
  text-align: left;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.campaign__itemDetail h3 {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: var(--line_height_sm);
  width: 100%;
  margin-top: 1.2em;
  margin-bottom: 0.4em;
}
.campaign__itemDetail a {
  display: block;
  color: var(--color_links);
}
.campaign__caution {
  background-color: hsl(0, 0%, 95%);
  display: flex;
  flex-direction: column;
}
.campaign__caution li {
  font-size: 1.2rem;
  text-align: left;
  padding-left: 1em;
  color: hsl(0, 0%, 50%);
  margin-bottom: 0.6em;
}
.campaign__caution li::before {
  content: '※';
  margin-left: -1em;
  letter-spacing: 0;
}

/* -------------------------
  footer
------------------------- */
footer {
  text-align: center;
  background-color: hsl(0, 0%, 97%);
  color: hsla(0, 0%, 0%, 0.7);
  overflow: hidden;
}
@media (min-width: 540px) {
  .footer {
    border-radius: 0 0 16px 16px;
  }
}

footer .inner {
  display: flex;
  flex-direction: column;
  gap: 2.67em;
}
.footer__logo {
  display: block;
  width: 48em;
  margin: auto;
  margin-bottom: 2.67em;
}
.footer__logo img {
  width: 100%;
}
.footer__notice {
  font-size: 1.0rem;
  opacity: 0.8;
  line-height: var(--line_height_lg);
}
.footer__copyright {
  font-size: 1.0rem;
  opacity: 0.8;
  line-height: var(--line_height_lg);
}


/* -------------------------
  pagetop
------------------------- */
.fixed__btnWrap {
  position: fixed;
  bottom: 10px;
  left:   0;
  right:  0;
  padding: 0 10px;
  width: auto;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: bottom 0.3s;
  pointer-events: none;
}
@media (min-width: 540px) {
  .fixed__btnWrap {
    bottom: 20px;
    padding: 0 20px;
  }
}
.fixed__btnWrap > * {
  pointer-events: all;
}
.fixed__btnWrap.aos-init:not(.aos-animate) {
  bottom: -50px;
}
.fixed__btnWrap .btn__pageTop {
  width:  50px;
  height: 50px;
  line-height: 1;
  text-align: right;
  background: rgba(0,0,0,0.4);
  border-radius: 25px;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  opacity: 1;
}
.fixed__btnWrap .btn__pageTop img {
  margin-top: 2px;
}
@media (any-hover: hover) {
  .fixed__btnWrap .btn__pageTop:hover {
    background: rgba(0,0,0,1);
    opacity: 1;
  }
}
.fixed__btnWrap .btn__pageTop:active {
  background: rgba(0,0,0,1);
  opacity: 1;
}

.fixed__btnWrap .btn__apply {
  height: 50px;
  width: auto;
  max-width: calc(100% - 60px);
}
@media (min-width:540px){
  .fixed__btnWrap.aos-init:not(.aos-animate) {
  bottom: -60px;
  }
  .fixed__btnWrap .btn__apply {
    height: 60px;
  }
}
@media (min-width:1024px){
  .fixed__btnWrap.aos-init:not(.aos-animate) {
    bottom: -60px;
    }
    .fixed__btnWrap .btn__apply {
    height: 60px;
  }
}
