html, body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "游ゴシック Medium", Meiryo, "Open Sans", sans-serif;
}
#contents {
    padding: 40px 0;
    margin: 0 auto;
    width: 960px;
}
h1 {
    padding: 0 0 0 30px;
    margin: 0 0 25px;
    font-size: 22px;
    position: relative;
}
h1:before {
    position: absolute;
    top: 50%;
    display: inline-block;
    content: '';
    height: 1px;
    background-color: #333333;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    width: 18px;
}
button:focus, button:active {
    outline: none;
}
#search-forms {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
#search-forms .form-col {
    flex-grow: 1;
    flex-basis: calc(33.2% - 30px);
    min-width: calc(33.2% - 30px);
    max-width: calc(33.2% - 30px);
    margin-right: 15px;
    margin-left: 15px;
}
#search-forms .form-col .hide-inputs {
    display: none;
}
#search-forms .form-col > label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 10px;
}
#search-forms .form-col > label br {
    display: none;
}
#search-forms .form-col > button,
#search-forms .form-col .times-radio-item > label {
    cursor: pointer;
    position: relative;
    appearance: none;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 50px;
    padding: 0 15px;
    background-color: #f8f8f8;
    border: 1px solid #a6a6a6;
    border-radius: 3px;
    color: #333;
    font-size: 14px;
}
#search-forms .form-col > button {
    width: 100%;
    overflow: hidden;
}
#search-forms .form-col > button#dates,
#search-forms .form-col > button#categories {
    padding-right: 40px;
}
#search-forms .form-col > button span {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
#search-forms .form-col > button#dates:before {
    width: 18px;
    height: 19px;
    background-image: url(./icon/icon-calender.svg);
    display: inline-block;
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
#search-forms .form-col > button#categories:before {
    width: 20px;
    height: 16px;
    background-image: url(./icon/icon-picture.svg);
    display: inline-block;
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#times {
    display: flex;
    flex-wrap: nowrap;
    margin: -3px;
}
#search-forms .form-col .times-radio-item {
    flex-basis: calc(33.3% - 6px);
    min-width: calc(33.3% - 6px);
    max-width: calc(33.3% - 6px);
    margin: 3px
}
#search-forms .form-col .times-radio-item > input {
    display: none;
}
#search-forms .form-col .times-radio-item > label {
    width: 100%;
    justify-content: center;
}
#search-forms .form-col .times-radio-item > input:checked + label {
    border-width: 2px;
    border-color: #F1A49F!important;
    color: #F1A49F!important;
}
#search-btn-wrapper {
    margin-top: 30px;
}
#search-btn-wrapper button {
    width: 400px;
    height: 50px;
    border-radius: 3px;
    margin: 0 auto;
    appearance: none;
    background-color: #F1A49F;
    border: 1px solid #F1A49F;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
}
#search-btn-wrapper button:before {
    position: static;
    width: 15px;
    height: 15px;
    margin-right: 8px;
    background-image: url(./icon/icon-search-white.svg);
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    display: inline-block;
    content: '';
    background-repeat: no-repeat;
    background-size: contain;
}

/**
 * SP
 */
@media print, screen and (max-width: 767px) {
    #contents {
        width: 100%;
        max-width: 100vw;
        padding: 0 10px 25px;
        box-sizing: border-box;
    }
    h1 {
        font-size: 14px;
        margin-bottom: 20px;
        padding-left: 10px;
        line-height: 1;
    }
    h1:before {
        left: -10px;
        width: 15px;
    }
    #search-forms {
        margin: 0;
    }
    #search-forms .form-col {
        flex-basis: 100%;
        min-width: 100%;
        max-width: 100%;
        display: flex;
        margin: 0 0 20px;
        align-items: center;
    }
    #search-forms .form-col > label {
        flex-basis: 16%;
        font-size: 11px;
        font-weight: bold;
        line-height: 1.6;
        margin: 0;
    }
    #search-forms .form-col > label br {
        display: block;
    }
    #search-forms .form-col > button,
    #search-forms .form-col .times-radio-item > label {
        font-size: 14px;
    }
    #search-forms .form-col > button,
    #times {
        flex-basis: 84%;
    }
    #times {
        margin: -4px 0;
    }
    #search-forms .form-col .times-radio-item {
        margin: 4px;
        flex-basis: calc(33.3% - 5px);
        min-width: calc(33.3% - 5px);
        max-width: calc(33.3% - 5px);
    }
    #search-forms .form-col .times-radio-item:first-child {
        margin-left: 0;
    }
    #search-forms .form-col .times-radio-item:last-child {
        margin-right: 0;
    }

    #search-btn-wrapper {
        margin: 0;
    }
    #search-btn-wrapper button {
        width: 100%;
        font-size: 14px;
    }
}