/* --- Reset CSS --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-base);
  line-height: 1.6;
  color: var(--color-neutral-black);
  background-color: var(--color-neutral-white);
  overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Design System & Common Styles --- */
:root {
  /* 1. Color System */
  /* 1.1. Primary Colors */
  --color-primary-blue: #00A5DE;
  --color-primary-orange: #FF5A00;
  /* 1.2. Secondary Colors */
  --color-secondary-green: #78C34A;
  --color-secondary-yellow: #FFC300;
  --color-secondary-pink: #F06292;
  --color-secondary-purple: #8e44ad;
  /* 1.3. Neutral Colors */
  --color-neutral-black: #212121;
  --color-neutral-gray: #757575;
  --color-neutral-light-gray: #BDBDBD;
  --color-neutral-border: #e0e0e0;
  --color-neutral-bg: #f7f7f7;
  --color-neutral-white: #FFFFFF;

  /* 1.5. Gradients */
  --gradient-hero-wave: linear-gradient(to right, #8e44ad, #00A5DE);
  --gradient-title-underline: linear-gradient(to right, var(--color-primary-orange), var(--color-secondary-yellow));
  --gradient-title-underline-section: linear-gradient(to right, var(--color-primary-blue), var(--color-secondary-purple));
  --gradient-tie-up-bg: linear-gradient(120deg, var(--color-secondary-pink) 0%, var(--color-primary-blue) 100%);
  --gradient-contact-btn: linear-gradient(to right, var(--color-secondary-pink), var(--color-primary-orange));
  --gradient-download-btn-sp: linear-gradient(to right, var(--color-secondary-pink), var(--color-secondary-yellow));

  /* 2. Typography */
  /* 2.1. Font Family */
  --font-family-base: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  /* 2.2. Font Size */
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-md: 1.25rem;   /* 20px */
  --font-size-lg: 1.5rem;    /* 24px */
  --font-size-xl: 2rem;      /* 32px */
  --font-size-xxl: 2.5rem;   /* 40px */
  /* 2.3. Font Weight */
  --font-weight-normal: 400;
  --font-weight-bold: 700;

  /* 3. Spacing */
  --space-xs: 0.25rem;  /* 4px */
  --space-sm: 0.5rem;   /* 8px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */
  --space-xxl: 3rem;    /* 48px */
  --space-xxxl: 4rem;   /* 64px */

  /* 4. Others */
  /* 4.1. Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  /* 4.2. Box Shadow */
  --box-shadow-card: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.image-placeholder {
    background-color: var(--color-neutral-bg);
    border: 1px solid var(--color-neutral-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-neutral-light-gray);
}
.image-placeholder::before {
    content: 'Image';
}

.text-center {
    text-align: center;
}

.sp-only {
    display: none;
}

.pc-only {
    display: flex;
}

/* --- Floating Download Button --- */
.floating-download-btn {
    display: none; /* PCでは非表示 */
}

/* --- Placeholder Sizes --- */
.logo-header { width: 135px; height: 30px; }
.hero-logo { width: 420px; height: 120px; }
.store-btn { width: 135px; height: 40px; }
.hero-main-img { width: 450px; height: 400px; }
.hero-stats-img { width: 150px; height: 150px; }
.point-card-img { height: 200px; }
.point-card-img-large { height: 250px; }
.avatar-placeholder { width: 60px; height: 60px; border-radius: 50%; }
.voice-card-stats-placeholder { height: 100px; }
.logo-placeholder { 
    width: 160px; 
    height: 80px;
    object-fit: contain;
}
.tie-up-img { width: 400px; height: 250px; }
.client-logo { width: 100px; height: 50px; margin-bottom: var(--space-md); }
.client-logo-img {
    width: 180px;
    height: auto;
    margin-bottom: var(--space-md);
    object-fit: contain;
}
.social-icon { width: 32px; height: 32px; }
.footer-logo-img { width: 100px; height: 22px; }


/* --- Image Settings --- */
.hero-logo,
.store-btn,
.point-card .card-image-placeholder {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    /* Override placeholder styles */
    background-color: transparent;
    border: none;
}

.hero-logo::before,
.store-btn::before,
.point-card .card-image-placeholder::before {
    content: '';
}

.hero-logo {
    background-image: url('images/hero_logo.png');
}

.store-buttons a:nth-child(1) .store-btn,
.store-buttons-center a:nth-child(1) .store-btn {
    background-image: url('images/common_btn_appstore.png');
}

.store-buttons a:nth-child(2) .store-btn,
.store-buttons-center a:nth-child(2) .store-btn {
    background-image: url('images/common_btn_googleplay.png');
}

#about .point-section:nth-of-type(1) .point-card:nth-of-type(1) .card-image-placeholder {
    background-image: url('images/about_point1_01.png');
}
#about .point-section:nth-of-type(1) .point-card:nth-of-type(2) .card-image-placeholder {
    background-image: url('images/about_point1_02.png');
}

#about .point-section:nth-of-type(2) .point-card:nth-of-type(1) .card-image-placeholder {
    background-image: url('images/about_point2_01.png');
}
#about .point-section:nth-of-type(2) .point-card:nth-of-type(2) .card-image-placeholder {
    background-image: url('images/about_point2_02.png');
}
#about .point-section:nth-of-type(3) .point-card .card-image-placeholder {
    background-image: url('images/about_point3_01.png');
}

.avatar-placeholder,
.voice-card-stats-placeholder,
.logo-placeholder,
.tie-up-img {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
}
.avatar-placeholder::before,
.voice-card-stats-placeholder::before,
.logo-placeholder::before,
.tie-up-img::before {
    content: '';
}

#user-voice .voice-card:nth-of-type(1) .avatar-placeholder { background-image: url('images/voice_user_avatar_01.png'); }
#user-voice .voice-card:nth-of-type(2) .avatar-placeholder { background-image: url('images/voice_user_avatar_02.png'); }
#user-voice .voice-card:nth-of-type(3) .avatar-placeholder { background-image: url('images/voice_user_avatar_03.png'); }

#user-voice .voice-card:nth-of-type(1) .voice-card-stats-placeholder { background-image: url('images/voice_stats_01.png'); }
#user-voice .voice-card:nth-of-type(2) .voice-card-stats-placeholder { background-image: url('images/voice_stats_02.png'); }
#user-voice .voice-card:nth-of-type(3) .voice-card-stats-placeholder { background-image: url('images/voice_stats_03.png'); }

#tie-up .logo-grid .logo-placeholder:nth-of-type(1) { background-image: url('images/tieup_logo_01.png'); }
#tie-up .logo-grid .logo-placeholder:nth-of-type(2) { background-image: url('images/tieup_logo_02.png'); }
#tie-up .logo-grid .logo-placeholder:nth-of-type(3) { background-image: url('images/tieup_logo_03.png'); }
#tie-up .logo-grid .logo-placeholder:nth-of-type(4) { background-image: url('images/tieup_logo_04.png'); }
#tie-up .logo-grid .logo-placeholder:nth-of-type(5) { background-image: url('images/tieup_logo_05.png'); }

#tie-up-features .tie-up-feature:nth-of-type(1) .tie-up-img { background-image: url('images/tieup_feature_01.png'); }
#tie-up-features .tie-up-feature:nth-of-type(2) .tie-up-img { background-image: url('images/tieup_feature_02.png'); }

#client-voice .client-voice-card:nth-of-type(1) .logo-placeholder { background-image: url('images/tieup_logo_01.png'); }
#client-voice .client-voice-card:nth-of-type(2) .logo-placeholder { background-image: url('images/tieup_logo_02.png'); }
#client-voice .client-voice-card:nth-of-type(3) .logo-placeholder { background-image: url('images/tieup_logo_03.png'); }


/* --- Header --- */
.site-header {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-neutral-border);
  background-color: var(--color-neutral-white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.site-header .logo img {
  width: 135px;
  height: auto;
}

.menu-toggle {
    display: none; /* PCでは非表示 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    background-color: var(--color-neutral-black);
    height: 3px;
    width: 100%;
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.main-nav ul {
  display: flex;
  gap: var(--space-lg);
}

.main-nav a {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  transition: color 0.3s;
}
.main-nav a:hover {
  color: var(--color-primary-blue);
}

/* --- Hero Section --- */
#hero {
    position: relative;
    height: calc(100vw * 0.5); /* 2:1 aspect ratio */
    max-height: 100vh;
    display: flex;
    align-items: flex-start;
    background-image: url('images/background_pc.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}


#hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 50%;
    padding-top: var(--space-xxxl);
}

.hero-logo {
    margin-bottom: var(--space-md);
}

.good-design {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary-orange);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-size: var(--font-size-xxl);
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
    margin-bottom: var(--space-lg);
    margin-top: var(--space-md);
}

.hero-title-line {
    display: block;
    white-space: nowrap;
    padding: 0 0.2em;
    width: fit-content;
    position: relative;
    background: transparent;
}

.hero-title-line::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary-orange), var(--color-secondary-yellow));
}

.store-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.btn-download.sp-only {
    display: none;
}

.hero-annotation {
    position: absolute;
    bottom: 5px;
    left: var(--space-lg);
    max-width: 900px;
    text-align: left;
    font-size: clamp(7px, 0.5vw + 3px, 9px);
    color: #FFFFFF;
    line-height: 1.4;
    z-index: 3;
    opacity: 0.8;
    white-space: nowrap;
}

/* --- Scroll Down Animation --- */
.scroll-down {
    display: none;
}



/* --- News Section --- */
#news {
    padding: var(--space-xxxl) 0;
    background-color: var(--color-neutral-white);
}

.section-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}
.section-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background: var(--gradient-title-underline-section);
    margin: var(--space-xs) auto 0;
}

#news ul {
    max-width: 800px;
    margin: var(--space-xl) auto 0;
}
#news li {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-neutral-border);
}
#news time {
    font-weight: var(--font-weight-bold);
}

/* --- About Section --- */
#about {
    padding-bottom: var(--space-xxxl);
    background-color: var(--color-neutral-white);
}

.point-section {
    margin-bottom: var(--space-xxxl);
}

.point-title {
    font-size: var(--font-size-xxl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary-blue);
    text-align: center;
}

.point-subtitle {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.point-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}
.point-cards-container.single {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.point-card {
    background-color: var(--color-neutral-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--box-shadow-card);
    text-align: center;
}

.point-card h4 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    margin: var(--space-md) 0;
}

.point-card p {
    color: var(--color-neutral-gray);
}

/* --- User Voice Section --- */
#user-voice {
    padding: var(--space-xxxl) 0;
    background-color: var(--color-neutral-bg);
}

.voice-cards-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.voice-card {
    background-color: var(--color-neutral-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--box-shadow-card);
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
}

.voice-card-left {
    flex: 0 0 120px;
    text-align: center;
}

.voice-card-left .avatar-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-md);
}

.user-info {
    font-weight: var(--font-weight-bold);
}

.user-grade {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-neutral-gray);
    margin-bottom: var(--space-xs);
}

.user-name {
    font-size: var(--font-size-md);
}

.voice-card-right {
    flex: 1;
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.voice-card-text-content {
    flex-basis: 65%;
}

.voice-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-md);
}

.voice-text {
    color: var(--color-neutral-gray);
    line-height: 1.8;
}

.voice-list {
    display: none;
}

.voice-card-stats-placeholder {
    flex-basis: 35%;
    align-self: stretch;
    min-height: 220px;
}

.store-buttons-center {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

/* --- Tie-up Section --- */
#tie-up {
    position: relative;
    padding: var(--space-xxxl) 0;
    color: var(--color-neutral-white);
}

.tie-up-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-tie-up-bg);
    z-index: -1;
}

#tie-up .section-title, #tie-up .section-subtitle {
    color: var(--color-neutral-white);
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xxl);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xxxl);
    flex-wrap: wrap;
}

.tie-up-feature {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xxxl);
}
.tie-up-feature.reverse {
    flex-direction: row-reverse;
}

.tie-up-text {
    flex: 1;
}
.tie-up-text h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary-yellow);
}
.tie-up-text h4 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
}

.tie-up-image {
    flex-shrink: 0;
}

/* --- Client Voice Section --- */
#client-voice {
    padding: var(--space-xxxl) 0;
    background-color: var(--color-neutral-bg);
}

.client-voice-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.client-voice-card {
    background-color: var(--color-neutral-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--box-shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.tag-list {
    justify-content: center;
    gap: var(--space-sm);
}
.tag-list li {
    margin: var(--space-xxs);
}

.tag-list li {
    background-color: var(--color-primary-blue);
    color: var(--color-neutral-white);
    padding: 0.25em 0.75em;
    border-radius: 50px;
    font-size: var(--font-size-sm);
}

.client-voice-card p {
    color: var(--color-neutral-gray);
    width: 100%;
    text-align: left;
}

/* --- Tie-up Nayami Section --- */
#tie-up-悩み {
    padding: var(--space-xxxl) 0;
}

.tie-up-offer {
    background-color: var(--color-neutral-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    text-align: center;
    margin-top: var(--space-xl);
}

.tie-up-offer .tag-list {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.check-list {
    max-width: 800px;
    margin: 0 auto;
}
.check-list li {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
    position: relative;
}
.check-list li::before {
    content: '✔';
    color: var(--color-secondary-pink);
    position: absolute;
    left: 0;
}

/* --- Contact Section --- */
#contact {
    padding: var(--space-xxxl) 0;
}

.contact-button-wrapper {
    text-align: center;
    margin-top: var(--space-xl);
}

.btn-contact {
    display: inline-block;
    padding: var(--space-md) var(--space-xxxl);
    background: var(--gradient-contact-btn);
    color: var(--color-neutral-white);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    border-radius: 50px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-contact span {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
}

/* --- Footer --- */
.footer-main {
    padding: var(--space-xxl) 0;
    background-color: var(--color-neutral-black);
    color: var(--color-neutral-white);
}

.footer-sub {
    padding: var(--space-lg) 0;
    background-color: var(--color-neutral-white);
    color: var(--color-neutral-black);
    font-size: var(--font-size-sm);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-cta p {
    margin-bottom: var(--space-sm);
}

.footer-link {
    color: var(--color-primary-blue);
    text-decoration: underline;
}
.footer-link:hover {
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-icon,
.footer-logo-img {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    /* Override placeholder styles */
    background-color: transparent;
    border: none;
}

.social-icon::before,
.footer-logo-img::before {
    content: '';
}
.social-icon.line { background-image: url('images/footer_social_line.svg'); }
.social-icon.x { background-image: url('images/footer_social_x.svg'); }
.social-icon.note { background-image: url('images/footer_social_note.svg'); }
.social-icon.instagram { background-image: url('images/footer_social_instagram.svg'); }
.social-icon.youtube { background-image: url('images/footer_social_youtube.svg'); }

.footer-logo-img {
    background-image: url('images/footer_logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-nav {
    display: flex;
    gap: var(--space-lg);
}

.footer-nav a {
    transition: color 0.3s;
    color: var(--color-neutral-gray);
}
.footer-nav a:hover {
    color: var(--color-primary-blue);
}

.copyright {
    color: var(--color-neutral-gray);
}

/* --- Responsive Styles --- */
@media (min-width: 769px) {
    .hero-logo {
        width: 29.17vw; /* 420px / 1440px */
        height: 8.33vw; /* 120px / 1440px */
        margin-bottom: 1.11vw; /* 16px / 1440px */
    }
    .store-btn {
        width: 9.375vw; /* 135px / 1440px */
        height: 2.78vw; /* 40px / 1440px */
    }
    .hero-content {
        padding-top: 4.44vw; /* 64px / 1440px */
    }
    .good-design {
        font-size: 0.97vw; /* 14px / 1440px */
        margin-bottom: 1.11vw; /* 16px / 1440px */
    }
    .hero-title {
        font-size: 2.78vw; /* 40px / 1440px */
        margin-bottom: 1.67vw; /* 24px / 1440px */
    }
    .store-buttons {
        gap: 1.11vw; /* 16px / 1440px */
        margin-bottom: 1.67vw; /* 24px / 1440px */
    }
}

@media (max-width: 768px) {
    @keyframes bounce-scroll {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
            opacity: 1;
        }
        40% {
            transform: translateY(-20px);
            opacity: 0.5;
        }
        60% {
            transform: translateY(-10px);
            opacity: 1;
        }
    }

    :root {
        --font-size-xxl: 1.8rem;   /* 28.8px */
        --font-size-xl: 1.5rem;    /* 24px */
        --font-size-lg: 1.25rem;   /* 20px */
    }

    .sp-only {
        display: block;
    }

    .pc-only {
        display: none;
    }

    .site-header .container {
        justify-content: space-between; /* Revert to original */
    }

    .main-nav {
        display: none;
    }

    .main-nav.is-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-neutral-white);
        border-top: 1px solid var(--color-neutral-border);
        padding: var(--space-md);
    }

    .main-nav.is-open ul {
        flex-direction: column;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: var(--space-lg);
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-toggle.is-open span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    #hero {
        background-image: url('images/background_sp.png');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        height: calc(100vw * 1.8); /* 5:9 aspect ratio */
        max-height: 90vh;
        align-items: flex-start;
    }

    #hero .container {
        height: 100%;
        flex-direction: column;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        height: 100%;
        padding-top: var(--space-lg); /* 上部の余白を修正 */
        padding-bottom: 120px; /* 波形との余白を最小化 */
        width: 100%;
    }

    .scroll-down {
        display: flex;
        flex-direction: row-reverse; /* 左右を反転 */
        align-items: flex-start; /* 上揃えに変更 */
        gap: 0;
        position: absolute;
        bottom: 60px; /* さらに位置を下に調整 */
        right: 15px;
        z-index: 5;
        color: var(--color-neutral-white);
        animation: bounce-scroll 2s infinite;
    }

    .scroll-down span {
        font-size: var(--font-size-xs);
        font-weight: var(--font-weight-normal); /* フォントを細く */
        writing-mode: vertical-rl;
        letter-spacing: 0.2em;
    }

    .scroll-arrow-shape {
        width: 0.83em; /* 10px */
        height: 4.67em; /* 56px */
        position: relative;
        margin-right: -0.5em; /* -6px */
    }

    .scroll-arrow-shape::before { /* 縦棒 */
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 4em; /* 48px */
        background-color: currentColor;
    }

    .scroll-arrow-shape::after { /* 三角形 */
        content: '';
        position: absolute;
        bottom: 0.17em; /* 2px */
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 0.42em solid transparent; /* 5px */
        border-right: 0.42em solid transparent; /* 5px */
        border-top: 0.67em solid currentColor; /* 8px */
    }

    .hero-content .hero-logo {
        margin-left: auto;
        margin-right: auto;
        width: 280px; /* スマホ版のロゴサイズを維持 */
        height: 80px; /* スマホ版のロゴサイズを維持 */
    }

    .hero-title-line {
        margin: 0 auto; /* Center the title lines */
    }

    .hero-annotation {
        bottom: 10px;
        left: var(--space-lg);
        right: var(--space-lg);
        max-width: 100%;
        text-align: left;
        color: #FFFFFF;
        opacity: 0.8;
        white-space: normal;
    }

    .store-buttons {
        justify-content: center;
    }


    .btn-download.sp-only {
        display: inline-block;
        padding: var(--space-md) var(--space-xl);
        background: var(--gradient-download-btn-sp);
        color: var(--color-neutral-white);
        font-size: var(--font-size-base);
        font-weight: var(--font-weight-bold);
        border-radius: 50px;
        text-align: center;
        transition: transform 0.3s, box-shadow 0.3s;
        width: 90%;
        margin: 0 auto;
    }
    .btn-download.sp-only:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .point-cards-container, .client-voice-container {
        grid-template-columns: 1fr;
    }
    .voice-cards-container {
        grid-template-columns: 1fr;
    }
    .voice-card {
        flex-direction: column;
        align-items: center;
    }
    .voice-card-left {
        margin-bottom: var(--space-md);
    }
    .voice-card-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .voice-card-text-content {
        width: 100%;
        text-align: left;
    }
    .voice-text, .voice-list {
        flex-basis: 100%;
        padding-right: 0;
        text-align: left;
    }
    .voice-card-stats-placeholder {
        flex-basis: 100%;
        height: 300px; /* スマホではさらに高さを確保 */
        margin-top: var(--space-lg);
    }
    .logo-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    .logo-placeholder {
        width: 100%;
        height: 0;
        padding-bottom: 50%; /* height/width ratio */
        background-color: white;
        border-radius: var(--border-radius-md);
        background-size: 80%;
    }
.tie-up-feature, .tie-up-feature.reverse {
        flex-direction: column;
        gap: var(--space-md);
    }
    #tie-up-features .tie-up-image {
        width: 100%;
        aspect-ratio: 400 / 250;
        border-radius: var(--border-radius-lg);
        overflow: hidden;
    }
    #tie-up-features .tie-up-img {
        width: 100%;
        height: 100%;
        background-size: contain;
    }
    .tie-up-points {
        flex-direction: column;
        align-items: center;
    }
    .section-subtitle {
        text-align: left;
    }

    #news li {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .footer-top, .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }
    .footer-nav {
        flex-direction: column;
        gap: var(--space-md);
    }

    .floating-download-btn {
        display: block;
        position: relative; /* For arrow positioning */
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: var(--space-md);
        background: var(--gradient-download-btn-sp);
        color: var(--color-neutral-white);
        font-size: var(--font-size-base);
        font-weight: var(--font-weight-bold);
        text-align: center;
        z-index: 100;
        transition: transform 0.3s;
    }
    .floating-download-btn:hover {
        transform: translateY(-2px);
    }
    .floating-download-btn .arrow {
        position: absolute;
        right: var(--space-lg);
        top: 50%;
        transform: translateY(-50%);
        font-size: var(--font-size-md);
    }
}

@media (max-width: 430px) {
    html {
        /* 430pxの幅で16px (1rem) になるように計算 (16px / 430px * 100 = 3.72) */
        font-size: 3.72vw;
    }

    .hero-content .hero-logo {
        width: 65.12vw; /* 280px / 430px */
        height: 18.6vw; /* 80px / 430px */
    }

    .hero-content {
        padding-top: 5.58vw; /* 24px / 430px */
        padding-bottom: 27.91vw; /* 120px / 430px */
    }
}

@media (max-width: 480px) {
    .hero-title-line {
        white-space: normal;
    }
}

@media (min-width: 1441px) {
    .hero-logo {
        width: 420px;
        height: 120px;
        margin-bottom: 16px;
    }
    .store-btn {
        width: 135px;
        height: 40px;
    }
    .hero-content {
        padding-top: 64px;
    }
    .good-design {
        font-size: 14px;
        margin-bottom: 16px;
    }
    .hero-title {
        font-size: 40px;
        margin-bottom: 24px;
    }
    .store-buttons {
        gap: 16px;
        margin-bottom: 24px;
    }
}
