@charset "utf-8";

@media(min-width:751px) {
    div#content {
        padding: 0;
    }
}

.under-menu .insta:after{
    content: url(https://nido.style/wp-content/themes/twentytwentyone-child/img/share/instagram-blk.svg);
}

.cp_actab-content p{
    font-family: sans-serif;
}

.footer-color {
    margin: 0;
}

main#main {
    padding-bottom: 0;
}

.site-main .contactus {
    margin: 0;
}

.header {
    float: left;
    margin: 20px 0;
    padding: 65px 0 0 0;
}


.header-title {
    float: left;
}

.header-subtitle {
    float: left;
    margin: 13px 0 0 138px;
    position: relative;
}

.header-subtitle:before {
    content: '';
    display: block;
    height: 0.5px;
    width: 110px;
    border-radius: 3px;
    background-color: #1A1311;
    position: absolute;
    top: 11px;
    left: -127px;
}

.question-group{
    border-bottom: 1px solid;
    width: 100%;
    margin: 0 0 60px 0;
}

.text-annotation{
    font-size: 14px;
    color: #3E3E3E;
    margin: 30px 0 0 0;
    line-height: 1.8;
}

.contactus {
    margin: 65px 0;
    height: 190px;
    position: relative;
}

.contactus .title {
    text-align: center;
    font-size: 40px;
    margin: 42px 0 0 0;
}
.contactus a{
    text-decoration: none;
    color: #1A1311;
    position: relative;
}
.contactus .subtitle {
    text-align: center;
    font-size: 15px;
    padding: 0 0 64px 0;
}

.contactus a:after{
    content: "";
    position: absolute;
    top: 0;
    display: inline-block;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.contactus:hover{
    background: url(https://nido.style/wp-content/themes/twentytwentyone-child/img/fqa/contactus.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0px -580px;
}
.contactus:hover .title,
.contactus:hover .subtitle{
    color: #FFF;
}

@media(max-width:750px){
    .contactus:hover{
        background: none;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 0px -580px;
    }
    .contactus:hover .title,
    .contactus:hover .subtitle{
        color: #3E3E3E;
    }
}


/* for qa */
.cp_qa *, .cp_qa *:after, .cp_qa *:before {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

.cp_qa .cp_actab {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin-bottom: 17px;
	color: #1b2538;
    background-color: #F0EFE7;
}
.cp_qa .cp_actab input {
	position: absolute;
	opacity: 0;
}
/* 質問 */
.cp_qa .cp_actab label {
	font-weight: bold;
	line-height: 1.6;
	position: relative;
	display: block;
	margin: 0 0 0 0;
	padding: 1em 2em 1em 1em;
	cursor: pointer;
}

/* 答え */
.cp_qa .cp_actab .cp_actab-content {
	overflow: hidden;
	max-height: 0;
	-webkit-transition: max-height 0.5s ease;
	        transition: max-height 0.5s ease;
	color: #1b2538;
	background : #FCFBF7;
}
.cp_qa .cp_actab .cp_actab-content p {
	margin: 1em;
}
/* 質問を開いた時の仕様 */

/* --答えの高さ */
.cp_qa .cp_actab input:checked ~ .cp_actab-content {
	max-height: 40em;
}
/* 質問をクリックした時のアイコンの動き */
.cp_qa .cp_actab label::after {
	line-height: 1.6;
	position: absolute;
	top: 50%;
	right: 0;
	display: block;
	width: 3em;
	margin-top: -12.5px;
	-webkit-transition: all 0.5s ease;
	        transition: all 0.5s ease;
	text-align: center;
}
.cp_qa .cp_actab input[type=checkbox] + label::after {
	content: '+';
}
.cp_qa .cp_actab input[type=checkbox]:checked + label::after {
	-webkit-transform: rotateX(180deg);
	transform: rotateX(180deg);
}
#menu-btn-check:checked ~ .menu-btn span::before,
#menu-btn-check:checked ~ .menu-btn span::after
{
    background-color: #000000;
}

#menu-btn-check ~ .menu-btn span,
#menu-btn-check ~ .menu-btn span::before,
#menu-btn-check ~ .menu-btn span::after
{
    background-color: #000000;
}

.cp_qa .cp_actab input[type=checkbox]:checked  + label::after{
	content: 'ー';
}

/* bus-contactus */
.bus-contactus {
    border-top: 0.5px solid black;
}
.bus-contactus-button {
    display: block;
    width: 100%;
    height: 300px;
    background-color: white;
    color: black;
    font-size: 24px;
    text-align: center;
    line-height: 300px;
    text-decoration: none;
    background-image: none;
    transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
    color: #1A1311;
}

@media(max-width:750px) {
    .bus-contactus-button {
        display: block;
        width: 100%;
        height: auto;
        padding: 30px 0;
        background-color: white;
        color: black;
        font-size: 24px;
        text-align: center;
        line-height: 2;
        text-decoration: none;
        background-image: none;
        transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
        color: #1A1311;
    }
}

.bus-contactus-button:hover {
    background-image: url('https://nido.style/wp-content/themes/twentytwentyone-child/img/fqa/contactus.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
}

.bus-contactus-button-title {
    font-family: ryo-text-plusn, serif;
    height: 35px;
    margin: 0 0 12px 0;
    font-size: 30px;
}

.bus-contactus-button-subtitle {
    height: 35px;
    margin: 0 0 8px 0;
    font-size: 16px;
}

@media screen and (max-width:480px) {
    .header {
        float: left;
        margin: 0;
    }
    .header-subtitle {
        float: left;
        margin: 4px 0 0 100px;
        position: relative;
    }
    .header-subtitle:before {
        content: '';
        display: block;
        height: 0.5px;
        width: 69px;
        border-radius: 3px;
        background-color: #1A1311;
        position: absolute;
        top: 12px;
        left: -82px;
    }
    .bus-contactus-button-title {
        height: 35px;
        margin: 0 0 17px 0;
        font-size: 30px;
    }
    .cp_qa .cp_actab label {
        font-size: 14px;
    }
    .cp_actab-content {
        font-size: 14px;
    }
    .question-group {
        margin: 0 0 18px 0;
    }
}