@charset "UTF-8";

/* =========================
Main
==========================*/
/* article header */

.mainTopics {
    font-family: 'Orbitron';
    text-align: center;
    margin-bottom: 24px;
}

.mainTopics__main {
    font-size: 3rem;
}

/* .article header PC */
@media screen and (min-width: 769px) {}

/* section */
.section {
    padding: 24px 0 24px;

}

.section:first-of-type {
    padding: 0 0 24px 0;
}

.btn {
    margin: 0 9% auto;
    display: block;
    padding: 8px 0 8px;
    border-radius: 6px;
    background: #B3E5F0;
    color: black;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.btn:hover {
    opacity: 0.5;
}

/* category */
.category__box {
    padding: 0px 9%;
    margin-top: 48px;
    margin-bottom: 16px;
}

.category__subbox {
    margin-bottom: 16px;
}

.category__title {
    font-family: 'orbitron';
    font-size: 3rem;
    text-align: center;
}

.category__txt {
    font-size: 1.6rem;
    text-align: center;
}

/* form */
.form__parts {
    margin: 24px 0px;
}

.form__category {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 8px 0px;
}

.required::after {
    display: inline-block;
    content: '必須';
    height: 20px;
    width: 40px;
    text-align: center;
    align-items: center;
    background-color: #f00;
    color: white;
    font-size: 1.2rem;
    border-radius: 4px;
    margin-left: 4px;
}

.group--checkbox {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.6rem;
    gap: 8px 20px;
}

.group--checkbox label {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    /* gap: 4px; */
}

.group--checkbox img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    vertical-align: middle;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid gray;
    background: white;
    margin-right: 4px;
}

input[type="checkbox"]:checked {
    position: relative;
}

input[type="checkbox"]:checked::after {
    display: inline-block;
    content: '';
    width: 10px;
    height: 5px;
    border-left: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

input[type="text"],
.group--select {
    display: block;
    width: 100%;
    padding: 8px 16px;
    border-radius: 4px;
    border: solid gray 1px;
    font-size: 1.6rem;
    margin-top: 8px;
}

input[type="text"]:focus {
    outline: solid 1px #B3E5F0;
}

::placeholder {
    color: lightgray;
}

.btn--form {
    margin: 0 auto;
    width: 100%
}