/* add.css */

img {
    max-width: 100%;
}

.navmenu li a {
    color: var(--default-color)!important;
}

.page_title {
	border-bottom: 1px solid var(--accent-color);
}
.page_title .container {
	padding-bottom: 0;
}
.page_title .section-title h2 br.sp {
	display: none;
}

.contact_btn {
	text-align: center;
}
.contact_btn a {
	display: inline-block;
	padding: 10px 45px;
	background: var(--contrast-color);
	border-radius: 20px;
	font-size: 16px;
}
.contact_btn a:hover {
	background: var(--background-color_light);
}
.contact_btn.back a {
	border: 1px solid var(--accent-color);
}

.border_top_line {
    border-top: 1px solid var(--accent-color);
}
.border_bottom_line {
    border-bottom: 1px solid var(--accent-color);
}

.link_btn a {
	display: inline-block;
	border: 1px solid var(--accent-color);
	border-radius: 20px;
	padding: 8px 45px;
	color: var(--accent-color);
	font-size: 13px;
	transition: all 0.3s ease-out 0s;
}
.link_btn a:hover {
	background: var(--accent-color);
	color: var(--contrast-color);
}
.red {
	color: var(--accent-color);
}
.pl {
	line-height: 2;
}

@media (max-width: 991px) {

    .section-title {
        padding-bottom: 30px;
    }
	.page_title .section-title h2 br.sp {
		display: inline-block;
	}

    
}
@media (max-width: 599px) {
	
	.sp_left {
		text-align: left;
	}

}

/* form */

.form_th {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
	margin-top: 13px;
}
.form_th span {
	position: relative;
	top: -4px;
	border-radius: 5px;
}
.form_th span.required {
	display: inline-block;
	padding: 2px 5px;
	background: var(--accent-color);
	color: var(--contrast-color);
	font-size: 87.5%;
	font-weight: normal;
}
.form_th span.required.any {
	background: #999;
}

.form_th p {
	width: 100%;
}
.form_label {
	display: block;
	padding: 10px 0 5px;
	cursor: pointer;
}
.form_checkbox {
	margin: 0 12px 0 2px;
	transform: scale(1.333);
}
.privacy_policy {
	display: block;
	width: 100%;
	height: 150px;
	margin-top: 10px;
	overflow-y: scroll;
	font-size: 14px;
	padding: 10px 15px;
	color: var(--default-color);
	border: 1px solid #dadada;
	background: #fafafa;
}

#confirm .formTable {
	width: 100%;
	max-width: 800px;
	margin: 0 auto 30px;
	border-top: 1px solid #dadada;
}
#confirm .formTable tr {
	border-bottom: 1px solid #dadada;
}
#confirm .formTable tr th,
#confirm .formTable tr td {
	padding: 15px 20px;
}
#confirm .formTable tr th {
	width: 33.33%;
	background: #fcf0f0;
	color: var(--heading-color);
}
#confirm .confirm_btn {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0 30px;
}
#confirm .confirm_btn .btn {
	padding: 10px 40px;
	border-radius: 40px;
	background: var(--accent-color);
	border: 1px solid var(--accent-color);
	color: var(--contrast-color);
	transition: .5s;
}
#confirm .confirm_btn .btn.back {
	background: var(--background-color);
	color: var(--accent-color);
}
#confirm .confirm_btn .btn:hover {
	opacity: .8;
}
#confirm .confirm_btn .btn.back:hover {
	background: var(--background-color_light);
}

.error_text {
	color: var(--accent-color);
	text-align: center;
}
.error_box {
	max-width: 800px;
	margin: 0 auto 30px;
	padding: 30px;
	background: var(--background-color_light);
}
.error_box p {
	color: var(--accent-color);
	font-weight: bold;
	text-align: center;
}

@media (max-width: 599px) {
	
	.form_th {
		margin: 0 0 -10px;
	}
	.form_label {
		padding: 5px 0 10px;
	}

	#confirm .formTable tr,
	#confirm .formTable tr th,
	#confirm .formTable tr td {
		display: block;
		width: 100%;
	}
	#confirm .formTable tr th,
	#confirm .formTable tr td {
		padding: 12px 4vw;
	}
	#confirm .formTable tr th {
		width: 100%;
	}
	#confirm .formTable tr td {
		min-height: 48px;	
	}
	#confirm .confirm_btn {
		display: block;
		text-align: center;
	}
	#confirm .confirm_btn .btn {
		margin: 0 auto 20px;		
	}
	
	.error_text {
		text-align: left;
	}
	.error_box {
		padding: 20px 6vw;
	}
	.error_box p {
		text-align: left;
	}

}

/* other */

.services .service-item.top_box {
    padding-top: 30px;
}
.top_pic {
    margin-bottom: 40px;
}

.about .content .thoughts_contents h3 {
    font-weight: normal;
}
.thoughts_contents p {
    line-height: 2;
}

@media (max-width: 991px) {
    
    .stg_pic {
        margin-top: 15px;
        text-align: center;
    }

}

/* detail */

.detail_nav {
    width: 90%;
}
.detail_nav li {
    list-style: none;
}
.detail_nav li a {
    display: block;
    margin-bottom: 15px;
    padding: 10px 20px;
    border: 1px solid var(--accent-color);
    border-radius: 25px;
}
.detail_nav li a.current,
.detail_nav li a.current:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    cursor: default;
}
.detail_nav li a:hover {
    background: var(--background-color_light);
}
.detail_contents h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: bold;
}
.detail_contents h3:nth-of-type(n+2) {
    margin-top: 60px;
}
.detail_contents .pic {
    margin-bottom: 15px;
}
.detail_sheet {
    width: 100%;
    border-top: 1px solid var(--line-color);
}
.detail_sheet tr {
    line-height: 1.75;
    border-bottom: 1px solid var(--line-color);
}
.detail_sheet th {
    width: 200px;
    padding: 15px 20px;
    background: var(--background-color_light);
}
.detail_sheet td {
    padding: 15px 20px;
}

@media (min-width: 992px) {
    
    .pc_opp > div:nth-of-type(1){
        order: 2;
    }
	.detail_contents .pic.type_1 img {
		max-width: 480px;
	}
	
	.pdf_btns {
		display: flex;
		gap: 0 30px;
	}
    
}
@media (max-width: 991px) {
    
    .detail_nav {
        width: 100%;
        padding-left: 0;
    }
    .detail_nav li {
        text-align: center;
    }

}
@media (max-width: 1200px) {

}

/* about */

.about_sheet {
    margin: 90px 0;
    width: 100%;
    line-height: 2;
}
.about_sheet th {
    width: 200px;
    padding: 20px;
    border-bottom: 1px solid var(--accent-color);
}
.about_sheet td {
    padding: 20px;
    border-bottom: 1px solid var(--line-color);
}
.about_sheet td span.telfax {
    margin-left: 56px;
}
.about_sheet td a {
    color: var(--default-color);
}
.about_sheet td br.sp {
    display: none;
}
.about_sheet td b {
    color: var(--heading-color);
}

@media (max-width: 959px) {
    
    .about_sheet th {
        width: 140px;
    }
    
}
@media (max-width: 599px) {

    .about_sheet {
        margin: 40px 0;
        width: 100%;
        line-height: 1.75;
    }
    .about_sheet tr,
    .about_sheet th,
    .about_sheet td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .about_sheet th {
        padding: 15px 4vw 10px;
        border-bottom: none;
        color: var(--accent-color);
    }
    .about_sheet td {
        padding: 0 4vw 15px;
    }
    .about_sheet td span.telfax {
        margin-left: 0;
    }
    .about_sheet td br.sp {
        display: inline-block;
    }
    
}
