﻿@charset "UTF-8";

/* --------------------
    trouble・reform
        共通パート
-------------------- */

/* --------------------
      image_area
-------------------- */

.image_area {   
    margin: 218px auto 75px; 
    padding: 0 20px; 
}

.image_container {
    max-width: 1700px;
    height: 334px;
    border-radius: 30px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    position: relative;
}
.trouble_page .image_container {
    background-image: url(../img/service/trouble/mainimg_trouble.jpg);
}
.reform_page .image_container {
    background-image: url(../img/service/reform/mainimg_reform.jpg);
}


.image_container .image_box {
    width: 100%;
    height: 334px;
    border-radius: 30px;   
    mix-blend-mode: multiply;
    opacity: 0.3;
}
.trouble_page .image_container .image_box {
    background-color: #FCDA97;
}
.reform_page .image_container .image_box {
    background-color: #B0E2FF;
}
.page_title {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
}

.page_title img {
    width: 47px;
    margin-right: 20px;
}
.page_title h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #01214B;
}
.page_title h2 .sub_en {
    font-size: 1.4rem;
    color: #B3DDF2;
    display: block;
}
.reform_page .page_title h2 .sub_en {
    color: #fff;
}
p.main_catch {
    font-size: 2.4rem;
    font-weight: bold;
    color: #01214B;
    text-align: center;
    margin-bottom: 70px;
}
@media screen and (max-width: 1180px) {
    .image_area {
        margin-top: 80px;
    }
    .image_container {
        height: 240px;
    }
    .image_container .image_box {
        height: 240px;
    }
    p.main_catch {
        font-size: 2rem;
        margin-bottom: 50px;
    }
}
@media screen and (max-width: 760px) {
    .image_area {
        margin-bottom: 50px;
    }
    .image_container {
        height: 180px;
    }
    .image_container .image_box {
        height: 180px;
    }

    .page_title h2  {
        font-size: 2.4rem;
    }
    
    .page_title h2 .sub_en {
        font-size: 1.4rem;
    }
    .page_title img {
        width: 36px;
    }
    p.main_catch {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}

/* --------------------
    example_area
-------------------- */

#example_area {
    margin-bottom: 200px;
}

#example_area ul li {
    display: flex;
    justify-content: space-between;
    padding: 25px 25px 25px 50px;
    border-radius: 30px;
    margin-bottom: 90px;
}
.trouble_page #example_area ul li {
    background-color: #E5F6FF;
}
.reform_page #example_area ul li {
    background-color: #E7FFE5;
}

#example_area ul li:nth-of-type(even) {
    flex-direction: row-reverse;
    padding: 25px 25px 25px 25px;
}


/* リンクマージン調整 */

.trouble_page #example_area ul li.margin_link,
.reform_page #example_area ul li.margin_link {
    margin-top: -200px;
    margin-bottom: 0;
    padding: 200px 0 0;
    background-color: none;
    display: block;
    width: 0;
    height: 0;
}

#example_area ul li .example_left {
    width: 65%;
    display: flex;
    justify-content: left;
    align-items: baseline;
    flex-direction: column;
}
#example_area ul li .example_left h4 {
    display: flex;
    justify-self: left;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
    width: 100%;
}

#example_area ul li img.for-sp {
    display: none;
}
#example_area ul li p {
    font-size: 1.6rem;
    color: #01214B;
    margin-left: 60px;
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.8em;
}

.btn_container {
    display: flex;
    justify-content: right;
    align-items: flex-end;
    gap: 10px;
    margin: auto 0 0 auto;
}

.trouble_page .btn.soudan {
    margin: auto 0 0 auto;
}

#example_area ul li .example_right {
    width: 30%;
}

.service_contact {
    text-align: center;
    margin-bottom: 80px;
}

.service_contact img {
    display: block;
    margin: 0 auto;
}
.service_contact img.drop_mark {
    width: 47px;
    margin-bottom: 65px;
}
.service_contact img.allfree {
    width: 452px;
    margin-bottom: 40px;
}
.service_contact img.contact {
    width: 475px;
}
.service_contact p.strong {
    font-size: 3rem;
    font-weight: bold;
    color: #FF0000;
    margin-bottom: 40px;
}

@media screen and (max-width: 1180px) {
    #example_area {
        margin-bottom: 80px;
    }
    /* リンクマージン調整 */

    .trouble_page #example_area ul li.margin_link,
    .reform_page #example_area ul li.margin_link {
        margin-top: -80px;
        padding: 80px 0 0;
}
    #example_area ul li p {
        font-size: 1.4rem;
        margin-left: 0;
         line-height: 1.6em;
    }
    #example_area ul li {
        margin-bottom: 50px;
    }
    .btn_container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 0 auto;
    }
    #example_area  a.btn {
        width: 325px;
    }
}

@media screen and (max-width: 760px) {
    #example_area ul li {
        display: block;
        padding: 25px 25px 25px 25px;
        margin-bottom: 30px;
    }
    #example_area ul li .example_left {
        width: 100%;
    }
    #example_area ul li .example_right {
        display: none;
    }
    #example_area ul li img.for-sp {
        display: block;
        margin: 0 auto 20px;
    }
    .trouble_page .btn.soudan {
        margin: 0 auto;
    }
    .btn_container {
        margin: 0 auto;
    }
    .service_contact {
        margin-bottom: 30px;
    }
    .service_contact img.allfree {
        max-width: 452px;
        width: 80%;
        margin-bottom: 40px;
    }
    .service_contact img.contact {
        width: 475px;
        width: 80%;
    }
    .service_contact p.strong {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 520px) {
    .service_contact p.strong {
        font-size: 2rem;
    }
    .btn_container {
        width: 100%;
    }
    #example_area a.btn {
        width: 100%;
        padding: 0 30px;
    }
    #example_area a.btn::after {
        right: 30px;
    }
}
/* --------------------
    trouble_flow_area
    reform_flow_area
-------------------- */

#trouble_flow_area,
#reform_flow_area {
    width: 100%;
    background-color: #FCFADA;
    padding-top: 120px;
    padding-bottom: 200px;
}

.flowchart {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.flowchart li {
    max-width: 292px;
    margin-bottom: 50px;
}
#trouble_flow_area .flowchart li .chart_text {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
#reform_flow_area .flowchart li .chart_text {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
.flowchart li span.number {
    font-size: 6.4rem;
    font-family: 'EB Garamond', serif;
    color: #E19FFF;
    margin-right: 10px;
}
#reform_flow_area .flowchart li span.number {
    align-self: flex-start;

}
.flowchart li p {
    font-size: 1.7rem;
    font-weight: bold;
}
#reform_flow_area .flowchart li p {
    margin-top: 20px;
}

@media screen and (max-width: 1180px) {
    .flowchart li span.number {
        font-size: 5rem;
    }
    .flowchart li p {
        margin-top: 15px;
    }
}
@media screen and (max-width: 760px) {
    #trouble_flow_area,
    #reform_flow_area {
        padding-top: 60px;
        padding-bottom: 80px;
    }
    .flowchart li {
        width: 100%;
        margin-bottom: 20px;
    }
}
