@charset "utf-8";
/* Q&A */
.p-contact-conts{
    background: #fcfaf7;
    padding-bottom: 2rem;
}
.p-faq-conts{
    background: #fcfaf7;
    padding-bottom: 2rem;
}
.p-faq-conts-tab-container{
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #c9caca;
    border-bottom: 1px solid #c9caca;
    margin-bottom: .6rem;
    line-height: 1.4;
}
.p-faq-conts-tab-container .tab-item{
    width: calc(100% / 3);
    padding: .3rem;
    cursor: pointer;
}
.p-faq-conts-tab-container .tab-item:not(:last-child){
    border-right: 1px solid #c9caca;
}
.p-faq-conts-tab-container .c-btn__arwWrap{
    justify-content: space-between;
    column-gap: .1rem;
}
.p-faq-conts-content-container{
    line-height: 2;
}
.panel-item {
    display: none;
}
.panel-item.is-active {
    display: block;
    animation: panel-show .9s ease-in-out forwards;
}
@keyframes panel-show {
    from {
    opacity: 0;
    }
    to {
    opacity: 1;
    }
}
.tab-item:hover, .tab-item.is-active{
    background: #f3f3f3;
}
.tab-item:hover .c-btn__arw.gray, .tab-item.is-active .c-btn__arw.gray{
    background: #fff;
}
.accordion-content{
    display: none;
}
.accordion-header {
  background: #f3f3f3;
  padding: .2rem 50px .1rem .2rem;
  margin-top: .2rem;
  height: 70px;
  display: flex;
  align-items: center;
  transition: all .3s ease;
  cursor: pointer;
  position: relative;
}
.accordion-header::before,
.accordion-header::after{
  position:absolute;
  content:'';
  top:1px;
  right:20px;
  bottom:0;
  width:23px;
  height:3px;
  border-radius: 9999px;
  margin:auto;
  background:#3e3a39;
}
.accordion-header::after{
  transform:rotate(-90deg);
  transition:transform 0.3s;
}
.accordion-header.active::after{
    transform:rotate(0deg);
}
.accordion-content {
  padding: .4rem .1rem;
}
.accordion-header:hover {
  background-color: #fff;
}

/* contact form 7*/
.wpcf7{
    font-family: "Zen Old Mincho",'游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-weight: 600;
    font-style: normal;
    letter-spacing: -.02em;
}
.cf7-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 .4rem;
}
.cf7-q {
    width: 30%;
}
.cf7-a {
    width: 70%;
}
.cf7-a input{
    width: 100%;
    padding: .15rem .1rem;
    background: #fff;
    border: none;
    box-sizing: border-box;
}
.cf7-a textarea{
    width: 100%;
    padding: .15rem .1rem;
    background: #fff;
    border: none;
    box-sizing: border-box;
}
.cf7-a select{
    width: min(100%,290px);
    border: none;
    padding: .15rem .1rem;
    -webkit-appearance: none;
    appearance: none;
    background: #fff url("../img/contact/ico_select.svg") no-repeat right 12px center / 9px auto;
    box-sizing: border-box;
}
.cf7-accept-check{
    text-align: center;
    margin: .5rem auto;
    background: #d9dada;
    padding: .2rem;
    box-sizing: border-box;
}
.cf7-accept-check input{
    vertical-align: baseline;
    margin-right: .05rem;
}
.cf7-a.w300 input{
    width: min(100%,300px);
}
.cf7-a.w450 input{
    width: min(100%,450px);
}
.cf7-submit p{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .2rem;
}
.cf7-headline{
    margin-bottom: 1rem;
    display: grid;
    gap: .2rem;
}
.confirm_button:disabled{
    opacity: .5;
}
.confirm_button{
    width: min(100%,250px);
    height: 60px;
    border: none;
    background: url(../img/contact/ico_arw.svg) no-repeat right center / 90px auto;
    color: #3e3a39;
    cursor: pointer;
}
.back_button{
    width: min(100%,250px);
    height: 60px;
    border: none;
    background: none;
    color: #3e3a39;
    cursor: pointer;
}
.wpcf7-submit{
    width: min(100%,250px);
    height: 60px;
    border: none;
    background: url(../img/contact/ico_arw.svg) no-repeat right center / 90px auto;
    color: #3e3a39;
    cursor: pointer;
}
.wpcf7-spinner{
    display: none;
}
.input_area,.confirm_area, .thanks_area{
    padding-top: 1.5rem;
    margin-top: -1.5rem;
}
@media only screen and (max-width: 1024px) {
    .p-faq-conts-tab-container{
        flex-direction: column;
        border-top: none;
        border-bottom: none;
        border-right: 1px solid #c9caca;
        border-left: 1px solid #c9caca;
    }
    .p-faq-conts-tab-container .tab-item{
        width: 100%;
    }
    .p-faq-conts-tab-container .tab-item:not(:last-child){
        border-right: none;
        border-bottom: 1px solid #c9caca;
    }
    .cf7-item {
        flex-direction: column;
    }
    .cf7-q {
        width: 100%;
        margin-bottom: .1rem;
    }
    .cf7-a {
        width: 100%;
    }
    .cf7-a input{
        padding: .3rem .2rem;
    }
    .cf7-a select{
        padding: .3rem .2rem;
    }
    .cf7-a.w300 input{
        width: 100%;
    }
    .cf7-a.w450 input{
        width: 100%;
    }
    .cf7-submit p{
        flex-direction: column;
    }
}
