@charset "utf-8";

@import url(common.css);

@import url(slide.css);


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

    /*top*/

    #top {
        position: relative;
        height: 100vh;
        background: url(../img/p_profile_02.jpg);
        background-size: cover;
        background-position: 80% center;
    }

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

    .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;
    }

    /*comment*/

    #comment {
        position: relative;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15%;
        text-align: center;
        line-height: 30px;
    }

    #comment p {
        font-size: 14px;
    }

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

    .bold {
        width: 80%;
        text-align: left;
        font-size: 22px;
        font-weight: 800;
        margin-left: auto;
        margin-right: 0;
    }

    /*info*/

    .container {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    time {
        color: #581e02;
        text-align: left;
        font-family: "Kosugi Maru";
        font-size: 10px;
    }

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


    h3 {
        color: #e84c95;
        text-align: left;
        font-family: "Kosugi Maru";
        font-size: 16px;
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .content p {
        font-size: 12px;
    }

    .timeline {
        --line-width: 2px;
        /* 縦棒の太さ */
        --dot-size: 12.5px;
        /* 丸の大きさ */
        --accent: #581e02;
        /* 黒 */
        --gap: 20px;
        /* 丸と本文の距離 */
    }

    .timeline h2,
    .container h2 {
        margin-top: 10%;
        margin-bottom: 10%;
    }

    /* タイムライン全体 */
    .timeline-list {
        position: relative;
        list-style: none;
        margin: 0;
        padding: 0;
        /* 左余白 */
    }

    /* 縦棒 */
    .timeline-list::before {
        content: "";
        position: absolute;
        left: 14.5px;
        /* 丸の中心と揃える */
        top: calc(var(--dot-size));
        /* 丸の半径ぶん下から始める */
        bottom: 0;
        width: var(--line-width);
        background: var(--accent);
    }

    /* 各項目 */
    .timeline-item {
        position: relative;
        margin: 0 0 32px;
        padding-left: calc(var(--gap) + var(--dot-size));
    }

    /* 丸（棒の真上に重なる） */
    .timeline-item::before {
        content: "";
        position: absolute;
        left: 16px;
        /* 棒の位置と同じ */
        top: 8px;
        /* テキスト高さに合わせる */
        width: var(--dot-size);
        height: var(--dot-size);
        background: var(--accent);
        /* 黒塗りつぶし */
        border-radius: 50%;
        transform: translateX(-50%);
        /* 丸の中心を棒に合わせる */
        z-index: 2;
        /* 棒より前 */
    }

    /* コンテンツ */
    .timeline-item .content {
        background: #fff;
        border: none;
        border-radius: 12px;
        padding: 0;
    }

    .middle {
        height: 100%;
    }

    .license_list {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .license {
        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: 100px;
        font-family: "Kosugi Maru";
        font-size: 15px;
        font-weight: 800;
        margin-bottom: 10%;
    }

    /*contact*/

    #contact {
        position: relative;
        width: 80%;
        max-width: 1500px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 25%;
    }

    #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: 25px;
    }

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

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

    .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;
        height: 100vh;
        background: url(../img/p_profile_02.jpg);
        background-size: cover;
        background-position: right;
    }


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

    .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;
    }

    /*comment*/

    #comment {
        position: relative;
        width: 70%;
        max-width: 1500px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15%;
        text-align: center;
        line-height: 40px;
    }

    #comment p {
        font-size: 14px;
    }

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

    .bold {
        width: 80%;
        text-align: left;
        font-size: 22px;
        font-weight: 800;
        margin-left: auto;
        margin-right: 0;
    }

    /*info*/

    .container {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

    time {
        color: #581e02;
        text-align: left;
        font-family: "Kosugi Maru";
        font-size: 18px;
    }

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

    }


    h3 {
        color: #e84c95;
        text-align: left;
        font-family: "Kosugi Maru";
        font-size: 18px;
        margin-bottom: 18px;
    }

    .content p {
        font-size: 14px;
    }

    .timeline {
        --line-width: 2px;
        /* 縦棒の太さ */
        --dot-size: 12.5px;
        /* 丸の大きさ */
        --accent: #581e02;
        /* 黒 */
        --gap: 20px;
        /* 丸と本文の距離 */
    }

    .timeline h2,
    .container h2 {
        margin-top: 10%;
        margin-bottom: 10%;
    }

    /* タイムライン全体 */
    .timeline-list {
        position: relative;
        list-style: none;
        margin: 0;
        padding: 0 0 0 32px;
        /* 左余白 */
    }

    /* 縦棒 */
    .timeline-list::before {
        content: "";
        position: absolute;
        left: 47px;
        /* 丸の中心と揃える */
        top: calc(var(--dot-size));
        /* 丸の半径ぶん下から始める */
        bottom: 0;
        width: var(--line-width);
        background: var(--accent);
    }

    /* 各項目 */
    .timeline-item {
        position: relative;
        margin: 0 0 32px;
        padding-left: calc(var(--gap) + var(--dot-size));
    }

    /* 丸（棒の真上に重なる） */
    .timeline-item::before {
        content: "";
        position: absolute;
        left: 16px;
        /* 棒の位置と同じ */
        top: 8px;
        /* テキスト高さに合わせる */
        width: var(--dot-size);
        height: var(--dot-size);
        background: var(--accent);
        /* 黒塗りつぶし */
        border-radius: 50%;
        transform: translateX(-50%);
        /* 丸の中心を棒に合わせる */
        z-index: 2;
        /* 棒より前 */
    }

    /* コンテンツ */
    .timeline-item .content {
        background: #fff;
        border: none;
        border-radius: 12px;
        padding: 12px 16px;
    }

    .middle {
        height: 100%;
    }

    .license_list {
        width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .license {
        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: 125px;
        font-family: "Kosugi Maru";
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 10%;
    }

    /*contact*/

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

    #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;
        margin-top: 25px;
    }

    .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%;
    }

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

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

    /*top*/

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



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

    .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;
    }

    /*comment*/

    #comment {
        position: relative;
        width: 50%;
        max-width: 1500px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15%;
        text-align: center;
        line-height: 40px;
    }

    .h1_02 {
        width: 15%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10%;
    }

    .bold {
        width: 80%;
        text-align: left;
        font-size: 22px;
        font-weight: 800;
        margin-left: auto;
        margin-right: 0;
    }

    /*info*/

    #info .flex {
        width: 80%;
        margin-top: 10%;
        align-items: stretch;
        justify-content: space-around;
    }

    .containter {
        width: 40%;
    }

    time {
        color: #581e02;
        text-align: left;
        font-family: "Kosugi Maru";
        font-size: 18px;
    }

    h3 {
        color: #e84c95;
        text-align: left;
        font-family: "Kosugi Maru";
        font-size: 18px;
        margin-bottom: 18px;
    }

    .content p {
        font-size: 14px;
    }

    .timeline {
        --line-width: 2px;
        /* 縦棒の太さ */
        --dot-size: 12.5px;
        /* 丸の大きさ */
        --accent: #581e02;
        /* 黒 */
        --gap: 20px;
        /* 丸と本文の距離 */
    }

    .timeline h2,
    .container h2 {
        margin-bottom: 10%;
    }

    /* タイムライン全体 */
    .timeline-list {
        position: relative;
        list-style: none;
        margin: 0;
        padding: 0 0 0 32px;
        /* 左余白 */
    }

    /* 縦棒 */
    .timeline-list::before {
        content: "";
        position: absolute;
        left: 47px;
        /* 丸の中心と揃える */
        top: calc(var(--dot-size));
        /* 丸の半径ぶん下から始める */
        bottom: 0;
        width: var(--line-width);
        background: var(--accent);
    }

    /* 各項目 */
    .timeline-item {
        position: relative;
        margin: 0 0 32px;
        padding-left: calc(var(--gap) + var(--dot-size));
    }

    /* 丸（棒の真上に重なる） */
    .timeline-item::before {
        content: "";
        position: absolute;
        left: 16px;
        /* 棒の位置と同じ */
        top: 8px;
        /* テキスト高さに合わせる */
        width: var(--dot-size);
        height: var(--dot-size);
        background: var(--accent);
        /* 黒塗りつぶし */
        border-radius: 50%;
        transform: translateX(-50%);
        /* 丸の中心を棒に合わせる */
        z-index: 2;
        /* 棒より前 */
    }

    /* コンテンツ */
    .timeline-item .content {
        background: #fff;
        border: none;
        border-radius: 12px;
        padding: 12px 16px;
    }

    .middle {
        height: 100%;
    }

    .license_list {
        width: 500px;
    }

    .license {
        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: 125px;
        font-family: "Kosugi Maru";
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 10%;
    }


    /*contact*/

    #contact {
        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%;
    }

}