/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #FFFFFF;
    color: #333333;
    line-height: 1.2;
}

.container {
    max-width: 472px;
    margin: 0 auto;
    padding: 0 20px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ヘッダー */
.header {
    width: 100%;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 200px;
    height: auto;
    object-fit: cover;
}

/* メインタイトル */
.main-title {
    width: 100%;
    padding: 75px 0 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-title h1 {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.199;
    letter-spacing: 0.02em;
    text-align: center;
    color: #333333;
    width: 286px;
}

/* 連絡先情報 */
.contact-info {
    width: 100%;
    padding: 25px 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-item {
    width: 100%;
    max-width: 335px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
}

.contact-item:nth-child(2) .contact-icon {
    width: 53px;
    height: 44px;
}

.contact-details {
    /*display: flex;*/
    /*
    flex-direction: column;
    justify-content: center;
    */
    gap: 4px;
    flex: 1;
}

.contact-link {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.199;
    letter-spacing: 0.02em;
    text-align: left;
    color: #2C95D7;
    text-decoration: none;
    border-bottom: 1px solid #2C95D7;
    padding-bottom: 2px;
}

/* Kasicasサポート事務局 */
.support-office {
    width: 100%;
    padding: 25px 0 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.support-frame {
    width: 187px;
    height: 31px;
    border: 0.5px solid #000000;
    background-color: rgba(217, 217, 217, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.support-frame h2 {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.199;
    letter-spacing: 0.02em;
    text-align: center;
    color: #333333;
    position: absolute;
    top: 6px;
    left: 7px;
    width: fit-content;
    height: 19px;
}

/* 必要なものセクション */
.requirements-section {
    width: 100%;
    padding: 12px 0 50px 0;
    display: flex;
    justify-content: center;
}

.requirements-box {
    width: 100%;
    border: 2px dashed #7DA6FE;
    border-radius: 15px;
    background-color: rgba(233, 239, 255, 0);
    padding: 20px 1em;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.requirements-box h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.447;
    letter-spacing: 0.02em;
    text-align: center;
    color: #333333;
    padding: 0 0 10px;
}

.requirement-item {
    display: flex;
    gap: 5px;
    padding: 0;
    align-items: flex-start;
}

.requirement-number {
    width: 20px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.199;
    letter-spacing: 0.02em;
    color: #000000;
    border: 0.3px solid #000000;
    border-radius: 2px;
    background-color: #FFFFFF;
    margin-top: 2px;
}

.requirement-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.requirement-content h4 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.447;
    letter-spacing: 0.02em;
    color: #333333;
    /*height: 29px;*/
}

.requirement-content p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.199;
    letter-spacing: 0.02em;
    color: #333333;
}

.manual-link {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.199;
    letter-spacing: 0.02em;
    color: #2C95D7;
    text-decoration: none;
    border-bottom: 1px solid #2C95D7;
    padding-bottom: 2px;
    width: fit-content;
}

/* 利用開始までの流れ */
.flow-section {
    width: 100%;
    padding: 70px 0 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.flow-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.447;
    letter-spacing: 0.02em;
    text-align: center;
    color: #333333;
}

.flow-step {
    width: 100%;
    background-color: #BFE9FA;
    border-radius: 10px;
    padding: 10px 5px 20px 5px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step-header {
    padding-left: 0.5em;
    display: flex;
    gap: 2px;
    align-items: start;
}

.step-number {
    width: 16px;
    height: 24px;
    margin-right: 0.25em;
    font-size: 29px;
    font-weight: 600;
    line-height: 0.828;
    letter-spacing: 0.02em;
    color: #005497;
    font-family: 'Noto Sans', sans-serif;
}

.step-header h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.447;
    color: #005497;
}

.flow-step:nth-child(3) .step-header h3 {
    font-size: 17px;
}

.step-content {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-content p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.199;
    letter-spacing: 0.02em;
    color: #333333;
}

.step-content p strong {
    font-weight: 500;
}

.note {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.199;
    letter-spacing: 0.02em;
    color: #333333;
}

.kasicas-screen {
    width: 255px;
    height: 97px;
    object-fit: fill;
    align-self: center;
}

.manual-note {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.199;
    letter-spacing: 0.02em;
    text-align: center;
    color: #333333;
}

/* 矢印 */
.arrow-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 18px;
}

.arrow-down {
    width: 72.9px;
    height: 72.33px;
}

/* 利用規約とプライバシーポリシー */
.terms-section {
    width: 100%;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.terms-link {
    font-size: 16px;
    font-weight: 350;
    line-height: 1.199;
    letter-spacing: 0.02em;
    text-align: center;
    color: #005497;
    text-decoration: none;
    width: 355px;
}

.checkbox-label {
    font-size: 15px;
    font-weight: 350;
    line-height: 1.199;
    letter-spacing: 0.02em;
    text-align: center;
    color: #005497;
    cursor: pointer;
    width: 213.42px;
}

.checkbox {
    margin-right: 5px;
}

/* Kasicas管理画面ボタン */
.button-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 100px;
}

.kasicas-button {
    width: 260px;
    height: 51px;
    background: linear-gradient(180deg, rgba(175, 235, 255, 1) 1%, rgba(73, 160, 189, 0.97) 75%, rgba(42, 92, 108, 0.85) 100%);
    border: none;
    border-radius: 22px;
    box-shadow: 2px 2px 2.9px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.kasicas-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(147deg, rgba(73, 160, 189, 0.15) 0%, rgba(0, 84, 151, 1) 18%);*/
    background: linear-gradient(180deg, #AFEBFF 0%, #49A0BD97 34%, #2A5C6C85 50%);
    border-radius: 20px;
    border: 1px solid #005497;
    margin: 1px;
}

.kasicas-button span {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.199;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    position: relative;
    z-index: 1;
}

.button-arrow {
    width: 10.25px;
    height: 10.25px;
    position: relative;
    z-index: 1;
}

/* 無効時の見た目を少し薄くする */
.disabled-link {
    pointer-events: none; /* クリック無効 */
    opacity: 0.5;
}

/* フッター */
.footer {
    width: 100%;
    padding: 100px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer p {
    font-size: 11px;
    font-weight: 200;
    line-height: 1.361;
    letter-spacing: 0.02em;
    color: #000000;
    font-family: 'Noto Sans', sans-serif;
}

/* レスポンシブ対応 */
@media (max-width: 375px) {
    .container {
        padding: 0 10px 25px;
    }
    
    .header {
        padding: 7px 50px;
    }
    
    .main-title h1 {
        width: 100%;
        max-width: 286px;
    }
    
    .requirements-box {
        width: 100%;
        max-width: 353px;
    }
    
    .flow-step {
        width: 100%;
        /*max-width: 354px;*/
    }
    
    .step-header h3 {
        font-size: 16px;
    }
    .terms-link {
        width: 100%;
        /*max-width: 355px;*/
    }
}
