/* ==================================

    Index -  トップページ

================================== */

section {
    width: 900px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    section {
        width: 100%;
        padding: 0 8px;
    }
}

.top-text-box {
    width: 60%;
    margin: 64px auto 128px;
}

@media screen and (max-width: 640px) {
    .top-text-box {
        width: 90%;
    }
}

.top-text-box p {
    font-size: 1.6rem;
}



/* ==================================

    Info -  お知らせ

================================== */

.info-box {
    position: relative;
    background-color: #08415C;
    margin: 64px auto;
    padding: 32px 16px;
    color: #FFF;
    border-radius: 30px;
}

.circle-base {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
}

.circle1 {    
    top: 20px;
    left: 20px;    
}

.circle2 {
    top: 20px;
    right: 20px;
}

.circle3 {
    bottom: 20px;
    left: 20px;
}

.circle4 {
    bottom: 20px;
    right: 20px;
}

@media screen and (max-width: 640px) {
    
    .info-box {
        position: relative;
        background-color: #08415C;
        margin: 64px auto;
        padding: 16px 8px;
        color: #FFF;
        border-radius: 16px;
    }

    .circle-base {
        width: 16px;
        height: 16px;
    }

    .circle1 {
        top: 8px;
        left: 8px;
    }

    .circle2 {
        top: 8px;
        right: 8px;
    }
    
    .circle3 {
        bottom: 8px;
        left: 8px;
    }

    .circle4 {
        bottom: 12px;
        right: 12px;
    }
    
}

.bg-text::after {
    font-family: 'keifont';
    position: absolute;
    font-size: 4rem;
    letter-spacing: -0.08em;
    top: 35%;
    left: 5%;
    transform: translate(-5%, -35%);
    -webkit-transform: translate(-5%, -35%);
    -ms-transform: translate(-5%, -35%);
    content: 'NEWS';
    color: #062835;
    transform: rotate(-15deg) scale(1, 2.5);
}

h3 {
    text-align: center;
    font-size: 2.5rem;
}

.info-item-box {
    width: 50%;
    margin: 32px auto 0;
    text-align: left;
}

.info-item-box p {
    line-height: 2.0;
}

@media screen and (max-width: 640px) {
    
    .bg-text::after {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.8rem;
    }
    
    .info-item-box {
        width: 90%;
        padding-left: 1rem;
        text-indent: -1.5rem;
        font-size: 1.4rem;
    }
    
}



/* ==================================

    Step -  ステップ

================================== */

.step-area {
    margin: 64px auto; 
}

.step-box {
    width: 30%;
    text-align: center;
    margin: 64px 0;
}

.step-box p:first-child {
    text-decoration: underline;
    text-decoration-thickness: 5px;
    text-decoration-color: rgba(204, 41, 54, 1);
}

.step-box p:nth-child(2) {
    margin-top: 32px;
}

.step-box img {
    width: 15%;
    margin: 16px 0 0 16px;    
}

@media screen and (max-width: 640px) {
    
    .step-box p {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .step-box p:nth-child(2) {
        margin-top: 16px;
    }
    
    .flex-space-between {
        display: block;
    }
    
    .step-box {
        width: 80%;
        margin: 64px auto;
    }
    
    .step-box .flex-center-center {
        display: block;
    }
    
    .step-box p:first-child {
        text-align: center;
        font-size: 1.8rem;
    }
    
    .step-box img {
        width: 15%;
        margin: 16px auto;    
    }
    
}


.btn, a.btn, button.btn {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
}

button.btn--red.btn--cubic,
button.btn--white.btn--cubic {
    border-bottom: 5px solid #9f000c;
}

button.btn--red.btn--cubic:hover,
button.btn--white.btn--cubic:hover {
    margin-top: 3px;
    border-bottom: 2px solid #9f000c;
}

button.btn--radius {
    border-radius: 100vh;
}

.btn--red, button.btn--red, button.btn--red {
    color: #fff;
    background-color: #d20010;
}

.btn--white {
    color: #d20010;
    background-color: #fff;
}

.fa-position-right {
    position: absolute;
    top: calc(50% - .5em);
    right: 1rem;
}



/* ==================================

    Form -  フォーム(エリア)

================================== */

form {
    border-radius: 30px;
    padding: 32px;
}

.search-item:nth-of-type(2) {
    border-top: 1px solid #ccc;
}

.search-item {
    border-bottom: 1px solid #ccc;
}

.add-search-item {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.item-box {
    width: 20%;
    padding: 16px 24px;
    background-color: #eef;
}

.check-box {
    width: 80%;
    padding: 16px 24px;
}

.check-box label {
    display: block;
    width: 150px;
}

.check-box .g {
    width: 170px;
}

.check-box .o {
    width: 190px;
}

.check-title-box p:first-child::before {
    content: '【';
}

.check-title-box p:first-child::after {
    content: '】';
}

.check-title-box p:last-child {
    line-height: 1.8;
    padding: 0 0 8px 8px;
}

.clear-box {
    margin: 16px 16px 0 0;
    text-align: right;
}

.clear-box:before {
    content: '→';
    padding-left: 4px;
}

.clear-box a {
    color: #3C3737;
}

@media screen and (max-width: 640px) {
    
    form {
        width: 100%;
        padding: 0;
        border-radius: 15px;
    }
    
    .item-box {
        width: 30%;
        padding: 8px 12px;
    }

    .check-box {
        width: 70%;
        padding: 8px 12px;
    }
    
    .check-box label {
        width: 100%;
        font-size: 1.6rem;
        line-height: 2.0;
    }
    
    .clear-box {
        margin: 16px 0 0 0;
        text-align: right;
    }
    
}

.btn-box {
    margin: 64px auto;
    text-align: center;
}




.link-box {
    width: 200px;
    margin: 32px auto;
}