*{
    padding: 0;
    margin: 0;
}
body{
    font-family: "Yu Gothic", "游ゴシック", "Meiryo", "メイリオ", sans-serif;
    font-weight: 500;
    font-style: normal;
    background-color: #FFFEFA;
}
a{
    color: black;
    text-decoration: none;
}
li{
    list-style: none;
}
.container{
    padding: 0 7%;
    margin: 0 auto;
}
[class*="area_home"]{
    text-align: center;
    padding: 100px 0;
}
h2{
    font-family: 'Yu Gothic', '游ゴシック', 'YuGothic', sans-serif;
    font-size: 36px;
    font-weight: bold;
}

@media screen and (max-width:710px) {
    [class*="area_home"]{
        padding: 70px 0;
    }
}
@media screen and (max-width:460px) {
    .container{
        padding: 0 4%;
    }
}

/* ヘッダー */
.login_header{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}
header > .container{
    height: 132px;
    display: flex;
    align-items: center;
}


/* ロゴ */
.area_logo_header{
    font-family: "Noto Sans JP","メイリオ","Meiryo","ヒラギノ角ゴシック";
}
.area_logo_header{
    position: relative;
}
[class*="logo"]{
    display: block;
}
.logo_header{
    height: 60px;
    width: 400px;
}
.logo_sub_text{
    font-size: 20px;
    color: #707070;
    font-weight: 400;
}
.logo_header_only {
    display: none;
}
@media screen and (max-width:740px) {
    .logo_header {
        display: none;
    }
    .logo_header_only {
        display: block;
        height: 46px;
        width: 56px;
    }
}
/* ヘッダーナビ */
.nav_header{
    margin: 0 0 0 auto;
}
.list_nav_header{
    display: flex;
    align-items: center;
}
.list_nav_header > li{
    padding: 0 10px;
}
.ico_tel{
    font-size: 42px;
    position: relative;
    font-weight: 700;
}
.ico_tel::before{
    content: "";
    display: block;
    background: url(img/ico/tel.png) no-repeat center center;
    background-size: contain;
    height: 91px;
    width: 91px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -63px;
}
@media screen and (max-width:1149px){
    .ico_tel{
        display: none;
    }
}

/* ボタン */
.cta-button-with-image {
    display: inline-flex;
    align-items: stretch;
    text-decoration: none;
    color: white;
    height: 100px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
    }
.cta-text-image {
    display: block;
    }
.cta-button-arrow-area {
    width: 100px;
    height: 100px;
    background-color: #0E62AA;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 40px;
    }
.cta-button-arrow-area .arrow-icon {
    font-size: 30px;
    font-weight: 700;
    color: white;
    transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1.4);
    line-height: 1;
    }
.cta-button-with-image:hover .arrow-icon {
    transform: translateX(5px); /*ホバー時矢印*/
}

@media screen and (min-width: 1600px) {
    .cta-button-arrow-area {
        right: 70px;
        }
}
@media screen and (max-width:1350px){
    .cta-button-arrow-area {
        right: 30px;
    }
}
@media screen and (max-width:1240px){
    .ico_tel{
        font-size: 35px;
    }
    .ico_tel::before{
        height: 80px;
        width: 80px;
    }
    .cta-button-arrow-area {
        right: 25px;
    }
}
@media screen and (max-width:1080px){
    .cta-button-arrow-area {
        right: 20px;
    }
}
@media screen and (max-width:978px){
    .cta-button-arrow-area {
        right: 10px;
    }
}
@media screen and (max-width:860px){
    .cta-button-arrow-area {
        width: 90px;
        height: 90px;
        top:15px;
    }
    .cta-button-with-image {
        height: 90px;
    }
}
@media screen and (max-width:763px){
    .cta-button-arrow-area {
        width: 80px;
        height: 80px;
        top: 20px;
    }
    .cta-button-with-image {
        height: 80px;
    }
}
@media screen and (max-width:712px){
    .cta-button-arrow-area {
        right: 5px;
    }
}
@media screen and (max-width:580px){
    .cta-button-arrow-area {
        width: 75px;
        height: 75px;
        top: 24px;
    }
}
@media screen and (max-width:510px){
    .cta-button-with-image{
        margin-right: 20px;
    }
    .cta-button-arrow-area {
        right: 20px;
    }
}
@media screen and (max-width:461px){
    .cta-button-arrow-area {
        right: 5px;
    }
}

/* 「選ばれる理由」の下に配置するボタン */
.cta-button-arrow-area02{
    position: relative;
    top: 0px;
    right: 40px;
}
.cta-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* トップビュー */
.area_top_viwe{
    background-color: #FAF6E2;
}
.area_top_viwe > .container{
    height: 100vh;
    align-items: center;
}
.top_viwe_text{
    display: flex;
    align-items: center;
    padding-top: 150px;
}
.main_text{
    font-size: 43px;
    font-family: 'Yu Gothic', '游ゴシック', 'YuGothic', sans-serif;
    font-weight: bold;
}
.sub_text_flex img{
    height: 177px;
    width: 155px;
    margin-left: 10px;
}

@media screen and (max-width:1350px){
    .sub_text_flex img{
        height: 142px;
        width: 125px;
    }
}
@media screen and (max-width:1240px){
    .sub_text_flex img{
        height: 118px;
        width: 103px;
    }
}
@media screen and (max-width:1149px){
    .main_text{
        font-size: 36px;
    }
    .area_top_viwe > .container{
        padding: 0 3%;
    }
    .top_viwe_text{
        justify-content: center;
    }
}
@media screen and (max-width:1030px){
    .main_text{
        font-size: 30px;
    }
}
@media screen and (max-width:847px){
    .top_viwe_text{
        display: block;
        text-align: center;
        margin: 0 auto;
    }
}
@media screen and (max-width:500px){
    .sub_text_flex{
        margin-top: 20px;
    }
}
@media screen and (max-width:412px){
    .sub_text_flex img{
        margin-left: 5px;
    }
}


/* スライドショー */
.wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    transform-style: preserve-3d;
    padding-right: 25%;
}

.box{
    position: relative;
    display: block;
    transform-style: preserve-3d;
    perspective: 700px;
    height: 300px;
}

.item {
    position: absolute;
    top: 25%;
    width: 278px;
    height: 188px;
    transform-style: preserve-3d;
    transform-origin: bottom;
    user-select: none;
    transition: all 0.8s ease, opacity 0s;

}

.wrapper .box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.buttons {
    position: relative;
    display: flex;
    gap: 20px;
    padding-left: 25%;

}
.buttons span {
    position: relative;
    width: 50px;
    height: 50px;
    border: 2px solid #707070;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
}
.buttons span:hover {
    opacity: 1;
}
.buttons span::before {
    content: '';
    position: absolute;
    left: 20px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #707070;
    border-left: 2px solid #707070;
    rotate: -45deg;
}

.buttons span:last-child:before {
    content: '';
    position: absolute;
    left: initial;
    right: 20px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #707070;
    border-left: 2px solid #707070;
    rotate: 135deg;
}

@media screen and (max-width:1000px){
    .item {
        width: 200px;
        height: 130px;
        top: 40%;
    }
}
@media screen and (max-width:847px){
    .wrapper {
        margin-top: -60px;
    }
}
@media screen and (max-width: 760px) {
    .item {
        width: 150px;
        height: 100px;
    }
}
@media screen and (max-width: 500px) {
    .item {
        width: 130px;
        height: 85px;
    }
    .buttons {
        position: absolute;
        top: 240px; /* スライドボックスの上に配置 */
        left: 50%;
        transform: translateX(-50%);
        padding-left: 0; /* 既存のpadding-left:25%を解除 */
        z-index: 10;
    }
}
@media screen and (max-width: 465px) {
    .item {
        width: 100px;
        height: 70px;
    }
}

/* お困りごと */
.area_home_question{
    background: #FFFEFA;
    position: relative;
}
.area_home_question::before{ /*矢印部分*/
    content: "";
    position: absolute;
    height: 60px;
    width: 100%;
    clip-path: polygon(0 0,50% 100%,100% 0);
    background-color: #FFFEFA;
    left: 0;
    bottom: -60px; /* bottomにピッタリくっつけたいので三角の高さ分下にずらす */
}
.area_home_question img{
    height: 500px;
    width: 500px;
}
.body_home_question{
    display: flex;
    justify-content: center;
}
[class*=fukidashi]{
    text-align: center;
    position: relative;
    padding: 1rem 1rem 1rem 1.5rem;
    border-radius: 6px;
    border: 3px solid #E7931E;
    width: 20rem;
    margin: 100px auto;
    box-shadow: -3px 3px 0 0 #E7931E;
}
.fukidashi_00{
    margin-top: 50px;
    margin-bottom: 35px;
}
.fukidashi_001::before,
.fukidashi_001::after{
    position: absolute;
    left: 30%;
    content: "";
    height: 0;
    width: 0;
    border: solid transparent;
}
.fukidashi_001::before{
    top: 100%;
    border-color: transparent;
    border-top-color: #E7931E;
    margin-left: -12px;
    border-width: 15px;
}
.fukidashi_001::after{
    top: 99%;
    border-color: transparent;
    border-top-color: white;
    margin-left: -10px;
    border-width: 11.5px;
}
.fukidashi_002::before,
.fukidashi_002::after{
    position: absolute;
    left: 70%;
    content: "";
    height: 0;
    width: 0;
    border: solid transparent;
}
.fukidashi_002::before{
    top: 100%;
    border-color: transparent;
    border-top-color: #E7931E;
    margin-left: -12px;
    border-width: 15px;
}
.fukidashi_002::after{
    top: 99%;
    border-color: transparent;
    border-top-color: white;
    margin-left: -10px;
    border-width: 11.5px;
}
@media screen and (max-width:1410px) {
    [class*=fukidashi]{
        padding: 0.9rem 0.9rem 0.9rem 1.4rem;
        width: 18rem;
    }
}
@media screen and (max-width:1240px) {
    [class*=fukidashi]{
        padding: 0.9rem 0.9rem 0.9rem 1.4rem;
        width: 15rem;
        margin: 50px auto;
    }
    .area_home_question img{
        height: 400px;
        width: 400px;
    }
}
@media screen and (max-width:1170px) {
    .body_home_question{
        display: block;
    }
    [class*=fukidashi]{
        padding: 1rem 1rem 1rem 1.5rem;
        width: 30rem;
    }
}
@media screen and (max-width:623px) {
    [class*=fukidashi]{
        padding: 1rem 1rem 1rem 1.5rem;
        width: 20rem;
    }
}
@media screen and (max-width:460px) {
    [class*=fukidashi]{
        padding: 0.9rem 0.9rem 0.9rem 1.4rem;
    }
    .area_home_question img{
        height: 350px;
        width: 350px;
    }
}
@media screen and (max-width:420px) {
    [class*=fukidashi]{
        padding: 1rem 1rem 1rem 1.5rem;
        width: 17rem;
    }
}


/* 解決 */
.area_home_solution{
    background-color: #F5DDB0;
    padding-bottom: 50px;
    padding-top: 160px;
}
.body_home_solution{
    display: flex;
    justify-content: center;
    padding-bottom: 100px;
}
.solution_text{
    background-color: #ffffff;
    width: 440px;
    border-radius: 3px;
    padding: 30px 30px;
    margin: 80px 10px 0 10px;
}
.tll_color{
    color: #0d62aa;
    display: inline-block;
}
.solution_text h3{
    color: #0d62aa;
    padding-bottom: 20PX;
}
.question_img{
    height: 200px;
    width: 200px;
}

@media screen and (max-width:1170px) {
    .body_home_solution{
        display: block;
    }
    .solution_text{
        margin: 20px auto;
    }
}
@media screen and (max-width:700px) {
    .area_home_solution{
        padding-top: 60px;
    }
}
@media screen and (max-width:600px) {
    .solution_text{
        width: 400px;
    }
}
@media screen and (max-width:540px) {
    .solution_text{
        width: 300px;
    }
}
@media screen and (max-width:440px) {
    .solution_text{
        width: 250px;
    }
}

/* 選ばれる理由 */
.area_home_reason{
    text-align: left;
}
.area_home_reason .container{
    display: flex;
    flex-direction: row-reverse;
}
.reason_img{
    height: 350px;
    width: 350px;
}
.body_home_reason{
    margin: 50px 0 100px 50px;
}
.body_home_reason h2{
    margin-bottom: 40px;
}
@media screen and (max-width:1170px) {
    .area_home_reason .container{
        display: block;
        text-align: center;
    }
    .body_home_reason{
        margin:0;
    }
}

/* 過去の制作例 */
.area_home_example{
    background:#FAF6E2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 7%;
}
.area_home_example h2{
    margin-bottom: 70PX;
}
.example_flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.example{
    background-color: #fff;
    padding: 50px 30px;
    margin: 10px;
}
.example img{
    height: 328px;
    width: 444px;
}
.custom-table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 50px;
}
.custom-table th,
.custom-table td {
    border: 1px solid #333;
    padding: 8px;
    text-align: left;
}
.custom-table .left {
    background-color: #F5DDB0;
    text-align: center;
    font-weight: bold;
}
.btn_example{
    margin-top: 30px;
}

@media screen and (max-width:640px) {
    .example img{
        height: 274px;
        width: 371px;
    }
}
@media screen and (max-width:560px) {
    .example img{
        height: 245px;
        width: 331px;
    }
}
@media screen and (max-width:505px) {
    .example img{
        height: 211px;
        width: 286px;
    }
}
@media screen and (max-width:440px) {
    .example img{
        height: 187px;
        width: 253px;
    }
}
@media screen and (max-width:390px) {
    .example img{
        height: 171px;
        width: 231px;
    }
    .btn_example .submit_btn{
        padding:8px;
    }
}

@media screen and (min-width: 1600px) {
    .item {
        width: 400px;
        height: 270px;
    }
    .box {
        height: 400px;
    }
    .wrapper {
        padding-right: 20%;
    }
}


/* アコーディオン */
.area_home_accordion{
    background-color: #FAF6E2;
    margin-top: 100px;
}
.area_home_accordion h2{
    margin-bottom: 50px;
}
.accordion-008 {
    max-width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 7px 15px -5px rgb(0 0 0 / 5%);
    background-color: #fff;
}

.accordion-008 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.accordion-008 summary::-webkit-details-marker {
    display: none;
}

.accordion-008 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

.accordion-008[open] summary::after {
    transform: rotate(225deg);
}

.accordion-008 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #0d62aa;
    font-weight: bold;
    transition: transform .5s, opacity .5s;
    text-align: left;
}

.accordion-008[open] p {
    transform: none;
    opacity: 1;
}

/* クロージング */
.area_home_closing{
    font-family:'メイリオ', 'Meiryo','ＭＳ ゴシック','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
    background-color: #F5DDB0;
    font-size: 30px;
    position: relative;
    font-weight: 700;

}
.closing_text01{
    text-align: left;
    padding-left: 140px;
    padding-bottom: 10px;
}
.closing_text02{
    color: #0d62aa;
    font-size: 70px;
}
.closing_text03{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    padding: 10px 0;
}
.closing_text03::before{
    content: "";
    width: 30px;
    height: 5px;
    transform: rotate(60deg);
    box-sizing: border-box;
    background-color: #DB4241;
}
.closing_text03::after{
    content: "";
    width: 30px;
    height: 5px;
    transform: rotate(-60deg);
    box-sizing: border-box;
    background-color: #DB4241;
}
.closing_text04{
    font-size: 20px;
}
.closing_text05{
    color: #0d62aa;
    font-size: 70px;
    display: inline-block;
}
.closing_img{
    height: 250px;
    width: 250px;
    position: absolute;
    right: 10%;
    bottom: 0%;
}
@media screen and (min-width:1650px){
    .closing_img{
        right: 16%;
    }
}
@media screen and (max-width:1370px){
    .closing_text01{
        padding-left: 90px;
    }
}
@media screen and (max-width:1280px){
    .closing_text01{
        padding-left: 50px;
    }
}
@media screen and (max-width:1170px){
    .closing_img{
        right: 5%;
    }
    .closing_text01{
        padding-left: 30px;
    }
}
@media screen and (max-width:1110px){
    .closing_img{
        right: 5%;
    }
    .closing_text01{
        padding-left: 10px;
    }
}
@media screen and (max-width:993px){
    .closing_text02, .closing_text05{
        font-size: 50px;
    }
}
@media screen and (max-width:860px){
    .closing_text01{
        padding-left: 0;
        text-align: left;
    }
    .closing_text02{
        text-align: left;
    }
    .closing_text03{
        justify-content: left;
    }
    .closing_text04{
        padding-left: 70px;
    }
    .closing_box{
        text-align: left;
    }
}
@media screen and (max-width:714px){
    .closing_text02, .closing_text05{
        font-size: 40px;
    }
    .closing_img{
        height: 200px;
        width: 200px;
    }
}
@media screen and (max-width:575px){
    .closing_text02, .closing_text05{
        font-size: 30px;
    }
    .closing_text04{
        padding-left: 50px;
    }
    .area_home_closing{
        font-size: 25px;
    }
}
@media screen and (max-width:430px){
    .closing_text02, .closing_text05{
        font-size: 25px;
    }
    .closing_img{
        height: 170px;
        width: 170px;
    }
    .area_home_closing{
        font-size: 20px;
    }
}


/* 無料相談の流れ */
.area_home_nagare h2,
.area_home_form h2
{
    color: #E7931E;
    text-align: left;
}
.main_nagare_box{
    background-color: #FAF6E2;
    border-radius: 3px;
    padding: 27px 25px;
}
.main_nagare_step{
    display: flex;
    align-items: center;
    text-align: left;
    background-color: #ffffff;
    border-radius: 3px;
    margin: 25px 0;
}
.contact_step_img{
    height: 257px;
    width: 257px;
    margin: 0 40px;
}
.nagare_step_button{
    background-color: #0d62aa;
    border-radius: 3px;
    color: #ffffff;
    width: 170px;
    padding: 10px 30px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}
@media screen and (max-width:910px){
    .contact_step_img{
        height: 200px;
        width: 200px;
    }
    .nagare_step_button{
        width: 150px;
        padding: 5px 25px;
        margin-bottom: 15px;
        margin-top: 15px;
    }
}
@media screen and (max-width:660px){
    .nagare_step_button{
        padding: 5px 5px;
    }
}
@media screen and (max-width:610px){
    .main_nagare_step{
        display: block;
    }
    .contact_step_img{
        height: 257px;
        width: 257px;
    }
    .nagare_step_button{
        margin: 0 auto;
        margin-bottom: 30px;
    }
    .main_nagare_step p{
        text-align: center;
        padding: 10px;
    }
}
@media screen and (max-width:400px){
    .contact_step_img{
        height: 200px;
        width: 200px;
    }
}

/* 問い合わせフォーム */
.area_home_form{
    padding: 0 0;
}
.main_contact_box{
    background-color: #FAF6E2;
    padding: 40px 0;
    margin-bottom: 75px;
}
.contact_form{
    margin: 0 25px;
}
.contact_table{
    width: 100%;
    padding: 0;
}
.contact_table td{
    text-align: left;
}
.contact_item01,
.contact_item,
.contact_body{
    padding: 20px;
}
.contact_item01,
.contact_item{
    text-align: left;
    width: 35%;
    background-color: #0d62aa;
    color: white;
}
.contact_item01::after{
    content: "必須";
    color: white;
    background-color: #E7931E;
    padding: 8px;
    margin-left: 10px;
    border-radius: 3px;
}
@media screen and (max-width:778px){
    th,td,.contact_item,.contact_item01{
        display: block;
        width: 90%;
    }
}
.contact_body{
    width: 65%d;
    background-color: white;
}
[class*="form_text"]{
    width: 100%;
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #0d62aa;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    max-width: 90%;
    font-size: 15px;
}
.form_text_area{
    height: 200px;
}
.contact_privacy_text{
    text-align: center;
    margin-top: 20px;
}
.contact_privacy a{
    color: #0d62aa;
    font-weight: 700;
}
.contact_privacy_check{
    margin-bottom: 20px;
}
/* 問い合わせのボタン */
[class*=submit_btn]{
    width: 285px;
    background-color: #E7931E;
    border: 2px solid #E7931E;
    color: white;
    display: block;
    margin: 0 auto;
    padding: 15px;
    border-radius: 3px;
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    text-align: center;
}
[class*=submit_btn]:hover{
    background-color: #FFFEFA;
    color: #E7931E;
}

/* お問い合せ確認画面 */
.area_home_form .container p{
    text-align: left;
}
.confirm_btn{
    display: flex;
    padding-top: 40px;
    justify-content: center;
}
.submit_btn_confirm{
    margin: 0 10px;
}
/* 完了画面 */
.thanks_h2{
    color: #E7931E;
}
.thanks_img{
    height: 400px;
    width: 400px;
    display: block;
    margin: 0 auto;
}
.submit_btn_thanks{
    margin: 25px auto;
}

/*　フッター */
footer{
    background-color: #FAF6E2;
    padding-top: 30px;
}
footer > .container{
    padding: 0 3%;
    display: flex;
    justify-content: space-between;
}
.logo_footer_img{
    height: 45px;
    width: 300px;
}
.logo_footer_text{
    font-size: 12px;
    color: #707070;
    font-weight: 400;
}
.area_logo_footer a{
    font-size: 18px;
}
.area_nav_footer{
    display: flex;
}
.area_nav_footer ul{
    padding-left: 25px;
}
.container_footer a{
    text-decoration: none;
}
.copyright{
    text-align: center;
    padding-top: 30px;
}
@media screen and (max-width:1255px){
    .area_nav_footer{
        text-align: left;
    }
    footer > .container{
        display: block;
    }
    .area_nav_footer ul{
        padding-left: 0;
        padding-right: 25px;
        padding-top: 10px;
    }
}
@media screen and (max-width:920px){
    .area_nav_footer{
        display: block;
    }
    .area_nav_footer ul{
        padding-right: 0;
    }
    .area_nav_footer{
        margin-top: 30px;
    }
}