/* 残業代計算機用のCSS */
.p-calculator{
	border: 1px solid #367d46;
	background: #f0f6e3;
	padding: 30px;
}

.p-calculator h1 img {
    max-width: 100%;
    height: auto;
}

.p-calculator__ttl {
    margin: 10px 0 16px;
    font-size: 18px;
    font-weight: 700;
}

.p-calculator__question {
    margin-bottom: 36px;
}

.p-calculator__checkbox {
    cursor: pointer;
}

.p-calculator__checkbox input {
    margin-right: 5px;
}

.p-calculator-result__number {
    font-size: 24px;
}

.p-calculator-result__note {
    font-size: 14px;
}

.p-calculator-result__txt--red {
    color: #c92e3c;
}



/* エラー表示 */
.c-err {
    display: block;
    position: relative;
    margin-top: 12px;
    padding: 5px 10px;
    border-radius: 3px;
    background-color: #c92e3c;
    color: #fff;
    line-height: 1.8;
}

.c-err::before {
    position: absolute;
    top: 1px;
    left: 20px;
    transform: translate(0, -100%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 7px 12px 7px;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #c92e3c rgba(0, 0, 0, 0);
    content: "";
}

/* セレクトボックスのスタイル */
.c-select {
    position: relative;
}


.c-select select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
	cursor: pointer;
	color: #3d3d3d;
}

.c-select select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 入力フィールド */
.c-input {
    height: 100%;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.c-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* チェックボックス */
.c-checkbox input[type="checkbox"] {
    margin-right: 8px;
}
.c-checkbox{
	display: flex;
	align-items: start;
	flex-wrap: wrap;
	line-height: 1.5;
	margin-bottom: 24px;
}
.c-checkbox__input{
	display: none;
}
.c-checkbox__label{
	position: relative;
	margin-bottom: 0;
	padding-left: 35px;
	cursor: pointer;
	flex: 1;
}
.c-checkbox__label:hover {
	opacity: 0.8;
}
.c-checkbox__label::before {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(0%, -50%);
	width: 24px;
	height: 24px;
	background-color: #fff;
	border-radius: 100%;
	content: "";
	border: solid 1px #ccc;
}
.c-checkbox__input:checked+.c-checkbox__label:after{
	position: absolute;
	top: 50%;
	left: 6px;
	transform: translate(0%, -50%);
	content: "";
	width: 12px;
	height: 12px;
	background-color: #367d46;
	border-radius: 100%;
}
.c-checkbox .js-vali-err{
	width: 100%;
}

/* ボタン */
.c-btn01 {
    display: inline-block;
    margin: 20px auto 72px;
    min-width: 390px;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 18px 50px 18px 35px;
    line-height: 1.5;
    border-radius: 50px;
    color: #fff;
    background-color: #367d46;
    box-shadow: 0 4px #054a15;
    transition: all .4s;
    border: none;
}

.c-btn01::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

.c-btn01:hover {
    background: #054a15;
    transform: translateY(4px) translateX(-50%);
    box-shadow: none;
}

.c-btn01:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

@media screen and (max-width: 768px) {
	.c-btn01 {
		min-width: 100%;
		margin: 0 auto 50px;
	}
}

/* レイアウト */
.u-center {
    text-align: center;
}

.u-mb30-pc {
    margin-bottom: 30px;
}

.u-mb20-sp {
    margin-bottom: 20px;
}

.u-mt10-pc,
.u-mt10-sp {
    margin-top: 10px;
}

.u-column-pc {
    display: flex;
    gap: 20px;
}

.u-column__inr {
    flex: 1;
}

.u-mr20-pc {
    margin-right: 20px;
}

.u-mb5-pc,
.u-mb5-sp {
    margin-bottom: 5px;
}

.u-column {
    display: flex;
    flex-direction: column;
}

.u-gap20-pc {
    gap: 20px;
}

.u-mb10-sp {
    margin-bottom: 10px;
}

.u-mt20-pc {
    margin-top: 20px;
}

.u-mt15-pc {
    margin-top: 15px;
}

.u-mt30-pc {
    margin-top: 30px;
}

.u-mb50-pc {
    margin-bottom: 50px;
}

.u-mb0:not(#_) {
    margin-bottom: 0;
}

.u-primary {
    color: #367d46;
    padding-right: 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* ラベル */
.c-label02 {
    display: inline-block;
    margin: 0 5px 0 0;
    padding: 5px 14px;
    background: #ffdfdf;
    border-radius: 3px;
    color: #c92e3c;
    line-height: 1;
    font-weight: bold;
}

.c-label02--orange {
    background-color: #f90;
    color: #fff;
}

.c-label02--gray {
    background-color: #d6d6d6;
    color: #333;
}

/* ノート */
.c-note01 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-note01__item {
	display: block;
    margin-bottom: 5px;
    font-size: 14px;
	padding-left: 1em;
    text-indent: -1em;
}

/* ボックス */
.c-box02 {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* タイトル */
.single .entry-content h2.c-ttl04 {
    margin: 40px 0 20px;
	padding-bottom: 5px;
	border-bottom: 1px solid #367d46;
}

.c-ttl04__txt {
	display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
	border-bottom: 1px solid #367d46;
}


/* フォームグループ */
.p-form-group {
    margin: 0 0 40px 0;
}
.p-form-group__term {
    margin-bottom: 10px;
}

/* セクション */
.l-section {
    margin: 40px 0;
}

@media screen and (max-width: 767px) {
    .u-column-pc {
        flex-direction: column;
        gap: 10px;
    }

    .u-mr20-pc {
        margin-right: 0;
    }

    .u-gap20-pc {
        gap: 10px;
    }

    .u-mb30-pc {
        margin-bottom: 20px;
    }

    .u-mt20-pc {
        margin-top: 15px;
    }

    .u-mt30-pc {
        margin-top: 20px;
    }

    .u-mb50-pc {
        margin-bottom: 30px;
    }

	.p-calculator {
		padding: 20px 5vw;
	}

    .p-calculator__ttl {
        margin: 1.5625vw 0vw 5vw;
        font-size: 5vw;
        font-weight: 700;
        line-height: 1.4;
    }

    .p-calculator__question {
        margin-bottom: 9.375vw;
    }

    .p-calculator__checkbox input {
        margin-right: 1.5625vw;
    }

    .p-calculator-result__number {
        font-size: 6.25vw;
    }

    .p-calculator-result__note {
        font-size: 3.75vw;
    }

    .p-calculator-result__callsp--tel {
        font-size: 5.3125vw;
    }
    .c-err {
        display: block;
        position: relative;
        margin-top: 3.125vw;
        padding: 2.5vw 3.125vw;
        border-radius: .9375vw;
        background-color: #c92e3c;
        color: #fff;
        line-height: 1.4;
    }
    .c-err::before {
        position: absolute;
        top: .3125vw;
        left: 4.6875vw;
        transform: translate(0, -100%);
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 1.875vw 3.125vw 1.875vw;
        border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #c92e3c rgba(0, 0, 0, 0);
        content: "";
    }
	.c-checkbox{
		padding: 15px 10px;
	}
	.single .entry-content h2.c-ttl04 {
		margin: 30px 0 20px;
		padding-bottom: 5px;
		border-bottom: 1px solid #367d46;
	}
}
