/* ベース設定 */
:root {
    --text-color: #333333;
    --bg-white: #ffffff;
    --bg-beige: #e9dec6; /* 背景のベージュ色 */
    --accent-orange: #d18b5b; /* ハレノヒのオレンジ */
}

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

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

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

a:hover {
    opacity: 0.7;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.pc-only {
    display: block;
}

/* ヘッダー */
.header {
    background-color: var(--bg-white);
    padding: 15px 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 150px;
}
.header-badges {
    display: flex;
    gap: 10px;
}
.header-badges img {
    height: 40px;
}

/* メインビジュアル（ヒーロー） */
.hero {
    /* TODO: 実際の背景画像URLを指定してください */
    background-image: url('img/hero_bg.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
}
.hero-container {
    display: flex;
    justify-content: flex-end; /* 右寄せ */
}
.hero-content {
    text-align: right;
    width: 100%;
    max-width: 450px;
}
.hero-content h1 {
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
}
.hero-content .brand-name {
    font-size: 42px;
    letter-spacing: 2px;
}
.hero-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.target-users {
    font-size: 16px;
    margin-bottom: 20px;
}
.target-users .highlight {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.5;
}
.hero-badges img {
    height: 45px;
    display: block;
    margin: 10px auto;
}

/* イントロダクション */
.intro {
    padding: 80px 0;
    text-align: center;
}
.intro p {
    margin-bottom: 30px;
    font-size: 16px;
}

/* 各ストアボタンのラッパー */
.store-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}
.store-button-group {
    text-align: center;
}
.store-button-group p {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
}
.store-button-group img {
    height: 50px;
}

/* 安心してご利用ください (特徴) */
.features {
    background-color: var(--bg-beige);
    padding: 80px 0;
}
h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 50px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.feature-item {
    text-align: center;
}
.feature-item h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
}
.feature-item img {
    height: 140px;
    object-fit: contain;
    margin-bottom: 20px;
}
.feature-item p {
    font-size: 14px;
    text-align: left;
}

/* ご利用方法 */
.how-to {
    padding: 80px 0;
}
.step-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.step-item {
    flex: 1;
    text-align: center;
}
.step-item img {
    width: 100%;
    max-width: 280px;
    margin-bottom: 20px;
    /* アプリ画面に少し影をつける */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    border-radius: 20px;
}
.step-item p {
    font-size: 14px;
    text-align: left;
}
.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--accent-orange);
    align-self: center;
    margin-bottom: 100px; /* 画像の高さに合わせて調整 */
}

/* フッター */
.footer {
    background-color: var(--bg-beige);
    padding: 20px 0 30px;
    text-align: center;
}
.footer-logo img {
    height: 250px;
    margin-bottom: 0px;
}
.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 30px;
    margin: 50px 0 30px;
}
.footer-links a {
    font-size: 14px;
}
.license {
    font-size: 13px;
    margin-bottom: 10px;
}
.copyright {
    font-size: 12px;
    color: #666;
}

/* =========================================
   スマホ用レスポンシブ対応 (画面幅768px以下)
   ========================================= */
@media screen and (max-width: 768px) {
    .pc-only {
        display: none;
    }
    
    
    .header {
        padding: 5px 0;  /* ← 15px → 5px に縮小 */
    }
    .header-inner {
        justify-content: center; /* スマホではロゴを中央に */
    }
.header-inner img {
    width: 120px;   /* 好きなサイズに調整 */
    height: auto;   /* 縦横比を維持 */
}
    .header-badges {
        display: none; /* スペース節約のためヘッダーのストアボタンは非表示 */
    }
    
/* 〜（他のヘッダー設定などはそのまま）〜 */

    .hero {
        padding: 0;
        /* 【ここを変更】スマホでは画像をアップにし、位置を微調整する */
        background-size: 180% auto;    /* 画像を180%に拡大（好みで調整してください） */
        background-position: 30% 20%;  /* お二人の顔が中央に来るように位置を調整（横 縦） */
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        background-color: #fff; /* 画像の外側が白になるように */
    margin-top: 0;
    }

    .hero-container {
        /* 【ここを変更】画像アップに伴い、見える高さを少し低く調整 */
        padding-top: 60%; /* 画像の拡大率に合わせて、隙間の高さを調整 */
        display: block;
    }

    /* 〜（以下の.hero-contentなどは前回のままでOK）〜 */
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .store-buttons-wrapper {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    /* 特徴グリッドを1列に */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .feature-item img {
        height: 160px;
    }
    
    /* ステップグリッドを縦並びに */
    .step-grid {
        flex-direction: column;
        align-items: center;
    }
    .step-item {
        width: 80%;
        margin-bottom: 10px;
    }
    .step-arrow {
        transform: rotate(90deg); /* 矢印を下向きに */
        margin-bottom: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}