@charset "UTF-8";
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

html {
    scroll-behavior: smooth;
}
body {
    color: #373737;
    font-family: '小塚ゴシック Pro','Kozuka Gothic Pro',sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    text-align: center;
    background-color: #fff;
    margin: 0 auto;
}
a, button {
    transition: all 0.3s ease-in-out;
}
img {
    width: 100%;
    image-rendering: -webkit-optimize-contrast;
}
p, ul ,dl {
    line-height: 1.5;
}
a:hover {
    opacity: 0.7;
}
button:hover {
    opacity: 0.7;
}
@media screen and (min-width: 767px) {
    body {
        font-size: 1.4rem;
    }
}
@media screen and (min-width: 1025px) {
    body {
        max-width: 1200px;
        margin: 0 auto;
        font-size: 1.18rem;
    }
    img {
        width: auto;
        margin: 0 auto;
    }
}


/* 出し分け用クラス */
.width_360-only { display: none; }
.sp-only { display: block; }
.pc-only { display: none; }
@media screen and (max-width:980px) {
    .sp-only { display: block; }
    .pc-only { display: none; }
}
@media screen and (min-width:980px) {
    .sp-only { display: none; }
    .pc-only { display: block; }
}
@media screen and (max-width:360px) {
    .width_360-only { display: block; }
}

/* main */
main {
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

main img {
    width: 100%;
    margin: 0 auto;
}

@media screen and (max-width:980px) {
    main {
        text-align: center;
    }
    main img {
        max-width: 100%;
        margin: 0 auto;
    }
}


/* header */
#header {
    margin: 0 auto;
    position: fixed;
    z-index: 100;
    background-color: #fff;
    max-width: 1200px;
    width: 100%;
}

.header_inner {
    display: flex;
    justify-content: space-between;
    align-self: center;
}

.header_left {
    margin-left: 10px;
}

.header_right {
    display: flex;
}

.header_tel-pc {
    width: 240px;
    height: 99px;
    background-color: #ffea05;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px;
    text-align: center;
}

.header_tel_icon-pc {
    width: 16px;
    margin-right: 5px;
}

.header_tel_number-pc {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    font-family: 'Futura','Century Gothic',sans-serif;
    letter-spacing: 0.03em;
}

@media screen and (max-width:980px) {
    .header_left img {
        height: fit-content;
    }
    .header_left {
        margin: 0 2%;
        text-align: left;
    }
    .header_tel-pc {
        display: none;
    }
}

/* FV */
.fv {
    background-image: url(../image/fv_bg-pc.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    height: 820px;
    box-sizing: border-box;
    padding: 150px 50px 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media screen and (max-width:980px) {
    .fv {
        background-image: url(../image/fv_bg-sp.jpg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: bottom;
        height: fit-content;
        box-sizing: border-box;
        padding: 20% 2% 7%;
        display: flex;
        flex-flow: column;
        justify-content:space-between;
    }
    .fv_maincopy {
        margin-bottom: 50%;
        width: 80%;
    }
    .fv_subcopy {
        width: 100%;
    }
}


/* problem */
.problem {
    background-image: url(../image/bg_gray.png);
    background-repeat: repeat;
    padding: 80px 0 0;
}

.problem_title {
    margin-bottom: 40px;
}

.problem_content {
    display: flex;
    justify-content:space-around;
    margin: 0 40px;
}

.problem_content img {
    width: 49%;
}


@media screen and (max-width:980px) {
    .problem {
        padding: 10% 0 0;
    }
    .problem_content {
        margin: 0 5%;
        width: 90%;
    }
    .problem_content .sp-only{
        width: 100%;
    }
    /*タブ切り替え*/
    .problem_content_tab {
        width: 100%;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        display: flex;
        flex-direction: column;
    }
    .problem_content_tab_item_wrapper {
        display: flex;
        width: 100%;
    }
    .problem_content_tab_item {
        width: 45%;
        height: 45px;
        background-color: #4657a9;
        color: #cacaca;
        font-size: 10px;
        text-align: center;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 0 5%;
    }
    input[name="problem_content_tab_item"] {
        display: none;
    }
    .problem_content_tab_detail {
        display: none; 
        padding: 5%;
        width: 100%;
        clear: both;
        overflow: hidden;
    }
    input:checked + label {
        position: relative;
        width: 55%;
        font-size: 14px;
        color: #fff;
        background-color: #4657a9;
    }
    .problem_content_tab_item::after {
        content: attr(data-label);
        position: relative;
        z-index: 1;
    }
    #first:checked + label::before {
        transform: rotate(180deg);
    }
    input:checked + label::before {
        content: "";
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 60px;
        background-color: #6195cd;
        clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%);
        z-index: 0;
    }
    input:checked + label::after {
        margin-top: -15px;
    }
    .problem_content img {
        width: 100%;
    }
    .problem_photo {
        margin-top: 5%;
    }
}

/* reason */
.reason {
    background-image: url(../image/bg_bule.png);
    background-repeat: repeat;
    padding: 80px 0;
}

.reason_title {
    margin-bottom: 40px;
}

.reason_list {
    margin: 0 30px;
}

.reason_list ul li:not(:last-child) {
    margin-bottom: 20px;
}

@media screen and (max-width:980px) {
    .reason {
        padding: 10% 0;
    }
    .reason_title {
        margin-bottom: 25px;
    }
    .reason_list {
        margin: 0 4%;
    }
    .reason_list ul li:not(:last-child) {
        margin-bottom: 10px;
    }
}


/* uservoice */
.uservoice {
    background-image: url(../image/bg_gray.png);
    background-repeat: repeat;
    padding: 80px 0
}

.uservoice_title {
    margin-bottom: 40px;
}

.uservoice_list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
    gap: 5px;
}

.uservoice_list li {
    width: 49%;
}

@media screen and (max-width:980px) {
    .uservoice {
        padding: 10% 0;
    }
    .uservoice_title{
        margin-bottom: 25px;
    }
    .uservoice_list ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 4%;
        padding: 0;
    }
    .uservoice_list li {
        width: 100%;
    }
}


/* plan */
.plan {
    background-image: url(../image/bg_bule.png);
    background-repeat: repeat;
    padding: 80px 0 0;
}

.plan_title {
    margin-bottom: 40px;
}

.plan_content {
    margin: 0 20px;
    text-align: center;
    color: #fff;
}

.plan_content img {
    width: auto;
}

.plan_content_detail {
    margin: 40px 0;
}

@media screen and (max-width:980px) {
    .plan {
        padding: 10% 0 0;
    }
    .plan_title {
        margin-bottom: 25px;
    }
}


/* flow */
.flow {
    background-image: url(../image/bg_gray.png);
    background-repeat: repeat;
    padding: 80px 0;
}

.flow_title {
    margin-bottom: 40px;
}

.flow_list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
    gap: 5px;
}

.flow_list li {
    width: 100%;
}

@media screen and (max-width:980px) {
    .flow {
        padding: 10% 0;
    }
    .flow_title{
        margin-bottom: 25px;
    }
    .flow_list ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 2.5%;
        padding: 0;
    }
    .flow_list li {
        width: 100%;
    }
}


/* qa */
.qa {
    background-image: url(../image/bg_bule.png);
    background-repeat: repeat;
    padding: 80px 0;
}

.qa_title {
    margin-bottom: 40px;
}

.qa_list {
    margin: 0 40px;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
    text-align: left;
}

.qa_list img {
    width: 100%;
}

.qa_list ul li:not(:last-child) {
    margin-bottom: 40px;
}

@media screen and (max-width:980px) {
    .qa {
        padding: 10% 0;
    }
    .qa_title{
        margin-bottom: 25px;
    }
    .qa_list {
        margin: 0 5%;
        padding: 5%;
    }
    .qa_list ul li:not(:last-child) {
        margin-bottom: 20px;
    }
}


/* form */
#form {
    background-image: url(../image/bg_gray.png);
    background-repeat: repeat;
    padding: 80px 0;
}

.form_title {
    margin-bottom: 40px;
}

.form_inner {
    margin: 0 40px 40px;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
    text-align: left;
    display: flex;
    flex-direction:column;
}

.form_inner_content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.form_inner_content:not(:last-child) {
    margin-bottom: 30px;
}

.form_inner_content_title {
    width: 28%;
}

.form_inner_content_control {
    width: 68%;
    background-color: #f1f1f1;
    padding: 20px;
}

.form_inner_content_control::placeholder {
    color: #adadad;
}

.form_inner_content_control_select {
    width: 68%;
    position: relative;
    pointer-events: auto;
} 

.form_inner_content_control_select select {
    width: 100%;
    padding: 20px;
    background-color: #f1f1f1;
    box-sizing: border-box;
}

.form_inner_content_control_select::before {
    position: absolute;
    content: '';
    display: block;
    top: 0;
    right: 0;
    width: 70px;
    height: 100%;
    background-color: #878787;
    pointer-events: none; 
}

.form_inner_content_control_select::after {
    position: absolute;
    content: "";
    top: 25px;
    right: 26px;
    width: 18px;
    height: 15px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    pointer-events: none; 
}

.form-badge {
    font-size: 16px;
    color: #fff;
    padding: 4px 5px;
    box-sizing: border-box;
    background-color: #878787;
    margin-left: 10px;
    border-radius: 6px;
}

.badge-danger {
    background-color: #d64343;
}

@media screen and (max-width:980px) {
    #form {
        padding: 10% 0;
    }
    #form button {
        margin:  0 5%;
    }
    .form_title{
        margin-bottom: 25px;
    }
    .form_inner {
        padding: 5%;
        margin:  0 5% 5%;
    }
    .form_inner_content {
        flex-direction: column;
    }
    .form_inner_content_title {
        width: 100%;
        margin-bottom: 10px;
    }
    .form_inner_content_control {
        width: 100%;
        background-color: #f1f1f1;
        padding: 20px;
    }
    .form_inner_content_control_select {
        width: 100%;
    }
    .form-badge {
        font-size: 10px;
    }
}


/* footer */
footer {
    background-color: #4657a9;
    padding: 80px;
    color: #fff;
}

.footer_nav {
    display: flex;
    text-align: left;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.footer_office_address {
    font-size: 14px;
}

@media screen and (max-width:980px) {
    footer {
        padding: 10%;
    }
    .footer_nav {
        font-size: 14px;
    }
    .footer_office_address {
        font-size: 10px;
    }
}
