@charset "utf-8";

@import url(common.css);

@import url(slide.css);

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

    /*top*/

    #top {
        position: relative;
        width: 100%;
        height: 100vh;
        background: url(../img/p_helper_02.jpeg);
        background-size: cover;
        background-position: 80%;
    }

    /*svgアニメ*/
    .svganimeblock {
        position: absolute;
        width: 35%;
        /* 画面幅の50% */
        max-width: 200px;
        /* 大きすぎないよう制限 */
        left: 5%;
        top: 70%;
    }

    .svganimeblock svg {
        width: 100%;
        /* 親要素に合わせて拡縮 */
        height: auto;
        /* アスペクト比維持 */
        display: block;
    }


    /*アニメーション前のパスの指定*/
    .svganimeblock svg path {
        fill-opacity: 0;
        /*最初は透過0で見えない状態*/
        transition: fill-opacity .5s;
        /*カラーがつく際のアニメーション0.5秒で変化*/
        fill: none;
        /*塗りがない状態*/
        stroke: #147002;
        /*線の色*/
    }

    /*アニメーション後に.doneというクラス名が付与された時のパスの指定*/
    .svganimeblock svg.done .st1 {
        fill: #a5dbf7;
        /*塗りの色*/
        fill-opacity: 1;
        /*透過1で見える状態*/
        stroke: none;
        /*線の色なし*/
        width: 50vh;
    }

    .svganimeblock svg.done .st5 {
        fill: #e84c95;
        /*塗りの色*/
        fill-opacity: 1;
        /*透過1で見える状態*/
        stroke: none;
        /*線の色なし*/
        width: 50vh;
    }

    /*about*/

    #about,
    #target,
    #contact,
    #price,
    #service,
    #flow,
    #city,
    #contents {
        position: relative;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 25%;
    }

    #about p {
        font-size: 14px;
        text-align: center;
        line-height: 40px;
    }

    .h1_02,
    .h1_03,
    .h1_06 {
        height: 30px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10%;
    }

    /*target*/
    .container {
        display: flex;
        align-items: center;
        text-align: center;
        padding-left: auto;
        padding-right: auto;
        color: #e84c95;
        background-color: #ffffff;
        border-radius: 15px;
        box-shadow: 5px 5px 15px#af87aa, -5px -5px 10px#feeaff;
        height: 180px;
        padding: 20px;
        margin-bottom: 10%;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .container h2 {
        font-family: "Kosugi Maru";
        font-size: 16px;
        line-height: 50px;
        font-weight: 800;
        width: 100%;
    }

    /*contents*/

    .container_02 {
        width: 90%;
        padding: 50px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 25px;
        margin-bottom: 25px;
        text-align: center;
        height: 200px;
        border-radius: 15px;
        box-shadow: 5px 5px 15px#af87aa, -5px -5px 10px#feeaff;
    }

    .container_02 h2 {
        margin-bottom: 5%;
    }

    .container_02 div {
        width: 100%;
        height: 80%;
        display: flex;
        align-items: center;
    }

    .container_02 div p {
        font-size: 14px;
        margin-left: auto;
        margin-right: auto;
    }

    /*price*/
    .caution {
        margin-top: 3%;
        text-align: center;
        font-size: 12px;
    }

    /*service*/

    table {
        width: 100%;
        margin-top: 5%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        border-spacing: 0;
        border-collapse: collapse;
        color: #581e02;
        background-color: #fff1f7;
        border: none;
        font-family: "BIZ UDGothic";
        font-size: 18px;
    }

    th,
    td {
        width: 50%;
        padding: 10px;
        border: solid 2px #ffffff;
    }

    td {
        font-size: 12px;
    }

    /*flow*/

    #flow .flex {
        margin-top: 10%;
    }

    .container_05 {
        text-align: center;
        width: 80%;
        height: 200px;
        padding: 30px;
        background-color: #ffffff;
        border-radius: 15px;
        box-shadow: 5px 5px 15px#af87aa, -5px -5px 10px#feeaff;
        margin-left: auto;
        margin-right: auto;
    }

    .container_05 div {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .container_05 div p {
        font-size: 14px;
    }

    .key {
        width: 20px;
        margin-left: auto;
        margin-right: auto;
        transform: rotate(90deg);
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /*city*/

    #city h2 {
        white-space: nowrap;
        /* 強制的に1行 */
        font-size: clamp(12px, 4vw, 18px);
        /* 画面幅に応じて文字サイズ調整 */
        line-height: 1.4;
        text-align: center;
        /* 中央寄せ */
    }

    #city h2 a.link_text {
        white-space: nowrap;
        display: inline;
        color: #e84c95;
    }

    /*contact*/

    #contact .flex a {
        width: 40%;
    }

    .container_03,
    .container_04 {
        display: flex;
        align-items: center;
        width: 100%;
        height: 100px;
        padding: 50px;
        background-image: url(../img/p_sv_co_03.jpeg);
        background-size: cover;
        background-position: bottom;
        border-radius: 15px;
    }

    .container_04 {
        background-image: url(../img/p_sv_co_02.jpeg);
        background-size: cover;
        background-position: center;
        margin-top: 10%;
    }

    .container_03 h2,
    .container_04 h2 {
        width: 100%;
        padding-left: auto;
        padding-right: auto;
        color: #ffffff;
        font-size: 15px;
    }

    .service_img {
        width: 80%;
        border-radius: 5%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 5%;
    }

    h2 {
        color: #581e02;
        text-align: center;
        font-family: "Kosugi Maru";
        font-size: 20px;
    }

    .btn {
        width: 30%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5%;
    }

}

@media screen and (min-width:768px) and (max-width:1400px) {

    /*top*/

    #top {
        position: relative;
        width: 100%;
        height: 100vh;
        background: url(../img/p_helper_02.jpeg);
        background-size: cover;
        background-position: 80%;
    }


    /*svgアニメ*/
    .svganimeblock {
        position: absolute;
        width: 30%;
        /* 画面幅の50% */
        max-width: 500px;
        /* 大きすぎないよう制限 */
        left: 5%;
        top: 80%;
    }

    .svganimeblock svg {
        width: 100%;
        /* 親要素に合わせて拡縮 */
        height: auto;
        /* アスペクト比維持 */
        display: block;
    }


    /*アニメーション前のパスの指定*/
    .svganimeblock svg path {
        fill-opacity: 0;
        /*最初は透過0で見えない状態*/
        transition: fill-opacity .5s;
        /*カラーがつく際のアニメーション0.5秒で変化*/
        fill: none;
        /*塗りがない状態*/
        stroke: #147002;
        /*線の色*/
    }

    /*アニメーション後に.doneというクラス名が付与された時のパスの指定*/
    .svganimeblock svg.done .st1 {
        fill: #a5dbf7;
        /*塗りの色*/
        fill-opacity: 1;
        /*透過1で見える状態*/
        stroke: none;
        /*線の色なし*/
        width: 50vh;
    }

    .svganimeblock svg.done .st5 {
        fill: #e84c95;
        /*塗りの色*/
        fill-opacity: 1;
        /*透過1で見える状態*/
        stroke: none;
        /*線の色なし*/
        width: 50vh;
    }

    /*about*/

    #about,
    #target,
    #contact,
    #price,
    #service,
    #flow,
    #city,
    #contents {
        position: relative;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15%;
    }

    #about p {
        text-align: center;
        line-height: 40px;
    }

    .h1_02,
    .h1_03,
    .h1_06 {
        height: 30px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10%;
    }

    /*target*/
    .container {
        text-align: center;
        padding-left: auto;
        padding-right: auto;
        color: #e84c95;
        background-color: #ffffff;
        border-radius: 15px;
        box-shadow: 5px 5px 15px#af87aa, -5px -5px 10px#feeaff;
        height: 200px;
        padding: 50px;
        margin-bottom: 10%;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .container h2 {
        font-family: "Kosugi Maru";
        font-size: 20px;
        line-height: 50px;
        font-weight: 800;
    }

    .spbr {
        display: none;
    }

    /*contents*/

    #contents .flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: stretch;
    }

    .container_02 {
        width: 40%;
        padding: 50px;
        margin: 25px;
        text-align: center;
        height: 300px;
        border-radius: 15px;
        box-shadow: 5px 5px 15px#af87aa, -5px -5px 10px#feeaff;
    }

    .container_02 h2 {
        margin-bottom: 10%;
    }

    .container_02 div {
        width: 100%;
        height: 80%;
        display: flex;
        align-items: center;
    }

    .container_02 div p {
        margin-left: auto;
        margin-right: auto;
    }

    /*price*/
    .caution {
        margin-top: 3%;
        text-align: center;
    }

    /*service*/

    table {
        width: 80%;
        margin-top: 5%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        border-spacing: 0;
        border-collapse: collapse;
        color: #581e02;
        background-color: #fff1f7;
        border: none;
        font-family: "BIZ UDGothic";
        font-size: 18px;
    }

    th,
    td {
        width: 50%;
        padding: 10px;
        border: solid 2px #ffffff;
    }

    /*flow*/

    #flow .flex {
        margin-top: 10%;
    }

    .container_05 {
        text-align: center;
        width: 80%;
        height: 200px;
        padding: 30px;
        background-color: #ffffff;
        border-radius: 15px;
        box-shadow: 5px 5px 15px#af87aa, -5px -5px 10px#feeaff;
        margin-left: auto;
        margin-right: auto;
    }

    .container_05 div {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .key {
        width: 20px;
        margin-left: auto;
        margin-right: auto;
        transform: rotate(90deg);
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /*city*/

    .link_text:hover {
        color: #e84c95;

    }

}

@media screen and (min-width:1401px) {

    /*top*/

    #top {
        position: relative;
        height: 100vh;
        background: url(../img/p_helper_02.jpeg);
        background-size: cover;
        background-position: top;
    }


    /*svgアニメ*/
    .svganimeblock {
        position: absolute;
        width: 50%;
        /* 画面幅の50% */
        max-width: 500px;
        /* 大きすぎないよう制限 */
        left: 5%;
        top: 70%;
    }

    .svganimeblock svg {
        width: 100%;
        /* 親要素に合わせて拡縮 */
        height: auto;
        /* アスペクト比維持 */
        display: block;
    }

    /*アニメーション前のパスの指定*/
    .svganimeblock svg path {
        fill-opacity: 0;
        /*最初は透過0で見えない状態*/
        transition: fill-opacity .5s;
        /*カラーがつく際のアニメーション0.5秒で変化*/
        fill: none;
        /*塗りがない状態*/
        stroke: #147002;
        /*線の色*/
    }

    /*アニメーション後に.doneというクラス名が付与された時のパスの指定*/
    .svganimeblock svg.done .st1 {
        fill: #a5dbf7;
        /*塗りの色*/
        fill-opacity: 1;
        /*透過1で見える状態*/
        stroke: none;
        /*線の色なし*/
        width: 50vh;
    }

    .svganimeblock svg.done .st5 {
        fill: #e84c95;
        /*塗りの色*/
        fill-opacity: 1;
        /*透過1で見える状態*/
        stroke: none;
        /*線の色なし*/
        width: 50vh;
    }

    /*about*/

    #about {
        position: relative;
        width: 50%;
        max-width: 1500px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15%;
    }

    #about p {
        text-align: center;
        line-height: 40px;
    }

    .h1_02 {
        height: 50px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10%;
    }

    /*target*/
    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-left: auto;
        padding-right: auto;
        color: #e84c95;
        background-color: #ffffff;
        border-radius: 15px;
        box-shadow: 5px 5px 15px#af87aa, -5px -5px 10px#feeaff;
        height: 200px;
        padding: 50px;
        margin-bottom: 10%;
    }

    .container h2 {
        font-family: "Kosugi Maru";
        font-size: 20px;
        line-height: 50px;
        font-weight: 800;
    }

    .spbr {
        display: none;
    }

    /*contents*/

    #contents .flex {
        align-items: stretch;
    }

    .container_02 {
        width: 20%;
        padding: 50px;
        text-align: center;
        border-radius: 15px;
        box-shadow: 5px 5px 15px#af87aa, -5px -5px 10px#feeaff;
    }

    .container_02 h2 {
        margin-bottom: 10%;
    }

    .container_02 div {
        width: 100%;
        height: 80%;
        display: flex;
        align-items: center;
    }

    .container_02 div p {
        margin-left: auto;
        margin-right: auto;
    }

    /*price*/
    .caution {
        margin-top: 3%;
        text-align: center;
    }

    /*service*/

    table {
        width: 80%;
        margin-top: 5%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        border-spacing: 0;
        border-collapse: collapse;
        color: #581e02;
        background-color: #fff1f7;
        border: none;
        font-family: "BIZ UDGothic";
        font-size: 18px;
    }

    th,
    td {
        width: 50%;
        padding: 10px;
        border: solid 2px #ffffff;
    }

    /*flow*/

    #flow .flex {
        margin-top: 10%;
    }

    .container_05 {
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 28%;
        height: 200px;
        padding: 30px;
        background-color: #ffffff;
        border-radius: 15px;
        box-shadow: 5px 5px 15px#af87aa, -5px -5px 10px#feeaff;
    }

    .container_05 div {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .key {
        width: 20px;
    }

    /*city*/

    .link_text:hover {
        color: #e84c95;

    }

    /*contact*/

    #target,
    #contact,
    #price,
    #service,
    #flow,
    #city,
    #contents {
        position: relative;
        width: 80%;
        max-width: 1500px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15%;
    }

    .flex {
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: auto;
    }

    .h1_03 {
        width: 40%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 8%;
    }

    #contact .flex a {
        width: 40%;
    }

    .container_03,
    .container_04 {
        display: flex;
        align-items: center;
        width: 100%;
        height: 200px;
        padding: 50px;
        background-image: url(../img/p_sv_co_03.jpeg);
        background-size: cover;
        background-position: bottom;
        border-radius: 15px;
    }

    .container_04 {
        background-image: url(../img/p_sv_co_02.jpeg);
        background-size: cover;
        background-position: center;
    }

    .container_03 h2,
    .container_04 h2 {
        width: 100%;
        padding-left: auto;
        padding-right: auto;
        color: #ffffff;
    }

    .service_img {
        width: 80%;
        border-radius: 5%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 5%;
    }

    h2 {
        color: #581e02;
        text-align: center;
        font-family: "Kosugi Maru";
        font-size: 30px;
    }

    .btn {
        width: 30%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5%;
    }

}