html {
    scroll-behavior: smooth;
}
body{
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}
body ul{
    list-style: none;
    padding-left: 0;
}

/* 共通 */
.max-width-lg{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}
.max-width-md{
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5%;
}
.max-width-sm{
    max-width: 600px;
    margin: 0 auto;
    padding: 0 5%;
}
.main-bar{
    margin-top: 130px;
    background-color: #F19500;
    color: #fff;
    font-size: 22px;
    padding: 5px 0 8px;
    margin-bottom: 80px;
}
.btn:hover{
    opacity: 0.7;
    transition: all .3s;
}
.a-link{
    position: absolute;
    width: 100%; height: 100%; top: 0; left: 0;
}
.br-sp{
    display: none;
}
@media screen and (max-width: 768px) {
    .max-width-lg,
    .max-width-md,
    .max-width-sm{
        width: 100%;
        max-width: none;
        padding: 0 3%;
        box-sizing: border-box;
    }
    .main-bar{
        margin-top: 80px;
        background-color: #fff;
    }
    .main-bar div{
        display: none;
    }
    .br-sp{
        display: block;
    }
    .br-pc{
        display: none;
    }
}
/* @media screen and (max-width: 420px) {
    .br-sp{
        display: block;
    }
    .br-pc{
        display: none;
    }
} */
/* ヘッダー */
header{
    position: fixed;
    top: 0; left: 0;
    background-color: #fff;
    width: 100%;
    z-index: 100;
}
.header-1{
    display: flex; justify-content: flex-end;
    height: 70px;
    border-bottom: 1px solid #e9e9e9;
}
.header-1-1{
    margin-left: 20px;
    margin-right: auto;
    padding: 7px;
    position: relative;
}
.header-1-1 img{
    height: 100%;
}
.header-1-2,
.header-1-3{
    display: flex; align-items: center; justify-content: center;
    width: 150px;
    color: #fff;
    position: relative;
}
.header-1-2{
    background-color: #FFAD00;
}
.header-1-3{
    background-color: #F05A24;
}
.header-1-4{
    padding: 15px;
    position: relative;
}
.header-1-4 img{
    height: 100%;
}
.header-2{
    height: 60px;
    letter-spacing: 0.1rem;
}
.header-2 ul{
    color: #808080;
    display: flex; justify-content: center; align-items: center;
    height: 100%;
    margin: 0;
}
.header-2 li{
    padding: 0 30px;
    height: 100%;
    line-height: 55px;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}
.header-2 li:hover{
    color: #F19500;
    /* background-color: #f9f9f9; */
    background-color: #fAfAfA;
    border-radius: 5px;
}
.header-2-sp{
    display: none;
}
.header-3-sp{
    display: none;
}
@media screen and (max-width: 768px) {
    .header-1-1{
        margin-left: 10px;
        margin-right: auto;
        padding: 10px;
        width: 170px;
    }
    .header-1-1 img {
        margin-top: 7px;
        height: 30px;
    }
    .header-1-2,
    .header-1-3,
    .header-1-4,
    .header-2{
        display: none;
    }
    .header-1{
        height: 60px;
        justify-content: flex-start;
    }
    .header-2-sp{
        display: flex;
        height: 55px;
        font-size: 14px;
        font-weight: bold;
    }
    .header-2-1,
    .header-2-2,
    .header-2-3{
        display: flex; align-items: center; justify-content: center;
        color: #fff;
        flex-basis: 33.3%;
        position: relative;
    }
    .header-2-1{
        background-color: #FFAD00;
    }
    .header-2-2{
        background-color: #F05A24;
    }
    .header-2-3{
        background-color: #00ABB8;
    }
    .header-2-3 img{
        width: 15px;
        margin-right: 5px;
    }
    .header-3-sp{
        display: block;
    }
    .menu-bar{
        position: absolute;
        top: 18px; right: 18px;
        width: 35px; height: 26px;
        cursor: pointer;
        z-index: 101;
    }
    .menu-bar div{
        width: 100%;
        height: 2px;
        position: absolute;
        right: 0;
        background-color: #000;
        transition: all .3s;
    }
    .menu-bar div:nth-child(1){
        top: 0;
    }
    .menu-bar div:nth-child(2){
        top: 12px;
    }
    .menu-bar div:nth-child(3){
        bottom: 0;
    }
    .menu-bar.open div:nth-child(1){
        transform: rotate(-45deg);
        top: 12px;
        background-color: #fff;
    }
    .menu-bar.open div:nth-child(2){
        opacity: 0;
    }
    .menu-bar.open div:nth-child(3){
        transform: rotate(45deg);
        bottom: 12px;
        background-color: #fff;
    }
    .menu-item{
        /* display: none;    */
    }
    .menu-item-inner{
        position: fixed;
        top: 0; left: 100%;
        height: 100%; width: 100%;
        z-index: 100;
        background-color: #19479A;
        color: #fff;
        display: flex; flex-direction: column;
        transition: all .6s;
    }
    .menu-item-inner.open{
        left: 0;
    }
    .menu-body{
        flex: 1;
        font-size: 20px;
        font-weight: bold;
        letter-spacing: 0.12rem;
        display: flex; align-items: center;
    }
    .menu-body ul{
        margin-left: 15%;
    }
    .menu-body li{
        position: relative;
        margin-top: 20px;
        width: 260px;
        display: flex; align-items: center;
        white-space: nowrap;
    }
    .menu-body li span{
        display: inline-block;
        margin-right: 13px;
        width: 0;
        height: 0;
        border-left: 14px solid #fff;
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
    }
    .menu-footer{
        margin-bottom: auto;
        font-size: 18px;
        font-weight: bold;
    }
    .menu-footer-1{
        display: flex;
    }
    .menu-footer-1-1,
    .menu-footer-1-2{
        position: relative;
        flex-basis: 50%;
        height: 60px;
        display: flex; align-items: center; justify-content: center;
    }
    .menu-footer-1-1{
        background-color: #FFAD00;
    }
    .menu-footer-1-2{
        background-color: #F05A24;
    }
    .menu-footer-2{
        position: relative;
        display: flex; align-items: center; justify-content: center;
        background-color: #00ABB8;
        height: 60px;
        gap: 9px;
    }
    .menu-footer-2 img{
        width: 16px;
    }
}

/* フッター */
footer{
    height: 200px;
}
.footer{
    display: flex; align-items: center;
    justify-content: flex-end;
    height: 100%;
    gap: 20px;
}
.footer-1{
    width: 225px;
    margin-right: auto;
    position: relative;
}
.footer-links{
    display: flex;
    gap: 20px;
}
.footer-2,.footer-3{
    width: 170px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    border-radius: 10px;
    position: relative;
}
.footer-2{
    background-color: #FFAD00;
}
.footer-3{
    background-color: #F05A24;
}
.footer-4{
    width: 210px;
    margin-left: 10px;
    position: relative;
}
.footer img{
    width: 100%;
}
.footer-4 img:nth-child(3){
    display: none;
}
@media screen and (max-width: 768px) {
    footer{
        height: 250px;
    }
    .footer{
        padding: 30px 0;
        flex-direction: column;
    }
    .footer-1 {
        margin-right: 0;
    }
    .footer-2, .footer-3 {
        width: 150px;
    }
    .footer-4 img:nth-child(2){
        display: none;
    }
    .footer-4 img:nth-child(3){
        display: block;
    }
}

/* HOME */
/* #TOP */
#top{
    margin-top: 120px;
    color: #fff;
    height: 600px;
}
.top{
    position: relative;
    height: 100%;
}
.top-text{
    height: 100%;
    width: 700px;
    display: flex; justify-content: center; flex-direction: column;
}
.top-text h1{
    font-size: 34px;
    margin-top: 0;
}
.top-img-1{
    text-align: right;
    margin-bottom: -50px;
    padding-right: 95px;
}
.top-img-1 img{
    width: 200px;
}
.top-img-2{
    position: absolute;
    bottom: 50px; right: 10px;
    width: 175px;
}
.top-img-2 img{
    width: 100%;
}
.top-img-1-sp,
.top-img-2-sp,
.top-img-3-sp{
    display: none;
}
@media screen and (max-width: 768px) {
    #top{
        margin-top: 110px;
        height: calc(100vh - 110px);
    }
    .top-text{
        text-align: center;
        width: 100%;
    }
    .top-text h1{
        font-size: 20px;
    }
    .top-img-1-sp{
        display: block;
    }
    .top-img-1-sp img{
        width: 190px;
        margin-bottom: 30px;
    }
    .top-img-1,
    .top-img-2{
        display: none;
    }
    .top-img-2-sp{
        display: block;
        margin-top: 10px;
        margin-bottom: 60px;
    }
    .top-img-2-sp img{
        width: 200px;
    }
    .top-img-3-sp{
        display: block;
        position: absolute;
        bottom: 30px; right: 0;
    }
    .top-img-3-sp img{
        width: 245px;
    }
}

/* #メリット */
#merit{
    overflow: hidden;
}
.merit-top{
    text-align: center;
    margin: 80px 0;
    font-size: 28px;
}
.merit-top span{
    background:linear-gradient(transparent 70%, #FFFF00 0%);
}
.merit-item{
    margin-top: 30px;
    position: relative;
    border: 5px solid;
    padding-top: 15px;
    padding-bottom: 35px;
}
.merit-num{
    position: absolute;
    top: 0; left: 0;
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 36px;
    margin: -5px;
}
.merit-content{
    font-weight: bold;
}
.merit-person{
    width: 140px;
    position: absolute;
}
.merit-person img{
    width: 100%;
}
.merit-title{
    margin-top: 0;
    font-size: 36px;
}
.merit-subtitle{
    color: #4D4D4D;
    margin-left: 25px;
}
.merit-body{
    text-align: center;
    line-height: 36px;
    letter-spacing: 0.04rem;
}
.merit-header{
    margin-left: 100px;
}
@media screen and (max-width: 768px) {
    .merit-num{
        width: 60px; height: 60px;
    }
    .merit-item{
        padding: 15px 5% 35px;
    }
    .merit-header {
        margin-left: 55px;
    }
    .merit-title {
        font-size: 26px;
    }
    .merit-subtitle {
        margin-left: -40px;
    }
    .merit-body {
        line-height: 30px;
    }
    .merit-person{
        width: 120px;
    }
}
/* ##メリット1 */
.merit-item.merit-1{
    border-color: #EC1C24;
}
.merit-num.merit-1{
    background-color: #EC1C24;
}
.merit-person.merit-1{
    top: -50px; right: 10px;
    display: flex; align-items: center;
    width: auto;
}
.merit-person.merit-1 div:nth-child(1){
    width: 140px;
}
.merit-person.merit-1 div:nth-child(2){
    border-radius: 50%;
    background-color: #EC1C24;
    width: 100px; height: 100px;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    margin-left: -20px;
}
.merit-content.merit-1-1{
    display: flex; align-items: flex-end; justify-content: center;
    font-size: 26px;
    gap: 40px
}
.merit-content.merit-1-1 div:nth-child(1){
    margin-bottom: 18px;
}
.merit-content.merit-1-1 img{
    width: 350px;
}
.merit-content.merit-1-2{
    color: #F05A24;
    font-size: 38px;
    font-weight: bold;
}
.merit-content-sp-1{
    display: none;
}
.tousha-sp{
    display: none;;
}
@media screen and (max-width: 768px) {
    .merit-title.merit-1 {
        font-size: 30px;
    }
    .merit-content.merit-1-1{
        display: block;
        font-size: 22px;
        margin-top: 20px;
    }
    .merit-person.merit-1 div:nth-child(1){
        width: 120px;
    }    
    .merit-content.merit-1-1 div:nth-child(2){
        display: none;
    }
    .merit-person.merit-1{
        top: auto; right: auto;
        bottom: -10px; left: -10px;
    }
    .merit-person.merit-1 div:nth-child(2){
        display: none;
    }
    .tousha-sp{
        display: block;
        position: absolute;
        top: -20px; right: -13px;
        border-radius: 50%;
        background-color: #EC1C24;
        width: 70px; height: 70px;
        display: flex; align-items: center; justify-content: center;
        text-align: center;
        color: #fff;
        font-weight: bold;
        font-size: 14px;    
    }
    .merit-content.merit-1-2 {
        font-size: 28px;
    }
    .merit-content-sp-1{
        display: block;
        margin-left: 80px;
        margin-top: 20px;
        line-height: 0;
        text-align: left;
    }
    .merit-content-sp-1 img{
        width: 100%;
        max-width: 350px;
    }
}
/* ##メリット2 */
.merit-item.merit-2{
    border-color:#F05A24;
}
.merit-num.merit-2{
    background-color: #F05A24;
}
.merit-person.merit-2{
    bottom: 0; right: -50px;
}
.merit-title.merit-2{
    font-size: 28px;
}
.merit-content.merit-2-1{
    font-size: 18px;
}
.merit-content.merit-2-1 span{
    color: #F05A24;
}
@media screen and (max-width: 768px) {
    .merit-title.merit-2 {
        font-size: 25px;
    }
    .merit-person.merit-2{
        top: -40px; right: -40px; bottom: auto;
    }
    .merit-content.merit-2-1 {
        font-size: 16px;
    }    
}
/* ##メリット3 */
.merit-item.merit-3{
    border-color: #FFAD00;
}
.merit-num.merit-3{
    background-color: #FFAD00;
}
.merit-person.merit-3{
    bottom: -30px; left: -18px;
}
.merit-content.merit-3-1{
    font-size: 22px;
}
.merit-content.merit-3-1 span{
    color: #FFAD00;
    font-size: 26px;
    margin: 0 6px;
}
@media screen and (max-width: 768px) {
    .merit-content.merit-3-1 {
        font-size: 17px;
    }
    .merit-content.merit-3-1 span {
        font-size: 23px;
    }
    .merit-person.merit-3 {
        bottom: auto; left: auto; top: -40px; right: -40px;
    }
}
/* ##メリット4 */
.merit-item.merit-4{
    border-color: #00ABB8;
}
.merit-num.merit-4{
    background-color: #00ABB8;
}
.merit-person.merit-4{
    top: -30px; right: 10px;
}
.merit-content.merit-4-1{
    color: #00ABB8;
    font-size: 19px;
    line-height: 30px;
}
.merit-content.merit-4-2{
    font-size: 18px;
    margin-top: 20px;
}
.merit-4-margin{
    display: none;
}
@media screen and (max-width: 768px) {
    .merit-person.merit-4 {
        right: -40px;
    }
    .merit-content.merit-4-1 {
        font-size: 18px;
    }
    .merit-content.merit-4-2{
        font-size: 16px;
    }
    .merit-4-margin{
        display: block;
        margin-top: -17px;
    }
}
/* ##メリット5 */
.merit-item.merit-5{
    border-color: #85B800;
}
.merit-num.merit-5{
    background-color: #85B800;
}
.merit-person.merit-5{
    bottom: -30px; right: -30px;
}
.merit-content.merit-5-1{
    font-size: 18px;
}
.merit-content.merit-5-1 span{
    color: #85B800;
}
@media screen and (max-width: 768px) {
    .merit-person.merit-5 {
        right: auto; left: -45px; bottom: -40px;
    }
    .merit-content.merit-5-1 {
        font-size: 16px;
    }
}

/* ##メリット6 */
.merit-item.merit-6{
    border-color: #873498;
}
.merit-num.merit-6{
    background-color: #873498;
}
.merit-person.merit-6{
    top: 80px; left: 0;
}
.merit-content.merit-6-1{
    font-size: 18px;
}
.merit-content.merit-6-1 span{
    color: #873498;
}
@media screen and (max-width: 768px) {
    .merit-content.merit-6-1 {
        font-size: 16px;
    }
    .merit-person.merit-6{
        top: -30px; right: -40px; left: auto;
    }
}

/* ##メリット7 */
.merit-item.merit-7{
    border-color: #f39700;
}
.merit-num.merit-7{
    background-color: #f39700;
}
.merit-person.merit-7{
    bottom: -30px;
    right: -30px;
}
.merit-content.merit-7-1{
    font-size: 18px;
}
.merit-content.merit-6-1 span{
    color: #f39700;
}
@media screen and (max-width: 768px) {
    .merit-content.merit-7-1 {
        font-size: 16px;
    }
}

/* #おまかせください！ */
.omakase{
    text-align: center;
    margin-top: 50px;
}
.omakase-img{
    width: 100%;
}
.omakase-img img{
    width: 80%;
}
.omakase-img2 img{
    width: 90%;
}
.omakase-content{
    width: 100%;
    padding: 20px;
    background-color: #FFAD00;
    color: #fff;
    text-align: center;
    font-size: 30px;
    box-sizing: border-box;
    font-weight: bold;
}
@media screen and (max-width: 768px) {
    .omakase-img img{
        width: 100%;
    }
    .omakase-content {
        font-size: 22px;
    }
}

/* #map */
#map{
    margin-top: 50px;
}


/* 買取の流れ */
.flow-item{
    position: relative;
}
.flow-header{
    display: flex; align-items: center;
    gap: 30px;
    color: #19479A;
}
.flow-num{
    width: 60px; height: 60px;
    background-color: #19479A;
    color: #fff;
    display: flex; justify-content: center; align-items: center; flex-direction: column;
    font-weight: bold;
}
.flow-num div:nth-child(1){
    font-size: 14px;
}
.flow-num div:nth-child(2){
    font-size: 20px;
}
.flow-title{
    font-size: 28px;
}
.flow-body{
    background-color: #F1F1F1;
    padding: 30px;
    width: 400px;
    margin: 35px auto 0px;
}
.flow-person{
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 170px;
}
.flow-person.flow-5{
    bottom: -25px;
}
.flow-person img{
    width: 100%;
}
.flow-fukidashi img:nth-child(1){
    margin-bottom: -20px;
}
.flow-fukidashi img:nth-child(2){
    display: none;
}
.item-divider{
    border-bottom: 5px dotted #19479A;
    margin: 30px 0;
}
@media screen and (max-width: 768px) {
    .flow-header{
        flex-direction: column;
        gap: 0;
    }
    .flow-num {
        width: 55px;
        height: 55px;
        font-weight: bold;
    }
    .flow-title{
        text-align: center;
    }
    .flow-body {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 45px 30px;
    }
    .flow-person{
        position: relative;
        display: flex; align-items: center; justify-content: center;
        width: 100%;
        max-width: 450px;
        margin: -20px auto 0;
    }
    .flow-fukidashi{
        text-align: right;
        flex-basis: 50%;
        margin-right: -10px;
    }
    .flow-person div:nth-child(2){
        flex-basis: 50%;
        margin: -20px 0 0 -20px;
    }
    .flow-fukidashi img:nth-child(1){
        display: none;
    }
    .flow-fukidashi img:nth-child(2){
        display: block;
        width: 100%;
        margin-left: auto;
    }
}
/* #STEP1 */
.flow-1-body{
    margin: 30px 0 40px 80px;
    color: #231815;
}
.flow-1-person{
    position: absolute;
    bottom: -30px; right: 0;
    display: flex;
    gap: -30px;
}
.flow-1-person img:nth-child(1){
    width: 180px;
}
.flow-1-person img:nth-child(2){
    width: 150px;
    height: 100px;
    margin-left: -30px;
}
.flow-1-link{
    display: flex; align-items: center; justify-content: center;
    background-color: #F1F1F1;
    color: #231815;
    font-size: 14px;
    padding: 35px;
    gap: 40px;
}
.flow-1-link h2{
    margin: 0;
}
.flow-1-phone{
    display: flex; align-items: center;
    color: #19479A;
    font-size: 38px;
    font-weight: bold;
}
.flow-1-phone img{
    width: 50px;
    margin-right: 10px;
}
.flow-1-phone a{
    text-decoration: none;
    color: #19479A;
}
.flow-1-link-2{
    background-color: #19479A;
    color: #fff;
    width: 280px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    font-size: 18px;
}
.flow-1-link-2 div{
    border-top: 20px solid transparent;
    border-right: 20px solid #F19500;
    position: absolute;
    bottom: 3px; right: 3px;
}
@media screen and (max-width: 768px) {
    .flow-1-person {
        position: relative;
        justify-content: center;
        bottom: 0;
        margin-top: 30px;
    }
    .flow-1-body {
        margin: 0;
        color: #231815;
        text-align: center;
    }
    .flow-1-person img:nth-child(2) {
        width: 180px;
        height: 120px
    }
    .flow-1-link{
        flex-direction: column;
        padding: 35px 5% 35px;
    }
    .flow-1-link-2 {
        width: 100%;
        font-size: 23px;
    }
}
/* スタッフ紹介 */
.staff-1{
    text-align: center;
}
.staff-1 h1{
    margin: 0 auto 70px;
    font-size: 32px;
}
.staff-2{
    display: flex;
    flex-basis: 29%;
    gap: 4%;
}
.staff-img{
    width: 100%;
}
.staff-img img{
    width: 100%;
}
.staff-items{
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 30px;
}
.staff-name{
    margin-top: 10px;
    border-left: 8px solid #F19500;
    padding-left: 15px;
    position: relative;
}
.staff-name h2{
    margin: 0;
}
.staff-name span{
    color: #F19500;
}
.staff-name div{
    position: absolute;
    top: -20px; left: 15px;
}
.staff-license{
    height: 200px;
}
.staff-btn{
    width: 100%;
    height: 50px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    background-color: #F19500;
    cursor: pointer;
    font-size: 20px;
}
.staff-divider{
    display: none;
}
@media screen and (max-width: 768px) {
    .staff-1 h1{
        font-size: 23px;
    }
    .staff-items{
        width: 80%;
        margin: 0 auto 30px;
    }
    .staff-2{
        flex-direction: column;
    }
    .staff-license{
        height: auto;
    }
    .staff-divider{
        display: block;
        border-bottom: 5px dotted #000;
        margin: 30px 0 60px;
    }
}

.modal-window{
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0; left: 0;
    background-color: #fff;
    z-index: 101;
    overflow: scroll;
    padding-top: 80px;
    padding-bottom: 80px;
    box-sizing: border-box;
}
.js-close{
    position: absolute;
    top: -60px; right: 0;
    width: 47px; height: 80px;
    cursor: pointer;
    font-size: 12px;
    text-align: center;
}
.close-btn{
    width: 50px; height: 50px;
}
.close-btn div{
    width: 45px; height: 1px;
    background-color: #E35827;
}
.close-btn div:nth-child(1){
    transform: translateY(25px) rotate(45deg);
}
.close-btn div:nth-child(2){
    transform: translateY(25px) rotate(-45deg);
}
.modal-contents{
    position: relative;
}
.modal-contents-1{
    display: flex;
    gap: 8%;
    align-items: center;
}
.modal-img{
    flex-basis: 30%;
}
.modal-img img{
    width: 100%;
}
.modal-names{
    flex-basis: 67%;
    flex: 1;
}
.modal-strengths{
    font-size: 22px;
    color: #F19500;
}
.modal-license{
    margin-top: 40px;
    font-size: 14px;
    color: #231815;
}
.modal-name{
    margin-top: 5px;
    font-size: 30px;
    font-weight: bold;
    display: flex; align-items: center;
}
.modal-name span{
    margin-left: 20px;
    color: #F19500;
    font-size: 14px;
    font-weight: normal;
}
.modal-name-en{
    font-size: 14px;
    color: #231815;
}
.modal-subtitle{
    border-left: 8px solid #F19500;
    padding: 3px 0 3px 15px;
    margin: 50px 0 10px 0;
    font-size: 22px;
}
.modal-divider{
    border-bottom: 2px solid #F19500;
}
.modal-text{
    margin-top: 30px;
    padding-left: 30px;
    line-height: 30px;
}
.modal-movie{
    text-align: center;
    margin-top: 40px;
}
.modal-movie iframe:nth-child(2){
    display: none;
}
.modal-strengths-sp{
    display: none;
}
@media screen and (max-width: 768px) {
    .js-close{
        right: 15px;
        top: -35px;
    }
    .close-btn {
        width: 50px;
        height: 44px;
    }
    .modal-window{
        padding-top: 30px;
    }
    .modal-strengths{
        display: none;
    }
    .modal-strengths-sp{
        display: block;
        font-size: 20px;
        color: #F19500;
        margin-bottom: 30px;
        padding-top: 40px;
    }
    .modal-img{
        flex-basis: 55%;
    }
    .modal-names{
        flex-basis: 45%;
    }
    .modal-license{
        font-size: 12px;
    }
    .modal-name{
        flex-direction: column;
        align-items: flex-start;
    }
    .modal-name span{
        margin-left: 0;
    }
    .modal-name-en{
        margin-top: 15px;
    }
    .modal-text{
        margin-top: 15px;
        margin-right: 20px;
        line-height: 25px;
    }
    .modal-movie iframe:nth-child(1){
        display: none;
    }
    .modal-movie iframe:nth-child(2){
        display: block;
    }
}


/* 空き家を持つリスク */
.risk-item{
    text-align: center;
}
.risk-title{
    color:#19479A;
    font-size: 28px;
    line-height: 52px;
}
.risk-title h1{
    margin-top: 0;
    font-size: 30px;
}
.risk-title h1 span{
    border-bottom: 4px solid #19479A;
}
.risk-title img{
    width: 60px;
}
.risk-text{
    margin-top: 30px;
    color: #231815;
    text-align: left;
    display: flex; align-items: center;
    gap: 5%;
}
.risk-text-1{
    flex-basis: 60%;
    display: flex; flex-direction: column;
    gap: 60px;
    line-height: 27px;
}
.risk-text-2{
    flex-basis: 40%;
}
.risk-member{
    display: flex;
    gap: 3%;
    margin-top: 25px;
    margin-bottom: 50px;
}
.risk-member div{
    width: 100%;
    background-color: #19479A;
    color: #fff;
    height: 50px;
    font-weight: bold;
    font-size: 18px;
    display: flex; justify-content: center; align-items: center;
}
.risk-member span{
    font-size: 20px;
    margin: 0 4px 3px 2px;
}
.risk-text img{
    width: 100%;
}
.risk-nums{
    display: flex;
    gap: 15px;
}
.risk-num{
    width: 40px; height: 40px;
    background-color: #19479A;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold;
    font-size: 22px;
    padding-bottom: 4px;
    box-sizing: border-box;
}
.risk-num-text{
    flex: 1;
    font-size: 18px;
}
@media screen and (max-width: 768px) {
    .risk-item{
        margin-top: 30px;
    }
    .risk-title h1 {
        font-size: 26px;
        line-height: 42px;
        margin-top: -10px;
    }
    .risk-text{
        flex-direction: column;
        margin-top: 40px;
    }
    .risk-text img{
        width: 70%;
        margin-top: 40px;
    }
    .risk-text-2{
        text-align: center;
    }
    .risk-nums {
        align-items: center;
    }
    .risk-member{
        flex-direction: column;
        gap: 10px;
        width: 340px;
        margin-right: auto;
        margin-left: auto;
    }
}
/* #リスク3 */
.risk-text-1.risk-3{
    flex-basis: 70%;
}
.risk-text-2.risk-3{
    flex-basis: 30%;

}
.risk-text-2.risk-3 img:nth-child(2){
    display: none;
}
@media screen and (max-width: 768px) {
    .risk-text-2.risk-3 img:nth-child(1){
        display: none;
    }
    .risk-text-2.risk-3 img:nth-child(2){
        display: block;
        width: 100%;
        margin: 40px 0;
    }
}
/* #リスク4 */
/* ##リスク4 ステップ共通 */
.risk-step{
    display: flex; align-items: center;
    gap: 50px;
}
.risk-step-main{
    color: #fff;
    height: 60px;
    flex-basis: 60%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    /* max-width: 300px; */
}
.risk-step-sub{
    flex-basis: 40%;
}
.risk-step img{
    width: 100%;
}
.risk-step-next{
    width: calc(60% - 50px);
    text-align: center;
}
.risk-step-next img{
    width: 30px;
}
/* ##リスク4 ステップ1 */
.risk-step-main.risk-step-1{
    background-color: #DC2526;
}
/* ##リスク4 ステップ2 */
.risk-step-main.risk-step-2{
    background-color: #E35827;
}
/* ##リスク4 ステップ3 */
.risk-step-main.risk-step-3{
    background-color: #F3A715;
}
/* ##リスク4 ステップ4 */
.risk-step-main.risk-step-4{
    background-color: #14A1AE;
}
/* ##リスク4 ステップ5 */
.risk-step-main.risk-step-5{
    background-color: #80AF28;
}
/* ##リスク4 ステップ6 */
.risk-step-main.risk-step-6{
    background-color: #7F338D;
}
.risk-step-main.risk-step-6 span{
    font-size: 18px;
}
.risk-step-sub.risk-step-1 img,
.risk-step-sub.risk-step-6 img{
    width: 60%;
}
.risk-step-sub img:nth-child(2){
    display: none;
}
@media screen and (max-width: 768px) {
    .risk-steps{
        margin-top: 40px;
    }
    .risk-step{
        gap: 10px;
    }
    .risk-step-next{
        margin: 16px 0px 10px;
        width: 47%;
    }
    .risk-step-main {
        color: #fff;
        height: 125px;
        flex-basis: 50%;
        flex-direction: column;
        font-size: 18px;
    }
    .risk-step-sub{
        flex-basis: 50%;
    }
    .risk-step-sub img:nth-child(1){
        display: none;
    }
    .risk-step-sub img:nth-child(2){
        display: block;
        max-width: 200px;
        margin: 0 auto;
    }
    .risk-step-sub.risk-step-1 img,
    .risk-step-sub.risk-step-6 img{
        width: 90%;
    }
    .risk-step-main.risk-step-6 span {
        font-size: 12px;
        margin-top: 5px;
    }
}

/* #リスク備考 */
.risk-note{
    margin-top: 50px;
    text-align: center;
    font-size: 14px;
}


/* よくある質問 */
.qa-items{
    margin-top: 50px;
}
.question{
    display: flex; align-items: center;
}
.q-icon,.a-icon{
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    margin-right: 20px;
    font-size: 36px;
    padding-bottom: 5px;
    box-sizing: border-box;
}
.q-icon{
    background-color: #19479A;
}
.a-icon{
    background-color: #F19500;
    position: absolute;
    top: 0; left: 0;
}
.q-text{
    font-size: 22px;
    margin: 0;
}
.answer{
    background-color: #fef5e6;
    padding: 50px 80px;
    position: relative;
    margin-top: 30px;
}
.a-text{
    letter-spacing: 0.03rem;
    line-height: 1.7rem;
}
@media screen and (max-width: 768px) {
    .answer{
        padding: 60px 40px;
    }
    .q-icon, .a-icon {
        width: 40px;
        height: 40px;
        font-size: 32px;
        margin-right: 15px;
    }
    .q-text{
        flex: 1;
        font-size: 20px;
    }
    .question{
        align-items: flex-start;
    }
}
/* ##qa1 */
.a-text.qa-1{
    font-size: 20px;
}
.a-text-phone{
    width: 400px;
    margin: 0 auto;
    font-size: 16px;
}
.a-text-btn{
    background-color: #F19500;
    width: 350px;
    height: 70px;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 38px;
    font-weight: bold;
    margin: 30px auto 20px;
    position: relative;
}
.a-text-btn img{
    width: 35px;
    margin-right: 10px;
    margin-top: 6px;
}
.a-text-btn a{
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
@media screen and (max-width: 768px) {
    .a-text.qa-1 {
        font-size: 18px;
    }
    .a-text-phone{
        width: 100%;
        font-size: 12px;
    }
    .a-text-btn{
        margin: 21px 0;
        width: 100%;
        font-size: 30px;
    }
}

/* 相場検索 */
/* .market-price-step{
    font-size: 14px;
    border-left: 4px solid #D1D1D1;
    padding-left: 26px;
}
.market-price-step span{
    font-size: 28px;
    color: #3367A5;
    display: block;
    margin-bottom: 10px;
}
.market-price-ward{
    display: flex;
    gap: 10px 1%;
    flex-wrap: wrap;
    margin: 60px 0;
}
.market-price-ward div{
    border: 2px solid #D1D1D1;
    padding: 10px;
    text-align: center;
    flex-basis: 24%;
    box-sizing: border-box;
}
.market-price-note{
    border-top: 2px solid #D1D1D1;
    border-bottom: 2px solid #D1D1D1;
    padding: 60px 0;
}
.market-price-note span{
    color: #666666;
} */


/* 査定フォーム */
/* #assess_form h1{
    padding-bottom: 18px;
    border-bottom: 2px solid #D1D1D1;
}
.form-atten{
    border: 2px solid #D1D1D1;
    padding: 8px;
    font-size: 14px;
}
#assess_form h2{
    margin-top: 50px;
    padding-bottom: 14px;
    border-bottom: 2px solid #D1D1D1;
    font-size: 22px;
}
.form-table{
    margin: 0 30px;
    border: 2px solid #D1D1D1;
    border-bottom: transparent;
}
.form-row{
    display: flex;
    border-bottom: 2px solid #D1D1D1; 
}
.form-h{
    background-color: #F9F8F8;
    border-right: 2px solid #D1D1D1;
    flex-basis: 30%;
    padding: 20px;
}
.form-h span{
    color: red;
    margin-left: 10px;
    font-size: 14px;
}
.form-d{
    flex-basis: 70%;
    padding: 20px;
}
.form-row.form-bottom{
    text-align: center;
}
.form-button{
    margin: 20px auto;
    width: 150px; height: 50px;
    border-radius: 5px;
    background-color: #19479A;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
} */