@charset "UTF-8";

/*共通部分*/

/*共通フォント*/
html {
    font-size: 16px;
}

body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;

    line-height: 1.7;
    color: #448aa9;
}

a {
    text-decoration: none;
}

.font-english {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.7;
    color: #448aa9;
}

img {
    max-width: 100%;
}

/*ヘッダーとヒーロー*/
.wrapper {
    background: url(image/hero.jpeg) no-repeat center bottom/cover;
    height: 100vh;
}

.header {
    display: flex;
    justify-content: space-between;

}

.main-nav {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: 50px;
    margin: 10px 20px;
}

.main-nav a {
    color: #448aa9
}

.main-nav a:hover {
    opacity: 0.7;
}

.hamburger {
    display: none;
}

.sp-menu {
    display: none;
}

.logo {
    margin: 10px 20px;
}

.hero {
    text-align: center;
    margin-top: 200px;
}

.catch {
    font-size: 36px;
    margin-left: 20px;
}


/*About*/

.align-center {
    margin: auto;
}

.section-width {
    width: 980px;
}

.title {
    font-size: 48px;
}

.flex-title {
    display: flex;
    gap: 10px;
    margin-top: 150px;
    align-items: flex-end;
    border-bottom: 1px solid #448aa9;
    width: 980px;
}


.title {
    line-height: 1;
}

.myself {
    margin-top: 80px;
    list-style-type: none;
    padding-left: 80px;
    line-height: 3;
}

.mythings:before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #e3f95785;
    margin-right: 15px;
}

.mythings:After {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1px solid #448aa9;
    position: absolute;
    left: -2px;
    top: 18px;
}

.mythings {
    position: relative;

}

.coment-wrapper {
    display: flex;
}

.mypic {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 80px;
    margin-left: 30px;
}

.coment-in {
    width: 400px;
    line-height: 2.5;
    margin: 30px 0px 50px 100px;
    background: url(image/backblue.png) no-repeat center bottom;
    background-size: contain;
    padding: 80px 0px;
}

/*Hobby*/

.hobby-title {
    margin: auto;
    font-size: 20px;
    padding-top: 30px;
}

.hobbypic {
    margin-top: 80px;
    width: 550px;
    height: 400px;
    object-fit: cover;
}

.hobby-wrapper {
    display: flex;
    margin: 20px 50px;
}

.craft-wrapper {
    display: flex;
    justify-content: end;
    margin: 20px 50px;
}

.hobby-contents {
    margin-top: 130px;
    margin-left: 50px;
    margin-right: 50px;
    line-height: 2;
    width: 430px
}


/*Skills*/

.skills-wrapper {
    display: flex;
    gap: 300px;
    margin-top: 50px;
}

.title3 {
    font-size: 30px;
    padding-bottom: 30px;
}

.skill-list {
    line-height: 3;
    list-style: none;
}

.license-list {
    line-height: 3;
    list-style: none;
}

.list {
    padding: 20px;
}

.list-image {
    vertical-align: middle;
    padding-right: 10px;
}

.license-mark:before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #e3f95785;
    margin-right: 15px;
}

.license-mark:after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1px solid #448aa9;
    position: absolute;
    left: 19px;
    top: 38px;
}

.license-mark {
    position: relative;
    padding: 20px;
}

/*works*/

.works-wrapper {
    display: flex;
    margin-top: 50px;
    gap: 20px;
}

.title4 {
    text-align: center;
}

.works-background {
    width: 230px;
    height: 230px;
    background-color: aliceblue;
    display: flex;
    justify-content: center;
    /* 横 */
    align-items: center;
}

.banner-size {
    height: 150px;
    width: 150px;
    object-fit: cover;
}

.flyer-size {
    width: 150px;
    height: 200px;
    object-fit: cover;
}

.to-pf-wrapper-sp-only {
    display: none;
}

.to-pf-wrapper {
    display: flex;
    justify-content: center;
}

.attention {
    margin-top: 100px;
}

.portfolio {
    width: 80px;
    margin-top: 100px;
    margin-left: 30px;
}

.arrow {
    width: 95%;
}

.attention {
    background: linear-gradient(transparent 60%, rgba(255, 255, 0, 0.518) 60%);
    width: 80%;
}


/* Contact*/

.contact-section {
    display: flex;
    justify-content: center;
    margin-top: 200px;
    background-image: url(image/contact.jpeg);
    width: 100%;
    background-size: cover;
}

.contact-container {
    width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: #ffffff5b;
    margin-bottom: 50px;
    margin-top: 50px;
}

.toiawase-ttl {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;

}

input,
textarea {
    padding: 10px;
    border: none;
    margin-top: 5px;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.form-item {
    width: 600px;
    margin: auto;
}

.textarea-message {
    height: 250px;
}


.submit-btn {
    display: block;
    margin: 30px auto 0;
    padding: 12px 60px;
    background-color: #448ba999;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.submit-btn:hover {
    opacity: 0.8;
}

.copyright {

    text-align: center;
    color: #448aa9;
}

/*レスポンシブPC→スマホ*/

@media (max-width:800px) {

    /*共通フォント*/
    html {
        font-size: 14px;
    }

    /*ヘッダーとヒーロー*/
    .wrapper {
        background: url(image/hero.jpeg) no-repeat center bottom/cover;
        height: 80vh;
        overflow: hidden;
    }

    .logo {
        margin: 5px;
        width: 80px;
    }

    .main-nav {
        display: none;
    }

    .sp-main-nav a {
        color: #448aa9;
    }


    .hamburger {
        display: inline-block;
        margin: 20px;
    }

    .sp-menu {
        display: flex;
        background-color: #ffffff88;
        list-style: none;
        padding: 20px;
    }

    .catch {
        font-size: 18px;
        text-align: center;

    }

    .catch-english {
        text-align: center;
        font-size: 9px;
    }

    /*About*/


    .section-width {
        width: 360px;
    }

    .title {
        font-size: 30px;
    }

    .flex-title {
        display: flex;
        gap: 10px;
        margin-top: 100px;
        align-items: flex-end;
        border-bottom: 1px solid #448aa9;
        width: 360px;
    }


    .title {
        line-height: 1;
    }

    .small-title {
        font-size: 14px;
    }

    .myself {
        margin-top: 50px;
        list-style-type: none;
        padding-left: 10px;
        line-height: 3;
        margin-left: 60px;

    }

    .mythings:before {
        content: "";
        display: inline-block;
        width: 15px;
        height: 15px;
        background-color: #e3f95785;
        margin-right: 15px;
    }

    .mythings:After {
        content: "";
        display: inline-block;
        width: 15px;
        height: 15px;
        border: 1px solid #448aa9;
        position: absolute;
        left: -2px;
        top: 15px;
    }

    .mythings {
        position: relative;

    }

    .coment-wrapper {
        display: flex;
        flex-direction: column-reverse;
    }

    .mypic {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
        margin: auto;
        margin-top: 50px;

    }

    .coment-in {
        width: 300px;
        line-height: 2.5;
        margin: auto;
        margin-left: 40px;
        background: url(image/backblue.png) no-repeat center bottom;
        background-size: contain;

    }

    /*Hobby*/

    .hobby-title {
        margin: auto;
        font-size: 20px;
        padding-top: 30px;
    }

    .hobbypic {
        margin-top: 20px;
        width: 380px;
        height: 250px;
        object-fit: cover;
    }

    .hobby-wrapper {
        display: flex;
        flex-direction: column-reverse;
        margin: 20px;
    }

    .craft-wrapper {
        display: flex;
        flex-direction: column;
        margin: 20px;
    }

    .hobby-contents {
        margin: auto;

        line-height: 2;
        width: 100%;
    }


    /*Skills*/

    .skills-wrapper {
        display: flex;
        flex-direction: column;
        gap: 50px;
        margin-top: 20px;
    }

    .title3 {
        font-size: 24px;
        padding-bottom: 0px;
        padding-left: 25px;
    }

    .skill-list {
        line-height: 2;
        list-style: none;
        font-size: 24px;
        padding-left: 15px;
    }

    .license-list {
        line-height: 2;
        list-style: none;
        font-size: 18px;
        padding-left: 20px;
    }

    .list {
        padding: 10px;
    }

    .list-image {
        vertical-align: middle;
        padding-right: 10px;
    }

    .license-mark:before {
        content: "";
        display: inline-block;
        width: 15px;
        height: 15px;
        background-color: #e3f95785;
        margin-right: 15px;
    }

    .license-mark:after {
        content: "";
        display: inline-block;
        width: 15px;
        height: 15px;
        border: 1px solid #448aa9;
        position: absolute;
        left: 19px;
        top: 33px;
    }

    .license-mark {
        position: relative;
        padding: 20px;
    }

    /*works*/

    .works-wrapper {
        display: flex;
        flex-direction: column;
        margin-top: 50px;
        gap: 100px;
    }

    .title4 {
        text-align: center;
        margin-bottom: none;
    }

    .works-background {
        width: 360px;
        height: 360px;
        background-color: #fff;
        display: flex;
        justify-content: center;
        /* 横 */
        align-items: center;
    }


    .banner-size {
        width: 350px;
        height: 350px;
        object-fit: cover;
        text-align: center;
    }

    .flyer-size {
        width: 250px;
        height: 350px;
        object-fit: cover;
    }

    .to-pf-wrapper {
        display: none;
    }

    .to-pf-wrapper-sp-only {
        display: inline;
    }

    .attention {
        margin: auto;
        padding-left: 20px;
        font-size: 14px;
        margin-top: 100px;

    }

    .arrow {
        display: none;
    }

    .portfolio-icon {
        display: none;
    }

    .sp-arrow {
        margin: 30px;

    }

    .sp-portfolio-icon {
        margin: 20px;
    }

    .attention {
        background: linear-gradient(transparent 60%, rgba(255, 255, 0, 0.518) 60%);
        width: 80%;
    }

    .sp-arrow {
        display: flex;
        align-items: center;
        padding-left: 30px;
    }


    /* Contact*/

    .contact-section {
        display: flex;
        margin-top: 100px;
        background-image: url(image/contact.jpeg);
        background-size: cover;
        justify-content: center;
    }

    .contact-container {

        margin: 0 auto;
        background-color: #ffffffb6;
        margin-bottom: 50px;
        margin-top: 50px;
    }

    .toiawase-ttl {
        text-align: center;
        margin-top: 0;
        margin-bottom: 30px;
    }

    input,
    textarea {
        padding: 10px;
        border: none;
        margin-top: 5px;
        background-color: #ffffff;
        width: 100%;
        box-sizing: border-box;

    }

    .form-item {
        width: 100%;
        margin: auto;
    }

    .textarea-message {
        height: 200px;
    }


    .submit-btn {
        display: block;
        margin: 30px auto 0;
        padding: 12px 60px;
        background-color: #448ba999;
        color: #fff;
        border: none;
        border-radius: 4px;
        font-weight: bold;
        cursor: pointer;
        transition: opacity 0.3s;
    }

    .submit-btn:hover {
        opacity: 0.8;
    }

    .copyright {
        text-align: center;
        color: #448aa9;
    }

    /* ハンバーガー */

    .hamburger {
        width: 35px;
        margin: 20px;
        cursor: pointer;
    }

    .hamburger-btn:hover {
        opacity: 0.7;
    }

    .hamburger img {
        width: 100%;
    }


    /* メニュー */
    .sp-menu {
        position: absolute;
        top: 0;
        right: 0px;
        width: 35%;
        background: #448ba92d;

    }


    .sp-main-nav {
        list-style: none;
        line-height: 2.7;
        color: #448aa9;
        font-size: 16px;
    }

    .close {
        display: none;

    }

    .active .close {
        display: block;

    }

    .active .open {
        display: none;

    }

}