#faq {
    background-color: #fcfcfc;
}
.contact-container {
    max-width: 900px;
}
.faq-box:nth-of-type(2) {
	margin: 100px 0;
}
.faq-item {
    margin: 50px 0 0 0;
}
.faq {
    width: 100%;
    border-radius: 30px;
    margin: 0 auto 20px auto;
    box-sizing: border-box;
    border: 3px solid rgba(99,186,171,0.6);
    overflow: hidden;
}
.question, .answer {
    justify-content: flex-start;
    align-items: center;
    font-size: 20px;
}
.question {
    font-weight: bold;
}
.ac_header {
    position: relative;
    background-color: rgba(99,186,171,0.6);
    transition: .3s;
}
.ac_inner {
    display: none;
    background-color: #fcfcfc;
    box-sizing: border-box;
}
.ac_header, .ac_inner {
    padding: 15px 40px;
}
/* オープン時 */
.ac_header.open .i_box:after {
  height: 0;
}
.open {
    display: block;
}

.question p, .answer p {
    margin: 10px 20px 10px 0;
}
.question p:first-child,
.answer p:first-child {
    width: 40px;
    height: 40px;
	aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.question p:first-child {
    background-color: #63BAAB;
    border: 2px solid #63BAAB;
    color: #fcfcfc;
}
.answer p:first-child {
    background-color: #fcfcfc;
    border: 2px solid #63BAAB;
    color: #63BAAB;
}
/* アコーディオン */
.i_box {
  position: absolute;
  top: 50%;
  right: 2rem;
  width: 21px;
  height: 21px;
  margin-top: -10px;
}
.i_box:before, .i_box:after {
  position: absolute;
  content: "";
  margin: auto;
  box-sizing: border-box;
  vertical-align: middle;
}
.i_box:before {
  border-top: 3px solid #fcfcfc;
  border-radius: 10px;
  width: 21px;
  height: 0;
  top: 0;
  bottom: 0;
  right: 0;
}
.i_box:after {
  border-left: 3px solid #fcfcfc;
  border-radius: 10px;
  width: 0;
  height: 21px;
  top: 0;
  bottom: 0;
  right: 9px;
  transition: .3s;
}

/* お問い合わせ */
.contact-text {
    margin-top: 50px;
}
.p-info-box {
    margin: 80px 0;
}
.p-info-text {
    max-width: 100%;
    height: 400px;
    border: 10px solid #FFB862;
    border-radius: 30px;
    background-color: #fcfcfc;
}
.p-info-text p {
    padding: 20px 10px 20px 20px;
    margin: 0;
}
.scroll {
    overflow-y: scroll;
    scroll-behavior: smooth;
    scrollbar-color: #fcfcfc #FFB862;
}
/* 個人情報チェックボタン下文 */
.privacy_detail_text {
	margin-top: -2em;
	margin-left: 1em;
}
/* ＝＝＝＝＝
cf7
＝＝＝＝＝ */
.wpcf7-form {
    margin-top: 50px;
}
/* 項目横並び */
.CF7_table {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 0 150px 0;
}
.CF7_table dt {
    width: 20%;
    font-size: 18px;
}
.CF7_table dd {
    width: 80%;
    margin: 0;
}
.CF7_table dd p {
    margin: 30px 0;
}
/* 入力項目１００％ */
input, textarea {
    border-radius: 10px;
    border: 2px solid #999;
}
/* 入力箇所カスタム */
.wpcf7 input:focus,
.wpcf7 textarea:focus{
    border: 2px solid #EC7304;
    outline: 0;
    font-size: 18px;
}
/* ラジオボタン */
.wpcf7-radio {
    display: flex;
    align-items: center;
}
.radio-box .wpcf7-list-item {
    display: block;
    line-height: 1;
}
.radio-box > p {
    margin-bottom: 0;
}
.radio-box input[type="radio"] {
    display: none;
}
.radio-box .wpcf7-list-item-label {
    position: relative;
    height: 20px;
    line-height: 20px;
    padding-left: 25px;
    display: inline-block;
}
.radio-box .wpcf7-list-item-label::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border: 1.5px solid #999;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    left: 0;
    top: 0;
    box-sizing: border-box;
}
.radio-box input[type="radio"]:checked + .wpcf7-list-item-label::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #EC7304;
    position: absolute;
    left: 5px;
    top: 5px;
}
/* ラジオボタンここまで */
.wpcf7-form-control-wrap, .wpcf7-form-control-wrap > input {
    width: 100%;
    height: 45px;
    box-sizing: border-box;

}
.CF7_table > dt > p {
    display: flex;
    justify-content: left;
    align-items: center;
}
.wpcf7-list-item label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wpcf7-list-item label span input {
    width: 100%;
}
/* 個人情報同意チェック */
.wpcf7-list-item-label a {
    color: #333;
    position: relative;
}
.wpcf7-list-item-label a::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #333;
    position: absolute;
    bottom: 0;
    left: 0;
}
/* 問い合わせ内容テキストエリア */
.message-100 {
    width: 100%;
    height: 100%;
}
.message-100 textarea {
    width: 100%;
}
.CF7_req {
    color: #EC7304;
}
/* 法人OR個人 */
.wpcf7-list-item-label {
    margin: 0;
    font-size: 18px;
}
.wpcf7-list-item input {
    margin: 0 16px 0 0;
}
.CF7_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.CF7_btn input {
    font-size: 18px;
    color: #fcfcfc;
    padding: 10px 50px;
    box-sizing: border-box;
    background: linear-gradient(-90deg, #63BAAB 50%, #fcfcfc 50%) 100%;
    background-size: 200% 100%;
    width: 250px;
    border-radius: 10px;
    box-sizing: border-box;
    border: 2px solid #63BAAB;
    transition: .3s;
    font-weight: bold;
}
.CF7_btn input:hover {
    background-position: 0 100%;
    transition: all .3s;
    color: #63BAAB;

}
/*=====
レスポンシブ
=====  */
@media screen and ( max-width:1024px) {
	.faq-box:nth-of-type(2) {
		margin: 0;
	}
    .faq-item {
        padding-bottom: 50px;
    }
/* アコーディオン	 */
	.ac_header, .ac_inner {
		padding: 10px 0 10px 5px;
	}
	.i_box {
		right: .5rem;
		width:15px;
		height:15px;
	}
	.i_box::before {
		width: 15px;
	}
	.i_box::after {
		height: 15px;
		right: 6px;
	}
/* Q&Aフォントサイズ */
	.question, .answer {
		font-size: 18px;		
	}
	.question p, .answer p {
		margin: 10px 10px 10px 0;
		box-sizing: border-box;
	}
	.question p:first-child,
	.answer p:first-child {
		width: 30px;
		height: 30px;
	}
    /* お問合せ */
	.contact-inner {
		padding: 0 5%;
	}
    .CF7_table {
        flex-direction: column;
    }
    .CF7_table dt, .CF7_table dd {
        width: 100%;
    }
    .CF7_table dt p {
        margin-bottom: 0;
    }
    .CF7_table dd p {
        margin-top: 0;
        margin: 0 0 10px 0;
    }
    
    .scroll {
        scrollbar-color: #FFB862 #FFB862;
    }
	/* 個人情報チェックボタン下文 */
	.privacy_detail_text {
		margin-top: -0.5em;
	}
}
/*=====
レスポンシブ
=====  */
@media screen and ( max-width:375px) {
	.question p, .answer p {
		max-width: 260px;
	}
}