/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary-color: #A61469;
    --accent-color: #12767F;
    --text-dark: #1a1a1a;
    --text-gray: #4a5568;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-pink: #FDF2F8;
    --bg-gray: #F9FAFB;
    --border-gray: #E5E7EB;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
}
/* ========================================
   Background Layer (Fixed Background)
   ======================================== */
.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
    z-index: -10;
    pointer-events: none;
}
@media (max-width: 767px) {
    .background-layer {
        background-image: url('../img/background_sp.png');

    }
}

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

button {
    font-family: 'Noto Sans JP', sans-serif;
    border: none;
    cursor: pointer;
}

/* ===========================
   Skip Link
   =========================== */
.skip-link {
    position: absolute;
    top: -9999px;
    left: -9999px;
    z-index: 9999;
    padding: 1rem 2rem;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 4px;
}

.skip-link:focus {
    top: 1rem;
    left: 1rem;
}

/* ===========================
   Header
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(166, 20, 105, 0.95);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(138, 18, 86, 0.5);
}

.header-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.header-menu {
    display: flex;
    align-items: center;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
    margin-right: 2rem;
}

.nav-link {
    background: none;
    color: white;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #e5e5e5;
}

/* Desktop CTA Buttons */
.cta-desktop {
    display: none;
    align-items: center;
    gap: 1rem;
}

.btn-contact-header {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s;
}

.btn-contact-header:hover {
    background: #f5f5f5;
    transform: scale(1.05);
}

.btn-download-header {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s;
}

.btn-download-header:hover {
    background: #0F5A61;
    transform: scale(1.05);
}

/* Hamburger Menu */
.hamburger-menu {
    display: block;
    background: none;
    color: white;
    font-size: 24px;
    padding: 0.5rem;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    border-top: 1px solid rgba(138, 18, 86, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    background: none;
    color: white;
    padding: 0.5rem 0;
    text-align: left;
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: #e5e5e5;
}

.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-contact-mobile,
.btn-download-mobile {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s;
    text-align: center;
}

.btn-contact-mobile {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-contact-mobile:hover {
    background: #f5f5f5;
    transform: scale(1.05);
}

.btn-download-mobile {
    background: var(--accent-color);
    color: white;
}

.btn-download-mobile:hover {
    background: #0F5A61;
    transform: scale(1.05);
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    position: relative;
    min-height: 720px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-image: url('../img/fv-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 767px) {
    .hero-section {
        background-image: url('../img/fv-background_sp.png');
    }
}
.hero-content {
    min-height: 750px;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
    padding-top: 8rem;
}

.hero-container {
    max-width: 1152px;
    margin: 0 auto;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.hero-text {
    text-align: center;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #2d3748;
    line-height: 1.6;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #4a5568;
    line-height: 1.6;
}

.hero-image {
    display: flex;
    justify-content: center;
    padding: 0 2rem;
    margin: 0 1rem;
}

.hero-img {
    width: 100%;
    height: auto;
    max-width: 448px;
    margin: 0 auto;
}

/* Hero CTA Buttons */
.hero-cta {
    grid-column: 1;
    order: 3;
}

.cta-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.btn-contact-hero-mobile,
.btn-download-hero-mobile {
    width: 100%;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
}

.btn-contact-hero-mobile {
    height: 48px;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.68px;
    background: var(--primary-color);
    color: white;
}

.btn-contact-hero-mobile:hover {
    background: #8A1256;
    transform: scale(1.05);
}

.btn-download-hero-mobile {
    height: 46px;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.5px;
    background: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.btn-download-hero-mobile:hover {
    background: #0F5A61;
    transform: scale(1.05);
}

.cta-desktop-hero {
    display: none;
}

/* Responsive Utilities */
.mobile-only {
    display: inline;
}

.desktop-only {
    display: none;
}

/* ===========================
   Problems Section
   =========================== */
.problems-section {
    padding: 4rem 1.5rem;
}

.section-container {
    max-width: 1152px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.title-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.title-decoration svg {
    max-width: 400px;
    width: 100%;
}

.section-description {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.problems-image-container {
    max-width: 1152px;
    margin: 0 auto;
}

.problems-img {
    width: 100%;
    height: auto;
}

/* ===========================
   Solution Section
   =========================== */
.solution-section {
    padding: 4rem 1.5rem;
}

.solution-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: var(--text-gray);
    max-width: 1280px;
    margin: 0 auto;
}

.solution-text {
    font-size: 1.5rem;
    line-height: 1.6;
}

/* ===========================
   Features Section
   =========================== */
.features-section {
    padding: 4rem 1.5rem;
}

.section-container-wide {
    max-width: 1152px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Mobile Features */
.features-mobile {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-item-mobile {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-content-mobile {
    display: flex;
    flex-direction: column;
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-number {
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--text-light);
}

.feature-list li {
    display: flex;
    align-items: flex-start;
}

.feature-list li::before {
    content: "•";
    color: var(--accent-color);
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.feature-image-mobile,
.feature-image {
    display: flex;
    justify-content: center;
}

.feature-image .adjustment{
    box-shadow:none;
    width: 86%;
}

.feature-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.feature-image-mobile .iso-b,
.feature-image .iso-b{
    width: 40%;
    margin:0 auto;
}
/* Desktop Features */
.features-desktop {
    display: none;
}

/* ===========================
   Effects Section
   =========================== */
.effects-section {
    padding: 4rem 1.5rem;
}

.effects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1152px;
    margin: 0 auto;
}

.benefit-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-gray);
    box-shadow: 0 4px 20px rgba(166, 20, 105, 0.15);
}

.benefit-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: #FCE7F3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.benefit-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(21%) sepia(100%) saturate(2148%) hue-rotate(311deg) brightness(94%) contrast(96%);
}

.benefit-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align:left;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.benefit-text {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===========================
   Final CTA Section
   =========================== */
.final-cta-section {
    padding: 6rem 2rem;
    background-color: var(--primary-color);
    text-align: center;
    color: white;
}

.final-cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
}

.btn-final-contact,
.btn-final-download {
    width: 100%;
    max-width: 320px;
    min-width: 280px;
    height: 56px;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.5px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    border-radius: 9999px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-final-contact {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.btn-final-contact:hover {
    background: #f5f5f5;
    transform: scale(1.05);
}

.btn-final-download {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.btn-final-download:hover {
    background: #0F5A61;
    transform: scale(1.05);
}

/* ===========================
   Footer Spacer
   =========================== */
.footer-spacer {
    padding: 2rem 0;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: var(--primary-color);
    padding: 1.5rem 1rem;
}

.footer-container {
    width: 100%;
}

/* Desktop Footer */
.footer-desktop {
    display: none;
}

/* Mobile Footer */
.footer-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo-mobile {
    display: flex;
    align-items: center;
}

.footer-logo-img-mobile {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.footer-links-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-link-mobile {
    color: white;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
}

.footer-link-mobile:hover {
    color: #FFC0CB;
}

.footer-trademark-mobile {
    font-size: 10px;
    color: white;
    text-align: center;
    white-space: nowrap;
    width: 100%;
}

.footer-copyright-mobile {
    font-size: 9px;
    color: white;
    text-align: center;
    white-space: nowrap;
}

.footer-iso-mobile {
    display: flex;
    align-items: center;
}

.footer-iso-img-mobile {
    height: 56px;
    width: auto;
    object-fit: contain;
}

/* ===========================
   Tablet & Desktop Styles (768px+)
   =========================== */
@media (min-width: 768px) {
    /* Final CTA Buttons - Horizontal */
    .final-cta-buttons {
        flex-direction: row;
    }
}

/* ===========================
   Desktop Styles (1024px+)
   =========================== */
@media (min-width: 1024px) {
    /* Header */
    .nav-desktop,
    .cta-desktop {
        display: flex;
    }
    
    .hamburger-menu {
        display: none;
    }
    
    /* Hero Section */
    .hero-section {
        height: 680px;
    }
    
    .hero-content {
        height: 648px;
        min-height: 648px;
    }
    
    .hero-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 4rem;
        align-items: center;
    }
    
    .hero-text {
        grid-column: span 4;
        text-align: left;
        margin-bottom: 0;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.875rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
        margin-bottom: 3rem;
    }
    
    .hero-image {
        grid-column: span 3;
        position: relative;
        padding: 0;
        margin: 0;
        order: initial;
        justify-content: flex-end;
    }
    
    .hero-img {
        transform: scale(1.5) translate(80px, 30px);
        transform-origin: center right;
        max-height: 800px;
        width: 100%;
    }
    
    .hero-cta {
        grid-column: span 4;
        order: initial;
    }
    
    .cta-mobile {
        display: none;
    }
    
    .cta-desktop-hero {
        display: flex;
        gap: 1rem;
    }
    
    .btn-contact-hero-desktop,
    .btn-download-hero-desktop {
        border-radius: 9999px;
        font-weight: 700;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-family: 'Noto Sans JP', sans-serif;
    }
    
    .btn-contact-hero-desktop {
        width: 190px;
        height: 65px;
        font-size: 21.71px;
        line-height: 32.57px;
        letter-spacing: 0.68px;
        background: var(--primary-color);
        color: white;
    }
    
    .btn-contact-hero-desktop:hover {
        background: #8A1256;
        transform: scale(1.05);
    }
    
    .btn-download-hero-desktop {
        width: 260px;
        height: 65px;
        font-size: 20px;
        line-height: 28px;
        letter-spacing: 0.5px;
        background: var(--accent-color);
        color: white;
        border: 2px solid var(--accent-color);
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    }
    
    .btn-download-hero-desktop:hover {
        background: #0F5A61;
        transform: scale(1.05);
    }
    
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: inline;
    }
    
    /* Section Description */
    .section-description {
        font-size: 1.25rem;
    }
    
    /* Solution Section */
    .solution-text {
        font-size: 1.5rem;
    }
    
    /* Features Section */
    .features-mobile {
        display: none;
    }
    
    .features-desktop {
        display: flex;
        flex-direction: column;
        gap: 5rem;
    }
    
    .feature-item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
    
    .feature-content {
        display: flex;
        flex-direction: column;
    }
    
    /* Benefits Grid - 2 columns */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer Desktop */
    .footer-mobile {
        display: none;
    }
    
    .footer-desktop {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
    
    .footer-logo {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    
    .footer-logo-img {
        height: 28px;
        width: auto;
        object-fit: contain;
    }
    
    .footer-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        flex-grow: 1;
        justify-content: center;
        overflow: hidden;
        padding-right: 200px;
    }
    
    .footer-links {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-link {
        color: white;
        font-size: 12px;
        text-decoration: none;
        white-space: nowrap;
        transition: color 0.3s;
    }
    
    .footer-link:hover {
        color: #FFC0CB;
    }
    
    .footer-separator {
        color: white;
        font-size: 12px;
    }
    
    .footer-copyright-inline {
        font-size: 11px;
        color: white;
        white-space: nowrap;
    }
    
    .footer-trademark {
        font-size: 12px;
        color: white;
        text-align: center;
    }
    
    .footer-iso {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    
    .footer-iso-img {
        height: 72px;
        width: auto;
        object-fit: contain;
    }
}

/* ===========================
   Large Desktop (1280px+)
   =========================== */
@media (min-width: 1280px) {
    .footer-logo-img {
        height: 28px;
    }
    
    .footer-iso-img {
        height: 88px;
    }
}
