/* 共通 */
.content {
    margin-bottom: 30px;
}
.content-title {
    padding: 5px 0;
    text-align: center;
    background-color: #1ba1e6;
    color: #fff;
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 10px;
}
.content-wrap {
    width: 1000px;
    margin: 0 auto;
}
/* ヘッダー */
header p {
    padding: 10px 10px 10px 0;
    text-align: right;
}
header p .head-txt__phone {
    font-size: 18px;
    font-weight: bold;
    padding: 0 5px;
}
/* メイン画像 */
.main-visual {
    width: 100%;
    height: 510px;
    background: url(/ai/images/main_image.png) no-repeat center;
    background-size: cover;
    margin-bottom: 10px;
}
.main-visual img {
    display: none;
}
/* 間取り作成の困りごと */
.solution-list {
    display: flex;
    justify-content: space-between;
    background: #f0f0f0;
    padding: 10px 40px 30px;
    margin-bottom: 5px;
}
.solution-list dl dt {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}
.solution-list dl dd {
    margin-bottom: 5px;
    text-align: center;
    font-size: 15px;
}
.solution-list dl dd:last-child {
    margin: 0;
}
.solution-list__image {
    padding-bottom: 25px;
    position: relative;
}
.solution-list__image:after {
    content: "▼";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 15px;
    margin-left: -7.5px;
}
.solution-list__image img {
    width: 70%;
}
.solution-supplement {
    font-size: 12px;
}
/* AI間取りの利用イメージ */
.image-list {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 20px;
    background: #fbfbfb;
}
.image-list dl dt {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}
.image-list .image-list__cont {
    position: relative;
}
.image-list .image-list__cont_text {
    display: block;
    position: absolute;
    top: 46px;
    right: -82px;
    background: url(/ai/images/image_AI_back.png) center no-repeat;
    color: #fff;
    padding: 5px;
    font-size: 12px;
    z-index: 10;
    width: 94px;
}
.image-list li {
    width: 200px;
}
.content-image__movie {
    width: 560px;
    margin: 0 auto;
}
/* よくある質問 */
.question-item {
    font-size: 16px;
    margin-bottom: 5px;
}
.question-item dt, 
.question-item dd {
    padding: 5px 10px;
}
.question-item dt {
    background: #f0f0f0;
    cursor: pointer;
    position: relative;
}
.question-item span {
    padding-right: 5px;
    font-weight: bold;
}
.question-item dt span {
    color: #1ba1e6;
}
.question-item dd span {
    color: red;
    display: block;
    position: absolute;
    left: 10px;
}
.question-item dd {
    display: none;
    position: relative;
    padding-left: 28px;
}
.question-item dt:before {
    display: inline-block;
    content: '\f067';
    font-family: 'FontAwesome';
    padding-right: 5px;
    transition: 0.2s;
    position: absolute;
    right: 5px;
}
.question-item dt.open:before {
     content: '\f068';
     -ms-transform: rotate(360deg);
     -webkit-transform: rotate(360deg);
     transform: rotate(360deg);
}

/* お問い合わせ */
.contact {
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact div dt {
    font-size: 16px;
}
.contact div {
    width: 498px;
    text-align: center;
}
.contact-web dt {
    margin-bottom: 20px;
}
.contact-web dd a {
    display: block;
    background: #52a5df;
    width: 200px;
    padding: 20px 0;
    margin: 0 auto;
    color: #fff;
    border-radius: 5px;
    position: relative;
}
.contact-web dd a:before {
    display: inline-block;
    content: '\f108';
    font-family: 'FontAwesome';
    padding-right: 5px;
    transition: 0.2s;
    position: absolute;
    left: 40px;
    top: 21px;
}
.contact-web dd a:after {
    display: inline-block;
    content: '\f054';
    font-family: 'FontAwesome';
    padding-right: 5px;
    position: absolute;
    right: 8px;
    top: 22px;
}
.contact-phone dd {
    font-size: 23px;
    color: #1ba1e6;
    position: relative;
    font-weight: bold;
}
.contact-phone .contact-phone__phone dd:before {
    display: inline-block;
    content: '\f095';
    font-family: 'FontAwesome';
    padding: 0 5px 0 0;
}
.contact-phone .contact-phone__mobile dd:before {
    display: inline-block;
    content: '\f10b';
    font-family: 'FontAwesome';
    padding: 0 5px 0 0;
}
.contact-phone {
    border-left: 1px solid;
}
.contact-web dd a:hover {
    opacity: 0.7;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .head-txt__mobile {
        display: block;
    }
    .content-wrap {
        width: 100%;
    }
    .image-list,
    .solution-list {
        display: -webkit-box;
        display: -ms-flexbox;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 1em 0.5em;
        scroll-behavior: smooth;
    }
    .image-list li {
        width: 200px;
        margin-right: 60px;
    }
    .solution-supplement {
        padding: 0 0.5em;
    }
    .contact > div {
        padding: 0 0.5em;
    }
    .contact-phone dd {
        font-size: 1.5em;
    }
    .contact div dt {
        font-size: 1em;
    }
    .contact-phone p {
        font-size: 0.8em;
    }
    .content-image__movie {
        width: 100%;
        margin: 0 auto;
    }
    .main-visual {
        height: auto;
        background: none;
    }
    .main-visual img {
        display: block !important;
        width: 100%;
    }
}