.head {
    text-align: center;
    color: #222;
    margin-top: 50px;
}

.head h1 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.head p span {
    color: var(--color-pink);
    font-weight: bold;
}

article form {
    margin-block: 2rem;
    padding: 4rem 3rem;
    background: #F2F2F2;
    border-radius: 50px;
}

.l-contact__list {
    margin-bottom: 2rem;
}

.l-contact__item .l-contact__list:not(:last-child) {
    border-bottom: 1px solid #D9D9D9;
}

.l-contact__item-head,
.l-contact__item-body {
    margin-bottom: 1.5rem;
}

.l-contact__item-head label {
    color: #333;
    font-size: 20px;
    font-weight: bold;
}

.l-contact__item-head label ._required {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    background: #E91111;
    padding: 3px 10px;
    margin-left: 1rem;
}

.l-contact__item-body input[type=text],
.l-contact__item-body input[type=number],
.l-contact__item-body input[type=email] {
    border: 1px solid #000;
    background: #fff;
    padding: .75rem 1rem;
    font-size: 16px;
    border-radius: 5px;
    display: block;
    width: 50%;
}

.l-contact__item-body input[type=text]::placeholder,
.l-contact__item-body input[type=number]::placeholder,
.l-contact__item-body input[type=email]::placeholder {
    font-weight: bold;
    color: #ddd;
    font-size: 16px;
}

.l-contact__item-body input[name=postcode] {
    margin-bottom: 1.5rem;
}
.l-contact__item-body input[type=date] {
    width: 50%;
    border: 1px solid #000;
    background: #fff;
    padding: .75rem 1rem;
    font-size: 16px;
    border-radius: 5px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-checkbox {
    width: 25px;
    height: 25px;
    appearance: none;
    border: 1px solid #DDDDDD;
    background: #fff;
    cursor: pointer;
    position:relative;
}

.custom-checkbox:checked::before{
    content: "";
    position: absolute;
    background: url(../image/check.svg);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.checkbox-label {
    font-size: 16px;
}

.l-contact__item-body .selectFileButton{
    color: #fff;
    background: var(--color-pink);
    padding-block: 12px;
    width: 50%;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: .5rem;
    cursor: pointer;
}
.l-contact__item-caution{
    font-weight: bold;
    color: #333;
}
.l-contact__item-body textarea{
    width: 100%;
    height: 200px;
    font-size: 16px;
    padding: 1rem;
    color: #333;
    border: 1px solid #000;
    border-radius: 5px;
}

form button[type="submit"]{
    background: var(--color-pink);
    width: 50%;
    margin-inline:auto;
    color: #fff;
    display:flex;
    align-items:center;
    justify-content: space-between;
    padding-block:12px;
    padding-inline:1rem;
    border: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}
@media (width<=428px) {
    .head{
        padding-inline:1rem;
    }
    article{
        padding-inline:0;
    }
    article form{
        border-radius: 0;
        padding-inline:1rem;
    }
    form button[type="submit"],
    .l-contact__item-body input[type=text],
    .l-contact__item-body .selectFileButton{
        width: 100%;
    }
}