@charset "shift_jis";
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

:root {
  --maincolor:#f7f7f8;
  --company-a: #e2f2fc;
  --company-a-accent: #0063aa;
  --company-b: #fdece2;
  --company-b-accent: #ff9000;
  --othercolor: #1F2A44;
  --returnbtncolor: #999;
}

ol, ul {
  list-style-type: none;
}

.pc{
  display: block;
}
.sp{
  display: none;
}

section{
  padding: 40px 40px 0;
}
section:last-child{
  padding-bottom: 40px;
}

.menu{
  padding-bottom: 30px;
  border-bottom: 2px dotted #ddd;
  margin: 0 40px;
}
.menu ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu li a {
  position: relative;
  text-decoration: none;
  font-weight: bold;
  color: #333;
  padding-bottom: 22px;
  display: inline-block;
  font-size: 18px;
}
.menu li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 6px;
  height: 6px;
  border-left: 2px solid #777;
  border-bottom: 2px solid #777;
  transform: translateX(-50%) rotate(-45deg);
  opacity: 0.6;
  transition: transform 0.25s ease;
}

.menu li a:hover::after {
  transform: translateX(-50%) rotate(-45deg) translateY(4px);
  border-left: 2px solid #fae300;
  border-bottom: 2px solid #fae300;
}
.menu li a:hover {
  opacity: 0.8;
  color: #fae300;
}

#fes_wrapper{
  background: var(--maincolor); 
  max-width: 810px;
  box-sizing: border-box !important;
  font-size: 16px;
  color:#333;
}
#fes_wrapper * {
  font-family: 'Noto Sans JP', sans-serif;
}

#fes_wrapper h1{
  position: absolute;
  top: 0;
  right: 10px;
  text-align: right;
  color: #fae300;
  z-index: 10;
  margin: 0;
}

.ttl-split span {
  display: inline-block;
  opacity: 0;
  transform: translateY(15px);
  font-size: 100px;
  font-family: "Anton", sans-serif !important;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
  line-height: 1.1;
}

.ttl-split span.is-show {
  animation: popText 0.6s forwards;
}

@keyframes popText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


#fes_wrapper .mv {
  position: relative;
  width: 100%;
  height: 380px;
  padding-top: 20px;
  overflow: hidden;
  margin-bottom: 30px;
}
#fes_wrapper .mv video{
  scale: calc(1.5);
  width: 100%;
}
#fes_wrapper .mv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.4);
  z-index: 1;
}
#fes_wrapper .mv .cp{
  position: absolute;
  bottom: 0;
  left: 0;
  z-index:10;
}
#fes_wrapper .mv .cp p{
  display: inline-block;
  font-size: 18px;
  margin: 0 0 5px 0;
}
#fes_wrapper .mv .cp p span{
  font-size: 18px;
}
#fes_wrapper h2 {
  padding: 10px 0;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
}

#how h2 img{
  width: 34px;
  padding-right: 18px;
}
.howto{
  position: relative;
}
.howto img{
  position: absolute;
  bottom: 40px;
  right: 20px;
  width: 70px;
  z-index: 10;
}
.howto .step{
  display: flex;
  align-items: stretch;
  padding: 0;
  margin-bottom: 12px;
  border:2px solid var(--othercolor);
  background:
    linear-gradient(
      to right,
      var(--othercolor) 0 80px,
      #fff 80px
  );
  position: relative;
  overflow: hidden;
}
.howto .step .num{
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Anton", sans-serif !important;
  font-weight: 400;
  font-style: normal;
  font-size: 48px;
  color:#fff;
}
.howto .step dl{
  padding: 28px;
  color: var(--othercolor);
}
.howto .step dt{
  font-weight: bold;
  font-size: 24px;
}
.howto .step dd{
  margin: 0;
  padding: 0;
  font-size: 16px;
}
.howto .step dd span{
  background: #fae300;
  font-size: 16px;
}
.howto .step:last-child{
  margin-bottom: 0;
}

.now-section h2 img{
  width:40px;
  padding-right: 10px;
}

.company{
  background: #fff;
  padding: 0 0 40px;
  margin-bottom: 40px;
  font-size: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.company h4 {
  color: #6ca4cd;
  padding: 20px 0;
  font-size: 22px;
  padding: 30px;
  margin: 0 0 20px 0px;
  line-height: 1;
  font-weight: normal;
  font-weight: bold;
}
.company.num01 h4{
  background: var(--company-a);
  color:var(--company-a-accent);
}
.company.num02 h4{
  background: var(--company-b);
  color:var(--company-b-accent);
}
.company .info{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
  gap: 40px 40px;
}
.company .info .company-wrapper{
  width: 182px;
  text-align: center;
}
.company .info .company-wrapper .c-i {
  width: 100%;
  aspect-ratio: 16 / 8;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.company .info .company-wrapper .c-i img{
  max-width: 80%;
  max-height: 70%;
  object-fit: contain;
  display: block;
}
.company .info .company-wrapper .c-n{
  margin-top: 8px;
  line-height: 1.5;
  min-height: calc(1.5em * 2);
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: 12px;
}

.btn{
  display: flex;
}
.btn .link{
  transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 20px 130px 20px 120px;
  font-weight: bold;
  background: var(--company-a-accent);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  overflow: hidden;
  margin: 0 auto;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
  
}
.link:link,.link:visited{
  color: #fff;
}
.link:hover {
  opacity: 0.9;
  scale: calc(1.04);
}
.arrow-wrap {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.arrow {
  position: absolute;
  top: 50%;
  width: 16px; 
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.arrow::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 50%;
  width: 6px;
  height: 6px;  
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}
.arrow.first {
  left: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.arrow.second {
  left: 0;
  transform: translateX(-180%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.link:hover .arrow.first {
  transform: translateX(180%);
}
.link:hover .arrow.second {
  transform: translateX(0);
}
.link.btn-a{
  background: var(--company-a-accent);
}
.link.btn-b{
  background: var(--company-b-accent);
}




.notes{
  font-size: 14px;
  margin-left: 1rem;
  text-indent: -1rem;
}

#bonus div{
  padding: 40px;
  background: #fff;
  font-size: 16px;
}

#bonus h2 img{
  width: 22px;
  padding-right: 18px;
}

.bgextend {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 8px 14px;
  font-size: 18px;
  line-height: 1.6;
}

/* ===== 白帯（最初は見えない） ===== */
.bgextend::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(180%) blur(8px);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 0;
}

/* ===== 白帯が伸びる（残る） ===== */
.bgLRextend::before {
  animation: bgSlide 0.8s forwards;
}

@keyframes bgSlide {
  to {
    transform: scaleX(1);
  }
}

/* ===== 文字は最初透明 ===== */
.bgappearTrigger {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(6px);
}

/* ===== 文字が出現 ===== */
.bgappear {
  animation: textFadeUp 0.6s forwards;
}

@keyframes textFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   スクロール発火アニメ 共通
============================ */

/* 下からふわっと */
.js-fadeUp {
  opacity: 0;
  transform: translateY(30px);
}

.js-fadeUp.is-active {
  animation: fadeUp 0.8s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 横からスライド（how用） */
.js-slideLeft {
  opacity: 0;
  transform: translateX(-50px);
}

.js-slideLeft.is-active {
  animation: slideLeft 0.8s forwards;
}

@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#no-date > div{
  background: #fff;
  padding: 40px ;
}
#no-date > div p{
  font-size: 16px;
}

@media screen and (max-width: 768px) {

  .pc{
    display: none;
  }
  .sp{
    display: block;
  }

  #fes_wrapper .mv {
    margin-bottom: 20px;
  }
  #fes_wrapper .mv video {
    scale: calc(2);
    width: 100%;
    position: absolute;
    left: -40px;
    top: 90px;
  }
  #fes_wrapper .mv .cp {
    bottom: 10px;
  }
  #fes_wrapper .mv .cp p {
    margin: 0;
  }
  #fes_wrapper .mv .cp p span {
    font-size: 16px;
  }
  .ttl-split span {
    font-size: 75px;
  }
  
  .menu{
    margin: 0;
    padding-bottom: 20px;
  }
  .menu li a {
    padding-bottom: 22px;
    font-size: 16px;
  }

  section {
    padding: 16px 16px 0;
  }

  .now-section h2 img,
  #how h2 img,
  #bonus h2 img {
    padding-right: 0px;
  }
  
  #fes_wrapper h2 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
  }
  #fes_wrapper h2 img{
    margin-bottom: 8px;
  }

  .company{
    margin-bottom: 20px;
  }
  .company h4 {
    padding: 24px;
    margin: 0 0 20px;
  }
  .company .info {
    justify-content: flex-start;
    padding: 16px;
    gap: 16px;
  }
  .company .info .company-wrapper {
    padding: 0;
    width: calc((100% - 16px) / 2);
  }
  .company .info .company-wrapper .c-i img {
    width: 100%;
    box-sizing: border-box !important;
  }
  .link {
    margin: 20px 20px 0;
    padding: 20px;
    width: 100%;
    display: inline;
    text-align: center;
  }
  .notes {
    font-size: 12px;
  }

  .howto .step {
    background:none;
  }
  .howto .step .num {
    background: linear-gradient(to right, var(--othercolor) 0 80px, #fff 80px);
    flex-shrink: 0;
    font-size: 40px;
    width: 50px;
  }
  .howto .step dl {
    padding: 16px;
  }
  .howto .step dt {
    font-size: 18px;
  }
  .howto img {
    position: absolute;
    bottom: -48px;
    right: -10px;
    width: 45px;
  }
  #bonus div {
    padding: 20px;
  }

  



}