:root {
    --bg-color: #FFFFFF;
    --text-color: #000000;
    --accent-color: #F2994A;
    --cta-color: #06C755;
    --font-main: 'Noto Sans JP', sans-serif;
    --max-width: 1000px;
    --spacing-section: 100px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utils */
.sp-br {
    display: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--spacing-section) 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation */
.fade-up-trigger .fade-up-child {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up-trigger.visible .fade-up-child {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Intro Section */
.intro {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    padding: 0;
}

.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.image-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay removed as per user request */

.intro-content {
    text-align: center;
    z-index: 1;
    padding: 0 20px;
}

.sub-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: block;
}

.brand-name {
    font-size: 43px;
    /* Mobile size to match width approx */
    font-weight: 700;
    margin-bottom: 40px;
    /* ~1cm spacing */
    line-height: 1.2;
    color: #000;
    display: inline-block;
    padding: 0 10px 4px 10px;
    /* Top 0, Bottom 4px -> Shifts text up ~2mm relative to center */
    text-shadow: none;
}

.main-catch {
    font-size: 23px;
    /* Reduced by 3px from 26px */
    font-weight: 700;
    line-height: 1.4;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--accent-color);
}

.scroll-text {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.scroll-icon {
    width: 2px;
    height: 40px;
    background: var(--accent-color);
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* About Section */
.profile-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.profile-img img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-text {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.text-body p {
    margin-bottom: 0;
    text-align: justify;
}

.text-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent-color);
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
}

.profile-text .btn-line {
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-top: 20px;  Moved to wrapper */
    width: 100%;
    font-size: 1rem;
}

.line-btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    /* Increased spacing ("1 line down") */
    gap: 8px;
    width: 100%;
}

.line-label-pc,
.line-label-mobile {
    font-weight: 700;
    color: var(--accent-color);
    /* #F2994A */
    font-size: 26px;
    line-height: 1;
}

.line-label-mobile {
    display: none;
}

@media (max-width: 480px) {
    .sp-br {
        display: inline;
    }

    .image-background img {
        object-position: center -80px;
    }

    .container {
        padding: 0 10px;
        /* Reduced from 20px */
    }

    .profile-text {
        width: 90%;
        /* Reverted to 90% for margins */
    }

    .text-body p {
        text-align: left;
    }







    .profile-text .btn-line {
        font-size: 16.5px;
        /* Increased 1pt (approx) */
        padding: 14px 20px;
        white-space: nowrap;
    }

    .line-label-pc {
        display: none;
    }

    .line-label-mobile {
        display: block;
    }
}

/* Introduction Video Section */
.intro-video {
    background-color: #fafafa;
}

.video-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.play-btn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.play-btn-overlay:hover {
    background: rgba(0, 0, 0, 0.1);
}

.play-btn-overlay.is-playing {
    display: none;
}

.play-btn {
    width: 80px;
    height: 80px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(242, 153, 74, 0.4);
    transition: transform 0.2s;
}

.play-btn-overlay:hover .play-btn {
    transform: scale(1.1);
}

.play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #fff;
    margin-left: 5px;
}

/* Works Section */
/* Works Section */
.works-action {
    text-align: center;
    padding: 20px 0;
}

.btn-works {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 48px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(242, 153, 74, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 260px;
}

.btn-works:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(242, 153, 74, 0.5);
    opacity: 1;
}

/* Flow Section */
.flow {
    background-color: #fafafa;
}

.flow-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flow-step {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.step-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.step-label {
    font-weight: 700;
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 1px;
    min-width: 70px;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.step-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #fff4ea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.step-icon .material-symbols-outlined {
    font-size: 32px;
}

.step-text p {
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}

/* Responsive Flow */
@media (max-width: 480px) {
    .flow-step {
        padding: 24px 20px;
    }

    .step-body {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .step-header {
        margin-bottom: 16px;
        padding-right: 0;
        width: 100%;
        align-items: center;
    }

    .step-icon {
        position: static;
        width: 50px;
        height: 50px;
        margin: 0;
        flex-shrink: 0;
    }

    .step-icon .material-symbols-outlined {
        font-size: 26px;
    }

    .step-text p {
        text-align: left;
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Contact Section */
.contact {
    background-color: #F9F9F9;
    text-align: center;
}

.contact-lead {
    margin-bottom: 40px;
}

.cta-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-line {
    background-color: var(--cta-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 16px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.4);
    min-width: 280px;
}

.btn-line:hover {
    background-color: #05b34c;
    opacity: 1;
    /* Override opacity change */
}

/* LINEボタン + タップアイコン */
.btn-line-with-tap {
    position: relative;
    overflow: visible;
}

.tap-icon {
    position: absolute;
    bottom: -20px;
    right: -5px;
    width: 50px;
    height: auto;
    animation: tapBounce 1s ease-in-out infinite;
    pointer-events: none;
}

@keyframes tapBounce {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-8px) rotate(-5deg);
    }
}

.email-link a {
    color: var(--text-color);
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    background-color: #fff;
}

/* Responsive PC */
@media (min-width: 768px) {

    .sub-title {
        font-size: 50px;
    }

    .brand-name {
        font-size: 65px;
        /* Increased by 5px */
    }

    .main-catch {
        font-size: 3.5rem;
    }

    /* About */
    .profile-area {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
    }

    .profile-text {
        text-align: left;
        margin: 0;
        width: 100%;
    }

    .text-body p {
        text-align: left;
    }

    /* Works */
    .works-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}