@charset 'utf-8';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

/* common */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
}

.btn a {
    max-width: 300px;
    background-color: #B0ECE6;
    display: block;
    border-radius: 30px;
    text-align: center;
    color: #333;
    font-weight: bold;
    padding: 13px 0;
    margin: 0 auto;
    height: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(176, 236, 230, 0.3);
}

.btn a:hover {
    background-color: #98ded6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(176, 236, 230, 0.4);
}

.wrapper {
    max-width: 990px;
    margin: 0 auto;
}

h2 {
    font-size: 48px;
    font-weight: 300;
    color: #333;
    text-align: center;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* 一文字目（ミントグリーン部分）も同様に細く */
h2 span {
    font-size: 48px;
    font-weight: 300;
    color: #B0ECE6;
}

/* 以前の下線（黄色）を廃止 */
h2::after {
    display: none;
}

.font-small {
    font-size: 11px;
    letter-spacing: 0.3em;
    color: #999;
    text-align: center;
    display: block;
    margin-bottom: 20px;

}

/* common end */


/* header */

.site-header {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 100px;
    overflow: hidden;
    filter: brightness(0.8) contrast(1.1);
}

.site-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 30, 28, 0.4);
    z-index: 1;
}

/* テキストをフィルターより前面に */
.site-header .headline {
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* 既存のフォント設定を活かしつつ、可読性をアップ */
.site-header h1 .text-show span,
.site-header .text-show2 {
    color: #F8FBFB;
    letter-spacing: 0.12em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.site-header h1,
.site-header p {
    font-family: Georgia, serif;
    color: #B0ECE6;
}

.site-header h1 {
    font-size: 4.25rem;
    transform: translateY(-130px)
}

.site-header .text-show2 {
    font-size: 60px;
    transform: translateY(-125px)
}

.mv {
    position: absolute;
    bottom: 5%;
    right: 5%;
    z-index: 10;
    color: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 1;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8),
        0 0 4px rgba(0, 0, 0, 0.5);
    padding-top: 7px;
    border-top: 2px solid #B0ECE6;
    pointer-events: none;
    writing-mode: vertical-rl;
}

/* text animation */

main {
    opacity: 0;
    transition: opacity 1.5s ease;
}

body.is-site-visible .mv::after {
    opacity: 1;
}

body.is-site-visible main {
    opacity: 1;
}

.text-show,
.text-show2 {
    display: flex;
    overflow: hidden;
    justify-content: center;
}

.text-show span,
.text-show2 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    will-change: transform, opacity;
}

.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* about */

.about {
    margin-bottom: 200px;
    padding: 0 4%;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    background-color: #B0ECE6;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* 左側：名前・タイトル部分 */
.about-content div:nth-of-type(1) {
    width: 30%;
    margin-top: 0;
    text-align: center;
}

.about-content div:nth-of-type(1) p {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.about-content div:nth-of-type(1) .small {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: #555;
}

/* 右側：白ボックス（紹介文）部分 */
.about-content div:nth-of-type(2) {
    width: 65%;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

/* worrks */
.works {
    margin-bottom: 100px;
    background-color: #F2F9F8;
    padding: 0 4% 177px;
}

.works h2 {
    padding-top: 70px;
}

.works .text {
    margin-bottom: 50px;
    font-size: 14px;
}

.works-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 72px;
}

.works-list li {
    width: 31%;
}

.works-list li:nth-of-type(1),
.works-list li:nth-of-type(2),
.works-list li:nth-of-type(3),
.works-list li:nth-of-type(4),
.works-list li:nth-of-type(5),
.works-list li:nth-of-type(6) {
    margin-bottom: 50px;
}

.works-list li img {
    margin-bottom: 20px;
    object-fit: contain;
    height: auto;
    box-shadow: 0 4px 12px rgba(46, 59, 79, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.works-list li a:hover img {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}


.works-list li a:hover p {
    /* color: #B0ECE6; 
    transition: color 0.3s ease; */
}


.works-list li a {
    text-decoration: none;
}

.attachment-large {
    border-radius: 7px;
}

.works p {
    text-align: center;
    font-size: 13px;
}

.works .btn a {
    /* padding: 6px 0; */
}

.works-list .post-categories li {
    margin-bottom: 5px;
    width: 100%;
    font-size: 12px;
    text-align: center;
}


/* skill */

.skill-content {
    padding: 0 4%;
}

.skill-list {
    max-width: 880px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 50px 55px;
    background-color: #fff;
    border-radius: 12px;
}

.skill-list li {
    width: 41%;
    margin-bottom: 57px;
}

.skill-top {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.skill-top div:nth-of-type(1) {
    margin-right: 10px;
}

.skill-top div:nth-of-type(2) {
    margin-right: 10px;
}

.skill-top h3 {
    font-size: 22px;
    font-weight: normal;
}

/* contact */
.contact {
    background-color: #F2F9F8;
    padding: 150px 0 160px;
    margin-top: 150px;
    text-align: center;
}

.contact h2 {
    margin-bottom: 0;
}

.contact .btn.form {
    margin-top: 20px;
}

/* footer */

.site-footer {
    background-color: #B0ECE6;
    padding: 20px 0;
}

.site-footer small {
    text-align: center;
    display: block;
    color: #333;
    font-size: 11px;
    opacity: 0.8;
}




/* sp */

@media screen and (max-width:650px) {

    .site-header {

        height: 70vh;
        margin-bottom: 80px;
    }

    .site-header h1 {
        font-size: 2.2rem;
        margin-bottom: 5px;
    }

    .site-header .text-show2 {
        font-size: 1.3em;

    }

    h2 {
        font-size: 2.5rem;
    }

    h2::after {
        width: 80px;
    }

    h2 span {
        font-size: 2.5rem;
    }

    .site-header h1 .text-show span,
    .site-header .text-show2 {
        letter-spacing: normal;
    }

    .mv {
        right: 5%;
        bottom: 8%;
        font-size: 12px;
    }

    /* about */
    .about {
        padding: 0 20px;
        margin-bottom: 150px;
    }

    .about-content {
        flex-direction: column;
        padding: 32px 36px;
    }

    .about-content div:nth-of-type(1) {
        width: 100%;
    }

    .about-content div:nth-of-type(2) {
        width: 100%;
    }

    /* works */

    .works {
        padding: 0 20px 100px;
        margin-bottom: 50px;
    }

    .works-list {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .works-list li {
        width: 100%;
    }

    .works-list li:nth-of-type(n+7):nth-of-type(-n+8) {
        margin-bottom: 50px;
    }

    .works-list li:nth-of-type(n+7):nth-of-type(-n+9) img {
        display: block;
        margin: 0 auto 20px;
    }

    /* skill */
    .skill {
        padding: 0 20px;
    }

    .skill-list {
        flex-direction: column;
        padding: 35px 30px;
    }

    .skill-list li {
        width: 100%;
    }

    .skill-list li:nth-of-type(6) {
        margin-bottom: 0;
    }

    .skill-list li p {
        font-size: 0.9rem;
    }

    .contact {
        margin-top: 100px;
    }





}