:root {
  --blue: #1d50a1;
  --glay: #e5e5e7;
  --tit-height-pc: 42px;
  --tit-height-sp: 24px;
  --tit-position-top-pc: -24px;
  --tit-position-top-sp: -12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  background-color: #ffffff;
}

/* =========================
   Layout
========================= */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 96px 24px;
}
.area {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 1280px) {
  .area {
  max-width: 90%;
  }
.container {
  width: 1280px;
}
}
@media (max-width: 767px) {
  .container {
    padding: 36px 0;
  }
  .area {
    max-width: 86%;
  }
}

/* 背景 */
.bg-img01 {
  background: url(../images/bg-img01.webp) top center no-repeat;
  background-size: cover;
}
.bg-img02 {
  background: url(../images/bg-img02.webp) top center no-repeat;
  background-size: cover;
}
.bg-glay {
  background-color: #e5e5e7;
}
.bg-blue {
  background-color: #1d50a1;
}
.bg-grid {
  background-color: #ffffff;
  background-image: linear-gradient(to right, #d2d2d2 1px, transparent 1px), linear-gradient(to bottom, #d2d2d2 1px, transparent 1px);
  background-size: 49.2px 49.2px;
}
@media (max-width: 767px) {
  .bg-grid {
    background-size: 14.4px 14.4px;
    /* background-size: 28.8px 28.8px; */
  }
}

/* display:flex 汎用 */
.ai-c {
  align-items: center;
}
.ai-flend {
  align-items: flex-end;
}

/*  汎用 */
a:hover {
  opacity: 0.85;
}

.tf-tly-m4px:hover {
  transform: translateY(-4px);
}

.pb0 {
  padding-bottom: 0;
}
.ta-r {
  text-align: right;
}

/*  Only */
@media (max-width: 767px) {
  .pc-only {
    display: none;
  }
  .sp-only-br {
    display: block;
  }
}
@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
  .sp-only-br {
    display: none;
  }
}

/* =========================
   Buttons
========================= */
.btn {
  height: 2em;
  line-height: 2em;
  display: inline-block;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 3px;
  padding: 0 2em;
  font-size: clamp(12px, 4vw, 30px);
}
@media (min-width: 768px) and (max-width: 1279px) {
  .btn {
  padding: 0 0.5em;
  }
}


.btn-box {
  text-align: center;
  margin-top: 2em;
}
.btn-box:hover {
  opacity: 0.85;
}

a.comingsoon {
  display: inline-block;
  position: relative;
  overflow: hidden;
  cursor: default;
}
a.comingsoon:hover {
  opacity: 1;
}
a.comingsoon::before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 9999px;
  width: 94%;
  height: 72%;
  top: 11px;
  left: 13px;
}
a.comingsoon::after {
  content: "Coming Soon";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 4rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  z-index: 2;
}

a.comingsoon-cta::before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 0;
  width: 100%;
  height: auto;
}
a.comingsoon-cta::after {
  content: "Coming Soon";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  z-index: 2;
}

@media (max-width: 767px) {
  .btn {
    height: 46px;
    line-height: 46px;
    width: 240px;
    font-weight: 600;
    font-size: 18px;
    padding: 1px 0.5em 0;
    margin: 0.5em 0;
  }
  a.comingsoon::before {
    top: 6px;
    left: 8px;
    height: 73%;
  }
  a.comingsoon::after {
    font-size: 2.4rem;
  }
}

/* =========================
   header
========================= */
@media (min-width: 768px) and (max-width: 1279px) {
  .headerNav_item:not(:last-child) {
    margin-right: 60px;
  }
}



@media (min-width: 768px) {
  .headerNav_item:not(:last-child) {
    margin-right: 60px;
  }
}

.headerNav_item:nth-child(4) a::after {
  content: "";
  display: inline-block;
  background-image: url(../images/icon_search_b.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  vertical-align: -2px;
  width: 20px;
  height: 15px;
}

@media (max-width: 767px) {
  .headerNav_item a {
    padding: 6.51vw 0 6.51vw 9.766vw;
    display: block;
    position: relative;
  }
}
/* @media (max-width: 768px) {
  .headerNav_item a {
    padding: 6.51vw 0 6.51vw 9.766vw;
    display: block;
    position: relative;
  }
} */

/* =========================
   KV
========================= */
.kv .kv-main-img {
  display: block;
  text-align: center;
}

.kv .kv-bottom-btn {
  background-color: var(--blue);
  text-align: center;
  padding: 1em 0;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.kv .kv-bottom-btn a.btn {
  background-color: #ffffff;
  color: var(--blue);
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
}
@media (min-width: 768px) and (max-width: 1279px) {
  .kv .kv-bottom-btn a span {
    font-size: 24px;
  }
}
@media (min-width: 1024px) {
  .kv .kv-bottom-btn a span {
    font-size: 24px;
  }
}




.kv .kv-bottom-btn img {
  max-width: 556px;
  max-height: 88px;
  margin-right: 3rem;
}
@media (min-width: 768px) and (max-width: 1279px) {
  .kv .kv-bottom-btn img {
    max-width: 500px;
    max-height: auto;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .kv .kv-bottom-btn {
    display: block;
  }
  .kv .kv-bottom-btn img {
    margin-right: 0;
    width: 90%;
  }
  .kv .kv-bottom-btn a.btn {
    font-size: 18px;
  }
}

/* =========================
   concept
========================= */
@media (max-width: 767px) {
  .concept .container .area {
    max-width: 100%;
    width: 100%;
  }
}

/* =========================
   Features
========================= */
.features .container .area {
  width: 81%;
}

.features .container .area .features-tit {
  margin-bottom: 3em;
}

.features .container .area .features-img {
  margin-bottom: 1.4em;
}

@media (max-width: 767px) {
  .features .container .area .features-tit {
    margin-bottom: 1em;
  }
  .features .container .area .features-tit img {
    width: 90%;
  }
  .features .container .area .features-img {
    margin-bottom: 1em;
  }
  .features .container .area .sp-only img {
    margin-bottom: 1.4em;
  }
  .features .container .area .ta-r {
    font-size: 1rem;
  }
}

/* =========================
   NEWS
========================= */
.news .box {
  background-color: #ffffff;
  border-radius: 20px;
  margin: 2em auto;
  text-align: center;
  padding: 3em 0;
  position: relative;
  border: solid 1px #000000;
  width: 80%;
}
.news .box .ribon img {
  position: absolute;
  top: -27px;
  left: 35px;
}
.news .box a.btn {
  margin-top: 1.6em;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
}
.news .box .inner {
  display: flex;
  width: 88%;
  margin: 0 auto;
  justify-content: center;
}
.news .box.news-1 {
  margin-bottom: 5em;
}
.news .box.news-2 .tit img{
  width:70%;
}



@media (min-width: 768px) {
  .news .box.news-1 .btn span {
    font-size: 24px;
  }
}
.news .box.news-1 .inner {
  display: block;
}
.news .box.news-1 .inner .date {
  margin: 3em 0;
}

.news .box.news-2 .date {
  margin-top: 3em;
  margin-bottom: 2em;
}
.news .box.news-2 .tit {
  margin-bottom: 1em;
}
.news .box.news-2 .space {
  margin-bottom: 5em;
}
.news .box.news-2 .inner .present {
  margin-right: 1em;
  position: relative;
}
.news .box.news-2 .inner .present .fukidashi {
  position: absolute;
  top: -70px;
  left: -70px;
  max-width: 200px;
}
@media (min-width: 1280px) {
.news .box.news-1 .inner .date img,
.news .box.news-1 .inner .thumbnail img{
  width:90%;
}

}
@media (max-width: 767px) {
  .news .box .ribon img {
    top: -13px;
    left: 20px;
    width: 120px;
  }
  .news .box.news-1 {
    margin-bottom: 3em;
  }
  .news .box.news-1 .inner .date {
    margin: 2em 0;
  }
  .news .box.news-2 .date {
    margin: 2em auto 1em;
    width: 80%;
  }
  .news .box.news-2 .tit {
    margin: 0 auto 0.5em;
    width: 80%;
  }
  .news .box.news-2 .tit img{
  width:100%;
}

  .news .box.news-2 .space {
    margin: 0 auto 2em;
    width: 80%;
  }
  .news .box .inner {
    display: block;
  }
  .news .box.news-2 .inner .present {
    margin-right: 0;
    margin-bottom: 2em;
  }
  .news .box.news-2 .inner .present .fukidashi {
    position: static;
    width: 100%;
    max-width: fit-content;
  }
}

/* =========================
   campain
========================= */
.campain .container .box {
  text-align: center;
}
.campain .container .gift-box {
  background-color: #ffffff;
  margin: 5em auto 3em;
  border-radius: 20px;
  padding: 1em;
  width: 86%;
}
@media (min-width: 768px) and (max-width: 1279px) {
.campain .container .gift-box {
  margin: 1em auto 3em;
}
}




.campain .container .gift-box img {
  width: calc((100% / 2) - 80px);
  display: inline-block;
  margin-top: 3em;
}
.campain .container .gift-box picture:nth-child(1) img {
  margin-right: 3em;
}
@media (min-width: 768px) and (max-width: 1279px) {
  
.campain .container .gift-box img {
  width: calc((100% / 2) - 21px);
}
  .campain .container .gift-box picture:nth-child(1) img {
  margin-right: 1em;
}
}



.campain .container .gift-box picture:nth-child(3) img {
  margin-bottom: 3em;
}
.campain .container picture.date {
  display: block;
  text-align: center;
  margin-top: 3em;
}

@media (max-width: 767px) {
  .campain .container .gift-box {
    margin: 1em auto;
  }
  .campain .container .gift-box img {
    width: 100%;
    margin-top: 1em;
  }
  .campain .container .gift-box picture:nth-child(1) img {
    margin-right: 0;
  }
  .campain .container .gift-box picture:nth-child(2) img {
    margin-bottom: 1em;
  }
  .campain .container .gift-box picture:nth-child(3) img {
    margin-bottom: 1em;
    width: 80%;
  }
  .campain .container picture.date {
    text-align: center;
    margin: 1em 0 2em;
  }
  .campain .container picture.date img {
    width: 80%;
  }
  .campain .container .btn-box {
    display: block;
    width: 80%;
    margin: 0 auto;
  }
}

/* =========================
   target-item
========================= */
.target-item .container .area {
  background-color: #ffffff;
  margin-top: 1em;
  border-radius: 20px;
  padding: 6em 0;
  position: relative;
}
.target-item .container .area .tit {
  position: absolute;
  top: var(--tit-position-top-pc);
  left: 0;
  right: 0;
}
.target-item .container .area .tit img {
  height: var(--tit-height-pc);
  width: auto;
}
.target-item .container .area .box {
  display: flex;
  justify-content: center;
}
.target-item .container .area .box p {
  margin-bottom: 3em;
}
.target-item .container .area .box p:nth-child(1) {
  margin-right: 3em;
}
.target-item .container a.btn {
  display: block;
  background-color: var(--blue);
  margin: 1em auto 0;
  text-align: center;
  width: 80%;
  height: 83px;
  line-height: 83px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
}
.target-item .container a.btn span br{
  display:none;
}

@media (min-width: 1280px) {
  .target-item .container a span {
    font-size: 24px;
  }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .target-item .container .area .box {
    display: flex;
    width: 90%;
    margin: 0 auto;
    padding-left: 5%;
  }
  .target-item .container a.btn span{
    font-size:23px;
  }
}
@media (max-width: 767px) {
  .target-item .container .area .box {
    display: block;
  }
  .target-item .container .area .box p:nth-child(1) {
    margin-right: 0;
  }
  .target-item .container a.btn {
    display: flex;
    align-items: center;
    height: 3em;
    line-height: 1.2em;
    font-size: 16px;
    justify-content:center;
    width:100%;
  }
  .target-item .container a.btn span br{
    display:block;
  }
  .target-item .container .area {
    padding: 4em 2.6em;
  }
  .target-item .container .area .tit {
    top: var(--tit-position-top-sp);
  }
  .target-item .container .area .tit img {
    height: var(--tit-height-sp);
  }
}

/* =========================
   flow
========================= */
.flow .container .area {
  background-color: #ffffff;
  margin-top: 3em;
  border-radius: 20px;
  padding: 3em 2em;
  position: relative;
}
.flow .container .area .tit {
  position: absolute;
  top: var(--tit-position-top-pc);
  left: 0;
  right: 0;
}
.flow .container .area .tit img {
  height: var(--tit-height-pc);
  width: auto;
}
.flow .container .area .step-tit {
  padding: 3em 0 4em;
  /* color: var(--blue);
  margin-bottom: 2em;
  font-size: 24px;
  letter-spacing: 3px;
  font-weight: bold; */
}
.flow .container .area .step-tit img{
  width:80%;
}
.flow .container .area .step-img {
  margin-bottom: 2em;
}
.flow .container .area .step-img img{
  width:90%;
  padding-right:5%;
}

.flow .container .area .asta {
  font-weight: bold;
}

@media (max-width: 767px) {
  .flow .container .area .tit {
    top: var(--tit-position-top-sp);
  }
  .flow .container .area .tit img {
    height: var(--tit-height-sp);
  }
  .flow .container .area .step-tit {
    padding: 0 0 2em;
    /* font-size: 18px; */
  }


  .flow .container .area .asta {
    text-align: left;
    font-size: 9px;
    line-height: 1.2;
  }
  .flow .container .area .step-img img{
    width:100%;
    padding-right:0;
  }

  /* .flow .container .area .step-img span {
    margin-bottom: 1em;
  } */
}

@media (min-width: 768px) {
  .flow .container .area .step-tit img{
    width:50%;
  }
}


/* =========================
   method
========================= */
.method .container .area {
  background-color: #ffffff;
  margin-top: 3em;
  border-radius: 20px;
  padding: 3em 2em;
  position: relative;
}
.method .container .area .tit {
  position: absolute;
  top: var(--tit-position-top-pc);
  left: 0;
  right: 0;
}
.method .container .area .tit img {
  height: var(--tit-height-pc);
  width: auto;
}
.method .container .area .txt {
  font-size: 18px;
  margin-top: 1em;
  margin-bottom: 2em;
  font-weight: bold;
}
.method .container .area .inner {
  display: flex;
  margin-bottom: 3em;
  justify-content: center;
}
.method .container .area .inner .method-img:not(:last-child) {
  margin-right: 2em;
}
.method .container .area ul {
  text-align: left;
  width: 80%;
  margin: 0 auto;
}
.method .container .area ul li {
  text-indent: -1em;
  padding-left: 1em;
  font-weight: bold;
}
.method .container .area ul li span {
  background-color: #a2cbd9;
  padding: 0.21em 0.5em;
  letter-spacing: 0.12em;
}

@media (max-width: 767px) {
  .method .container .area .tit {
    top: var(--tit-position-top-sp);
  }
  .method .container .area .tit img {
    height: var(--tit-height-sp);
  }
  .method .container .area .txt {
    font-size: 14px;
  }
  .method .container .area .inner {
    display: block;
  }
  .method .container .area .inner .method-img:not(:last-child) {
    display: block;
    margin-right: 0;
    margin-bottom: 1em;
  }
  .method .container .area ul {
    width: 100%;
  }
  .method .container .area ul li {
    font-size: 9px;
  }
}

/* =========================
   terms
========================= */
.terms .container .area .terms-box {
  margin-bottom: 5em;
}
.terms .container .area .terms-box .txt {
  margin-bottom: 2em;
  color: #ffffff;
}
.terms .container .area .terms-box .btn {
  background-color: #ffffff;
  color: var(--blue);
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
}
.terms .container .area .terms-box .btn:hover {
  transform: translateY(-4px);
}

/*  == modalArea ==  */
.modalArea .modal-overlay .modal .modal-header h2 {
  font-weight: bold;
  text-align: center;
  font-size: 1.2em;
}
.modalArea .modal-overlay .modal .modal-content h2,
.modalArea .modal-overlay .modal .modal-content h3,
.modalArea .modal-overlay .modal .modal-content h4,
.modalArea .modal-overlay .modal .modal-content h5 {
  margin-top: 2em;
}
.modalArea .modal-overlay .modal .modal-content ul li {
  text-indent: -1em;
  padding-left: 1em;
}
.modalArea .modal-overlay .modal .modal-footer {
  text-align: center;
}
.modalArea .modal-overlay .modal .modal-footer button {
  padding: 0.2em 1em;
  border: solid 1px #000000;
}

@media (max-width: 767px) {
  .terms .container .area .terms-box {
    margin-bottom: 3em;
  }
  .terms .container .area .terms-box .txt {
    margin-bottom: 0;
  }
}

/* =========================
   応募規約
========================= */
/* モーダルCSS */
.modalArea {
  display: none;
  position: fixed;
  z-index: 10; /*サイトによってここの数値は調整 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal {
  display: flex;
  flex-direction: column;
  width: 600px;
  max-height: 80vh; /* ← モーダル全体の高さ制限 */
  background: #fff;
  border-radius: 8px;
}
.modal-header,
.modal-footer {
  padding: 16px;
  flex-shrink: 0; /* ← 高さ固定 */
}
.modal-content {
  padding: 16px;
  overflow-y: auto; /* ← ここだけスクロール */
}
.closeModal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}

@media (max-width: 767px) {
  .modal {
    width: 90vw;
    max-height: 70vh;
  }
}

/* =========================
   FAQ
========================= */
.faq-list {
  margin-top: 1em;
}
.faq-item {
  margin-bottom: 20px;
  background: #ffffff;
  border-radius: 16px;
}
.faq-question {
  width: 100%;
  padding: 20px 7em 20px 7em;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

/* 矢印 アイコン */
.faq-question::after {
  content: "";
  position: absolute;
  left: 5%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s;
}
.faq-question[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(-135deg);
}

/* 回答 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 8.6em;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  font-size: 15px;
  line-height: 1.7;
  color: #000000;
  text-align: left;
  font-weight: 600;
  position: relative;
  text-indent: -1em;
}
.faq-question[aria-expanded="true"] + .faq-answer {
  padding: 16px 8.6em 24px;
  max-height: 500px;
  text-indent: -1em;
}
.faq-answer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 90%;
  height: 2px;
  background-color: var(--glay);
  transform: translateX(-50%);
}

@media (max-width: 767px) {
  .faq-question {
    padding: 1em 0.8em 1em 2em;
    font-size: 15px;
  }
  .faq-question::after {
    left: 4%;
    width: 8px;
    height: 8px;
  }
  .faq-answer {
    padding: 0 0.8em 0 2em;
  }
  .faq-question[aria-expanded="true"] + .faq-answer {
    padding: 1em 0.8em 1em 2em;
  }
}

/* =========================
   footer
========================= */
/* .footerBlock {
  margin-bottom: 72px;
}

@media (max-width: 767px) {
  .footerBlock {
    padding-bottom: 72px; 
  }
} */

/* =========================
   CTA
========================= */
/* .fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: rgba(29, 80, 161, 1);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 100;
  backdrop-filter: blur(6px);
}
.fixed-cta-inner {
  width: 100%;
  max-width: 1280px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cta-text {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}
.cta-sub {
  font-size: 12px;
  opacity: 0.9;
}

@media (max-width: 767px) {
  .fixed-cta-inner {
    max-width: 100%;
  }
}
 */
/* =========================
   Back to Top
========================= */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 20px;
  /* bottom: 88px; */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(29, 80, 161, 0.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  z-index: 101;

  /* ▼ フェード用初期状態 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
    visibility 0.35s ease;
}

.back-to-top-icon {
  font-size: 20px;
  line-height: 1;
}

/* 表示状態 */
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* hover（PCのみ） */
@media (hover: hover) {
  .back-to-top:hover {
    opacity: 0.85;
  }
}

/* tap（スマホ） */
.back-to-top:active {
  transform: translateY(2px);
}
