@charset "utf-8";

@media screen and (min-width: 769px) {
    body {
        color: #000000;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 18px;
        line-height: 1.8;
    }

    p {
        font-size: 16px;
    }



    img {
        opacity: 1;
        transition: opacity 1s ease;
    }


    .container {
        max-width: 980px;
        margin: 0 auto;
    }

    .header .container {
        max-width: 100%;
        padding: 0 20px;
    }

    .header {
        padding: 10px 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10;
    }

    .header.hidden {
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    .header {
        transform: translateY(0);
        transition: transform 0.3s ease;
    }


    .header__inner {
        display: flex;
        justify-content: right;
        align-items: center;
    }

    .header__list {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        position: static;
        border-radius: 50px;
        background-color: rgba(255, 255, 255, 0.7);
        padding: 10px 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    }

    .header__list.scrolled {
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }


    .header__list:hover {
        transform: translateY(0) scale(1.05);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    }

    .header__list.has-background {
        background-color: rgba(255, 255, 255, 0.8);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .header__list .header__item a {
        font-size: 20px;
        color: #000000;
    }

    .header__list .header__item a:hover {
        color: #ff5733;
        font-size: 22px;
        transition: transform 0.3s ease;
    }

    .header .btn {
        font-size: 20px;
        font-weight: bold;
        background-image:
            radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 40%),
            radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 50%),
            radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 45%),
            radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 35%),
            radial-gradient(circle at 60% 50%, rgba(85, 140, 120, 1), #b9ece100 55%),
            radial-gradient(circle at 25% 55%, rgba(85, 140, 120, 0.9), rgba(185, 236, 225, 0) 60%),
            radial-gradient(circle at 75% 60%, rgba(85, 140, 120, 1), rgba(185, 236, 225, 0) 50%),
            radial-gradient(circle at 50% 20%, rgba(185, 236, 225, 0.75), rgba(185, 236, 225, 0) 70%),
            radial-gradient(circle at 50% 80%, rgba(185, 236, 225, 0.7), rgba(185, 236, 225, 0) 70%);
        color: #333;
        border-radius: 100px;
        padding: 10px 48px;
        text-align: center;
        display: inline-block;
        transition: opacity 0.3s;
    }

    .header .btn:hover {
        opacity: 0.85;
    }

    .hamburger {
        display: none;
    }



    .mv {
        height: 100vh;
        background: url(./img/myportfolio02.webp) center/cover no-repeat;
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    /* 光の斜めスジ */
    .mv__glare {
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(135deg,
                rgba(255, 255, 255, 0) 40%,
                rgba(255, 255, 255, 0.15) 50%,
                rgba(255, 255, 255, 0) 60%);
        animation: mv-glare-slide 4s ease-in-out 1s 3;
        animation-fill-mode: forwards;
        pointer-events: none;
        z-index: 0;
        opacity: 0.4;
    }

    @keyframes mv-glare-slide {
        0% {
            transform: translate(-100%, -100%);
        }

        100% {
            transform: translate(100%, 100%);
        }
    }



    .mv__inner {
        position: absolute;
        top: 15%;
        left: 20px;
        transform: translate(-50%, -50%);
    }

    .mv__inner img {
        width: 50%;
        transform: rotate(-20deg);
    }

    .mv__midddle__inner {
        text-align: right;
        position: absolute;
        bottom: 15%;
        right: 3dvb;
    }

    .fusen-wrap {
        position: relative;
        width: 540px;
        /* 少し拡大 */
        max-width: 90vw;
    }

    .fusen-wrap img {
        width: 100%;
        height: auto;
        display: block;
    }

    .mv__midddle__inner .catchphrase {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70%;
        color: #804040;
        font-weight: 700;
        font-size: 1.0rem !important;
        line-height: 1.5;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9);
        word-break: keep-all;
    }

    .mv__midddle__inner .catchphrase p {
        margin: 0.3em 0;
        font-size: inherit !important;
        /* 親のサイズを強制継承 */
    }




    .section__title {
        text-align: center;
        font-size: 40px;
    }


    .section__subtitle {
        text-align: center;
        padding-bottom: 60px;
        font-size: 16px;
        color: #296A65;
    }

    .Service .section__title {
        background: url(./img/servicetitle.webp) center/contain no-repeat;
    }

    .Works .section__title {
        background: url(./img/worktitle.webp) center/contain no-repeat;
    }

    .About .section__title {
        background: url(./img/abouttitle.webp) center/contain no-repeat;
    }



    .Service {
        padding: 80px 0 80px;
    }

    .Service__list {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
    }

    .Service__item {
        width: calc(33.333% - 20px);
        text-align: center;
        margin-bottom: 20px;
    }

    .Service__image img {
        width: 100%;
    }

    .Service__textContent h3 {
        line-height: 1.8;
        padding: 25px 0;
    }

    .Service__textContent p {
        text-align: left;
        line-height: 1.5;
    }




    .Works {
        padding: 80px 0 80px;
        background-color: #f9f3f2;
    }

    .Works__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
    }

    .Works__item {
        width: calc(33.333% - 20px);
        text-align: center;
        margin-bottom: 20px;

    }

    .Works__image {
        position: relative;
    }

    .Works__image img {
        width: 100%;
        height: auto;
    }

    .Works .osusume {
        width: 80%;
        position: absolute;
        left: 50%;
        bottom: 5%;
        transform: translate(-50%, 30%);
        z-index: 10;
    }

    .Works .new {
        width: 50%;
        position: absolute;
        left: 25%;
        bottom: 10%;
        transform: translate(-50%, 30%);
        z-index: 10;
    }



    .Skills {
        padding: 80px 0 80px;
    }

    .Skills .section__title {
        font-size: 30px;
    }

    .Skills__list {
        list-style: none;
        padding: 0;
        margin: 0 auto;
        max-width: 600px;
    }

    .Skills__list li {
        position: relative;
        padding-left: 1.5em;
        margin-bottom: 1em;
        font-size: 1rem;
        color: #333;
        line-height: 1.6;
    }

    .Skills__list li::before {
        content: "✔";
        position: absolute;
        left: 0;
        color: #4caf50;
        font-weight: bold;
    }


    .Category {
        line-height: 1.3;
        background-color: #EEEEEE;
        border-radius: 5px;
        padding: 5px 10px;
        text-align: center;
        display: inline-block;
    }



    .btn-container {
        text-align: center;
    }

    .btn-container .btn,
    .Works .btn {
        display: inline-block;
        font-weight: bold;
        font-size: 18px;
        background-image:
            radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 40%),
            radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 50%),
            radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 45%),
            radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 35%),
            radial-gradient(circle at 60% 50%, rgba(85, 140, 120, 1), rgba(185, 236, 225, 0) 55%),
            radial-gradient(circle at 25% 55%, rgba(85, 140, 120, 0.9), rgba(185, 236, 225, 0) 60%),
            radial-gradient(circle at 75% 60%, rgba(85, 140, 120, 1), rgba(185, 236, 225, 0) 50%),
            radial-gradient(circle at 50% 20%, rgba(185, 236, 225, 0.75), rgba(185, 236, 225, 0) 70%),
            radial-gradient(circle at 50% 80%, rgba(185, 236, 225, 0.7), rgba(185, 236, 225, 0) 70%);
        color: #333;
        border-radius: 100px;
        padding: 15px 60px;
        text-align: center;
        margin: 100px 0 0;
        text-decoration: none;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .btn-container .btn:hover,
    .Works .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }

    .btn-container .btn:active,
    .Works .btn:active {
        transform: translateY(2px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }



    .About {
        padding: 80px 0 80px;
        background-color: #f9f3f2;
    }

    .About .container {
        max-width: 800px;
    }

    .About__item {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 60px;
    }

    .About__image img {
        width: 250px;
    }

    .About__textContent {
        max-width: 50%;
    }

    .About__textContent p {
        padding: 0;

    }

    .About__textContent h3 {
        text-align: left;
        font-size: 25px;
        line-height: 1.8;
        padding: 20px 0;
    }


    .Flow {
        margin-top: 100px;
    }

    .Flow__title {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 1em;
        color: #996666;
        text-align: center;
    }

    .Flow__list {
        list-style: none;
        padding-left: 0;
        counter-reset: step;
        max-width: 700px;
        margin: 0 auto;
    }

    .Flow__list li {
        margin-bottom: 1.5em;
        font-size: 1rem;
        line-height: 1.6;
        padding-left: 5.0em;
        position: relative;
    }

    .Flow__list li::before {
        counter-increment: step;
        content: "Step " counter(step) ": ";
        font-weight: bold;
        color: #996666;
        position: absolute;
        left: 0;
    }


    .copy {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        background-image:
            radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 40%),
            radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 50%),
            radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 45%),
            radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 35%),
            radial-gradient(circle at 60% 50%, rgba(85, 140, 120, 1), rgba(185, 236, 225, 0) 55%),
            radial-gradient(circle at 25% 55%, rgba(85, 140, 120, 0.9), rgba(185, 236, 225, 0) 60%),
            radial-gradient(circle at 75% 60%, rgba(85, 140, 120, 1), rgba(185, 236, 225, 0) 50%),
            radial-gradient(circle at 50% 20%, rgba(185, 236, 225, 0.75), rgba(185, 236, 225, 0) 70%),
            radial-gradient(circle at 50% 80%, rgba(185, 236, 225, 0.7), rgba(185, 236, 225, 0) 70%);
        color: #333;
        height: 60px;
        padding-right: 100px;
    }

    #back-to-top-home {
        display: none;
        position: fixed;
        bottom: 80px;
        right: 20px;
        width: 60px;
        height: 60px;
        background: #996666;
        color: #fff;
        font-size: 16px;
        text-align: center;
        line-height: 60px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    #back-to-top-home.show {
        display: block;
        opacity: 0.7;
    }

    #back-to-top-home:hover {
        opacity: 0.8;
    }

}

/* フェードインアニメーションの定義 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* フェードイン効果を適用するクラス */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in-animate {
    animation: fadeIn 1.5s ease-in forwards;
}

@keyframes flash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.flash-on-load {
    animation: flash 1s ease-in-out 3;
}

html {
    scroll-behavior: smooth;
}