
/* 共通CSS */
.Wrapper {
    margin: 0 50px;
}
.container {
    padding-top: 110px;
}
.fadeUpTrigger{
    opacity: 0;
}

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration:1s;
    animation-fill-mode:forwards;
    opacity: 0;
}
    @keyframes fadeUpAnime{
    from {
        opacity: 0;
        transform: translateY(150px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.color01 {
    color: #171C61;
}
.color02 {
    color: #FFA51D;
}
.color03 {
    color: #2EA7E0;
}
.color04 {
    color: #FF9090;
}
.flexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1106px;
    margin: 0 auto;
}
.request-btn {
    font-size: 3vw;
    font-weight: bold;
    padding: 20px 80px;
    border-radius: 25px;
    color: #FFA51D;
    background: #fff;
    border: solid 8px #FFA51D;
    box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease-in-out;
}
.request-btn:hover {
    color: #fff;
    background: #FFA51D;
    border: solid 8px #fff;
    box-shadow: none !important;
}
@media screen and (max-width:768px) {
    .Wrapper {
        margin: 0 20px;
    }
    .container {
        padding-top: 80px;
    }
    .flexbox {
        gap: 20px;
    }
    .request-btn {
        font-size: 5vw;
        padding: 12px 50px;
        border-radius: 12px;
        border: solid 4px #FFA51D;
    }
    .request-btn:hover {
        border: solid 4px #fff;
    }
}
@media screen and (max-width:428px) {
    .container {
        padding-top: 60px;
    }
}


/* ヘッダー */
header {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:  -webkit-fill-available;
    height: 80px;
    background: #fff;
    padding: 0 30px;
}
header a  {
    height: 60px;
}
header a img {
    width: auto;
    height: 60px;
    transition: all 0.3s ease-in-out;
}
header a:hover {
    opacity: 0.6;
}
header ul.PC-menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
header ul.PC-menu li a {
    position: relative;
    color: #171C61;
    font-size: 16px;
    font-weight: bold;
    height: auto;
    transition: all 0.3s ease-out;
}

header ul.PC-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #171C61;
    transform: scale(0,1);
    transform-origin: center top;
    transition: transform 0.3s;
}
header ul.PC-menu li a:hover::after {
    transform: scale(1,1);
}
.SP-menu {
    display: block;
}
#nav-drawer {
    position: relative;
  }
  
  .nav-unshown {
    display:none;
  }
  
  /*アイコンのスペース*/
  #nav-open {
    display: inline-block;
    width: 26px;
    height: 22px;
    vertical-align: middle;
  }
  
  /*ハンバーガーの形をCSSで表現*/
  #nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;/*線の太さ*/
    width: 26px;/*長さ*/
    border-radius: 2px;
    background: #171C61;
    display: block;
    content: '';
    cursor: pointer;
  }
  #nav-open span:before {
    bottom: -8px;
  }
  #nav-open span:after {
    bottom: -16px;
  }
  
  /*閉じる用の薄黒箇所*/
  #nav-close {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
  }
  
  /*メニューの中身*/
  #nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 90%;
    max-width: 230px;/*最大幅（お好みで調整を）*/
    height: 100%;
    background: #fff;
    transition: .3s ease-in-out;
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);
    padding: 20px;
    text-align: left;
  }
  #nav-content li {
    margin-bottom: 12px;
  }
  #nav-content li:last-of-type {
    margin-bottom: 0;
  }
  #nav-content li.SP-logo {
    height: 60px;
    margin-bottom: 20px;
  }
  #nav-content li.SP-logo img {
    height: 60px;
  }
  #nav-content li a {
    color: #171C61;
    font-size: 16px;
    font-weight: bold;
  }
  #nav-content li a::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right,#171C61,#2EA7E0);
    border-radius: 2px;
  } 
  #nav-content li.SP-logo a::after {
    display: none;
  }

  /*チェックがついたら表示させる*/
  #nav-input:checked ~ #nav-close {
    display: block;
    opacity: .5;
  }
  
  #nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
  }
  
@media screen and (min-width: 769px) {
    header .SP-menu {
        display: none;
    }
}
@media screen and (max-width:768px) {
    header {
        height: 50px;
        padding: 0 12px;
    }
    header a,
    header a img {
        height: 30px;
    }
    header ul.PC-menu {
        display: none;
    }
}


/* メインビジュアル */
.main-visual {
    position: relative;
    height: calc(100vh - 80px);
    margin-top: 80px;
}
.main-visual img.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position: top left; */
    object-position: top center;
}
.main-visual .page-title {
    position: absolute;
    top: 50px;
    right: 50px;
    text-align: right;
}
.main-visual .page-title .flexbox {
    justify-content: right;
    gap: 30px;
}
.main-visual .page-title .flexbox img.title-txt1 {
    width: 95%;
    height: auto;
}
.main-visual .page-title .flexbox img.logo {
    position: relative;
    width: 15vw;
    height: auto;
}
.loan-request {
    position: absolute;
    right: 50px;
    bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    align-items: center;
    gap: 12px;
    width: 80vw;
    text-align: right;
    text-align: -webkit-right;
}
.loan-request img.title-txt2 {
    width: 50vw;
}
@media screen and (max-width:768px) {
    .main-visual {
        height: calc(100vh - 50px);
        margin-top: 50px;
    }
    /* .main-visual img.main-img {
        object-position: top 0 left -200px;
    } */
    .main-visual .page-title {
        top: 30px;
        right: 20px;
    }
    .main-visual .page-title .flexbox {
        gap: 12px;
    }
    .loan-request {
        right: 20px;
        bottom: 30px;
    }
    .loan-request img.title-txt2 {
        width: 70vw;
    }
}
/* @media screen and (max-width:549px) {
    .main-visual img.main-img {
        object-position: top 0 left -300px;
    }
} */
@media screen and (max-width:428px) {
    .main-visual .page-title img.logo {
        width: 25vw;
    }
    .loan-request p {
        font-size: 5vw;
    } 
}


/* 目的 */
#TOP-purpose .flexbox {
    margin-top: 50px;
}
#TOP-purpose .flexbox .circleItem {
    width: 250px;
    height: auto;
    padding: 30px 2px;
    border-radius: 12px;
    background: #E3F0FA;
    box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.25);
    text-align: center;
    vertical-align: middle;
    transition: all 0.3s ease-in-out;
}
#TOP-purpose .flexbox .circleItem:hover {
    transform: scale(1.1);
    box-shadow: none;
}
#TOP-purpose .flexbox .circleItem img {
    width: auto;
    height: 110px;
}
#TOP-purpose .flexbox .circleItem .flexbox {
    padding: 12px 0;
    gap: 8px;
}
#TOP-purpose .flexbox .circleItem .flexbox img.img-items {
    width: auto;
    height: 90px;
}
#TOP-purpose .flexbox .circleItem p {
    color: #171C61;
    font-weight: bold;
    font-size: 22px;
    line-height: 1.2;
    margin-top: 20px;
}
#TOP-purpose .flexbox .adjustment {
    padding: 24px 0;
}
#TOP-purpose .flexbox .adjustment p {
    font-size: 20px;
    margin-top: 10px;
}
#TOP-purpose .flexbox .circleItem .flexbox {
    margin: 0;
}
@media screen and (max-width:768px) {
    #TOP-purpose .flexbox {
        margin-top: 30px;
        gap: 20px;
    }
    #TOP-purpose .flexbox .circleItem {
        width: 220px;
        padding: 20px 0;
    }
    #TOP-purpose .flexbox .circleItem img {
        width: auto;
        height: 80px;
    }
    #TOP-purpose .flexbox .circleItem .flexbox img.img-items {
        width: auto;
        height: 60px;
    }
    #TOP-purpose .flexbox .circleItem p {
        font-size: 20px;
    }
    #TOP-purpose .flexbox .adjustment p {
        font-size: 18px;
        margin-top: 10px;
    }
}
@media screen and (max-width:428px) {
    #TOP-purpose .flexbox {
        margin-top: 20px;
    }
    #TOP-purpose .flexbox .circleItem {
        width: 45%;
    }
    #TOP-purpose .flexbox .circleItem img {
        width: auto;
        height: 65px;
    }
    #TOP-purpose .flexbox .circleItem .flexbox {
        padding: 12px 0;
    }
    #TOP-purpose .flexbox .circleItem .flexbox img.img-items {
        width: auto;
        height: 45px;
    }
    #TOP-purpose .flexbox .circleItem p {
        font-size: 12px;
    }
    #TOP-purpose .flexbox .adjustment {
        padding: 18px 0;
    }
    #TOP-purpose .flexbox .adjustment p {
        font-size: 12px;
    }
    #TOP-purpose .flexbox .circleItem .flexbox {
        gap: 6px;
    }
}



/* 提携機関等 */
#TOP-partnership .splide {
    margin-top: 8px;
    visibility: unset;
}
#TOP-partnership .splide:first-of-type {
    margin-top: 30px;
}
#TOP-partnership .splide .splide__track .splide__list .splide__slide {
    color: #333;
    font-size: 22px;
    font-weight: bold;
}
#TOP-partnership .flexbox {
    margin-top: 50px;
    flex-wrap: nowrap;
}
#TOP-partnership .flexbox img {
    width: 50%;
    margin: 0 auto;
}
#TOP-partnership .flexbox p {
    width: 50%;
    margin: 0 auto;
    text-align: left;
}
#TOP-partnership .flexbox p span {
    font-size: 22px;
    background: linear-gradient(transparent 60%,#FFA51D 60%);
    padding: 0 0 3px 0;
}
@media screen and (max-width:768px) {
    #TOP-partnership .splide {
        margin-top: 0;
    }
    #TOP-partnership .splide:first-of-type {
        margin-top: 20px;
    }
    #TOP-partnership .splide .splide__track .splide__list .splide__slide {
        font-size: 18px;
    }
    #TOP-partnership .flexbox {
        flex-wrap: wrap;
        margin-top: 30px;
        gap: 20px;
    }
    #TOP-partnership .flexbox img {
        width: 100%;
    }
    #TOP-partnership .flexbox p {
        width: 100%;
    }
    #TOP-partnership .flexbox p span {
        font-size: 18px;
    }
}
@media screen and (max-width:428px) {
    #TOP-partnership .splide:first-of-type {
        margin-top: 12px;
    }
    #TOP-partnership .splide .splide__track .splide__list .splide__slide {
        font-size: 16px;
    }
    #TOP-partnership .flexbox {
        gap: 12px;
    }
    #TOP-partnership .flexbox p span {
        font-size: 16px;
    }
}



/* 仕組み */
#TOP-structure {
    margin-bottom: 110px;
}
#TOP-structure p {
    margin-top: 30px;
}
#TOP-structure img {
    width: 100%;
    height: auto;
    margin-top: 50px;
}
@media screen and (max-width:768px) {
    #TOP-structure {
        margin-bottom: 80px;
    }
    #TOP-structure p {
        margin-top: 20px;
    }
    #TOP-structure img {
        margin-top: 30px;
    }
}
@media screen and (max-width:768px) {
    #TOP-structure {
        margin-bottom: 60px;
    }
    #TOP-structure p {
        margin-top: 12px;
    }
    #TOP-structure img {
        margin-top: 20px;
    }
}


/* 申込促進 */
.TOP-request {
    position: relative;
    height: 30vw;
    background-image: url(https://mirailoan.com/wp-content/uploads/2024/03/back-img.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}
.TOP-request::after {
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
}
.TOP-request .loan-request {
    z-index: 1;
    bottom: 0;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    justify-content: left;
    text-align: left;
    text-align: -webkit-left;
}
@media screen and (max-width:768px) {
    .TOP-request {
        height: 45vw;
    }
    .TOP-request .loan-request {
        left: 20px;
    }
    .TOP-request .loan-request img.title-txt2 {
        width: 50vw;
        min-width: 250px;
    }
    .TOP-request .loan-request .request-btn {
        font-size: 4vw;
        padding: 12px 50px;
        border-radius: 12px;
        border: solid 4px #FFA51D;
    }
}




/* ご利用方法 */
#TOP-step {
    margin-bottom: 110px;
}
#TOP-step h2 {
    margin-top: 30px;
}
#TOP-step .flexbox {
    margin-top: 30px;
}
#TOP-step .flexbox .stepItem {
    width: 30%;
    margin: 0 auto;
}
#TOP-step .flexbox .stepItem span {
    display: block;
    font-size: 22px;
}
#TOP-step .flexbox .stepItem img {
    width: auto;
    height: 260px;
    margin: 30px 0;
}
#TOP-step .flexbox .stepItem p {
    font-size: 16px;
    margin-top: 12px;
}
@media screen and (max-width:768px) {
    #TOP-step {
        margin-bottom: 80px;
    }
    #TOP-step h2 {
        margin-top: 20px;
    }
    #TOP-step .flexbox {
        margin-top: 20px;
        flex-wrap: wrap;
    }
    #TOP-step .flexbox .stepItem {
        width: auto;
    }
    #TOP-step .flexbox .stepItem span {
        font-size: 20px;
    }
    #TOP-step .flexbox .stepItem img {
        margin: 20px 0;
    }
}
@media screen and (max-width:428px) {
    #TOP-step {
        margin-bottom: 60px;
    }
    #TOP-step h2 {
        margin-top: 12px;
    }
    #TOP-step .flexbox {
        margin-top: 12px;
    }
    #TOP-step .flexbox .stepItem span {
        font-size: 18px;
    }
    #TOP-step .flexbox .stepItem img {
        height: 220px;
        margin: 12px 0;
    }
    #TOP-step .flexbox .stepItem p {
        font-size: 12px;
        margin-top: 8px;
    }
}


/* おすすめ */
.TOP-recommendation {
    background: #E3F0FA;
    padding: 110px 50px;
}
.TOP-recommendation .flexbox .circleItem {
    width: 250px;
    height: auto;
    padding: 30px 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.25);
    text-align: center;
    vertical-align: middle;
    transition: all 0.3s ease-in-out;
}
.TOP-recommendation .flexbox .circleItem:hover {
    transform: scale(1.1);
    box-shadow: none;
}
.TOP-recommendation .flexbox {
    width: 80%;
    max-width: 810px;
    margin: 50px auto 0;
}
.TOP-recommendation .flexbox .circleItem img {
    width: auto;
    height: 110px;
}
.TOP-recommendation .flexbox .circleItem p {
    color: #171C61;
    font-weight: bold;
    font-size: 22px;
    line-height: 1.2;
    margin-top: 20px;
}
.TOP-recommendation  .flexbox .adjustment {
    padding: 55px 0 30px;
}
.TOP-recommendation  .flexbox .adjustment img {
    width: auto;
    height: 70px;
}
.TOP-recommendation  .flexbox .adjustment p {
    margin-top: 35px;
}
@media screen and (max-width:768px) {
    .TOP-recommendation {
        padding: 80px 20px;
    }
    .TOP-recommendation .flexbox {
        width: 100%;
        margin: 30px auto 0;
        gap: 20px;
    }
    .TOP-recommendation .flexbox .circleItem {
        width: 220px;
        padding: 20px 0;
    }
    .TOP-recommendation .flexbox .circleItem img {
        height: 80px;
    }
    .TOP-recommendation .flexbox .circleItem p {
        font-size: 20px;
    }
    .TOP-recommendation  .flexbox .adjustment {
        padding: 33px 0 22px;
    }
    .TOP-recommendation  .flexbox .adjustment img {
        height: 55px;
    }
    .TOP-recommendation  .flexbox .adjustment p {
        margin-top: 30px;
    }
}
@media screen and (max-width:428px) {
    .TOP-recommendation {
        padding: 60px 20px;
    }
    .TOP-recommendation .flexbox .circleItem {
        width: 45%;
    }
    .TOP-recommendation .flexbox .circleItem img {
        height: 70px;
    }
    .TOP-recommendation .flexbox .circleItem p {
        font-size: 12px;
    }
    .TOP-recommendation  .flexbox .adjustment img {
        height: 50px;
    }
    .TOP-recommendation .flexbox .adjustment p {
        font-size: 12px;
    }
}

/* よくあるご質問 */
#TOP-FAQ {
    background: #f8f8f8;
    padding: 70px 50px 110px; 
}
#TOP-FAQ h1 {
    margin-top: 40px;
}
@media screen and (max-width:768px) {
    #TOP-FAQ {
        padding: 50px 20px 80px; 
    }
    #TOP-FAQ h1 {
        margin-top: 30px;
    }
}
@media screen and (max-width:428px) {
    #TOP-FAQ {
        padding: 40px 20px 60px; 
    }
    #TOP-FAQ h1 {
        margin-top: 20px;
    }
}


/* お申込み */
#TOP-contact {
    margin-bottom: 160px;
}
#TOP-contact .contact-box {
    margin: 30px auto 80px;
}
#TOP-contact .contact-box h2 {
    font-size: 24px;
    margin-bottom: 50px;
}
#TOP-contact .contact-box h2 span {
    font-size: 30px;
}
#TOP-contact #wpcf7-f15-o1 .contact-box .wpcf7-form-control-wrap .checkbox-purpose {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 252px 252px 252px;
    grid-template-rows: auto;
    grid-gap: 30px;
}
#TOP-contact #wpcf7-f15-o1 .contact-box .wpcf7-form-control-wrap .checkbox-purpose .wpcf7-list-item {
    background: #E3F0FA;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 6px 6px 6px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease-in-out;
}
#TOP-contact #wpcf7-f15-o1 .contact-box .wpcf7-form-control-wrap .checkbox-purpose .wpcf7-list-item:hover {
    box-shadow: none;
}
.wpcf7-list-item {
    margin: 0 !important;
}
#TOP-contact #wpcf7-f15-o1 .contact-box .wpcf7-form-control-wrap .checkbox-purpose .wpcf7-list-item {
    padding: 30px 20px;
    border-radius: 12px;
}
#TOP-contact #wpcf7-f15-o1 .contact-box .wpcf7-form-control-wrap .checkbox-purpose .wpcf7-list-item label {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
#TOP-contact .contact-box table {
    max-width: 816px;
    min-width: 816px;
    margin: 0 auto;
}
#TOP-contact .contact-box table tbody tr th {
    font-size: 22px;
    font-weight: bold;
    text-align: left;
    vertical-align: baseline;
    width: 154px;
    padding: 0 30px 20px 0;
}
#TOP-contact .contact-box table tbody tr td {
    width: max-content;
    text-align: left;
    padding-bottom: 20px;
}
#TOP-contact .contact-box table tbody tr td.short-box {
    display: grid;
    grid-template-columns: 25vw auto;
    grid-auto-rows: auto;
}
#TOP-contact .contact-box table tbody tr td.short-box span.grid-span {
    width: 100%;
    grid-column: 1/2;
    grid-row: 2;  
}
#TOP-contact .contact-box table tbody tr td.short-box p {
    font-weight: bold;
    font-size: 22px;
    padding-left: 30px;
}

#TOP-contact .contact-box table tbody tr td.PW-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
#TOP-contact .contact-box table tbody tr td span {
    font-size: 14px;
    font-weight: bold;
    color: #B31B1B;
}
#TOP-contact .contact-box table tbody tr td #buttonEye-password {
    color: #333;
}
#TOP-contact .contact-box table tbody tr:last-of-type th {
    padding: 0 30px 0 0;
}
#TOP-contact .contact-box table tbody tr:last-of-type td {
    padding: 0;
}
input[type="number" i] ,input[type="text" i] ,input[type="email" i] ,input[type="tel" i] ,input[type="password" i]  {
    width: -webkit-fill-available;
    font-size: 18px;
    padding: 4px 8px 3px;
    border: 2px solid #707070;
    border-radius: 8px;
}
input[type="number" i]:focus ,input[type="text" i]:focus ,input[type="email" i]:focus ,input[type="tel" i]:focus ,input[type="password" i] :focus {
    background: #E3F0FA;
    border: 2px solid #2EA7E0;
    outline: none;
}
#TOP-contact .contact-box table tbody tr td .flex-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
#TOP-contact .contact-box table tbody tr td .flex-box input[type="text" i]  {
    width: calc(100% - 20px);
}
#TOP-contact .policy {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
#TOP-contact .policy span.wpcf7-form-control-wrap {
    display: block;
    width: 20px;
    height: 20px;
}
#TOP-contact .policy p a {
    text-decoration: underline;
}
#TOP-contact .policy p a:hover {
    opacity: 0.6;
}
.checkbox-purpose input {
    display: none;
}
.checkbox-purpose input + span {
    position: relative;
    display: inline-block;
    color: #171C61;
    padding-left: 36px;
  }
.checkbox-purpose input + span::after,
.checkbox-purpose input + span::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
}
.checkbox-purpose input + span::before {
    background: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
.checkbox-purpose input + span::after {
    display: none;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    background: #171C61;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
}
.checkbox-purpose input:checked + span::after {
    display: block;
  }

#TOP-contact input[type="submit" i] {
    color: #FFA51D;
    font-size: 22px;
    background: #fff;
    border: 3px solid #FFA51D;
    padding: 20px 105px;
    margin-top: 50px;
    border-radius: 12px;
}
#TOP-contact input[type="submit" i]:hover {
    color: #fff;
    background: #FFA51D;
    border: 3px solid #fff;
}
.wpcf7-not-valid-tip {
    font-size: 18px !important;
    font-weight: bold !important;
    margin-top: 20px;
}
@media screen and (max-width:768px) {
    #TOP-contact {
        margin-bottom: 120px;
    }
    #TOP-contact .contact-box {
        width: calc(100% - 12px);
        margin: 20px auto 60px;
    }
    #TOP-contact .contact-box h2 {
        font-size: 20px;
        margin-bottom: 30px;
    }
    #TOP-contact .contact-box h2 span {
        font-size: 26px;
    }
    .checkbox-purpose input + span {
        padding-left: 26px;
      }
    .checkbox-purpose input + span::before {
        width: 20px;
        height: 20px;
      }
    .checkbox-purpose input + span::after {
        left: 2px;
        width: 16px;
        height: 16px;
    }
    #TOP-contact #wpcf7-f15-o1 .contact-box .wpcf7-form-control-wrap .checkbox-purpose {
        grid-template-columns: 215px 215px;
        grid-gap: 20px;
    }
    #TOP-contact #wpcf7-f15-o1 .contact-box .wpcf7-form-control-wrap .checkbox-purpose .wpcf7-list-item {
        padding: 20px 12px;
    }
    #TOP-contact .contact-box table {
        width: 100%;
        min-width: 0;
        margin: 0;
    }
    #TOP-contact .contact-box table tbody tr {
        width:  calc(100vh - 40px);
    }
    #TOP-contact .contact-box table tbody tr th {
        font-size: 16px;
        min-width: 112px;
        padding: 0 12px 12px 0;
    }
    #TOP-contact .contact-box table tbody tr td {
        width:  calc(100vh - 164px);
        padding-bottom: 12px;
    }
    #TOP-contact .contact-box table tbody tr td.short-box {
        grid-template-columns: calc(100% - 28px) 28px;
        width: 100%;
    }
    #TOP-contact .contact-box table tbody tr td.short-box p {
        font-size: 16px;
        padding-left: 12px;
    }
    #TOP-contact .contact-box table tbody tr td span {
        font-size: 12px;
    }
    #TOP-contact .contact-box table tbody tr td.short-box span.grid-span {
        width: calc(100% + 28px);
    }
    #TOP-contact .contact-box table tbody tr td.PW-box {
        flex-wrap: wrap;
        gap: 0;
        width: 100%;
    }
    .wpcf7-form-control-wrap {
        height: 31px;
    }
    #TOP-contact .contact-box table tbody tr td #buttonEye-password {
        top: -20px;
        left: 20px;
        text-align: right;
    }
    #TOP-contact .contact-box table tbody tr td span {
        display: block;
        width: 100%;
    }
    #TOP-contact .contact-box table tbody tr:last-of-type th {
        padding: 0 12px 0 0;
    }
    #TOP-contact .contact-box table tbody tr:last-of-type td {
        padding: 0;
    }
    input[type="number" i] ,input[type="text" i] ,input[type="email" i] ,input[type="tel" i] ,input[type="password" i]  {
        width:  calc(100% - 40px);
        font-size: 16px;
        padding: 4px 20px 3px;
        border-radius: 8px;
    }
    #TOP-contact .contact-box table tbody tr td.short-box span input {
        width: calc(100% - 28px);
    }
    #TOP-contact .contact-box table tbody tr td .flex-box {
        flex-wrap: wrap;
        gap: 12px;
    }
    #TOP-contact .contact-box table tbody tr td .flex-box input[type="text" i]  {
        width:  calc(100% - 40px);
    }
    #TOP-contact .policy {
        text-align: left;
    }
    .wpcf7-not-valid-tip {
        font-size: 16px !important;
        margin-top: 12px;
    }
}
@media screen and (max-width:514px) {
    #TOP-contact #wpcf7-f15-o1 .contact-box .wpcf7-form-control-wrap .checkbox-purpose {
        grid-template-columns: calc(100% - 12px);
        grid-gap: 20px;
    }
    .checkbox-purpose input + span {
        padding-left: 36px;
      }
}
@media screen and (max-width:428px) {
    #TOP-contact {
        margin-bottom: 100px;
    }
    #TOP-contact .contact-box {
        margin: 12px auto 30px;
    }
    #TOP-contact .contact-box h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    #TOP-contact .contact-box h2 span {
        font-size: 22px;
    }
    .checkbox-purpose input + span {
        font-size: 16px;
    }
    #TOP-contact .contact-box table tbody tr th {
        font-size: 14px;
        width: 98px;
    }
    #TOP-contact .contact-box table tbody tr td {
        padding-bottom: 12px;
    }
    #TOP-contact .contact-box table tbody tr:last-of-type th {
        padding: 0 12px 0 0;
    }
    input[type="number" i] ,input[type="text" i] ,input[type="email" i] ,input[type="tel" i] ,input[type="password" i]  {
        width: calc(100% - 24px);
        font-size: 14px;
        padding: 4px 12px 3px;    
    }
    #TOP-contact .contact-box table tbody tr td .flex-box input[type="text" i]  {
        width:  calc(100% - 24px);
    }
    #TOP-contact .contact-box table tbody tr td span {
        font-size: 10px;
    }
    #TOP-contact .contact-box table tbody tr td #buttonEye-password {
        left: 22px;
    }
    #TOP-contact .policy {
        gap: 8px;
    }
    #TOP-contact input[type="submit" i] {
        font-size: 18px;
        padding: 12px 80px;
        margin-top: 50px;
        border-radius: 12px;
    }
    .wpcf7-not-valid-tip {
        font-size: 14px !important;
        margin-top: 8px;
    }
}


/* フッター */
footer {
    color: #fff;
    background: #171C61;
    padding: 20px 30px;
}
footer .flexbox {
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
}
footer p,
footer .flexbox p ,
footer table tbody tr th ,
footer table tbody tr td {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
}
footer p {
    margin-top: 20px;
}
footer p span {
    font-size: 22px;
    padding-right: 8px;
}
footer table tbody tr {
    vertical-align: baseline;
}
footer table tbody tr th {
    width: 56px;
    padding-right: 8px;
}
footer table tbody tr th ,
footer table tbody tr td {
    padding-bottom: 6px;
}
footer table tbody tr:first-of-type th ,
footer table tbody tr:first-of-type td {
    padding-top: 6px;
}
footer table tbody tr:last-of-type th ,
footer table tbody tr:last-of-type td {
    padding-bottom: 0;
}
footer table tbody tr td a {
    color: #fff;
    font-weight: bold;
}
footer .outlink-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 152px;
}
footer .outlink-box button.outlink-btn {
    font-size: 14px;
    font-weight: bold;
    color: #171C61;
    background: #fff;
    border: 2px solid #171C61;
    border-radius: 8px;
    width: 152px;
    padding: 10px 0;
    transition: all 0.3s ease-in-out;
}
footer .outlink-box button.outlink-btn:hover {
    color: #fff;
    background: #171C61;
    border: 2px solid #fff;
}
@media screen and (max-width:768px) {
    footer {
        color: #fff;
        background: #171C61;
        padding: 20px;
    }
    footer .outlink-box {
        flex-wrap: nowrap;
        width: auto;
    }
}
@media screen and (max-width:428px) {
    footer p,
    footer .flexbox p ,
    footer table tbody tr th ,
    footer table tbody tr td {
        font-size: 10px;
    }
    footer p {
        margin-top: 12px;
    }
    footer p span {
        font-size: 18px;
        padding-right: 8px;
    }
    footer table tbody tr th {
        width: 40px;
        padding-right: 6px;
    }
    footer table tbody tr th ,
    footer table tbody tr td {
        padding-bottom: 0;
    }
    footer .outlink-box button.outlink-btn {
        font-size: 12px;
        width: 120px;
        }
}


/* 利用規約ページ */
.policy-page {
    margin: 80px auto 110px;
    text-align: left;
}
.policy-page h1 {
    margin-bottom: 30px;
    text-align: center;
}
.policy-page p {
    font-size: 16px;
}
.policy-page .policybox {
    margin: 50px auto 0;
}
.policy-page .policybox:last-of-type {
    margin: 50px auto 240px;
}
.policy-page .policybox h2 {
    margin-bottom: 30px;
}
.policy-page .policybox ul {
    padding-left: 44px;
    counter-reset: listnum;
}
.policy-page .policybox ul li {
    position: relative;
    margin-top: 12px;
    counter-increment: listnum; 
}
.policy-page .policybox ul li:first-of-type {
    margin-top: 0;
}
.policy-page .policybox ul li::before {
    content: counter(listnum)'.';
    position: absolute;
    top: 3px;
    left: -44px;
    width: 24px;
    height: 24px;
    font-size: 24px;
    font-weight: bold;
    text-align: right;
}
.policy-page .policybox ul li ul.policy-detail {
    margin: 20px auto;
    padding-left: 40px;
}
.policy-page .policybox ul li .policy-detail li::before{
    content: '('counter(listnum)')';
    top: 5px;
    left: -40px;
    width: 20px;
    height: 20px;
    font-size: 20px;
    font-weight: normal;
}
.policy-page .policybox ul li .policy-detail li p {
    font-size: 14px;
    line-height: 1.8;
}
img.footer-logo {
    width: auto;
    height: 150px;
    margin-bottom: 110px;
    text-align: center;
}
@media screen and (max-width:768px) {
    .policy-page {
        margin: 60px auto 110px;
    }
    .policy-page p {
        font-size: 16px;
    }
    .policy-page .policybox {
        margin: 30px auto 0;
    }
    .policy-page .policybox:last-of-type {
        margin: 30px auto 160px;
    }
    .policy-page .policybox h2 {
        margin-bottom: 20px;
    }
    .policy-page .policybox ul {
        padding-left: 32px;
    }
    .policy-page .policybox ul li::before {
        left: -32px;
        width: 18px;
        height: 18px;
        font-size: 18px;
    }
    .policy-page .policybox ul li ul.policy-detail {
        padding-left: 30px;
    }
    .policy-page .policybox ul li .policy-detail li::before{
        top: 3px;
        left: -30px;
        width: 16px;
        height: 16px;
        font-size: 16px;
    }
    img.footer-logo {
        height: 120px;
        margin-bottom: 80px;
    }
}
@media screen and (max-width:428px) {
    .policy-page {
        margin: 50px auto 100px;
    }
    .policy-page p {
        font-size: 14px;
    }
    .policy-page .policybox {
        margin: 20px auto 0;
    }
    .policy-page .policybox:last-of-type {
        margin: 20px auto 80px;
    }
    .policy-page .policybox h2 {
        margin-bottom: 12px;
    }
    .policy-page .policybox ul {
        padding-left: 26px;
    }
    .policy-page .policybox ul li::before {
        left: -26px;
        width: 16px;
        height: 16px;
        font-size: 16px;
    }
    .policy-page .policybox ul li ul.policy-detail {
        padding-left: 24px;
    }
    .policy-page .policybox ul li .policy-detail li::before{
        top: 3px;
        left: -24px;
        width: 14px;
        height: 14px;
        font-size: 14px;
    }
    .policy-page .policybox ul li .policy-detail p {
        font-size: 12px;
    }
    img.footer-logo {
        height: 80px;
        margin-bottom: 60px;
    }
}

/* お申込み確認ページ */
.requestcompletion-page {
    margin: 80px auto 160px;
    text-align: center;
}
.requestcompletion-page h1 {
    margin-bottom: 30px;
}
.requestcompletion-page table {
    width: 70%;
    max-width: 1180px;
    margin: 30px auto 50px;
}
.requestcompletion-page table tbody tr {
    width: fit-content;
    margin: 0 auto;
}
.requestcompletion-page table tbody tr:nth-child(odd) {
    background: #E3F0FA;
}
.requestcompletion-page table tbody tr th ,
.requestcompletion-page table tbody tr td {
    font-size: 22px;
    padding: 20px;
    font-weight: bold;
}
.requestcompletion-page table tbody tr td {
    text-align: left;
}
.requestcompletion-page table tbody tr td.short-box-sec {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
}
.requestcompletion-page table tbody tr td.short-box-sec p {
    font-weight: bold;
}

.requestcompletion-page p.notes {
    font-size: 14px;
}
.requestcompletion-page .flexbox {
    gap: 50px;
    margin-top: 50px;
}
.requestcompletion-page .flexbox .request-btn ,
.requestcompletion-page .flexbox .return {
    font-size: 22px;
    font-weight: bold;
    width: 300px;
    height: 80px;
    border-radius: 12px;
    box-shadow: 6px 6px 6px 0 rgba(0, 0, 0, 0.25);
}
.requestcompletion-page .flexbox .request-btn {
    border: 3px solid #FFA51D;
    margin: 0;
}
.requestcompletion-page .flexbox .return {
    border: none;
    background: #f8f8f8;
    transition: all 0.3s ease-in-out;
}
.requestcompletion-page .flexbox .return:hover {
    color: #fff;
    background: #707070;
    box-shadow: none;
}
@media screen and (max-width:768px) {
    .requestcompletion-page {
        margin: 60px auto 120px;
    }
    .requestcompletion-page h1 {
        margin-bottom: 20px;
    }
    .requestcompletion-page table {
        width: 100%;
        margin: 20px auto 30px;
    }
    .requestcompletion-page table tbody tr th ,
    .requestcompletion-page table tbody tr td {
        font-size: 16px;
    }
    .requestcompletion-page table tbody tr th {
        min-width: 112px;
    }
    .requestcompletion-page table tbody tr td.short-box-sec p {
        font-size: 16px;
    }
    .requestcompletion-page p.notes {
        font-size: 12px;
    }
    .requestcompletion-page .flexbox {
        gap: 30px;
        margin-top: 50px;
    }
    .requestcompletion-page .flexbox .request-btn ,
    .requestcompletion-page .flexbox .return {
        font-size: 18px;
        height: 70px;
    }
}
@media screen and (max-width:428px) {
    .requestcompletion-page {
        margin: 50px auto 100px;
    }
    .requestcompletion-page table {
        margin: 20px auto;
    }
    .requestcompletion-page table tbody tr th ,
    .requestcompletion-page table tbody tr td {
        font-size: 14px;
        padding: 12px;
    }
    .requestcompletion-page table tbody tr th {
        min-width: 98px;
    }
    .requestcompletion-page table tbody tr td.short-box-sec p {
        font-size: 14px;
    }
    .requestcompletion-page p.notes {
        text-align: left;
    }
    .requestcompletion-page .flexbox .request-btn ,
    .requestcompletion-page .flexbox .return {
        font-size: 16px;
        height: 60px;
    }

}




/* お申込み完 */
.thk-page {
    margin: 80px auto 160px;
    text-align: center;
}
.thk-page h1 {
    margin-bottom: 30px;
}
.thk-page img {
    width: 30vw;
    max-width: 450px;
    min-width: 250px;
}
.thk-page p.thk-txt {
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
}
.thk-page a.request-btn {
    display: inline-block;
    font-size: 22px;
    height: auto;
    border-radius: 12px;
    box-shadow: 6px 6px 6px 0 rgba(0, 0, 0, 0.25);
    border: 3px solid #FFA51D;
    margin-top: 80px;
}
.thk-page a.request-btn p {
    font-weight: bold;
}
@media screen and (max-width:768px) {
    .thk-page {
        margin: 60px auto 120px;
    }
    .thk-page h1 {
        margin-bottom: 20px;
    }
    .thk-page p.thk-txt {
        font-size: 16px;
        margin-top: 20px;
    }
    .thk-page .request-btn {
        font-size: 18px;
        height: 70px;
        margin-top: 50px;
    }  
}
@media screen and (max-width:428px) {
    .thk-page {
        margin: 50px auto 100px;
    }
    .thk-page p.thk-txt {
        font-size: 14px;
    }
    .thk-page .request-btn {
        font-size: 16px;
        height: 60px;
    }  
}