/* メインビジュアル */
.mv {
    display: flex;
    justify-content: center; /* 左右の中央寄せ */
    align-items: center;     /* 上下の中央寄せ */
    position: relative;
}

.mv__bg {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 129px;
}

.mv__logo-image {
    height: auto;
    display: block;
}

.mv__title {
    position: absolute; /* 円の上に浮かせて中央配置 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 真中央に寄せる */
    margin: 0;
    white-space: nowrap; /* 勝手な改行を防ぐ */
    text-align: center;
    font-weight: 500;
    font-size: 36px;
    letter-spacing: 0.3em;
}

.section_background {
    width: 100%;
    background-image:
    url(../image/line.svg), 
    url(../image/bg.jpg);

    background-position: 
    center -10px,   
    center center;  /* JPGは中央配置 */

  /* 繰り返し（それぞれの画像に対応させる） */
    background-repeat: 
    no-repeat,       /* SVG：繰り返さない */
    no-repeat;       /* jpg：繰り返さない（または repeat） */

  /* サイズ（それぞれ個別に指定できる） */
    background-size: 900px 3469px,cover;
    padding-top: 200px;
    padding-bottom: 160px;
}

/* コンセプト */
.concept {
    margin-bottom: 200px;
}

.concept-wrapper {
    position: relative;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.concept-title {
    font-size: 24px;
    font-weight: 500;
}

.concept-text {
    font-size: 20px;
    line-height: 3;
    padding-top: 60px;
}

/* 制作実績 */
.works__container {
    width: 1170px;
    margin: 100px auto 0;
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: space-between;
}

.works__container a {
    margin-bottom: 160px;
}

.works__nav {
    padding-top: 50px;
}

.works__item {
    transition: opacity 0.3s ease, transform 0.25s ease;
}

.works__item:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
    transform: scale(0.99);
}

.works__nav-list {
    display: flex;
    font-weight: 700;
    align-items: center;
    gap: 10px;
}

.works__nav-item {
    background-color: #FBF9F6;
    display: inline-block;
    padding: 6px 30px;
    border-radius: 40px;
    border: 2px solid #E99E58;
}

.works__item-text {
    font-size: 20px;
    font-weight: 700;
    padding-top: 30px;
}

.works__button {
    text-align: center;
}

/* 私について */
.about {
    margin-top: 200px;
}

.about-wrapper {
    width: 1170px;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    margin: 100px auto 0;
}

.name {
    font-weight: 500;
    font-size: 24px;
    padding-bottom: 50px;
}

.career {
    font-weight: 500;
    line-height: 2;
}

.hobby {
    font-weight: 500;
    padding-top: 16px;
}

.about__button {
    padding-top: 80px;
}

/* ==========================================
レスポンシブ：768px以下（タブレット・スマホ）
   ========================================== */
@media screen and (max-width: 768px) {
    /* メインビジュアル */
    .mv__bg {
        margin-top: 130px;
    }

    .mv__logo-image {
        width: 468px;
    }

    .mv__title {
        font-size: 36px;
        line-height: 1.5;
    }

    /* セクション背景 */
.section_background {
    width: 100%;
    background-image:
    url(../image/line-sp.svg), 
    url(../image/bg-sp.jpg);

    background-position: 
    center -5px,
    center center;  /* JPGは中央配置 */

  /* 繰り返し（それぞれの画像に対応させる） */
    background-repeat: 
    repeat-y,       /* SVG：繰り返さない */
    no-repeat;       /* jpg：繰り返さない（または repeat） */

  /* サイズ（それぞれ個別に指定できる） */
    background-size: 74% auto,cover;
    padding-top: 200px;
    padding-bottom: 160px;
}

    /* 制作実績 */
    .works__container {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .works__item-image {
        /* 親要素（.works__item）に対して100%の幅にする */
        width: 100%;
        /* 元の画像サイズ（510px）以上に大きくしたくない場合は以下を追加 */
        max-width: 688px;
        /* 画像の高さを自動調整（歪みを防ぐ） */
        height: auto;
    }

    .works__nav-list {
        flex-wrap: wrap;
    }

    /* 私について (画像上・文章下の縦並び) */
    .about-wrapper {
        width: 100%;
        flex-direction: column;
        gap: 50px;
    }

    .about__container {
        width: 100%;
        text-align: left;
    }

    .about__image {
        width: 100%;
        max-width: 688px;
    }

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

    .about__button {
        padding-top: 80px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* ==========================================
レスポンシブ：480px以下（小型スマホ）
   ========================================== */
@media screen and (max-width: 480px) {
    .mv__logo-image {
        width: 264px;
    }

    .mv__title {
        font-size: 22px;
    }

    .section_background {
        background-image:
            url(../image/line-sp-sub.svg), 
            url(../image/bg-sp.jpg);

        /* 左右中央・上下中央に配置 */
        background-position: 
            center -5px, 
            center center;

        background-repeat: 
            repeat-y, 
            no-repeat;

        background-size: 255px auto,cover;
    }

    /* コンセプト */
    .concept {
        margin-bottom: 180px;
    }

    .concept-title {
        font-size: 18px;
    }

    .concept-text {
        font-size: 16px;
        line-height: 2.2;
    }


/* 実績 */
    .works__nav {
        padding-top: 20px;
    }

    .works__nav-item {
        padding: 5px 30px;
    }

    .works__item-text {
        font-size: 17px;
        padding-top: 30px;
    }

    .works__nav-item {
        font-size: 14px;
    }

/* 私について */
.name {
    font-size: 20px;
    padding-bottom:30px;
}

}