@charset "UTF-8";

* {
    font-family: "Montserrat","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
  }

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100vh;
    min-height: 1000px;
    margin: 0;
    padding: 100px 0;
    background-image: url(../../assets/img/bg.webp);
}


/* profile-card */
.profile-card-wrapper {
    width: 500px;
    height: 800px; /* カードの高さ */
    padding: 66px 0 44px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.profile-card {
    text-align: center;
    width: 100%;
    padding: 0;
    margin: 0;
    }

.profile-icon-block {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 150px;
}

.profile-icon-hr {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
}
.profile-icon-hr::before,
.profile-icon-hr::after {
    content: '';
    position: absolute;
    height: 1.5px;
    background-color: #c8cccf;
}
.profile-icon-hr::before {
    left: 0;
    right: calc(50% + 90px);
}
.profile-icon-hr::after {
    left: calc(50% + 90px);
    right: 0;
}

.profile-icon {
    position: relative;
    width: 160px;
    height: 160px;
    z-index: 2;
}
.profile-icon img {
    width: 100%; /* アイコンのサイズ */
    height: 100%; /* アイコンのサイズ */
    clip-path: circle(42% at 50% 50%); /* 円形に切り抜く */
    object-fit: cover;
}

.profile-name {
    font-family: "Source Sans Pro", sans-serif;
    margin: 15px 0 0;
    letter-spacing: 7px;
    font-size: 28px;
    color: #313F47;
    text-transform: uppercase;
}

.profile-occupation {
    font-family: "Source Sans Pro", sans-serif;
    margin: 20px 0 50px;
    text-transform: uppercase;
}

.profile-contents {
    text-align: center;
    width: 80%;
    padding: 0;
    margin: 0 auto;

}

.profile-card p {
    color: #414F57;
}

.profile-description {
    margin: 40px 0;
}

.profile-card hr {
    width: 100%;
    color: #c8cccf;
}


/* OtherSiteIcons in profile-card */
.rel-site-icons {
    display: inline-block;
    justify-content: center;
    width: 100%;
    margin: 40px 0;
}

.rel-site-icons ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.rel-site-icons li {
    margin: 0 8px 10px;
}
.rel-site-icons a {
    color: #c8cccf;
    border-radius: 100%;
    border: solid 1px #c8cccf;
    height: 60px;
    width: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 25px;
}
.rel-site-icons a:hover {
    color: #9932cc;
    border-color: #9932cc;
}
.rel-site-icons a:active {
    color: #9932cc;
    border-color: #9932cc;
    opacity: 0.7;
}


/* ArrowIcon(link to main) */
.move-main-section {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}
.move-main-section a {
    color: #4f40d6;
    font-size: 60px;
    text-shadow: 3px 3px 1.5px rgba(0,0,0,0.7); /* 影を追加 */
}
.move-main-section a:hover {
    color: #5a57e7;
    text-shadow: 4px 4px 2px rgba(0,0,0,0.5); /* hover時の影を設定 */
}
.move-main-section a:active {
    color: #5a57e7;
    opacity: 0.7;
    text-shadow: 2px 2px 1px rgba(0,0,0,0.3); /* active時の影を設定 */
}


/* nav */
#global-nav {
    display: flex;
    width: 100%;
    background-color: #1ca9e3;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2); /* 影を追加 */
}
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

.nav-list-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    padding: 0;
    margin: 0;
}
.nav-list-header li {
    list-style: none;
    margin: 0 20px;
}
.nav-list-header a {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}
.nav-list-header a:hover {text-decoration: underline;}
.nav-list-header a:active {
    text-decoration: underline;
    opacity: 0.7;
}



/* main */
main {
    color: #333;
    font: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', Questrial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /*
    height: 2000px;
    */
    background: #f5f5f5;
}

.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1320px;
    padding: 0;
    margin: 100px 60px 50px;
}

.section-title {
    font-size: 50px;
    margin-bottom: 50px;
}


/* works-section */
.works-contents-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    margin: 0;
}

.works-content {
    display: flex;
    justify-content: space-between; /* test */
    width: 100%;
    margin: 0 60px 150px;
    padding: 0;
}

.works-content-img,
.works-content-description {
    width: 50%;
    padding: 0;
}

.works-content-img {
    max-width: 600px;
}

.works-content-description {
    margin-left: 50px;
    margin-right: 50px; /* 右側の余白を追加 */
}

.works-content-img img {
    width: 100%;
}

.works-content-img p,
.works-content-description p {
    margin: 0;
}


/* skill-section */
#skill-section {
    display: flex;
    align-items: stretch;
    width: 100%;
    padding: 0;
    margin: 0;

}

#skill-section h2 {
    text-align: center;
}

.skill-contents-wrapper {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0;
    margin: 0 60px;
}

.skill-title {
    margin: 0;
    font-size: 18px;
    color: #37a9f5;
}

.skill-contents-wrapper p {
    margin: 0 0 20px;

}


/* contact-section */
.contact-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    background-color: #1ca9e3;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}
.contact-button a {
    color: #fff;
    text-decoration: none;
}
.contact-button:hover {background-color: #0c7abf;}
.contact-button:active {
    background-color: #0c7abf;
    opacity: 0.7;
}


/* footer */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #333;
}

.nav-list-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.nav-list-footer li {
    list-style: none;
    margin: 0 20px;
}
.nav-list-footer a {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
}
.nav-list-footer a:hover {text-decoration: underline;}
.nav-list-footer a:active {
    text-decoration: underline;
    opacity: 0.7;
}

.copyright {
    color: #8c8c8c;
}


/* responsive(Tablet & smartphone) */
@media screen and (max-width: 767px) {

    /* works-section */
    .works-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
        margin: 0 0 150px;
    }

    .works-content-img,
    .works-content-description {
        width: 100%;
        padding: 0;
    }

    .works-content-img {
        max-width: 100%;
    }

    .works-content-description {
        margin-left: 0;
        margin-right: 0;
    }

}


/* responsive(smartphone) */
@media screen and (max-width: 550px) {

    /* profile-card */
    .profile-card-wrapper {
        width: 90%;
        min-width: 350px;
    }


    /* nav */
    .nav-list-header {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        min-height: 50px;
    }

    .nav-list-header li {
        margin: 10px 20px;
    }

    /* footer */
    .nav-list-footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
    }

    .nav-list-footer li {
        margin: 10px 20px;
    }

}
