/* basic settings */
body {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #493024;
}

.SiteWrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-top: 55px;
}

main {
    flex: 1;
    /* overflow-x: hidden; */
}

a {
    text-decoration: none;
    color: #d34d74;
}

a:hover {
    text-decoration: none;
    color: #d34d99;
}

.yumin {
    font-family: 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝E, "ＭＳ Ｐ明朝", serif;
}

.crim {
    font-family: 'Crimson Text',"Yu Mincho Medium", "游明朝体", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

.required {
    color: red;
}

.clear {
    clear: both;
}

.mt5 {
    margin-top: 5px;
}

.mt10 {
    margin-top: 10px;
}

.mt15 {
    margin-top: 15px;
}

.mt20 {
    margin-top: 20px;
}

.mt30 {
    margin-top: 30px;
}

.mt40 {
    margin-top: 40px;
}

.mt50 {
    margin-top: 50px;
}

.mb5 {
    margin-bottom: 5px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb15 {
    margin-bottom: 15px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb30 {
    margin-bottom: 30px;
}

.mb40 {
    margin-bottom: 40px;
}

.mb50 {
    margin-bottom: 50px;
}

.ml5 {
    margin-left: 5px;
}

.ml10 {
    margin-left: 10px;
}

.ml15 {
    margin-left: 15px;
}

.ml20 {
    margin-left: 20px;
}

.ml30 {
    margin-left: 30px;
}

.ml40 {
    margin-left: 40px;
}

.ml50 {
    margin-left: 50px;
}

.mr5 {
    margin-right: 5px;
}

.mr10 {
    margin-right: 10px;
}

.mr15 {
    margin-right: 15px;
}

.mr20 {
    margin-right: 20px;
}

.mr30 {
    margin-right: 30px;
}

.mr40 {
    margin-right: 40px;
}

.mr50 {
    margin-right: 50px;
}

.text-right {
    text-align: right;
}

/* checkbox */
input[type=radio], input[type=checkbox] {
    border-radius: 0;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

label {
    margin-bottom: 0;
}

.checkbox {
    box-sizing: border-box;
    -webkit-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
    position: relative;
    display: inline-block;
    margin: auto auto 10px;
    padding: 6px 14px 6px 46px;
    border-radius: 6px;
    background-color: #f6f7f8;
    vertical-align: middle;
    cursor: pointer;
}

.checkbox:hover {
    background-color: #FFDBC9;
}

.checkbox:hover:after {
    border-color: #FF6600;
}

.checkbox span:after {
    -webkit-transition: border-color 0.2s linear;
    transition: border-color 0.2s linear;
    position: absolute;
    top: 50%;
    left: 15px;
    display: block;
    margin-top: -10px;
    width: 20px;
    height: 20px;
    border: 2px solid #bbb;
    border-radius: 4px;
    content: '';
}

.checkbox span:before {
    -webkit-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
    position: absolute;
    top: 50%;
    left: 22px;
    display: block;
    margin-top: -6px;
    width: 6px;
    height: 10px;
    border-right: 3px solid #FF6600;
    border-bottom: 3px solid #FF6600;
    content: '';
    opacity: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* チェック状態の時、カスタムチェックアイコンを表示 */
.checkbox input[type=checkbox]:checked + span:before {
    opacity: 1;
}

.form-error-message {
    padding: 0.5em;
    color: #f77;
    font-size: 80%;
}

button {
    border: none;
    background: transparent;
}

.errorlist {
    color: #f77;
    font-size: 12px;
    font-weight: 600;
    list-style: none;
}

ul.errorlist {
    padding-inline-start: 5px!important;
}

.list-none {
    list-style: none;
}

.float-left {
    float: left;
}

.form-control {
    font-size: 16px;
}

.pc { display: block !important; }
.sp { display: none !important; }
 
@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}

.alert {
    margin-bottom: 0!important;
    padding: .5rem .5rem;
    z-index: 99;
}

.alert-txt {
    color: red;
}

.helptext {
    font-size: 11px;
    color: #888888;
}

.helptext ul {
    list-style: none;
}

.datepicker-days th.dow:first-child,
.datepicker-days td:first-child {
    color: #f00;
}
.datepicker-days th.dow:last-child,
.datepicker-days td:last-child {
    color: #00f;
}

.fade {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 1.5s, transform 1s;
}

.fade.active {
	opacity: 1;
	transform: translateY(0px);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

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