* {
    box-sizing: border-box;
}

body {
    background-color: #ecd5f1;
}

.header {
    background-color: rgb(196, 131, 202);
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.header-icon img {
    height: 50px;
}

.header-list a {
    margin-left: 20px;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-list a:hover {
    color: #4f3171;
}

.main-visual {
    position: relative;
    width: 100%;
    height: auto;
}

.bg-image {
    width: 100%;
    display: block;
}

main img {
    width: 100%;
    height: auto;
}

.main-visual {
    position: relative;
}

.main-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: auto;
    z-index: 10;
}

.main-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin: 60px 0;
    color: white;
}

.main-list-about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin: 60px 0;
    color: white;
}

.menu-btn {
    display: inline-block;
    background-color: #d2719e;
    color: white;
    padding: 10px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.top-anchor {
    color: #4f3171;
}

.top-anchor {
    display: block;
    text-align: right;
    margin-top: 20px;
    color: #4f3171;
}

.top-anchor:hover {
    color: white;
}

.services-container {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 60px 0;
}

.ribbon-text {
    color: #3a0c0c;
    font-size: 1.5em;
    font-weight: bold;
}

.menu-btn:hover {
    background-color: #c05c8d;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

.video-editing-section {
    padding: 20px;
}

.services-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.services {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.video-digest {
    flex: 1;
    max-width: 50%;
}

.services ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0 auto;
}

.services li {
    margin-bottom: 10px;
}

.video-digest {
    flex: 2;
    min-width: 300px;
}

.section-title {
    background-image: url('./images/ribbon.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px 0;
}

.banner-samples img {
    width: 250px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.banner-samples {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.banner-samples p {
    margin-top: 0%;
}

.banner-web-container {
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0 auto;
}

.sns-samples img {
    width: 150px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.img-sns {
    position: relative;
    width: fit-content;
    height: 200px;
    margin-bottom: 150px;
}

.sns-img {
    position: absolute;
    width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.img1 {
    top: 0;
    left: 0;
    z-index: 1;
}

.img2 {
    top: 60px;
    left: 100px;
    z-index: 2;
}

.img3 {
    top: 120px;
    left: 200px;
    z-index: 3;
}

.sns-samples p {
    margin-top: 0%;
}

.sns-video {
    width: 50%;
    max-width: 320px;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.banner-uunder-text {
    text-align: center;
    margin-top: 60px;
}

.footer {
    background-color: rgb(196, 131, 202);
    height: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.tool-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tool-icons img {
    width: 80px;
    height: auto;
    transition: transform 0.3s;
}

.tool-icons img:hover {
    transform: scale(1.1);
}

.tools-container .top-anchor {
    text-align: right;
    margin-right: 40px;
}

.profile-container {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.main-tagline {
    font-size: 3rem;
    font-weight: bold;
    margin-top: 0%;
}

.marker {
    background: linear-gradient(transparent 60%, #fce8b1 60%);
    border-radius: 20px;
}

.tagline-name {
    font-size: 3rem;
}

.tagline-name-phonetic-reading {
    font-size: 2rem;
}

.okurako-title {
    margin-top: 0%;
    font-size: 25px;
    text-decoration: underline;
}

.text-wrapper {
    width: 80%;
    max-width: 800px;
    text-align: left;
    align-self: flex-start;
    margin-left: 5%;
}

.highlight {
    color: #dc143c;
}

.text-wrapper p {
    margin: 0;
}

.skills li {
    list-style: none;
}

.contact-title {
    background-image: url('./images/ribbon.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    text-align: center;
}

.contact-text {
    color: #3a0c0c;
    font-size: 1.5em;
    font-weight: bold;
}

html {
    scroll-behavior: smooth;
}

@media screen and (max-width: 768px) {
    .main-tagline {
        font-size: 2rem;
        text-align: center;
    }

    .profile-container {
        padding: 20px;
    }

    .tool-icons img {
        width: 60px;
        margin: 10px;
    }

    .contact-title {
        width: 90%;
        height: 40px;
    }

    .main-visual {
        position: relative;
    }

    .main-logo {
        width: 160px;
        height: auto;
    }

    .header {
        height: 30px;
    }

    .main-list,
    .main-list-about {
        flex-direction: column;
        gap: 20px;
        margin: 20px 0;
    }

    .menu-btn {
        width: 80%;
        max-width: 300px;
        text-align: center;
        padding: 12px 20px;
    }

    .services-content {
        flex-direction: column;
        align-items: center;
    }

    .video-digest iframe {
        width: 100%;
        max-width: 350px;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .services,
    .video-digest {
        max-width: 100%;
    }

    .img-sns-desktop {
        display: none;
    }

    .sns-samples img {
        width: 120px;
    }

    .sns-samples {
        margin-top: 40px;
    }

    .banner-samples {
        margin-top: 40px;
    }

    .main-tagline {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 2rem;
    }

    .tagline-name {
        font-size: 2rem;
    }

    .tagline-name-phonetic-reading {
        font-size: 1.2rem;
    }

    .okurako-title {
        font-size: 16px;
        text-align: center;
    }

    .services-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        /* ボタン間の余白 */
    }

    .services-content .menu-btn {
        width: 80%;
        /* スマホでは幅広めに */
        text-align: center;
    }

    .marker {
        font-size: 25px;
    }

    .main-list-about {
        gap: 10px;
    }

    @media screen and (max-width: 1024px) {
        .main-tagline {
            font-size: 2.4rem;
            gap: 10px;
        }

        .tagline-name {
            font-size: 2.2rem;
        }

        .tagline-name-phonetic-reading {
            font-size: 1.4rem;
        }

        .header {
            height: 40px;
        }

        .services-content {
            flex-direction: column;
            align-items: center;
        }

        .video-digest iframe {
            width: 100%;
            max-width: 350px;
            height: auto;
            aspect-ratio: 16 / 9;
        }

        .services,
        .video-digest {
            max-width: 100%;
        }

        .sns-samples {
            margin-top: 40px;
        }

        .banner-samples {
            margin-top: 40px;
        }

        .main-tagline {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 2rem;
        }

        .tagline-name {
            font-size: 2rem;
        }

        .tagline-name-phonetic-reading {
            font-size: 1.2rem;
        }

        .okurako-title {
            font-size: 16px;
            text-align: center;
        }
    }

}