@charset "utf-8";

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

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: #F8FAFC;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ヒーロー */
.profile-hero {
    background-color: #F8FAFC;
    padding: 80px 1.5rem 60px;
    text-align: center;
}

.profile-hero .hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.profile-hero .hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #000;
}

.profile-hero .hero-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2rem;
    color: #333;
}

/* アバウト */
.about-section {
    padding: 2rem 1.5rem;
}

.about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
}

.en-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.en-title span {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    display: block;
    margin-top: 0.25rem;
}

.about-images {
    display: flex;
    gap: 1rem;
}

.about-images img {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-images img.show {
    opacity: 1;
    transform: translateY(0);
}

.about-left {
    width: 50%;
    object-fit: cover;
    border-radius: 10px;
}

.about-right-images {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-right-images img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    border-radius: 10px;
}

/* スキル */
.skills-section {
    background-color: #f8fafc;
    padding: 4rem 1.5rem;
    text-align: center;
}

.skills-section .section-title {
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    margin: 0 auto;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 1100px;
}

.section-title span {
    font-size: 1rem;
    color: #555;
    display: block;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}

.skills-list li {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-family: 'Noto Sans JP', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.skills-list img {
    width: 24px;
    height: 24px;
    display: block;
}

/* スタイル */
.workstyle-section {
    padding: 4rem 1.5rem;
    background-color: #F8FAFC;
}

.workstyle-section .section-title {
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    margin: 0 auto;
    margin-bottom: 20px;
    text-align: left;
    max-width: 1100px;
}

.workstyle-lead {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    max-width: 1100px;
}

.workstyle-list {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.workstyle-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.workstyle-icon img {
    width: 100px;
    height: auto;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-60px) rotate(-80deg);
    transition: opacity 1s ease, transform 1s ease;
}

.workstyle-icon img.show {
    opacity: 1;
    transform: translateX(0) rotate(0);
}


.workstyle-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.workstyle-text p {
    font-size: 1rem;
    line-height: 1.8;
}

/* メッセージ */
.message-section {
    padding: 4rem 1.5rem;
}

.message-section .section-title {
    margin: 0 auto;
    margin-bottom: 16px;
}

.message-inner {
    background-color: rgba(255, 255, 255, 0.5);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.message-lead {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.message-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2.5rem;
}

.message-btn-wrap {
    text-align: center;
}

.btn {
    display: inline-block;
    width: 80%;
    padding: 0.75rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #3B82F6;
    border: 2px solid #3B82F6;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.btn span {
    margin-left: 20%;
    position: relative;
    z-index: 1;
}

/* ホバーアニメーション（左→右） */
.btn::before {
    content: "";
    position: absolute;
    background-color: #3B82F6;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: #fff;
}


.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}


/* 1280pxpx */
@media (max-width: 1280px) {}

/* 768px */
@media (max-width: 768px) {

    /* アバウト */
    .about-images {
        flex-direction: column;
        align-items: center;
    }

    .about-left {
        width: 100%;
        max-height: 500px;
    }

    .about-right-images {
        display: none;
    }

    .about-text {
        font-size: 0.9rem;
    }

    /* スタイル */
    .workstyle-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .workstyle-icon img {
        width: 64px;
    }

    /* メッセージ */
    .btn {
        width: 100%;
        padding-inline-start: .75rem;
    }

    .btn span {
        margin-left: 10%;
    }

}

/* 480px */
@media (max-width: 480px) {

    /* ヒーロー */
    .profile-hero {
        padding: 80px 1.5rem 40px;
    }

    .profile-hero .hero-title {
        font-size: 2.8rem;
    }

    .profile-hero .hero-subtitle {
        font-size: 1.5rem;
    }

    /* アバウト */
    .about-text {
        font-size: 0.75rem;
        line-height: 1.6;
    }

    /* スキル */
    .skills-list {
        justify-content: space-between;
    }

    .skills-list li {
        padding: 10px;
        font-size: .75rem;
    }

    /* スタイル */
    .workstyle-lead {
        font-size: .85rem;
    }

    .workstyle-item {
        gap: 16px;
    }

    .workstyle-text h3 {
        font-size: .85rem;
    }

    .workstyle-text p {
        font-size: .75rem;
    }

    /* メッセージ */
    .message-inner {
        padding: 12px;
    }

    .message-inner h2 {
        text-align: left;
    }

    .message-lead {
        font-size: .85rem;
    }

    .message-text {
        font-size: .75rem;
    }

    .message-text .sp-hidden {
        display: none;
    }

    .btn {
        padding: 0.75rem .5rem;
        font-size: .8rem;
    }

    .btn:hover::before {
        left: -100%;
    }

    .btn:hover {
        color: #3B82F6;
    }

}