@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");

 section{
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline; 
}
.top-image {
    width: 100%;
    height: auto;
    background-size: cover;
    background-color: black;
    padding: 0;
    text-align: center;
    overflow: hidden; 
}
.top-image-img {
    width: auto; 
    height: auto; 
}
.fv-pc-img {
    height: auto;
    aspect-ratio: 1280 / 283; 
    width: 100%; 
    max-width: 1400px;
}
.fv-sp-img {
    display: none;
}

@media screen and (max-width: 768px) {
    
    .top-image-img {
        width: 100%;
        height: 100%;
        object-fit: contain; 
    }
    .fv-sp-img {
        display: block;
    }
    .fv-pc-img {
        display: none;
    }
}

@media (min-width: 768px) {
    .mobile-version {
        display: none;
    }
    .pc-version {
        display: block;
    }
}

@media (max-width: 767px) {
    .pc-version {
        display: none;
    }
    .mobile-version {
        display: block;
    }
}

.ib-lp-main .pagetop {
    width: 80px;
    height: 80px;
    position: fixed;
    right: 5px;
    bottom: 220px;
    z-index: 10;
  }
  
  @media screen and (max-width: 1025px) {
    .ib-lp-main .pagetop {
      width: 60px;
      height: 60px;
      position: fixed;
      right: 5px;
      bottom: 200px;
      z-index: 10;
    }
  }



.container1 {
    width: 90%; 
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.steps {
    margin: 90px auto 1vw auto;
    padding: 2vw 0; 
    max-width: 960px; 
    display: flex;
    flex-direction: column; 
    gap: 80px; 
}
.step-section {
    margin: 0 auto; 
    width: 95%; 
    text-align: center;
    background-color: #f8f8f8;
    padding: 20px;
    padding-top: 30px;
    border-radius: 10px;
}
.step-image {
    display: flex;
    justify-content: center; 
    align-items: center; 
    margin-bottom: 55px; 
    margin-top: -60px;
}
.step-image img {
    max-width: 163px; 
    width: 100%; 
    height: auto; 
}

@media screen and (max-width: 768px) {
    .step-image {
        margin-top: -30px;
        margin-bottom: 50px;
    }
    .step-image img {
        max-width: 150px;
    }
}

.step {
    font-size: 46px;
    font-weight: 700;
    color: #C1272D;
    margin-bottom: 20px;
}
.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.btn1 {
    font-family: 'Inter', sans-serif;
    padding: 30px 80px; 
    font-size: 18px;
    font-weight: bold;
    color: white; 
    border: none;
    border-radius: 12px; 
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2), inset 0 -2px 5px rgba(0, 0, 0, 0.3); 
    transition: all 0.3s ease; 
    text-align: center; 
}
.personal-account {
    padding: 25px 70px;
    background: linear-gradient(135deg, #C1272D 0%, #9A151A 100%);
    -webkit-box-shadow: 0px 0px 40px 10px rgba(110, 5, 5, 0.7);
    box-shadow: 0px 5px 10px rgba(110, 5, 5, 0.7);
}
.corporate-account {
    padding: 25px 70px;
    background: linear-gradient(135deg, #3A9EDC 0%, #247AAF 100%);
    -webkit-box-shadow: 0px 0px 40px 10px rgba(9, 112, 208, 0.6);
    box-shadow: 0px 5px 10px rgba(9, 112, 208, 0.6);
}
.step-content {
    margin: 20px 0; 
}
.section-box {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px; 
    margin-top: 28px;
}
.step1-division{
    margin-bottom: 60px;
}
.section-box-step2{
    margin-top: 60px;
    margin-bottom: 20px; 
}
.section-box-step2 p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
}
.line-box {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 10px;
    max-width: 80%; /* 全体の横幅を統一 */
    margin: 0 auto; /* 中央揃え */
    text-align: center;
}
.line-box::before,
.line-box::after {
    content: "";
    flex-grow: 1;
    max-width: 80px;   
    height: 1px;  
    background-color: #333;
    text-align: center;
}
.line-text {
    font-family: 'Inter', sans-serif;  
    font-size: 20px; 
    line-height: auto;
    letter-spacing: 0%; 
    text-align: center; 
    color: #000000; 
    font-weight: bold;
    margin: 0px;
}
.sub-text {
    font-family: 'Inter', sans-serif;  
    font-size: 14px; 
    font-weight: 500;
    line-height: auto; 
    letter-spacing: 0%;
    text-align: center; 
    color: #000000; 
    margin-top: 15px; 
    padding: 0px 30px;
}
.step-footer {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 50px;
}
.btn1.login-mypage {
    background-color: #000;
    color: #fff;
    padding: 30px 120px;
    font-size: 18px;
    font-family: 'Inter', sans-serif; 
    font-weight: bold; 
    border: none;
    border-radius: 12px; 
    cursor: pointer;
    -webkit-box-shadow: 0px 0px 40px 12px rgba(13, 11, 11, 0.2);
    transition: all 0.3s ease; 
    text-align: center; 
}
.btn1:hover {
    transform: translateY(-3px); 
    opacity: 1;
    -webkit-box-shadow: none;
            box-shadow: none; 
}
.btn1:active {
    transform: translateY(1px); 
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); 
}
#contraction-box {
    text-align: center;
}
.image-container {
    width: 100%; 
    max-width: 730px;
    height: auto; 
    margin: 0 auto; 
}
.mypage-button-container{
    margin-top: 38px;
}
.contracting-form-in-STEP2 {
    top: 0;
    left: 0;
    width: 100%; 
    height: auto; 
    border-radius: 10px;
    max-height: 450px;
    transform: scale(1.12);
}
.en-STEP2-image {
    max-height: 450px;
    max-width: 500px;
}
.cn-STEP2-image {
    max-height: 450px;
}
.tw-STEP2-image {
    max-height: 450px;
}
.contracting-form-in-STEP2_sp {
    display: none;
}
.warning-text {
    color: #C1272D;
    font-size: 13px;
    font-weight: bold;
    margin: 20px 10px 0;
    text-align: center;
}
.agreement-box img { 
    top: 0;
    left: 0;
    width: 100%; 
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); 
}
.agreement-box {
    margin-bottom: 60px;
}
.contracting-form-in-STEP3_sp {
    display: none;
}
.completion-box img {
    text-align: center;
    top: 0;
    left: 0;
    width: 100%; 
    height: auto; 
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); 
}
.completion-box {
    margin-bottom: 60px;
}
.contracting-form-in-STEP4_sp {
    display: none;
}
.final-section {
    text-align: center;
    margin: 0 auto 80px auto;
    padding: 0 0 10px 0;
    max-width: 800px; 
    overflow-wrap: anywhere; 
    word-break: keep-all;    
    line-break: strict;  
}
.final-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8;
    color: #000000;
    margin-top: 55px;
    margin-bottom: 50px;
}
.contact-button-container {
    text-align: center;
}
.contact-button {
    background-color: #000; 
    color: #fff; 
    font-size: 18px;
    font-weight: bold;
    padding: 30px 120px;
    border: none;
    border-radius: 10px; 
    cursor: pointer;
    -webkit-box-shadow: 0px 0px 40px 12px rgba(13, 11, 11, 0.2);
    transition: all 0.3s ease; 
}
.contact-button:hover {
    background-color: #333; 
    transform: translateY(-3px); 
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3); 
    opacity: 1;
    -webkit-box-shadow: none;
            box-shadow: none;
}
.contact-button:active {
    background-color: #111; 
    transform: translateY(1px); 
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {

    .container1 {
        flex-direction: column;
        flex-wrap: wrap;
        width: 98%;
    }
    .steps {
        padding: 5px 0;
        max-width: 100%;
        clear: both;
        
    }
    .step-section {
        width: 95% !important;
        padding: 5px 5px 5px 5px;
        margin: 0 auto; 
    }
    .step-footer{
        margin-top: 20px;
        margin-bottom: 40px;
    }
    .step-footer p{
        margin: 0px;
    }
    .line-box {
        gap: 10px; 
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center; 
        max-width: calc(100% - 40px);
        margin: 0 auto;
        text-align: center;
        }
    .line-text {
        margin: 0; 
        padding: 0; 
        line-height: 1.2; 
        white-space: normal;
        word-break: normal;   
    }
    .line-box::before,
    .line-box::after {
        content: "";
        flex-grow: 1;
        max-width: 80px;   
        height: 1px;  
        background-color: #333;
        text-align: center;
    }
    .sub-text { 
        margin-top: 30px; 
        padding: 0px 15px;
    }
    .section-box{
        margin-bottom:10px;
    }
    .step1-division{
        margin-bottom: 60px;
    }
    .buttons {
        flex-direction: column; 
        justify-content: center; 
        gap: 20px; 
        margin: 0 auto; 
        padding: 25px 30px 30px;
    }
    .btn1 {
        width: 100%; 
        padding: 25px 30px;
        font-size: 18px;
        max-width: 300px; 
        font-weight: bold;
        color: white; 
        border: none;
        border-radius: 10px; 
    }
    .mypage-button-container {
        padding: 20px 30px 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .login-mypage {
        display: flex;
        justify-content: center;
        align-items: center;
        white-space: nowrap;
        padding: 10px 20px; 
    }
    .section-box-step2{
        margin-top: 35px; 
    }
    .contracting-form-in-STEP2 {
        display: none; 
    }
    .contracting-form-in-STEP2_sp {
        display: block; 
        width: 100%;
        top: 0;
        left: 0;
        width: 100%; 
        height: auto; 
        border-radius: 10px; 
    }
    .contracting-form-in-STEP3 {
        display: none; 
    }
    .contracting-form-in-STEP3_sp {
        display: block; 
        width: 100%; 
        top: 0;
        left: 0;
        width: 100%; 
        height: auto; 
        border-radius: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); 
    }
    .warning-text{
        margin-top: 30px;
    }
    .contracting-form-in-STEP4 {
        display: none; 
    }
    .contracting-form-in-STEP4_sp {
        display: block; 
        width: 100%; 
        top: 0;
        left: 0;
        width: 100%; 
        height: auto; 
        border-radius: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); 
    }
    .completion-box img {
        width: 100%; 
        height: auto;
    }
    .image-container {
        padding: 20px 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .final-section {
        padding: 75px 5px 10px 5px;
    }
    .final-text {
        font-size: 15px; 
        margin-top: 0px;
        margin-bottom: 25px;
        overflow-wrap: break-word;
    }
    .contact-button-container{
        justify-content: center; 
        margin: 0 auto; 
        padding: 30px;
    }
    .contact-button {
        width: 100%; 
        padding: 30px 0px;
        max-width: 300px;
    }
}

/* * * * * * * */
/* Page Style */
/* * * * * * */

.breadcrumb {
    padding: 10px 0;
    background-color: transparent;
    margin: 0;
    margin-bottom: 20px;
}
.breadcrumb a {
    color: #333;
}
.breadcrumb > li + li:before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #333;
}
  .breadcrumb > .active {
    color: #333;
}
.page-title {
    background-color: #f2f2f2;
    padding: 20px 0px;
}
  
.page-title .main-title {
    margin-top: 10px;
    margin-bottom: 0;
}

@media (max-width: 769px){
    .breadcrumb{
        margin-bottom: 0;
        text-align: center;
    }
}

  
  /* Page Style */
  
.page-title .main-title {
    font-size: 26px;
}






