/* ==========================================
   カラースキーマ
========================================== */
:root {
    --brand-color: #47acb5;
    --brand-color-dark: #3a8f96;
    --theme-gray: #879390;
    --light-background: #F6F3F2;
    --background: #FCF8F8;
    --sub-background: #cfe4de;
    --icon-main-color: #4F625E;
    --icon-color: #4F625E;
    --light-background2: #B6DBE5;
    --coral-orange: #FF7043;
    --dark-grey: #212121;
    --pure-white: #FFFFFF;
}

/* ==========================================
   リセット & 基本スタイル
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-grey);
    background-color: var(--pure-white);
}

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

/* ==========================================
   Header
========================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--sub-background);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    height: 3rem;
    width: 3rem;
}

.logo-text {
    height: 2.5rem;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--icon-main-color);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--brand-color);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--icon-main-color);
}

.menu-icon,
.close-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.hidden {
    display: none !important;
}

.hero-visual {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
}

.marker {
    /* 100%にすると塗りつぶし、40%などにすると下線風になります */
    background: linear-gradient(transparent 60%, rgba(71, 172, 181, 0.3) 60%);
    font-weight: bold; /* 少し強調したほうが綺麗です */
}

/* モバイルメニュー */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
}

.mobile-menu {
    position: fixed;
    top: 4rem;
    right: 0;
    left: 0;
    background-color: white;
    z-index: 40;
    border-bottom: 1px solid var(--sub-background);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.mobile-nav-link {
    color: var(--icon-main-color);
    text-decoration: none;
    padding: 0.5rem 0;
    font-size: 1.125rem;
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: var(--brand-color);
}
/* ==========================================
   Announcement Bar (追加)
========================================== */
.announcement-bar {
    background-color: var(--coral-orange); /* 目立つように既存のコーラルオレンジを使用 */
    color: white;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 100; /* ヘッダーより前面に出す */
}

.announcement-bar p {
    margin: 0;
    letter-spacing: 0.05em;
}

.announcement-bar strong {
    font-size: 1.1rem;
    margin: 0 0.2rem;
}

/* ヘッダーがsticky（固定）なので、位置調整 */
.header {
    top: 0; /* バーがある場合は、スクロール時にここが調整されます */
}
/* ==========================================
   Buttons
========================================== */
.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--brand-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--brand-color-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--brand-color);
    border: 2px solid var(--brand-color);
}

.btn-outline:hover {
    background-color: var(--sub-background);
}

.btn-white {
    background-color: white;
    color: var(--brand-color);
}

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

.btn-lg {
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}
/* 無効化されたボタンのスタイル */
.btn-disabled {
    background-color: #d1d5db !important; /* 薄いグレー */
    color: #9ca3af !important;           /* 文字も薄く */
    cursor: not-allowed;                 /* 禁止マークのカーソル */
    border: none !important;
    opacity: 0.7;
}
.cta-buttons {
    display: flex;
    flex-direction: column; /* スマホでは縦並び */
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row; /* PCでは横並び */
        align-items: flex-start; /* ←ここが重要！頭を揃えます */
    }
    .hero-grid {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .hero-title {
        font-size: 1.8rem; /* スマホで読みやすいサイズに調整 */
        margin-bottom: 1rem;
    }
    .hero-visual {
        margin-top: 2rem;
    }
}
/* 補足テキストのスタイル */
.cta-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 0 1 auto; /* 幅を自動調整 */
}

.cta-note {
    font-size: 0.85rem;
    color: white; /* 背景がブランドカラーなので白が見やすいです */
    opacity: 0.9;
}

/* ==========================================
   Hero Section
========================================== */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--light-background), var(--background));
    padding: 2rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

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

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--brand-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--dark-grey);
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--theme-gray);
    margin-bottom: 2.5rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 24rem;
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    background-color: var(--light-background2);
    border-radius: 1.5rem;
    filter: blur(96px);
    opacity: 0.3;
}

.hero-image-inner {
    position: relative;
}

.hero-image {
    position: relative;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
}

.image-mask {
    position: absolute;
    top: 15%;
    left: 10%;
    right: 10%;
    height: 8%;
    background-color: var(--background);
    border-radius: 0.5rem;
}
.hero {
    padding-bottom:1rem !important; /* 下側の余白をゼロに */
}

#concept {
    padding-top: 1rem !important; /* 次のセクションとの間隔を適切に調整 */
}

.quick-download-bar {
    background-color: var(--brand-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}
.quick-label {
    font-size: 1rem;
    font-weight: bold;
    color: white; /* ラベルも白 */
    margin-bottom: 1.2rem;
    display: block;
}
.quick-badge-img {
    height: 52px; /* スマホでは少し大きくして押しやすく */
    width: auto;
    display: block;
    margin: 0 auto;
}

.quick-flex-container {
    display: flex;
    flex-direction: column; /* 基本は縦並び（スマホ用） */
    align-items: center;
    gap: 2rem; /* バッジ同士の余白を十分に確保 */
    margin-top: 1.5rem;
}

.quick-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* iPhone版の控えめな表現 */
.ios-placeholder-mini {
    height: 44px;
    width: 160px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ios-text-mini {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: bold;
}

.quick-note {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    color: white;
    opacity: 0.9;
}

/* スマホ対応：狭い画面では少し間隔を詰める */
@media (max-width: 480px) {
    .quick-flex-container {
        gap: 1rem;
    }
    .ios-placeholder-mini {
        width: 140px;
    }
}
/* PC・タブレットサイズ（768px以上）で横並びにする */
@media (min-width: 768px) {
    .quick-flex-container {
        flex-direction: row; /* 横並び */
        justify-content: center;
        gap: 3rem;
    }
    .quick-badge-img {
        height: 44px; /* PCでは少し控えめに */
    }
}

/* ==========================================
   Sections
========================================== */
.section {
    padding: 1rem 0;
}

.section-light {
    background-color: var(--background);
}

.section-gray {
    background-color: var(--light-background);
}

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

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--brand-color);
}

.section-description {
    font-size: 1.125rem;
    color: var(--theme-gray);
    max-width: 42rem;
    margin: 0 auto;
}
.notice-description {
    font-size: 0.9rem;
    color: var(--theme-gray);
    max-width: 42rem;
    margin: 0 auto;
}

.step-visual-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.step-visual-item {
    display: flex;
    align-items: center;
    padding: 2rem;
    border-radius: 20px;
    background: white;
    
    /* 修正ポイント：薄くブランドカラーのフチを追加 */
    border: 1.5px solid rgba(71, 172, 181, 0.2); 
    
    /* 影も少しだけブランドカラーに寄せるとより馴染みます */
    box-shadow: 0 8px 20px rgba(71, 172, 181, 0.08); 
    
    transition: all 0.3s ease; /* ホバー時の動き用 */
}
.step-visual-item:hover {
    border: 1.5px solid rgba(71, 172, 181, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(71, 172, 181, 0.15);
}

.step-text {
    flex: 1;
    text-align: left;
}
.step-note {
    font-size: 0.85rem; /* 標準より一回り小さく設定 */
    color: #666;        /* 少し薄めの色にして情報の優先度を下げる */
    margin-top: 4px;    /* 上の文章との間隔を微調整 */
    line-height: 1.4;   /* 行間を少し詰めてスッキリさせる */
}

.step-num {
    display: inline-block;
    color: var(--brand-color);
    font-weight: bold;
    border-bottom: 2px solid var(--brand-color);
    margin-bottom: 0.5rem;
}

/* 画像コンテナのスタイル */
.step-img {
    flex: 0 0 150px; /* 必要に応じてサイズ調整 */
    margin-left: 1.5rem;
    position: relative;
    overflow: hidden; /* これがないと中の画像が角丸からはみ出します */
    border-radius: 15px; /* カードの角丸(20px)より少し小さめにすると綺麗です */
}

.step-img img {
    width: 100%;
    height: auto;
    display: block;
    
    /* 文字を読みやすくするための工夫：少しだけ明るさを落とす */
    filter: brightness(0.95); 
    
    /* 画像自体の角丸（念のためここにも設定） */
    border-radius: 15px;
}

/* もし画像の中の文字が白抜きなら、画像にうっすら影を落とすとさらに見やすくなります */
.step-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.1)); /* 下の方だけうっすら暗く */
    pointer-events: none;
}

/* 各ブロックの色を変える（お好みで） */
.color-1 { background-color: #f0f7f6; }
.color-2 { background-color: #fff9f0; }
.color-3 { background-color: #f6f3f2; }

@media (min-width: 768px) {
    .step-visual-item {
        /* カード全体の高さを少し出すためにパディングを調整 */
        padding: 3rem; 
        gap: 3rem; /* 文字と画像の間の余白 */
        
    }

    .step-img {
        /* 幅の固定を解除し、もっと大きく表示 */
        flex: 0 0 300px; /* 120pxから300px程度へ大幅アップ */
    }

    .step-img img {
        width: 100%;
        height: 200px; /* 高さを固定すると並びが綺麗になります */
        object-fit: cover; /* 枠に合わせて画像を切り抜く（歪まない） */
        border-radius: 20px; /* 少し大きめの角丸に */
        align-items: flex-start;
    }

    .step-text h3 {
        font-size: 1.75rem; /* 見出しも画像に合わせて少し大きく */
        margin-bottom: 1rem;
    }
    .step-visual-item:nth-child(even) {
        flex-direction: row-reverse; /* 2番目、4番目のカードを反転 */
    }
}

/* スマホでは画像と文字を上下に（必要に応じて） */
@media (max-width: 600px) {
    .step-visual-item {
        flex-direction: column-reverse;
        text-align: center;
        align-items: flex-start;
    }
    .step-text { text-align: center; }
    .step-img { margin: 0 0 1rem 0; }
}

/* ==========================================
   Features Section
========================================== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--sub-background);
    background-color: white;
    transition: box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--sub-background);
    border-radius: 50%;
    margin-bottom: 1rem;
    color: var(--brand-color);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--brand-color);
}

.feature-description {
    color: var(--theme-gray);
}

/* ==========================================
   Steps Section
========================================== */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.step-card {
    position: relative;
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.step-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--brand-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background-color: var(--sub-background);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--brand-color);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--brand-color);
}

.step-description {
    color: var(--theme-gray);
}

/* ==========================================
   Benefits Section
========================================== */
.benefits-grid {
    display: grid;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--light-background2);
    text-align: center;
    transition: box-shadow 0.3s;
}

.benefit-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--brand-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: white;
}

.benefit-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--brand-color);
}

.benefit-description {
    color: var(--theme-gray);
}

/* ==========================================
   CTA Section
========================================== */
.cta {
    padding: 5rem 0;
    background: linear-gradient(to right, var(--brand-color), var(--brand-color-dark));
}

.cta-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.cta-icon {
    color: white;
    margin: 0 auto 1.5rem;
}

.cta-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--light-background);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* ==========================================
   Footer
========================================== */
.footer {
    padding: 3rem 0;
    background-color: var(--dark-grey);
    color: var(--theme-gray);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    /* Grid column styling */
}

.footer-title {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.875rem;
}

.footer-heading {
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li {
    font-size: 0.875rem;
}

.footer-links a {
    color: var(--theme-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--brand-color);
}

.footer-bottom {
    border-top: 1px solid var(--icon-main-color);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* ==========================================
   レスポンシブ: タブレット以上
========================================== */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .mobile-menu-btn,
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }

    .hero {
        padding: 8rem 0;
    }

    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        text-align: left;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.875rem;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .hero-image-wrapper {
        justify-content: flex-end;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* ==========================================
   Pricing Section
========================================== */
.pricing-card {
    background-color: white;
    max-width: 40rem;
    margin: 0 auto;
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--sub-background);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-badge {
    background-color: var(--coral-orange);
    color: white;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: bold;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(255, 112, 67, 0.3);
}

.pricing-amount {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--brand-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.pricing-period {
    font-size: 1.125rem;
    color: var(--theme-gray);
    font-weight: normal;
}

.pricing-description {
    margin: 2rem 0;
    color: var(--dark-grey);
    font-size: 1.125rem;
    line-height: 1.8;
}

.pricing-coffee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--icon-color);
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}
/* ==========================================
   Compatibility (相性チェック) Section
========================================== */
.section-compatibility {
    background-color: #fff9f0;
}

.compatibility-grid {
    display: grid;
    grid-template-columns: 1fr; /* スマホは縦並び */
    gap: 2rem;
    max-width: 50rem;
    margin: 0 auto;
}

.compatibility-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: left; /* リストが見やすいように左寄せ */
}

.card-suitable {
    border: 2px solid var(--brand-color);
}

.card-caution {
    border: 2px solid #ddd;
}

.compatibility-heading {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: bold;
}

.compatibility-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.compatibility-list li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

/* PC・タブレット向けの横並び設定 */
@media (min-width: 768px) {
    .compatibility-grid {
        grid-template-columns: 1fr 1fr; /* 横2列 */
    }
}
/* ==========================================
   App Icon Style (追加)
========================================== */

.app-icon-style {
    /* 角を丸くする設定 */
    /* 数字を大きくするともっと丸くなります（例: 50%にすると正円になります） */
    border-radius: 2.5rem; 

    /* 影の設定 */
    /* 影の色をブランドカラー（薄い青緑）に合わせて馴染ませています */
    box-shadow: 0 20px 40px -10px rgba(71, 172, 181, 0.4);

    /* 画像のサイズ調整（コンテナからはみ出さないように） */
    width: 100%;
    height: auto;
    
    /* もし画像自体が少し小さい場合、強制的に引き伸ばさず中央に置く設定 */
    max-width: 100%;
    display: block;
}
/* ==========================================
   レスポンシブ: PC
========================================== */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================
   CTA App Store Badges & QR Custom
========================================== */

/* 親要素の並び替え（PCで横、スマホで縦） */
.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem; /* ボタン同士の距離 */
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start; /* 頭を揃える */
    }
}
/* ==========================================
   Store Badge
========================================== */
/* 各ストアごとの縦並びブロック */
.cta-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* これですべての要素が中央に寄ります */
    gap: 1rem;
    width: 240px; /* 枠の幅を固定して安定させます */
}

/* バッジ画像 */
.store-badge {
    height: 60px; /* バッジの高さ */
    width: auto;
    transition: transform 0.2s;
}
/* Google Playバッジだけ個別に微調整 */
.badge-link img[src*="GetItOnGooglePlay"] {
    height: 54px; /* 元の60pxから少し小さく */
    margin-top: 2px; /* App Storeバッジと文字のベースラインを揃える微調整 */
}

.store-badge:hover {
    transform: scale(1.05);
}

/* QRコードの白い枠 */
.qr-container {
    background: white;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.qr-code {
    width: 120px;
    height: 120px;
}

.qr-label {
    font-size: 0.75rem;
    color: var(--brand-color);
    margin-top: 8px;
    font-weight: bold;
}

/* iPhone版のプレースホルダー（バッジと同じサイズ感にする） */
.badge-placeholder {
    height: 60px;
    width: 100%;
    background: rgba(255,255,255,0.2);
    border: 2px dashed rgba(255,255,255,0.5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text {
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

/* 補足テキストの微調整 */
.cta-note {
    font-size: 0.8rem;
    color: white;
    opacity: 0.9;
    margin: 0;
    text-align: center;
}
/* ==========================================
   【最新修正】仕組みセクション PC版の画像調整
========================================== */
@media (min-width: 768px) {
    /* 1. カード全体を上寄せにする */
    .step-visual-item {
        display: flex !important;
        align-items: flex-start !important; /* 中央ではなく上寄せ */
        padding: 3rem !important;
        gap: 4rem !important; /* 画像と文字の間隔をたっぷり取る */
    }

    /* 2. 画像エリアの幅を大きく確保する */
    .step-img {
        flex: 0 0 450px !important; /* 画像をガッツリ大きく */
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 3. 画像自体の見え方を調整 */
    .step-img img {
        width: 100% !important;
        height: auto !important; /* 高さを自動にして、吹き出しメッセージを全部見せる */
        border-radius: 20px !important;
        object-fit: contain !important; /* 画像を切り取らず全体を表示 */
    }

    /* 4. 反転（Zパターン）の時の余白を微調整 */
    .step-visual-item:nth-child(even) {
        flex-direction: row-reverse !important;
    }

    /* 5. 文字側の位置調整 */
    .step-text {
        padding-top: 1.5rem !important; /* 画像の吹き出しの高さに合わせて少し下げる */
    }
}
