@charset "UTF-8";

* {
    box-sizing: border-box;
    font-family: Helvetica;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul {
    list-style: none;
    padding-left: 0;
}

a {
    text-decoration: none;
    color: #165e52;
    font-weight: bold;
    text-decoration: none;

    transition: color 0.2s;
}

a:hover {
    color: #50a899;
}

body {
    background-color: #fffce8;
}

header {
    background-color: rgba(130, 255, 234, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-list {
    display: flex;
    justify-content: space-around;
    font-size: 24px;
}

/* pagetop */
html {
    scroll-behavior: smooth;
}

.pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    width: 60px;
    height: 60px;
    background: #165e52;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    opacity: 0.9;
}


.main-visual {
    padding-bottom: 54px;
}

.main-visual_sp {
    display: none;
}

h2 {
    text-align: center;
    padding-top: 108px;
    padding-bottom: 28px;
}

section {
    padding-left: 40px;
    padding-right: 40px;
    min-width: 600px;
}

/* Work */
figure {
    text-align: center;
}

figcaption {
    padding-top: 24px;
    font-size: 20px;
}

.work ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 250px;
    gap: 24px;
    padding: 0 40px;
    border: #fff;
}

.work ul li {
    background-image: url(../img/work-frame.webp);
    width: 30%;
    padding: 4px;
}

.work ul li figure {
    background-color: #fff;
    padding: 24px;
}

.work4 {
    background-image: url(../img/work-frame.webp);
    padding: 12px;
    width: 90%;
    margin: 40px auto;
}

.work4:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.work4 figure {
    background-color: #fff;
    padding: 24px;
}

.work-img {
    width: 80%;
}

/* About */
.about-content {
    background-color: #fff;
    max-width: 50%;
    min-width: 520px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 40px;
    font-size: 20px;
    line-height: 40px;
}

.about-name {
    font-size: 24px;
    padding-bottom: 32px;
}

.about-frame {
    background-image: url(../img/about-frame.webp);
    padding: 40px 0px;
    max-width: 800px;
    margin: auto;
}

/* Skill */
.skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 64px 80px;
    line-height: 32px;
    color: #165e52;
}

.skill-list div {
    width: 40%;
}

dt {
    padding: 12px 0;
    font-size: 36px;
    border-bottom: #165e52 solid 2px;

}

dd {
    margin-left: 0;
    font-size: 24px;
    padding-top: 12px;
}

.qualification {
    font-size: 20px;
}

.qualification::before {
    content: "◆";
}

footer {
    background-color: #fff081;
    text-align: center;
    padding: 40px 0 12px 0;
}

.copyright {
    color: #b4a954;
    padding-top: 12px;
}

@media screen and (max-width: 768px) {
    .main-visual_pc {
        display: none;
    }

    .main-visual_sp {
        display: block;
    }

    /* work */

    .work ul {
        flex-direction: column;
        align-items: center;
    }

    .work ul li {
        width: 70%;
        padding: 36px 0;
        margin: 20px;
    }

    /* skill */
    .skill-list {
        flex-direction: column;
    }

    .skill-list div {
        width: 100%;
        padding: 40px 0;
    }

}