html {
   font-size: 14px; 
}

@media screen and (min-width: 768px){
    html {
        font-size: 16px; 
     }
}

a {
    color: #333;
    text-decoration: none;
}

.cmn-title {
    text-align: center;
    font-weight: bold;
}

.sub-title {
    display: block;
    color: #2BA49E;
    font-size: 2.5rem
}

.main-title {
    display: block;
    font-size: 3rem;
}


/* header */
.header {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px 16px;
}

.header-logo {
}

.header-list {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.header-item {
    font-size: 1.2rem;
}

@media screen and (min-width: 768px){
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80px;
        padding: 0;
    }

    .header-list {
        margin-top: 0;
    }

    .header-item {
        margin-left: 2.5rem;
        font-size: 1.2rem;
    }
}

/* firstview */
.firstview {
    background-image: url(../image/firstview.jpg);
    background-size: cover;
    background-position: center;
    height: 500px;
}

.firstview-message {
    display: flex;
    justify-content: center;
    align-items: end;
    font-size: 4rem;
    height: 100%;
    letter-spacing: 0.2rem;
    color: #fff;
    mix-blend-mode: difference;
}

@media screen and (min-width: 768px){
    .firstview-message {
        font-size: 6rem;
        letter-spacing: 0.5rem;
    }
}

/* main */
.main {
}


/* about */
.about {
    max-width: 800px;
    margin: 120px auto 0;
    padding: 0 16px;
}

.about-highlight {
    font-size: 1.5rem;
    font-weight: bold;
}

.about-wrapper {
    margin-top: 60px;
}

.about-image {
    text-align: center;
}

.about-text {
    margin-top: 40px;
}

.about-greeting {
}

.about-subtitle {
    font-size: 1.5rem;
    color: #2BA49E;
    margin-bottom: 0.5;
}

.greeting-desc {
}

.about-career {
    margin-top: 30px;
}

.career-list {
}

.career-item {
}

@media screen and (min-width: 768px){
    .about-wrapper {
        display: flex;
    }

    .about-text {
        margin-left: 80px;
        margin-top: 0;
    }
}



/* skills */
.skills {
    max-width: 900px;
    margin: 120px auto 0;
    text-align: center;
    padding: 0 16px;
}

.skills-text {
    margin-top: 60px;
    font-size: 1.5rem;
}

.skills-desc {
    margin-top: 1rem;
}


/* works */
.works {
    max-width: 900px;
    margin: 120px auto 0;
    /* padding: 0px 16px; */
}

.work-list {
    margin-top: 60px;
}

.work-item {
    margin-top: 45px;
    opacity: 0;
}

.work-item.reverse {
    flex-direction: row-reverse;
}

.show {
    transition: all 2s;
    opacity: 1;
}

.work-image {
}

.work-image a:hover {
    opacity:0.5;
	transition:0.3s;
}

.work-image img {
    width: 100%;
}

.work-text {
    margin-top: 2rem;
    padding: 0 16px;
}

.work-title {
}

.work-skill {
}

.work-tools {
}

.work-desc {
    margin-top: 1rem;
}

@media screen and (min-width: 768px){
    .work-item {
        display: flex;
        gap: 0 50px;
    }

    .work-image {
        width: 50%;
        box-shadow: 0 0 5px #333;
    }

    .work-text {
        width: 50%;
        padding: 0;
    }
    
}

/* contact */
.contact {
    max-width: 900px;
    margin: 120px auto 0;
    text-align: center;
    padding: 30px 16px;
}

.contact-text {
    margin-top: 60px;
}

.contact-message {
}

.contact-link {
    margin-top: 30px;
    font-size: 1.2rem;
    font-weight: bold;
}


/* footer */
.footer {
    background-color: #ddd;
    padding: 30px 16px 10px;
}

.footer-list {
    display: flex;
    justify-content: space-between;
    max-width: 400px;
    margin: 0 auto;
}

.footer-item {
    font-size: 1.2rem;
}

.copyright {
    margin-top: 2rem;
    text-align: center;
}