/* PC、スマホ共通スタイル */
* {
    box-sizing: border-box;
}
body {
    /* max-width: 1440px; */
    margin: 0 auto 0 auto;

    /* フォント */
    /* font-family: "Itim","Kiwi Maru", "Arial", "Meiryo", serif; */
    font-family: "Kiwi Maru", "Arial", "Meiryo", serif;
    font-weight: 400;
    font-style: normal;
}
p {
    font-size: 15px;
}
/* 共通カラー */
.main_blue {
    color: #1F8AB8;
}
.main_green {
    color: #23B17E;
}
.main_brown {
    color: #C18000;
}
.main_yellow {
    color: #F1D74B;
}
.main_backcolor {
    color: #FEFFF1;
}
/* ボタン */
.btn-common:hover {
    transform: translateY(4px);
    box-shadow: none;
}

/* ヘッダー */
header {
    display: flex;
    justify-content: center;
    height: 60px;
    width: 100%;
    background-color: #ffffff;
    border-bottom: solid 3px #C18000;
    position: fixed;
    z-index: 99;
}

/* ナビゲーションのレイアウト */
#nav-pc {
    font-family: "Itim", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    position: relative;
    width: 95%;
    height: 100%;
}
#nav-pc ul {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 10px auto;
}
#nav-pc li {
    list-style: none;
    width: auto;
}
/* #nav-pc li::before {
    content: "";
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #ffffff;
    background-image: url("images/dack/child.png");
    background-position: bottom -50px left 0;
    background-size: contain;
    vertical-align: middle;
    opacity: 0;
} */
 
/* ナビゲーションのリンクの装飾 */
#nav-pc a {
    text-decoration: none;
    margin-right: 50px;
    color: #0d0d0d;
}

/* スマホ用ナビを非表示 */
#nav-sp,
#menu-sp {
    display: none;
}

/* メインビジュアル */
#main-visual {
    position: relative;
    padding-top: 60px;
    height: 640px;
    background-color: #C18000;
}
#video-sp {
    display: none;
}
#main-visual video {
    width: 100%;
    z-index: 10;
}
#title {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ffffff;
    border-radius: 0 0 0 350px;
    max-width: 50vw;
    height: 100%;
    width: 100%;
    box-shadow: -8px 8px 15px 30px #ffffff;
    z-index: 11;
}
#title > h1 {
    font-family: "Itim", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 64px;
    margin: 257px 0 0 130px;
}

/* 見出し */
h2 {
    font-family: "Itim", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 52px;
    text-align: center;
    margin: 0;
}
h3 {
    font-size: 20px;
    margin: 0;
    text-align: center;
}
.fadeIn {
    transform: translate3d(0, 40px, 0);
    transition: 1s;
    opacity: 0;
}
.fadeIn.animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

/* Works */
#works {
    background-color: #FEFFF1;
    padding: 150px 0 100px 0;
    position: relative;
    width: 100%;
    height: 950px;
}
.works-background {
    /* 背景 */
    background-image: url(images/dack/swimdack.png), url(images/dack/swimdack2.png), url(images/wave/brown.png);
    background-repeat: no-repeat;
    background-size: 300px, 250px, 100%;
    background-position: bottom 10px left 10%, bottom 20px right 10%, top 0 left 0;
}
.works-background-change {
    /* 背景 */
    background-image: url(images/dack/swimdack.png), url(images/dack/swimdack2.png), url(images/wave/brown.png);
    background-repeat: no-repeat;
    background-size: 300px, 250px, 100%;
    background-position: bottom 10px right 10%, bottom 20px left 10%, top 0 left 0;
}
.slideBtn-left {
    width: 50px;
    height: 50px;
    z-index: 20;
    position: absolute;
    top: 55%;
    left: 20%;
    /* position: absolute;
    top: 520px;
    left: 181px;
    z-index: 20; */
}
.slideBtn-right {
    width: 50px;
    height: 50px;
    z-index: 21;
    position: absolute;
    top: 55%;
    right: 20%;
    /* position: absolute;
    top: 520px;
    right: 181px;
    z-index: 21; */
}
.works-flex {
    display: flex;
    position: relative;
    /* justify-content: center; */
    margin: 0 auto 65px auto;
    width: 100%;
    height: 550px;
    z-index: 18;
}
/* swiper↓↓ */
.swiper-wrapper {
    align-items: center;
    position: relative;
}
.swiper {
    width: 90%;
    position: relative;
    /* height: 500px; */
    /* card */
    /* width: 350px;
    height: 450px;
    justify-content: center; */
}
.swiper-slide {
    background-position: center;
    background-size: cover;
    width: auto;
    height: 430px;
    /* card */
    /* display: flex;
    justify-content: center; */
}
/* swiper↑↑ */
.works-card {
    /* margin: 0 18px 0 18px; */
    background-color: #ffffff;
    height: 100%;
    width: 350px;
    min-width: 299px;
    box-shadow: 0 5px 7.5px 0 rgb(0 0 0 / 25%);
}
.works-card > img {
    height: 50%;
    width: 100%;
    object-fit: scale-down;
}
.works-card-txt {
    padding: 5px 20px 5px 20px;
    height: 50%;
}
.works-card-h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}
.works-card-skill-flex {
    display: flex;
    flex-wrap: wrap;  
    margin: 5px 0;
}
/* h6 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    margin: 5px 5px 0 0;
    border-radius: 20px;
} */
.str-black {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    margin: 5px 5px 0 0;
    border-radius: 20px;

    color: #0d0d0d;
    border: solid 1px #F1D74B;
    padding: 0 15px 0 15px;
}
.str-white {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    margin: 0 5px 0 0;
    border-radius: 20px;

    color: #ffffff;
    background-color: #0479CF;
    padding: 3px 15px 3px 15px;
}
.webpage-link {
    font-size: 14px;
    color: #0d0d0d;
}
.slide-dots {
    display: flex;
    justify-content: center;
}
.slide-dots > img {
    height: 14px;
    width: 14px;
    object-fit: scale-down;
    margin: 0 7.5px 0 7.5px;
}

/* Service */
#service {
    background-color: #ffffff;
    padding: 150px 0 100px 0;
    position: relative;
    width: 100%;
    height: 1250px;
    /* 背景 */
    /* 鴨親子、亀、上部波 */
    /* background-image: url(images/dack/dacks_children.png), url(images/dack/turtle.png), url(images/wave/yellow.png);
    background-size: 35%, 20%, 100%;
    background-position: top 5% right 0, bottom 0 left 0, top 0 left 0;
    background-repeat: no-repeat, no-repeat, no-repeat; */
}
.service-background {
    background-image: url(images/dack/dacks_children.png), url(images/wave/yellow.png);
    background-size: 35%, 100%;
    background-position: top 5% right -500px, top 0 left 0;
    background-repeat: no-repeat, no-repeat;
}
.service-img-turtle {
    position: absolute;
    bottom: 0;
    left: -500px;
    width: 20%;
    z-index: 0;
}
/* .fadeIn-from-left {
    transform: translate3d(-50px, 0, 0);
    transition: 1s;
    opacity: 0;
} */

.service-flex1 {
    display: flex;
    width: 100%;
    position: relative;
    padding: 60px 15% 0 0;
}
.service-card {
    margin: 0 0 0 10%;
    position: relative;
    max-width: 40%;
}
.h4-strwhite {
    color: #ffffff;
    font-size: 24px;
    width: auto;
    margin: 0;
    padding: 15px 40px 15px 40px;

    position: relative;
    display: inline-block;
    text-wrap: nowrap;
    height: 64px;
    background: linear-gradient(to top, #1F8AB8, #2FD686);
    border-radius: 20px;
    z-index: 31;
}
.service-card-outline {
    width: 100%;
    max-width: 400px;
    min-width: 300px;
    height: 350px;
    border-radius: 0 72px 0 0;
    border: solid 4px #1F8AB8;
    border-top: none;
    background-color: #ffffff;

    position: relative;
    top: -70px;
    left: 50px;
    z-index: 30;
}
.service-card-img {
    height: 40%;
    width: 80%;
    margin: 40px 30px 0 30px;
    padding-top: 30px;
    text-align: center;
    position: relative;
    z-index: 30;
}
.service-card-img > img {
    width: 120px;
    object-fit: cover;
    position: relative;
    z-index: 30;
}
.service-card-txt {
    position: relative;
    padding: 0 20px 10px 20px;
    width: 100%;
    height: 70%;
}
.service-card-explan {
    margin: 0 0 15px 0;
    width: 100%;
    height: 50px;
    text-wrap: wrap;
}
.service-card-tool {
    padding: 15px 0 10px 0;
    display: flex;
    width: 100%;
}
.service-card-tool > p {
    text-wrap: nowrap;
}
.service-card-tool > div {
    width: 100%;
    text-wrap: wrap;
}
.service-flex2 {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    position: relative;
    padding: 0 15% 0 0;
}
.lp-img {
    width: 8px;
    position: relative;
    top: 5px;
}

/* Skills */
#skills {
    background-color: #FEFFF1;
    padding: 150px 0 100px 0;
    position: relative;
    width: 100%;
    height: 1100px;
    /* 背景 */
    /* 上部波、右上足跡、左下足跡 */
    background-image: url(images/wave/white.png), url(images/dack/footprints-right.png), url(images/dack/footprints-left.png);
    background-size: 100%, 700px, 900px;
    background-position: top 0 left 0, top 0 right 0, bottom 0 left 0;
    background-repeat: no-repeat, no-repeat, no-repeat;
}
.skills-flex1 {
    display: flex;
    justify-content: center;
    width: 100%;
    /* margin: 60px 0 0 0; */
    padding: 60px 0 0 0;
    margin: 0;
}
.skills-item {
    width: 350px;
    height: 380px;
    padding: 50px;
    margin: 0;
    text-align: center;
}
.skills-item > img {
    width: 150px;
}
.skills-item > p {
    text-wrap: wrap;
}
#sql-img {
    margin-top: 25px;
    margin-bottom: 25px;
    width: 100px;
}
.skills-flex2 {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
}
.skill-txt > h4 {
    font-size: 18px;
    margin: 0;
    padding: 20px 0;
}
.skill-txt > p {
    margin: 0;
    padding: 0;
}
.skill-txt ul {
    text-align: left;
    margin: 0 10px 0 40px;
}
#cording-img {
    width: 120px;
}
#tool-img {
    width: 120px;
}

/* Profile */
#profile {
    background-color: #ffffff;
    padding: 150px 0 50px 0;
    position: relative;
    width: 100%;
    height: 900px;
    /* 背景 */
    background-image: url(images/wave/yellow.png);
    background-size: 100%;
    background-position: top 0 left 0;
    background-repeat:no-repeat;
}
.profile-flex {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    /* margin: 60px 0 0 0; */
    margin: 0;
    padding:  60px 5% 0 5%;
}
.icon {
    position: relative;
    width: 260px;
    text-align: center;
}
.icon > img {
    width: 230px;
    border: solid 3px #289D6C;
}
.coconala-btn-sp {
    display: none;
}
.coconala-btn-pc {
    position: relative;
    top: 20px;
    left: 50px;
    padding: 2px 10px 3px 10px;
    width: 150px;
    height: 30px;
    text-align: left;
    background-color: #23B17E;
    border-radius: 23px;
    box-shadow: 0 6px 0 2px #5891B4;

    background-image:url(images/arrow.png);
    background-size:12px;
    background-position:top 8px right 15px;
    background-repeat:no-repeat;
}
.coconala-btn-pc > a {
    color: #ffffff;
    text-decoration: none;
    margin: 0;
}
.profile-txt {
    position: relative;
    padding: 0 0 0 10px;
    width: 700px;
}
.name {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(to top, #1F8AB8, #2FD686);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.career {
    margin: 10px 0 0 0;
    text-wrap: wrap;
}
.fav-title {
    margin: 20px 0 0 0;
    padding: 5px 15px 5px 15px;
    font-size: 16px;
    border-left: solid 3px #1F8AB8;
    width: 100%;
}
.fav-tr {
    text-align: left;
    vertical-align: top;
}
.fav-th {
    font-weight: normal;
    width: 100px;
}
.fav-th::before {
    content: "●";
}
.fav-animal {
    margin: 0;
    padding-left: 15px;
}

/* Contact */
#contact {
    background-color: #FEFFF1;
    padding: 150px 0 150px 0;
    position: relative;
    width: 100%;
    height: 550px;
    /* 背景 */
    background-image: url(images/wave/white.png), url(images/dack/dack-mail.png);
    background-size: 100%, 300px;
    background-position: top 0 left 0, bottom 100px right 8%;
    background-repeat: no-repeat, no-repeat;
}
.contact-txt {
    text-align: center;
    margin: 30px 0 30px 0;
}
.contact-div {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 50px;
}
.contact-btn {
    padding: 7px 20px 7px 20px;
    width: 200px;
    height: 40px;
    background-color: #F1D74B;
    border-radius: 23px;
    box-shadow: 0 6px 0 2px #E0C070;

    background-image:url(images/arrow.png);
    background-size:12px;
    background-position:top 13px right 20px;
    background-repeat:no-repeat;
}
.contact-btn > a {
    color: #ffffff;
    text-decoration: none;
    margin: 0;
}

/* Footer */
footer {
    width: 100%;
    height: 60px;
    background-color: #C18000;
}
.footer-div {
    width: 100%;
    height: auto;
    padding: 20px 0 20px 0;
    text-align: center;
}
.footer-div > p {
    margin: 0;
}
.footer-div > p > a {
    color: #0d0d0d;
}


/*====================
 スマートフォン用のスタイル
=====================*/
/* 画面幅が767px以下のとき */
@media screen and (max-width: 767px) {

    header {
        background-color: transparent;
        border: none;
        justify-content: flex-end;
    }

    /* PC用ナビゲーション非表示 */
    #nav-pc {
        display: none;
    }
    /* ハンバーガーメニュー */
    #menu-sp {
        display: block;
        background-color: transparent;
        margin-right: 10px;
        padding: 0;
        border: none;
        width: 80px;
        object-fit: fill;
    }
    /* スマホ用ナビゲーションの表示切替 */
    /* 初期状態、レイアウトと非表示設定 */
    #nav-sp {
        background-color: #FEFFF1;
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        display: none;
        z-index: 100;

        font-family: "Itim", cursive;
        font-weight: 400;
        font-style: normal;
        font-size: 30px;
    }
    /* ×ボタン */
    #close {
        position: absolute;
        top: 20px;
        right: 20px;
        background-color: transparent;
        border: none;
    }
    #nav-sp nav ul {
        margin: 50px 30px 0 30px;
        padding: 0;
        text-align: center;
    }
    #nav-sp nav li {
        list-style: none;
        padding: 10px 0 10px 0;
        border-bottom: solid 2px #C18000;
    }
    /* ナビゲーションのリンクの装飾 */
    #nav-sp a {
        text-decoration: none;
        color: #0d0d0d;
    }

    /* メインビジュアル */
    /* PC用ナビゲーション非表示 */
    #video-pc {
        display: none;
    }
    #main-visual {
        position: relative;
        padding-top: 0;
        height: 300px;
        background-color: #C18000;
    }
    #video-sp {
        display: block;
        position: relative;
        z-index: 10;
    }
    #video-sp video {
        /* height: 350px; */
        width: 100%;
    }
    #title {
        /* border-radius: 0 0 0 350px; */
        max-width: 45vw;
        height: 80%;
        width: 100%;
        box-shadow: -8px 8px 15px 30px #ffffff;
        z-index: 11;
    }
    #title > h1 {
        font-size: 48px;
        text-align: center;
        margin: 50px 30px 30px 30px;
    }

    /* 見出し */
    h2 {
        font-family: "Itim", cursive;
        font-weight: 400;
        font-style: normal;
        font-size: 48px;
    }
    h3 {
        font-size: 18px;
    }

    /* Works */
    /* #works {
        background-size: 40%, 40%, 100%;
        background-position: top 180px left 20px, top 170px right 20px, top 0 left 0;
    } */
    .works-background {
        /* 背景 */
        background-image: url(images/dack/swimdack.png), url(images/dack/swimdack2.png), url(images/wave/brown.png);
        background-repeat: no-repeat;
        background-size: 35%, 35%, 100%;
        background-position: top 180px left 20px, top 170px right 20px, top 0 left 0;
    }
    .works-background-change {
        /* 背景 */
        background-image: url(images/dack/swimdack.png), url(images/dack/swimdack2.png), url(images/wave/brown.png);
        background-repeat: no-repeat;
        background-size: 35%, 35%, 100%;
        background-position: top 180px right 20px, top 170px left 20px, top 0 left 0;
    }
    .slideBtn-right {
        position: absolute;
        top: 55%;
        right: 20%;
    }
    /* .slideBtn-left {
        position: absolute;
        top: 520px;
        left: 50px;
        width: 40px;
        z-index: 20;
    }
    .slideBtn-right {
        position: absolute;
        top: 520px;
        right: 50px;
        width: 40px;
        z-index: 21;
    } */

    /* Service */
    #service {
        position: relative;
        width: 100%;
        height: 2250px;
        /* 背景 */
        /* 鴨親子、亀、上部波 */
        background-image: url(images/dack/dacks_children.png), url(images/dack/turtle.png), url(images/wave/yellow.png);
        background-size: 350px, 200px, 100%;
        background-position: top 100px left 10px, bottom 80px right 30px, top 0 left 0;
        background-repeat: no-repeat, no-repeat, no-repeat;
    }
    .service-flex1 {
        width: 100%;
        display: block;
        /* flex-direction: column; */
        justify-items: end;
        position: relative;
        padding: 60px 10% 0 0;
        margin: 0;
    }
    .service-flex2 {
        width: 100%;
        display: block;
        /* flex-direction: column; */
        justify-items: end;
        position: relative;
        padding: 0 10% 0 0;
        margin: 0;
    }
    .service-card {
        margin: 0;
        padding: 0;
        position: relative;
        top: 0px;
        right: 170px;
        max-width: 50%;
    }
    .h4-strwhite {
        font-size: 20px;
        padding: 12px 35px 10px 35px;
        position: relative;
        top: 0;
        left: 0;

        height: 55px;
        background: linear-gradient(to top, #1F8AB8, #2FD686);
        border-radius: 20px;
        z-index: 31;
    }

    /* Skills */
    #skills {
        height: 2000px;
        /* 背景 */
        /* 上部波、右上足跡、左下足跡 */
        background-image: url(images/wave/white.png), url(images/dack/footprints-right.png), url(images/dack/footprints-left.png);
        background-size: 100%, 100%, 110%;
        background-position: top 0 left 0, top 0 right 0, bottom 0 left 0;
        background-repeat: no-repeat, no-repeat, no-repeat;
    }
    .skills-flex1 {
        display: block;
        justify-items: center;
        position: relative;
        padding: 60px 10% 0 10%;
        width: 100%;
    }
    .skills-item {
        width: 250px;
        height: 320px;
        padding: 0;
        position: relative;
        text-align: center;
    }
    .skills-flex2 {
        display: block;
        justify-items: center;
        width: 100%;
        position: relative;
        padding: 0 10% 0 10%;
    }
    .skill-txt > h4 {
        font-size: 16px;
    }
    #sql-img {
        margin: 0;
        padding: 10px 0 0 0;
        width: 100px;
    }
    .skill-txt ul {
        text-align: left;
        margin: 0 10px 0 40px;
    }
    
    /* Profile */
    #profile {
        height: 1300px;
    }
    .profile-flex {
        display: block;
        justify-items: center;
        position: relative;
        width: 100%;
    }
    .profile-txt {
        position: relative;
        padding: 30px 5% 0 5%;
        width: 100%;
    }
    .name {
        text-align: center;
    }
    .coconala-btn-pc {
        display: none;
    }
    .coconala-btn-sp {
        display: block;
        position: relative;
        top: 50px;
        padding: 2px 10px 3px 10px;
        width: 150px;
        height: 30px;
        text-align: left;
        background-color: #23B17E;
        border-radius: 23px;
        box-shadow: 0 6px 0 2px #5891B4;

        background-image:url(images/arrow.png);
        background-size:12px;
        background-position:top 10px right 15px;
        background-repeat:no-repeat;
    }
    .coconala-btn-sp > a {
        color: #ffffff;
        text-decoration: none;
        margin: 0;
    }

    /* Contact */
    #contact {
        position: relative;
        height: 550px;
        /* 背景 */
        background-image: url(images/wave/white.png), url(images/dack/dack-mail.png);
        background-size: 100%, 200px;
        background-position: top 0 left 0, top 170px right 10%;
        background-repeat: no-repeat, no-repeat;
    }
    .contact-txt {
        text-align: center;
        margin: 30px 0 30px 0;
        padding: 0 10% 0 10%;
    }
}