/* ============================================
   GoodSnap Landing Page - Styles
   ============================================ */

/* CSS Variables (Design Tokens) */
:root {
    /* Colors */
    --orange-primary: #ff7d12;
    --orange-dark: #f54900;
    --orange-light: #fff2e7;
    --orange-very-light: #fff7ed;
    --orange-gradient-start: #ff8904;
    --orange-gradient-middle: #ff6900;
    --orange-gradient-end: #f54900;
    
    --green: #35cc4e;
    --pink: #fc79a4;
    --blue: #58cafa;
    --yellow: #fde200;
    
    --text-primary: #3d3432;
    --text-secondary: rgba(61, 52, 50, 0.5);
    --text-white: #ffffff;
    --text-orange: #ca3500;
    
    --bg-white: #ffffff;
    --bg-light-orange: #fff2e7;
    --bg-very-light-orange: #fff7ed;
    --bg-gradient-start: rgba(255, 247, 237, 1);
    --bg-gradient-end: rgba(255, 255, 255, 1);
    
    /* Typography */
    --font-heading: 'Kaisei Opti', serif;
    --font-body: 'Inter', 'Noto Sans JP', sans-serif;
    
    /* Spacing */
    --container-padding: 24px;
    --section-gap: 64px;
    --card-gap: 32px;
    --element-gap: 16px;
    --card-padding: 24px;
    
    /* Border Radius */
    --radius-button: 32px;
    --radius-card: 32px;
    --radius-image: 24px;
    --radius-badge: 33554400px; /* Fully rounded */
    
    /* Shadows */
    --shadow-card: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-button: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-image: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 378px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius-button);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-button);
}

.btn-primary {
    background-color: var(--orange-primary);
    color: var(--text-white);
    width: 100%;
}

.btn-primary:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-orange);
    border: 2px solid #ffd6a7;
}

.btn-secondary:hover {
    background-color: var(--orange-light);
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--text-orange);
}

.btn-white:hover {
    background-color: var(--orange-very-light);
}

/* Section Headers */
.section-header {
    margin-bottom: var(--section-gap);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: bold;
    line-height: 36px;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 0.3955px;
}

.section-underline {
    width: 64px;
    height: 6px;
    margin: 0 auto;
    background: linear-gradient(90deg, var(--orange-gradient-start) 0%, var(--orange-gradient-middle) 50%, var(--orange-gradient-end) 100%);
    border-radius: var(--radius-badge);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    width: 144.93%;
    height: 112.75%;
    top: -6.3%;
    object-fit: cover;
}

.hero-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 144px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-button);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.logo-container {
    width: 280px;
    height: 106px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 100%;
    height: auto;
}

.hero-content {
    position: absolute;
    top: 20vh;
    left: var(--container-padding);
    width: calc(100% - calc(var(--container-padding) * 2));
    z-index: 10;
}

.hero-headline {
    font-family: var(--font-body);
    font-size: 30px;
    font-weight: bold;
    line-height: 39px;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 0.0703px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: normal;
    line-height: 24px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.3125px;
}

.hero-cta {
    position: absolute;
    top: 50vh;
    left: 50%;
    transform: translateX(-50%);
    width: min(330px, calc(100% - (var(--container-padding) * 2)));
    max-width: 100%;
    z-index: 10;
}

.scroll-indicator {
    position: absolute;
    top: 90vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.scroll-text {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.1504px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

/* Scroll Arrow Animation */
@keyframes bounceDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(12px);
    }
}

@keyframes bounceDownCentered {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(12px);
    }
}


.scroll-arrow {
    position: relative;
    font-size: 40px;
    width: 56px;
    height: 56px;
    color: var(--orange-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: bounceDown 1.5s ease-in-out infinite;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    z-index: -1;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.scroll-arrow:hover {
    transform: scale(1.05);
}

/* PC画面での中央寄せ */
@media (min-width: 768px) {
    .scroll-indicator {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Material Icons のスタイル */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: inherit;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    user-select: none;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    z-index: 5;
    color: var(--bg-light-orange); /* SVGの色を制御 */
}

.hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    position: relative;
    width: 100%;
    min-height: 1747px;
    background-color: var(--bg-white);
    padding-top: 80px;
    padding-bottom: 96px;
}

.section-wave-top {
    position: absolute;
    top: -4px;
    left: 0;
    width: 100%;
    height: 85px;
    background-color: var(--bg-light-orange);
    z-index: 1;
    color: var(--bg-light-orange); /* SVGの色を制御 */
}

.position-relative {
    position: relative;
}

.section-wave-top svg {
    width: 100%;
    height: 100%;
    display: block;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: var(--card-gap);
}

.feature-card {
    position: relative;
    background-color: var(--bg-light-orange);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-card);
    padding: var(--card-padding);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 15px 25px -5px rgba(0, 0, 0, 0.15), 0px 8px 10px -6px rgba(0, 0, 0, 0.15);
}

.feature-decorative-wave {
    position: absolute;
    top: 221px;
    left: 0;
    width: 100%;
    height: 128px;
    opacity: 0.3;
    z-index: 0;
}

.feature-decorative-wave img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-image-container {
    position: relative;
    width: 100%;
    height: 192px;
    background-color: transparent;
    border-radius: var(--radius-image);
    margin-bottom: var(--element-gap);
    overflow: hidden;
    box-shadow: var(--shadow-image);
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.feature-badge {
    position: absolute;
    top: 8px;
    left: 12px;
    padding: 8px 20px;
    border-radius: var(--radius-badge);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--text-white);
    letter-spacing: -0.1504px;
    box-shadow: var(--shadow-button);
    z-index: 10;
}

.badge-green {
    background-color: var(--green);
}

.badge-pink {
    background-color: var(--pink);
}

.badge-blue {
    background-color: var(--blue);
}

.badge-yellow {
    background-color: var(--yellow);
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-title {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    color: var(--text-primary);
    letter-spacing: -0.4395px;
}

.feature-description {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: normal;
    line-height: 26px;
    color: var(--text-primary);
    letter-spacing: -0.3125px;
}

.section-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 96px;
    z-index: 1;
    color: var(--bg-light-orange); /* SVGの色を制御 */
}

.section-wave-bottom svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ============================================
   How to Use Section
   ============================================ */
.how-to-section {
    position: relative;
    width: 100%;
    min-height: 1977px;
    background-color: var(--bg-light-orange);
    padding-top: 80px;
    padding-bottom: 96px;
}

.how-to-cta {
    margin-bottom: var(--section-gap);
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-card);
    padding: var(--card-padding);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 15px 25px -5px rgba(0, 0, 0, 0.15), 0px 8px 10px -6px rgba(0, 0, 0, 0.15);
}

.step-image-container {
    position: relative;
    width: 100%;
    height: 192px;
    border-radius: var(--radius-image);
    margin-bottom: var(--element-gap);
    overflow: hidden;
    background: linear-gradient(145.75deg, var(--bg-gradient-start) 0%, rgba(255, 251, 235, 1) 100%);
    box-shadow: inset 0px 2px 4px 0px rgba(0, 0, 0, 0.05);
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-badge {
    display: inline-block;
    width: fit-content;
    height: 32px;
    padding: 6px 20px;
    background: linear-gradient(90deg, #ffedd4 0%, #fef3c6 100%);
    border-radius: var(--radius-badge);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    color: var(--text-orange);
    letter-spacing: -0.1504px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.step-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--text-primary);
    letter-spacing: -0.3125px;
}

.step-description {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: normal;
    line-height: 26px;
    color: var(--text-primary);
    letter-spacing: -0.3125px;
}

/* ============================================
   App Download Section
   ============================================ */
.app-download-section {
    position: relative;
    width: 100%;
    height: 435px;
    overflow: hidden;
}

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

.background-image {
    position: absolute;
    width: 100%;
    height: 102.75%;
    top: -0.09%;
    object-fit: cover;
}

.background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-light-orange) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.app-download-decorative {
    position: absolute;
    top: 224px;
    left: 0;
    width: 100%;
    height: 243px;
    z-index: 1;
}

.app-download-decorative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-download-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 44px var(--container-padding);
    text-align: center;
}

.app-download-title {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: var(--text-primary);
    letter-spacing: 0.0703px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.app-download-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 32px;
    color: var(--text-primary);
    letter-spacing: 0.0703px;
}

.app-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.app-badge-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.app-badge-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.app-badge {
    height: 60px;
    width: auto;
}

/* ============================================
   Usage Guide Section
   ============================================ */
.usage-guide-section {
    position: relative;
    width: 100%;
    min-height: 352px;
    background-color: var(--bg-very-light-orange);
    padding: 32px var(--container-padding) 96px;
}

.usage-guide-decorative {
    position: absolute;
    top: 0;
    left: 0;
    width: 256px;
    height: 256px;
    opacity: 0.1;
    z-index: 0;
}

.usage-guide-decorative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.usage-guide-section .section-header {
    margin-bottom: 24px;
}

.usage-guide-section .section-title {
    font-size: 24px;
    line-height: 32px;
}

.usage-guide-description {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: normal;
    line-height: 26px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.3125px;
    margin-bottom: 20px;
}

.usage-guide-section .btn-secondary {
    display: block;
    width: 200px;
    margin: 0 auto;
}

/* ============================================
   Service Introduction Section
   ============================================ */
.service-intro-section {
    position: relative;
    width: 100%;
    min-height: 394px;
    background: linear-gradient(177.625deg, rgba(245, 73, 0, 1) 1.9131%, rgba(202, 53, 0, 1) 94.792%);
    padding: 37px var(--container-padding) 96px;
    overflow: hidden;
}

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

.service-icon-1 {
    position: absolute;
    top: 0;
    left: -6px;
    width: 384px;
    height: 384px;
    opacity: 0.3;
}

.service-icon-2 {
    position: absolute;
    top: 74px;
    left: 0;
    width: 320px;
    height: 320px;
    opacity: 0.3;
}

.service-intro-title {
    position: relative;
    z-index: 10;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: bold;
    line-height: 39px;
    text-align: center;
    color: var(--text-white);
    letter-spacing: 0.0703px;
    margin-bottom: 26px;
}

.service-intro-description {
    position: relative;
    z-index: 10;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: normal;
    line-height: 26px;
    text-align: center;
    color: #ffedd4;
    letter-spacing: -0.3125px;
    margin-bottom: 26px;
}

.service-intro-section .btn-white {
    position: relative;
    z-index: 10;
    display: block;
    width: 200px;
    margin: 0 auto;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ============================================
   Main Header (Sticky after hero)
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.main-header.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-header-container {
    max-width: 378px;
    margin: 0 auto;
    padding: 11px var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 57px;
}

.main-header-logo {
    width: 138px;
    height: 52px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.main-header-logo-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.btn-header {
    width: auto;
    padding: 8px 24px;
    height: 35px;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    white-space: nowrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    position: relative;
    width: 100%;
    min-height: 589px;
    background-color: var(--bg-white);
    padding-top: 64px;
    padding-bottom: 0;
}

.footer-logo {
    width: 182px;
    height: 128px;
    margin: 0 auto 48px;
}

.footer-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    text-align: center;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.3125px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--orange-primary);
}

.footer-copyright {
    border-top: 1px solid rgba(61, 52, 50, 0.5);
    padding-top: 32px;
    padding-bottom: 32px;
}

.footer-copyright p {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    text-align: center;
    color: var(--text-secondary);
    letter-spacing: -0.1504px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* スクロールアニメーション用のクラス */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

/* ============================================
   Responsive Design (Tablet / PC)
   ============================================ */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
        padding: 0 32px;
    }
    
    .main-header-container {
        max-width: 600px;
        padding-left: 32px;
        padding-right: 32px;
    }
    
    .section-title {
        font-size: 36px;
        line-height: 1.3;
    }
    
    .hero-headline {
        font-size: 36px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .feature-title,
    .step-title {
        font-size: 20px;
    }
    
    /* Hero: PCで画像が横に伸びすぎないように */
    .hero-image {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        transform: none;
        object-position: center center;
    }
    
    /* ヒーローCTAボタンは幅を抑えて中央 */
    .hero-cta {
        width: 360px;
    }
    
    .hero-cta .btn-primary {
        width: 100%;
        max-width: 360px;
    }
    
    /* セクションの固定min-heightを緩和（PCでは内容に合わせる） */
    .features-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 120px;
    }
    
    .how-to-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 120px;
    }
    
    .app-download-section {
        min-height: 435px;
        height: auto;
        padding-bottom: 48px;
    }
    
    .usage-guide-section {
        min-height: auto;
        padding: 48px var(--container-padding) 120px;
    }
    
    .service-intro-section {
        min-height: auto;
        padding: 60px var(--container-padding) 120px;
    }
    
    .footer {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 32px;
    }
    
    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }
    
    .usage-guide-section .btn-secondary,
    .service-intro-section .btn-white {
        min-width: 200px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 40px;
    }
    
    .main-header-container {
        max-width: 960px;
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .features-grid,
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--card-gap);
    }
    
    .features-section .container,
    .how-to-section .container {
        max-width: 960px;
    }
    
    .app-badges {
        flex-direction: row;
        justify-content: center;
        gap: 24px;
    }
    
    .app-badge {
        height: 56px;
    }
    
    .section-title {
        font-size: 42px;
        line-height: 1.25;
    }
    
    .hero-headline {
        font-size: 42px;
        line-height: 1.25;
    }
    
    .hero-content {
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 640px;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .how-to-cta {
        margin-bottom: 48px;
    }
    
    .how-to-cta .btn-primary {
        max-width: 360px;
        margin: 0 auto;
        display: block;
    }
    
    .feature-image-container,
    .step-image-container {
        height: 220px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
        padding: 0 48px;
    }
    
    .main-header-container {
        max-width: 1200px;
        padding-left: 48px;
        padding-right: 48px;
    }
    
    .features-grid,
    .steps-grid {
        gap: 40px;
    }
    
    .feature-card,
    .step-card {
        padding: 32px;
    }
    
    .app-download-content {
        padding: 60px 48px;
    }
    
    .app-download-title {
        font-size: 28px;
    }
    
    .app-download-subtitle {
        font-size: 18px;
    }
}

/* パフォーマンス最適化 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

