/* Main styles go here */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
    font-family: "Noto Sans JP", sans-serif;
}

.en {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.mainbtn {
    position: relative;
    width: min(37vw, 487px);
    margin-top: 32px;
}

.mainbtn__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    width: 100%;
    height: min(7.3vw, 96px);
    padding: 0 32px;
    border-radius: 5px;
    background: linear-gradient(90deg, #FF935D 0%, #FF5E56 100%);
    box-shadow: 4px 6px 0 0 rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: min(1.8vw, 24px);
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.mainbtn__link:hover,
.mainbtn__link:focus-visible {
    opacity: 0.85;
}

.mainbtn__link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}

.mainbtn__icon {
    position: absolute;
    right: 30px;
    width: min(2.1vw, 28px);
    height: min(2.1vw, 28px);
    background: url("../img/right-arrow.svg") center/contain no-repeat;
}

.mainbtn__figure {
    position: absolute;
    top: min(-1.7vw, -23px);
    left: 50%;
    transform: translateX(-50%);
    width: min(19.7vw, 260px);
    pointer-events: none;
    display: flex;
    justify-content: center;
}

.mainbtn__figure img {
    width: 100%;
    height: auto;
    display: block;
}

h1 span {
    position: relative;
    display: inline-block;
}

.dots {
    background-image: radial-gradient(circle at center, #FFFB00 20%, transparent 21%);
    background-position: top right;
    background-repeat: repeat-x;
    background-size: 1em 0.3em;
    padding-top: 0.3em;
}

.dots-blue {
    background-image: radial-gradient(circle at center, #3071B9 20%, transparent 21%);
    background-position: top right;
    background-repeat: repeat-x;
    background-size: 1em 0.3em;
    padding-top: 0.3em;
}

.document,
.contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 44px;
    border: 0;
    border-radius: 6px;
    background: #EE6148;
    color: #fff;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.25s ease;
    gap: 8px;
}

.document a,
.contact a{
    font-size: 16px;
}

.document::before,
.contact::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.document::before {
    background-image: url("../img/doc-ico.svg");
}

.contact::before {
    background-image: url("../img/con-ico.svg");
}

.contact {
    background: #222121;
}

.document:hover,
.document:focus-visible,
.contact:hover,
.contact:focus-visible {
    opacity: 0.85;
}

.document:focus-visible,
.contact:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 2px;
}

.btn{
    display: flex;
    gap: 10px;
}

header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.08);
}

.cont_wrap{
    max-width: 1020px;
    margin: auto;
}


.main{
background: url(../img/mainbg.jpg);
background-repeat: no-repeat;
background-size: cover;
padding: 50px;
background-position: center min(-13vw, -110px);
margin-bottom: 3rem;
}


.main_flex{
    display: flex;
    justify-content: space-around;
    max-width: 1160px;
    margin: auto;
}

.main_text{
    max-width: 480px;
}

.main_img{
    max-width: min(45.5vw, 600px);
}

h1{
    font-size: min(4vw, 46px);
    color: #fff;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

h1 span{
    font-size: min(3.6vw, 48px);
    color:#FFFB00;
}

.main_text p{
font-size: min(1.2vw, 16px);
color: #fff;
font-weight: 400;
line-height: 1.8;
max-width: 431px;
margin-bottom: 1.5rem;
}

.main_text p span{
font-weight: bold;}

.price_main{
    font-size: min(1.8vw, 24px);
    color: #fff;
    margin-bottom: 60px;
}

.price_main span{
    font-weight: bold;
}

.price_main .price_txt{
    font-size: min(2.4vw, 32px);
}

h2{
    color:#13375F;
    text-align: center;
    font-size: 48px;
    margin-bottom: 1rem;
}


h2 .lt_blue{
    color:#3071B9;
}

.test_sec p{
    font-size: 18px;
    text-align: center;
    color: #3F3F3F;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.test_sec p span{
    font-weight: bold;
}

.blue_back{
    background-color:#E2ECF4;
    padding: 5rem 0 0 0;
    z-index: -1;
    margin-top: -16%;
    padding-top: 22%;
}

.list ul{
    margin-top: 3rem;
    margin-bottom: 6rem;
}

.list ul li{
    background-color: #fff;
    padding: 1.4rem;
    font-size: 24px;
    max-width: 1020px;
    margin: 16px auto;
    color: #2E2E2E;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 16px;
}

.list ul li::before {
    content: "";
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    background: url("../img/list-icon.svg") center/contain no-repeat;
}

.merit h2 span{
    color:#3071B9;
    background:url(../img/border.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: 74px;
    display: inline-block;
    min-height: 80px;
    padding-bottom: 30px;
}

.merit h2 .no{
    font-size: 68px;
}

.merit_list{
    display: flex;
    text-align: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.merit_list h3{
   color: #13375F;
   margin-bottom: 1rem;
   font-size: 22px;
}

.merit_list p{
    font-size: 15px;
     color: #3F3F3F;
}

.merit_list div{
    width: 28%;
}

.test_wrap{
      background-color: #F7F7F5;
          border-radius: 30px;
              padding: 50px 50px 40px 50px;
              max-width: 930px;
              margin: auto;
}

.test_wrap p{
    text-align: center;
    color: #3F3F3F;
    margin-top: 2rem;
    line-height: 1.8;
}

.test_wrap h3{
    font-size: 36px;
    text-align: center;
     color:#13375F;
     margin-bottom: 2rem;
}
.test_wrap h3 span{
     color:#3071B9;
}

.flow{
    text-align: center;
    padding-top: 5rem;
}
.flow p{
       color: #3F3F3F;
       font-size: 18px;
       font-weight: normal;
}

.flow h2 span{
   color:#3071B9; 
}

.flow h3{
    color:#13375F;
    font-size: 24px;
    margin: 4rem 0 3rem 0;
    display: flex;
    align-items: center;
    gap: 30px;

}

.flow h3::before,
.flow h3::after {
    content: "";
    flex: 1;
    height: 3px;
    background-color: #13375F;
}

.flow ul{
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.flow li{
    width: 16%;
    position: relative;
    
}

.flow li p{
    font-size: 15px;
    font-weight: bold;
    color: #13375F;
}

.flow li img{
    margin-bottom: 16px;
}

.flow li::after {
    content: "";
    position: absolute;
    right: -22%;
    top: 40%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: url("../img/arrow.svg") center/contain no-repeat;
}

.flow li:last-child::after {
    display: none;
}


.price-box {
    width: 100%;
    max-width: 615px;
    margin: 40px auto;
    border-radius: 8px; 
    overflow: hidden; /* 子要素が角丸からはみ出ないように */
    border: solid 3px #317fbb;
}

/* ヘッダー（青い部分） */
.price-header {
    background-color: #317fbb; /* 画像から抽出した青色 */
    color: white;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

/* ボディ（薄いグレーの部分） */
.price-body {
    background-color: #F2F6F9; /* 画像から抽出した薄いグレー */
    padding: 20px 20px;
    text-align: center;
    color: #333; /* 基本の文字色（「1時間あたり」「〜」用） */
    font-size: 16px; }

.price-body span {
    vertical-align: baseline; /* テキストのベースラインを揃える */
    margin: 0 1px; /* 各要素間にわずかな隙間を空ける */
}

/* 「1,200」の部分 */
.price-body .price {
    font-size: 35px; /* 目立たせるために大きく */
    font-weight: bold; /* 太字 */
    color: #317fbb; /* ヘッダーと同じ青色 */
}

/* 「円(税込)」の部分 */
.price-body .unit {
    color: #317fbb; /* ヘッダーと同じ青色 */
    font-weight: 600; /* 数字よりは少し細く */
       font-size: 24px;
}

/* 「1時間あたり」と「〜」は、.price-body の基本スタイルが適用されます */
.price-body .label {
   font-size: 20px;
   color: #13375F;
   font-weight: bold;
}


.cta_area{
    background-color: #3071B9;
    padding: 3rem 0 4rem;
    margin-top: 5rem;
}

.cta_area h2{
  color:#fff;
  font-size: 35px;
}

.cta_area h2 span{
  font-size: 25px;
}

/* PDF button styles */
.pdf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 60px;
  border: none;
  border-radius: 6px;
  background: #EE6148;
  box-shadow: 4px 11px 22px 0 rgba(217, 59, 30, 0.27);
  cursor: pointer;
  transition: opacity 0.25s ease;
  margin-top: 20px;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
}

.pdf-btn:hover,
.pdf-btn:focus-visible {
  opacity: 0.85;
}

.pdf-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
}

.pdf-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  background-image: url("../img/doc-ico.svg");
}

.pdf-text {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: "Noto Sans JP", sans-serif;
}

.contact-btn {
  background: #222121;
  box-shadow: 4px 11px 22px 0 rgba(34, 34, 34, 0.27);
}

.contact-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  background-image: url("../img/con-ico.svg");
}

.cta_area .cont_wrap{
    max-width: 960px;
}

.cta_area .ctabtn{
    display: flex;
    text-align: center;
    color: #3071B9;
        justify-content: space-between;
        margin-top: 30px;
}

.cta_area .box{
    background-color: #fff;
    border-radius: 5px;
    padding: 30px;
    width: 100%;
    max-width: 464px;
}

footer {
 text-align: center;
 display: flex;
 justify-content: center;
}
footer .logo{
 text-align: center;
  width:100%;
  max-width: 370px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .logo p{
    font-size: 14px;
    color: #5E5E5F;
}

footer .logo img{
  width:100%;
  max-width: 280px;
    margin-bottom: 10px;
}

footer .cont_wrap{
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
footer .sns_ico{
    display: flex;
    gap: 30px;
    margin-top: 50px;

}

footer .copy{
    margin-top: 50px;
    font-size: 16px;
    color: #5E5E5F;
}

/* Scroll animation */
header,
.main,
.test_sec,
.merit,
.flow,
.cta_area,
footer,
h2,
h3,
.merit_list div,
.flow li,
.cta_area .box {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

header.fade-in-visible,
.main.fade-in-visible,
.test_sec.fade-in-visible,
.merit.fade-in-visible,
.flow.fade-in-visible,
.cta_area.fade-in-visible,
footer.fade-in-visible,
h2.fade-in-visible,
h3.fade-in-visible,
.merit_list div.fade-in-visible,
.flow li.fade-in-visible,
.cta_area .box.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive (768px and below) */
@media (max-width: 768px) {
  /* General */
  body {
    overflow-x: hidden;
  }
.main{
    margin-bottom: 0;
}
  .cont_wrap {
    padding: 0 20px;
  }

  .blue_back{
    padding-left: 20px;
    padding-right: 20px;
  }

  .wt_arrow {
    margin-left: -20px;
    margin-right: -20px;
  }

  .dots-blue{
    background-image: radial-gradient(circle at center, #3071B9 16%, transparent 24%);
  }

  /* Header */
  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 15px;
    flex-wrap: wrap;
  }

  header .logo {
    flex-shrink: 0;
  }

  header .logo img {
    max-width: 130px;
  }

  .btn {
    gap: 6px;
    flex-shrink: 0;
  }

  .document,
  .contact {
    width: auto;
    padding: 8px 12px;
    font-size: 11px;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .document::before,
  .contact::before {
    width: 14px;
    height: 14px;
  }

  /* Main Section */
  .main {
    padding: 30px 20px;
    background-size: cover;
  }

  .main_flex {
    flex-direction: column;
    align-items: center;
  }

  .main_text {
    max-width: 100%;
    text-align: center;
    margin-bottom: 30px;
  }

  .main_text p {
    max-width: 100%;
  }

  .main_img {
    max-width: 100%;
  }

  .main_img img {
    width: 100%;
    height: auto;
  }

  h1 {
    font-size: 32px !important;
    line-height: 1.4;
  }

  h1 span {
    font-size: 30px !important;
  }

  .main_text p {
    font-size: 15px !important;
  }

  .price_main {
    font-size: 16px !important;
    margin-bottom: 40px;
  }

  .price_main .price_txt {
    font-size: 20px !important;
  }

  /* Main Button */
  .mainbtn {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
  }

  .mainbtn__link {
    height: 56px;
    font-size: 16px !important;
    padding: 0 20px;
  }

  .mainbtn__figure {
    top: -15px;
    width: 150px;
  }

  .mainbtn__icon {
    width: 24px !important;
    height: 24px !important;
    right: 20px;
  }

  /* Test Section */
  .test_sec {
    padding: 30px 0;
  }

  .test_sec p {
    font-size: 16px;
  }

  h2 {
    font-size: 30px !important;
    margin-bottom: 20px;
  }
  .merit h2 .no{
    font-size: 56px;
  }

  /* List */
  .list ul li {
    font-size: 16px;
    padding: 1rem;
    margin: 12px auto;
  }
  .list ul{
    margin-top: 1.5rem;
    margin-bottom: 3rem;
  }


.merit h2 span{
    line-height: 1;
 background-position-y: 54px;
 padding-bottom: 0;
}


  .list ul li::before {
    width: 28px;
    height: 28px;
  }

  /* Merit */
  .merit_list {
    flex-direction: column;
    gap: 50px;
    margin-bottom: 4rem;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 1.8;
  }

  .merit_list div {
    width: 100%;
  }

  .merit_list h3 {
    font-size: 24px;
  }

  .merit_list p {
    font-size: 16px;
    font-weight: 600;
  }

  .test_wrap {
    border-radius: 15px;
    padding:32px 20px;
    max-width: 100%;
    margin: auto;
  }

  .test_wrap h3 {
    font-size: 20px;
    margin-bottom: 1.5rem;
  }

  .test_wrap p {
    font-size: 14px;
    margin-top: 20px;
  }

  /* Flow */
  .flow {
    text-align: center;
    padding-top: 4rem;
  }
  .flow p{
    font-size: 16px;
    font-weight: 600;
  }

  .flow h3 {
    font-size: 18px;
    flex-direction: column;
    gap: 15px;
    margin: 0rem 0 1rem 0;
  }

  .flow h3::before,
  .flow h3::after {
    width: 100%;
    height: 2px;
  }

  .flow ul {
    flex-direction: column;
    gap: 50px;
    margin-bottom: 40px;
  }

  li.fade-in-visible{
    gap: 14px;
  }

  .flow li {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .flow li p {
    font-size: 18px;
  }

  .flow li img {
   width: 160px;
        height: 160px;
    margin: 0 auto;
  }

  .flow li::after {
    right: auto;
    top: auto;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) translateY(0) rotate(90deg);
    width: 16px;
    height: 16px;
  }

  .flow li:last-child::after {
    display: none;
  }

  .flow p {
    font-size: 14px;
  }

  /* Price Box */
  .price-box {
    max-width: 100%;
    margin: 30px auto;
  }

  .price-header {
    font-size: 16px;
    padding: 10px 15px;
  }

  .price-body {
    padding: 15px;
  }

  .price-body .price {
    font-size: 28px;
  }

  .price-body .unit {
    font-size: 18px;
  }

  .price-body .label {
    font-size: 14px;
  }

  /* CTA Area */
  .cta_area {
    padding: 2rem 0 3rem;
  }

  .cta_area h2 {
    font-size: 24px !important;
  }

  .cta_area h2 span {
    font-size: 16px;
  }

  .cta_area .ctabtn {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }

  .cta_area .box {
    max-width: 100%;
    padding: 20px;
  }

  .cta_area .box h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .pdf-btn {
    width: 100%;
    height: 50px;
    margin-top: 15px;
    gap: 10px;
  }

  .pdf-icon,
  .contact-icon {
    width: 18px;
    height: 18px;
  }

  .pdf-text {
    font-size: 14px;
  }

  /* Footer */
  footer {
    padding: 2rem 0;
  }

  footer .logo {
    max-width: 100%;
  }

  footer .logo img {
    max-width: 200px;
  }

  footer .logo p {
    font-size: 12px;
  }

  footer .cont_wrap {
    padding: 2rem 20px;
  }

  footer .sns_ico {
    gap: 20px;
    margin-top: 30px;
  }

  footer .sns_ico div {
    display: flex;
  }

  footer .sns_ico img {
    width: 30px;
    height: 30px;
  }

  footer .copy {
    margin-top: 30px;
    font-size: 12px;
  }
}