/**
 * home.css - DFSホームページスタイル
 * 帳票ファイリングシステム
 */

/* ===========================================
   リセット・基本スタイル
   =========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Hiragino Sans', 'Meiryo', sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #f8f9fa;
}

/* ===========================================
   ヘッダー
   =========================================== */
header {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    color: white;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    margin-left: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

/* ===========================================
   ヒーローセクション
   =========================================== */
.hero {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    color: white;
    padding: 180px 30px 100px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero .subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 15px;
}

.hero .description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================================
   セクション共通
   =========================================== */
section {
    padding: 80px 30px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #0097a7;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00bcd4, #0097a7);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===========================================
   サービス概要
   =========================================== */
.about {
    background: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.about-highlights {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.highlight-item {
    text-align: center;
    padding: 20px;
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.highlight-icon svg {
    width: 40px;
    height: 40px;
    stroke: #0097a7;
}

.highlight-item h3 {
    color: #0097a7;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.highlight-item p {
    font-size: 0.95rem;
    color: #666;
}

/* ===========================================
   機能紹介
   =========================================== */
.features {
    background: #f8f9fa;
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card .icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
}

/* ===========================================
   料金プラン
   =========================================== */
.pricing {
    background: white;
}

.pricing-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.recommended {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    color: white;
}

.pricing-card.recommended .pricing-price,
.pricing-card.recommended .pricing-features li {
    color: white;
}

.pricing-card.recommended .pricing-features li::before {
    color: #b2ebf2;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff9800;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.pricing-card:not(.recommended) .pricing-name {
    color: #0097a7;
}

.pricing-target {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 25px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
}

.pricing-period {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    color: #555;
}

.pricing-features li::before {
    content: '✓';
    color: #0097a7;
    font-weight: bold;
    margin-right: 10px;
}

.pricing-card.recommended .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-note {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 0.95rem;
    color: #666;
}

.pricing-note p {
    margin-bottom: 10px;
}

/* ===========================================
   こんなお客様に
   =========================================== */
.target {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
}

.target-content {
    max-width: 900px;
    margin: 0 auto;
}

.target-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.target-item {
    background: white;
    padding: 25px 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.target-item:hover {
    transform: translateX(10px);
}

.target-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.target-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
}

.target-text {
    font-size: 1.15rem;
    color: #333;
    font-weight: 500;
}

.target-text span {
    color: #0097a7;
    font-weight: 600;
}

/* ===========================================
   よくある質問
   =========================================== */
.faq {
    background: #f8f9fa;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question, .faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 25px;
}

.faq-question {
    background: white;
    border-bottom: 1px solid #e0e0e0;
}

.faq-question p {
    font-weight: 600;
    color: #333;
    font-size: 1.05rem;
    margin: 0;
}

.faq-answer {
    background: #fafafa;
}

.faq-answer p {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.8;
}

.faq-icon {
    min-width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.faq-icon.answer {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

/* ===========================================
   会社情報
   =========================================== */
.company {
    background: white;
}

.company-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.company-info {
    background: #f8f9fa;
    padding: 30px 40px;
    border-radius: 12px;
}

.company-info p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.company-info a {
    color: #0097a7;
    text-decoration: none;
}

.company-info a:hover {
    text-decoration: underline;
}

/* ===========================================
   フッター
   =========================================== */
footer {
    background: #263238;
    color: #b0bec5;
    padding: 40px 30px;
    text-align: center;
}

footer .logo-footer {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

footer p {
    font-size: 0.9rem;
}

footer .copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #455a64;
    font-size: 0.85rem;
}

/* ===========================================
   レスポンシブ
   =========================================== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        margin: 0 15px;
    }

    .hero {
        padding: 150px 20px 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .about-highlights {
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        max-width: 400px;
        margin: 0 auto;
    }
}
