@charset "UTF-8";

/* ==========================================================================
   ベースリセット・共通設定
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* 共通コンテナ */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクション共通ヘッダー */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.badge {
    display: inline-block;
    background: #2c3e50;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

header nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

header nav a {
    color: #333;
    font-weight: 500;
}

header nav a:hover {
    color: #e67e22;
}

/* ==========================================================================
   ボタン類
   ========================================================================== */
.btn-primary {
    background-color: #e67e22;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #d35400;
}

.btn-secondary {
    background-color: transparent;
    color: #fff !important;
    border: 2px solid #fff;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #2c3e50 !important;
}

/* テキストリンク（矢印付き用） */
.text-link {
    color: #e67e22;
    font-weight: bold;
    border-bottom: 1px solid #e67e22;
    padding-bottom: 2px;
}

.text-link:hover {
    color: #d35400;
    border-bottom-color: #d35400;
}

/* ==========================================================================
   ヒーローセクション（トップ）
   ========================================================================== */
.hero {
    background: url(/img/01.png);
    color: #fff;
    padding: 200px 0 200px; /* ヘッダー分を考慮 */
    text-align: center;
    margin-top: 0; 
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==========================================================================
   特長（3カラム）セクション
   ========================================================================== */
.intro {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}

.intro h2 {
    margin-bottom: 40px;
    font-size: 1.8rem;
    color: #2c3e50;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
}

.customer-color {
    background: linear-gradient(135deg, #f1c40f, #e67e22);
}

.store-color {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.card p {
    font-size: 0.95rem;
    color: #666;
}

/* ==========================================================================
   機能詳細（PC2列 / スマホ1列）セクション
   ========================================================================== */
.detail-section {
    padding: 80px 0;
    background-color: #f4f8fb;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* PCは2列 */
    gap: 40px;
}

.detail-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.detail-img {
    width: 100%;
    height: 250px; /* 画像の高さを固定 */
    overflow: hidden;
}

.detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 比率を保ちつつ枠いっぱいに */
    transition: transform 0.5s;
}

.detail-item:hover .detail-img img {
    transform: scale(1.05); /* ホバー時に少しズーム */
}

.detail-text {
    padding: 25px;
    flex-grow: 1;
}

.detail-text h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid #e67e22;
    display: inline-block;
    padding-bottom: 5px;
}

/* ==========================================================================
   FAQセクション
   ========================================================================== */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 25px 0;
}

.faq-question {
    font-weight: bold;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    position: relative;
    padding-left: 35px;
}

.faq-question::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: -2px;
    color: #e67e22;
    font-size: 1.3rem;
    font-weight: 900;
}

.faq-answer {
    padding-left: 35px;
    color: #666;
    line-height: 1.7;
    position: relative;
}

.faq-answer::before {
    content: "A";
    position: absolute;
    left: 0;
    top: 0;
    color: #2c3e50;
    font-weight: bold;
}

/* ==========================================================================
   お問い合わせフォーム
   ========================================================================== */
.contact-section {
    padding: 80px 0;
    background: #2c3e50;
    color: #fff;
}

.contact-section .section-header h2,
.contact-section .section-header p {
    color: #fff;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    color: #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.95rem;
}

.required {
    background: #e74c3c;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; /* パディングを含めた幅計算 */
    background: #fdfdfd;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #e67e22;
    outline: none;
    background: #fff;
}

/* セレクトボックスの矢印調整（簡易） */
.select-wrap {
    position: relative;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
    transition: background-color 0.3s, transform 0.1s;
}

.btn-submit:active {
    transform: scale(0.98);
}

/* ==========================================================================
   フッター
   ========================================================================== */
footer {
    background: #222;
    color: #999;
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
}

/* ==========================================================================
   レスポンシブ設定 (スマホ・タブレット対応)
   ========================================================================== */
@media (max-width: 768px) {
    /* ヘッダー */
    .header-container {
        padding: 0 15px;
    }
    
    header nav ul {
        display: none; /* スマホではメニューを隠す（またはハンバーガーメニュー実装推奨） */
    }

    /* ヒーロー */
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* 詳細ブロック */
    .detail-grid {
        grid-template-columns: 1fr; /* 1列にする */
    }

    .detail-img {
        height: 200px; /* 画像高さ調整 */
    }

    /* フォーム */
    .contact-form {
        padding: 20px;
    }
}