@charset "UTF-8";
/* 横スクロールを抑止し、フッターの背景が途中で切れるのを防ぐ */
html,
body {
    overflow-x: hidden;
}
.logo {
    display: flex;
    justify-content: center;
    margin: 70px 0 80px;
}
/* renewal.html（style.css の .content-inner）と同じく最大幅 1120px で拡大を止める */
main {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.title {
    display: block;
    margin-bottom: 85px;
    color: #03376F;
    text-align: center;
    font-family: 'Work Sans','Noto Sans',sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: normal;
}
.text {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 0;
    color: #212121;
    text-align: center;
    font-family: 'Work Sans','Noto Sans',sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
}
.redirect-notice {
    display: block;
    margin: 0 0 20px;
    padding: 0 min(calc(100/1280*100vw), 87.5px);
    color: #212121;
    text-align: center;
    font-family: 'Work Sans','Noto Sans',sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
}
.wrapper {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin: 120px 0 100px;
    box-sizing: border-box;
}
.inner {
    width: 500px;
    margin-bottom: 20px;
}
.link {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 70px;
    border-bottom: 1px solid #212121;
    color: #212121;
    text-align: center;
    text-decoration: none;
    font-family: 'Work Sans','Noto Sans',sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.img {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px;
}
.detail {
    text-align: center;
}
.companyname {
    display: block;
    width: fit-content;
    margin:0 auto 40px;
    border-bottom: 1px solid #212121;
    color: #212121;
    text-decoration: none;
    font-family: 'Work Sans','Noto Sans',sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
}
.address {
    color: #212121;
    text-decoration: none;
    font-family: 'Work Sans','Noto Sans',sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
}
.copyright {
    display: block;
    color: #8AA1BC;
    text-align: center;
    font-family: 'Work Sans','Noto Sans',sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.footer {
    background: #00326c;
    padding: 32px 0 150px;
}
.sp {
    display: none;
}

/* 横向きスマホ〜タブレット（769px〜1120px） */
@media screen and (min-width: 769px) and (max-width: 1120px) {
    .title {
        margin-bottom: 60px;
        font-size: 28px;
        line-height: 1.5;
    }
    .redirect-notice {
        font-size: 14px;
    }
    .wrapper {
        gap: 40px;
        margin: 90px 0 80px;
    }
    .link {
        margin-bottom: 50px;
        font-size: 20px;
    }
    .companyname {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    main {
        padding: 0;
    }
    .logo {
        margin: 50px 0 44px;
    }
    .title {
        margin-bottom: 50px;
        font-size: 20px;
        line-height: 32px;
    }
    .text {
        font-size: 12px;
        line-height: 28px;
    }
    .redirect-notice {
        width: 275px;
        margin: 0 auto 20px;
        padding: 0;
        font-family: 'Work Sans','Noto Sans',sans-serif;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: 100%;
        letter-spacing: 0;
        text-align: center;
    }
    .wrapper {
        margin-top: 100px;
        margin-bottom: 80px;
        padding: 0 calc(100/1280*100vw);
        gap: 0;
        display: block;
    }
    .inner {
        width: 100%;
        margin-bottom: 130px;
    }
    .inner + .inner {
        margin-bottom: 0;
    }
    .link {
        margin-bottom: 50px;
        font-size: 16px;
    }
    .img {
        width: 100%;
        margin-bottom: 20px;
    }
    .companyname {
        margin-bottom: 20px;
        font-size: 12px;
    }
    .detail {
        font-size: 12px;
        line-height: 24px;
    }
    .address {
        font-size: 12px;
        line-height: 24px;
    }
    .copyright {
        font-size: 12px;
    }
    .footer {
        padding-bottom: 100px;
    }
    .sp {
        display: block;
    }
}