* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    height: 100%;
    margin: 0;
  }
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    background-image: linear-gradient(45deg, rgb(177, 214, 255), rgb(252, 253, 255));
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
}
.top {
    display: flex;
    flex-direction: column; /* 縦並びにする */
    align-items: center; /* 横方向の中央揃え */
    justify-content: center; /* 縦方向の中央揃え */
    text-align: center; /* テキスト要素の中央揃え */
    height: 100%; /* 必要に応じて高さを指定 */
}
.top-img{
    width: 100%;
    height: auto;
    background-color: #0D172A;
}
.top-img-sp{
    display: none;
}
h1{
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: #11417C;
}
.content{
    background-color: #ffffff;
    padding: 40px;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 8px;
}
h3{
    padding-bottom: 10px;
    
}
span{
    background: linear-gradient(transparent 50%, #C7E9FF 20%);
}
.inner{
    width: 540px;
    margin: 0 auto;
    line-height: 2;
}
p{
    padding-bottom: 20px;
    white-space: nowrap;
    font-weight: 500;
    font-size: 1rem;
}
.sla{
    text-align: center;
    padding-bottom: 8px;
}
.btn-p {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0055BC;
    position: relative;
    padding-bottom: 0.5rem;
}
.btn-p::before,
.btn-p::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 25px;
    height: 3px;
    background-color: #0055BC; /* ここを修正 */
    transform: translateY(50%); /* 中央揃え */
}

.btn-p::before {
    left: -30px;
    transform: translateY(-50%) rotate(60deg); /* 角度と中央位置 */
}

.btn-p::after {
    right: -30px;
    transform: translateY(-50%) rotate(-60deg); /* 角度と中央位置 */
}
.text{
    margin-bottom: 32px;
}
button {
    background-color: #08C656;
    color: white;
    padding: 18px 20px;
    font-size: 24px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 40px;
    margin-top: 20px;
}
button:hover {
    background-color: #3ADB7C;
}
.footer{
    margin-top: 100px;
    margin-bottom: 0;
    width: 100%;
    height: 2rem;
    line-height: 2rem; 
    text-align: center;
    background-color: #0D172A;
    color: white;
    font-size: 0.8rem;
}
@media screen and (max-width: 768px) {
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    html {
        height: 100%;
        margin: 0;
    }
    
    body {
        font-family: 'Noto Sans JP', sans-serif;
        line-height: 1.6;
        background-image: linear-gradient(45deg, rgb(177, 214, 255), rgb(252, 253, 255));
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }
    
    /* ヘッダー */

    
    .top-img {
        display: none;
    }
    .top-img-sp{
        display: block;
        width: 100%;
        height: auto;
    }
    /* 見出し */
    h1 {
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 16px;
        text-align: center;
    }
    
    /* テキスト */
    p{
        padding-bottom: 20px;
        white-space: normal;
        font-weight: 500;
        font-size: 0.9rem;
    }
    /* フォーム */
    .content {
        background-color: #ffffff;
        padding: 30px;
        max-width: 100%;
        margin: 30px 1rem;
        border-radius: 8px;
    }
    
    .inner {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }
    
    /* フォーム見出し */
    .sla {
        text-align: center;
        padding-bottom: 6px;
    }
    
    /* ボタン */
    .btn-p {
        display: inline-block;
        font-size: 0.9rem;
        font-weight: 700;
        color: #0055BC;
        position: relative;
        padding-bottom: 0.5rem;
    }
    
    .btn-p::before,
    .btn-p::after {
        content: "";
        position: absolute;
        top: 40%;
        width: 20px;
        height: 2px;
        background-color: #0055BC;
        transform: translateY(-50%);
    }
    
    .btn-p::before {
        left: -25px;
        transform: translateY(-50%) rotate(60deg);
    }
    
    .btn-p::after {
        right: -25px;
        transform: translateY(-50%) rotate(-60deg);
    }
    
    /* ボタン */
    button {
        background-color: #08C656;
        color: white;
        padding: 14px;
        font-size: 20px;
        font-weight: 700;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        width: 100%;
        margin-bottom: 30px;
    }
    
    button:hover {
        background-color: #3ADB7C;
    }
    
    /* フッター */
    .footer {
        margin-top: 80px;
        width: 100%;
        height: 1.8rem;
        line-height: 1.8rem;
        text-align: center;
        background-color: #0D172A;
        color: white;
        font-size: 0.75rem;
    }
}