/* style.css打消し */
body:not(.home) main {
    margin-top: 0!important;
}
body.page-id-50 .header_logo img {
    filter: unset;
}
body.page-id-50 .header_logo.invert_color img {
    filter: invert(1);
}
/* body.open.page-id-50 .header_logo.invert_color img {
    filter: unset;
} */
/* MV */
.bg_contact{
    background: url(../images/contact/bg_contact.jpg);
    background-size: cover;
    background-position: bottom left;
    height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg_point{
    background: url(../images/contact/bg_point.jpg);
    background-size: cover;
    background-position: center;
    padding-right: 5%;
    padding-left: 5%;
    box-sizing: border-box;
}

/* よくある質問 */
.faq_box li {
    margin-bottom: 20px;
}
.faq_q{
    font-size: var(--text18);
    font-family: "Shippori Mincho", serif;
    line-height: 1.2;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    padding-right: 3.5rem;
    padding: 1em 3.5em 1em 1em;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    gap: 1em;
    align-items: center;
}
.faq_box li:nth-child(odd) .faq_q{
    background: #2c5382;
}
.faq_box li:nth-child(even) .faq_q{
    background: #234064;
}
.faq_q span{
	line-height: 1;
    display: block;
    font-size: var(--text36);
}
.faq_q::before,
.faq_q::after{
	content: "";
	position: absolute;
	right: 1em;
	top: 50%;
	width: 35px;        
	height: 2px;         
	background: #fff;
	transition: transform 0.3s, opacity 0.3s;
}
.faq_q::before{
	transform: translateY(-50%);
}
.faq_q::after{
	transform: translateY(-50%) rotate(90deg);
}
.faq_q.is-open::after{
	transform: translateY(-50%) rotate(0deg);
}
.faq_a{
	font-size: var(--text14);
    font-family: "Noto Serif JP", serif;
	line-height: 2.1;
	letter-spacing: 1px;
    padding: 2em 11%;
	display: none;
}
@media screen and (max-width:768px){
    .faq_a {
        padding: 2em 5%;
    }
    .faq_q::before, .faq_q::after {
        width: 25px;

    }
}
@media screen and (max-width:599px){
    .faq_q {
        padding: 1em 2.5em 1em 0.75em;
        gap: 0.5em;
    }
	.faq_a {
        padding: 1.5em 3%;
	}
	.faq_q::before, .faq_q::after {
		width: 15px;
        right: 0.75em;
	}
}
.step_list {
    display: grid;
    grid-template-columns: repeat(6, max-content);
    column-gap: 4rem;
}

.step_list li {
    position: relative;
    text-align: center;
}

.step_list li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -2.5rem;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6.5px solid transparent;
    border-bottom: 6.5px solid transparent;
    border-left: 7px solid #000;
}

.step_list li > div {
    width: fit-content;
    padding: 2em 1.5em;
    border: 1px solid #000;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    min-height: 330px;
}
@media screen and (max-width:1000px){
    .step_list li > div {
        padding: 1.5em 1em;
    }
    .step_list li:not(:last-child)::after {
        right: -2rem;
    }
}
@media screen and (max-width:768px){
    .step_list {
        column-gap: 2rem;
    }
    .step_list li:not(:last-child)::after {
        right: -1.5rem;
    }
}
@media screen and (max-width:599px) {
    .step_list {
        grid-template-columns: repeat(1, 1fr);
        column-gap: unset;
        row-gap: 3rem;
    }

    .step_list li > div {
        flex-direction: row;
        min-height: auto;
        width: 100%;
        padding: 1em;
    }

    .step_list li:not(:last-child)::after {
        right: 50%;
        top: unset;
        bottom: -2rem;
        transform: translateX(50%);
        border-top: 7px solid #000;
        border-right: 6.5px solid transparent;
        border-bottom: 0;
        border-left: 6.5px solid transparent;
    }

    .step_list .vertical {
        writing-mode: unset;
        text-orientation: unset;
    }

    .faq_box .step_list li {
        margin-bottom: 0 !important;
    }
}
