@charset "UTF-8";

@media screen and (max-width: 1024px) {
    /*******************************
    #mainTitle
    *******************************/
    #mainTitleLow p {
        margin-left: 50px;
        margin-bottom: 0;
    }
    /*******************************
    #flow
    *******************************/
    #flow .flowDetail ul li .step ul li {
        width: 150px;
        font-size: 95.5%;
        margin-right: 33px;
    }
    #flow .flowDetail ul li .step ul li::after {
        right: -28px;
    }
    /*******************************
    #recommendation
    *******************************/
    #recommendation .leadTxt {
        width: 100%;
    }
    #recommendation dl {
        width: 100%;
    }
    #recommendation dl dd dl dt {
        font-size: 110%;
    }
    #recommendation dl dd {
        font-size: 110%;
    }



}

@media screen and (max-width: 599px) {

    .boxWrap .detail .table dl:last-child {
        align-items: flex-start;
    }

    .boxWrap .detail .table dl dd .LinkBox .btnWrap {
        height: 41px;
    }

    .boxWrap .detail .table dl dd .LinkBox .btnWrap div {
        height: 35px;
    }

    .boxWrap .detail .table dl dd .LinkBox .btnWrap.btn01::after {
        width: 20px;
        height: 20px;
        margin-top: -11px;
    }

    /*******************************
    #flow
    *******************************/
    #flow .flowDetail ul li .step {
        display: block;
        width: 100%;
        height: auto;
        padding: 15px 0;
        line-height: normal;
    }
    #flow .flowDetail ul li .step p {
        margin-right: 0;
        margin-bottom: 7px;
    }
    #flow .flowDetail ul li .step ul {
        justify-content: center;
    }
    #flow .flowDetail ul li .step ul li {
        width: auto;
        height: auto;
        line-height: normal;
        font-size: 80%;
        padding: 5px 0;
        width: 25.8%;
        margin-right: 20px;
    }
    #flow .flowDetail ul li .step ul li:last-child {
        width: 28.8%;
    }
    #flow .flowDetail ul li .step ul li::after {
        width: 10px;
        height: 10px;
        margin-top: -5px;
        right: -15px;
    }

    /*******************************
    #day
    *******************************/
    #day {
        width: 93.3%;
        margin: 0 auto 37px auto;
    }
    #day h2 {
        font-size: 120%;
        padding: 15px 0 15px 5%;
        margin-bottom: 20px;
    }
    #day .scroll {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }
    #day table {
        width: 810px;
    }
    #day table th {
        font-size: 80%;
    }
    #day table td {
        font-size: 80%;
    }
    #day table tr:first-child th:nth-child(2) {
        height: 27px;
    }
    #day table tr:nth-child(2) th {
        height: 27px;
    }
    #day table tr:nth-child(n+3) th:first-child {
        height: 40px;
    }


    /*******************************
    #document
    *******************************/
    #document .type01,
    #document .type03,
    #document .type04,
    #document .type05 {
        display: block;
    }
    #document .type01 dt,
    #document .type03 dt,
    #document .type04 dt,
    #document .type05 dt {
        width: 100%;
    }
    #document .type01 dt .title,
    #document .type03 dt .title,
    #document .type04 dt .title,
    #document .type05 dt .title {
        font-size: 100%;
    }
    #document .type01 dd {
        display: flex;
        justify-content: space-between;
    }
    #document .type01 dd img {
        width: 47.1%;
    }
    #document .type01 dd img:first-child {
        margin-right: 0;
    }

    #document .type03 dt .small {
        font-size: 66.6%;
        margin-top: 5px;
        margin-left: 2.6em;
    }
    #document .type03 dd {
        width: 100%;
        letter-spacing: 0;
    }
    #document .type03 dd .box {
        margin-bottom: 25px;
    }
    #document .type03 dd .box .title {
        font-size: 86.6%;
        padding: 6px;
        margin-bottom: 14px;
    }
    #document .type03 dd ul {
        font-size: 80%;
        padding-left: 0;
    }
    #document .type03 dd ul li {
        margin-bottom: 5px;
    }
    #document .type03 dd ul li span {
        font-size: 65%;
        vertical-align: text-top;
    }
    #document .type03 dd p {
        padding-left: 0;
        font-size: 66.6%;
    }
    #document .type03 .margin01 {
        margin-top: 15px;
    }
    #document .type03 .notes {
        margin-top: 25px;
    }
    #document .type03 .notes li {
        text-indent: 0;
        padding-left: 0;
        margin-bottom: 0;
    }
    #document .type03 .box02 .title {
        font-size: 86.6%;
        padding: 6px;
        margin-bottom: 14px;
    }
    #document .type03 .indent01 {
        padding-left: 1em;
    }


    #document .type04 dd {
        width: 100%;
    }
    #document .type04 dd img {
        width: 47.1%;
    }


    #document .type05 dd .inFlex {
        flex-direction: row-reverse;
        flex-wrap: wrap-reverse;
        justify-content: center;
    }
    #document .type05 dd .inFlex p {
        width: 100%;
        font-size: 80%;
        margin-bottom: 22px;
    }
    #document .type05 dd .inFlex img {
        margin-right: 0;
        width: 47.1%;
    }
    #document .type05 .box02 .title {
        font-size: 86.6%;
        padding: 6px;
        margin-bottom: 14px;
    }
    #document .type05 .box02 ul {
        font-size: 80%;
        padding-left: 0;
    }


    /*******************************
    #recommendation
    *******************************/
    #recommendation {
        width: 93.3%;
        margin: 0 auto 37px auto;
    }
    #recommendation h2 {
        font-size: 120%;
        padding: 15px 0 15px 5%;
        margin-bottom: 20px;
    }
    #recommendation .leadTxt {
        width: 92.9%;
        margin: 0 auto 25px auto;
        font-size: 80%;
    }
    #recommendation dl {
        width: 92.9%;
    }
    #recommendation dl dt {
        font-size: 93.3%;
        margin-bottom: 10px;
    }
    #recommendation dl dd {
        font-size: 80%;
    }
    #recommendation dl dd span {
        font-size: 120%;
        font-weight: 700;
        color: #00336a;
    }
    #recommendation dl dd dl {
        align-items: normal;
        width: 100%;
    }
    #recommendation dl dd dl dt {
        font-size: 86.6%;
        width: 23.2%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #recommendation dl dd dl dd p {
        font-size: 200%;
    }

    #recommendation dl dd dl dd {
        display: block;
        margin-left: 10px;
    }
    #recommendation dl dd dl dd p.tel {
        margin-left: 0;
    }
    #recommendation dl dd dl dd p.tel img {
        width: 20px;
        margin-right: 10px;
    }
    #recommendation dl dd dl dd p.mail {
        margin-left: 0;
    }
    #recommendation dl dd dl dd p.mail img {
        width: 20px;
        margin-right: 10px;
    }




}
