/* ===========================
1.目次＆ブレークポイント
============================== */
/*
1.目次＆ブレークポイント
2.全体
3.ヘッダー
4.フッター
5.本体背景
6.本体内部
7.同意事項
8.リンクバナー
*/
@media screen and (min-width: 35.5em) {
    /* 568px sm */
}

@media screen and (min-width: 48em) {
    /* 768px md */
}

@media screen and (min-width: 64em) {
    /* 1024px lg */
}

@media screen and (min-width: 80em) {
    /* 1280px xl */
}

/* ===========================
2.全体
============================== */
html {
    overflow-y: auto;
}

body {
    overflow: visible;
}

h3 {
    font-size: 18px;
    margin: 5px 0 10px 0;
}

p {
    line-height: 1.7;
}

.i-bl {
    display: inline-block;
}

.bold {
    font-weight: bold;
}

.caution {
    text-align: center;
    color: red;
}

main #resize-body {
    display: none;
}

main.approved #resize-body {
    display: block;
}

main.approved #resize-description {
    display: none;
}

/* ===========================
3.ヘッダー
============================== */
header {
    background: rgba(255, 255, 255, 0.75);
}

.header_logo {
    display: flex;
    margin: 0;
    padding: 0 0 0 0;
    font-size: 1.125rem;
}

.header_logo .logo-holder img {
    width: 130px;
}

.header_logo .text-holder {
    display: block;
    padding: 14px 0 0 0;
}

@media screen and (min-width: 35.5em) {
    /* 568px sm */
    header {
        background: rgba(255, 255, 255, 0.95);
    }

    .header_logo {
        font-size: 1.5rem;
    }

    .header_logo .logo-holder img {
        width: 168px;
    }

    .header_logo .text-holder {
        padding: 12px 0 0 0;
    }
}

@media screen and (min-width: 64em) {
    /* 1024px lg */

}

/* ===========================
4.フッター
============================== */
footer.site-footer {
    position: relative;
    top: 0;
}

.footer_wrap {
    display: block;
    padding: 30px 0 20px;
}

.footer-nav-logo-area p {
    margin: 0 0 0.5em;
    text-align: center;
}

.footer-copyright-area p {
    font-size: 0.75rem;
    text-align: center;
}

@media screen and (min-width: 64em) {
    /* 1024px lg */
    .footer_wrap {
        display: block;
    }

    .footer-info-area {
        display: block;
        margin-top: 0;
    }

    .footer-nav-logo-area {
        width: 100%;
        padding-right: 0;
    }

    .footer-nav-logo-area p {
        margin-top: 1em;
        text-align: center;
    }
}

/* ===========================
5.本体背景
============================== */
main {
    background-color: #e5f7fd;
    padding: 2px 0;
    color: #232323;
    min-height: 88vh;
}

.tabs {
    margin: 20px 0 30px;
    padding: 25px;
    background-color: #ffffff;
    color: #232323;
}

main .pc {
    display: none;
}

main > div > .sp {
    padding: 20px 15px;
}

@media screen and (min-width: 48em) {
    /* 768px md */
    .tabs {
        margin: 20px 0 45px;
        padding: 30px;
        min-height: 640px;
    }

    main .pc {
        display: block;
    }

    main .sp {
        display: none;
    }
}

@media screen and (min-width: 64em) {
    /* 1024px lg */
    .tabs {
        margin: 20px 0 60px;
    }
}

/* ===========================
6.本体内部
============================== */
.spec {
    margin-bottom: 20px;
}

.spec .txt {
    margin: 0.5em 0 0;
    font-size: 14px;
}

.spec .txt + .txt {
    margin: 0;
}

.spec .txt + .txt:last-child {
    margin: 0 0 0.5em;
}

#resize-description {
    text-align: center;
}

#resize-description .spec {
    display: inline-block;
    text-align: left;
}

#kakomi {
    height: 200px;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

#kakomi div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.drop-area_color {
    background: linear-gradient(to left, #f3d8f7, #d1eaf3);
    transition: all 0.5s;
}

.drop-area_color.dragenter {
    background: #ddd;
    outline: 4px solid #aaa;
}

.drop-text {
    color: #7a7a7a;
}

.result {
    width: 100%;
    border: 1px solid #000;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.result tr {
    border: 1px solid #000;
}

.result th, .result td {
    padding: 6px;
    width: 13%;
    font-size: 15px;
    text-align: center;
}

.result th:first-child,
.result td:first-child {
    word-break: break-all;
    width: 28%;
}

.result th:last-child,
.result td:last-child {
    width: 20%;
}

.result th:last-child a,
.result td:last-child a,
.result th:last-child a:visited,
.result td:last-child a:visited {
    display: inline-block;
    border-radius: 12px;
    width: 100%;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
}

@media screen and (min-width: 48em) {
    /* 768px md */
    #resize-body .row {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: stretch;
        width: 100%;
    }

    #resize-body .row .spec {
        width: 35%;
    }

    #resize-body .row .upload-group {
        width: 61%;
    }
}

/* ===========================
7.同意事項
============================== */
.approval-area {
    padding: 20px 15px 0;
    line-height: 1.85;
    text-align: center;
}

.approval-area input[type='checkbox'] {
    transform: scale(2.2);
}

.approval-area label[for='kiyaku'] {
    display: inline-block;
    padding-left: 15px;
    cursor: pointer;
}

.approval-area a,
.approval-area a:visited {
    font-size: 16px;
    color: #054798;
    transition: all 0.3s;
}

.approval-area a:hover {
    text-decoration: none;
}

.approval-area .approval-action-area {
    display: inline-block;
    padding-top: 10px;
}

/* ===========================
8.リンクバナー
============================== */
.banner_area {
    margin: 72px auto 50px;
    max-width: 1020px;
}

.banner_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    list-style: none;
    padding-left: 0;
}

.banner_list li {
    width: 24.5098%;
    margin-right: 0.49019%;
    margin-bottom: 0.49019%;
    background-color: #fff;
}

.banner_list li a {
    display: block;
}

.banner_list li a img {
    display: block;
    width: 100% l;
    height: auto;
    transition: 0.3s;
}

.banner_list li a:hover img {
    opacity: 0.75;
}
