/* ホーミー - 買物代行サービス スタイルシート */

/* ========================================
   基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --secondary-color: #FF9800;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-light: #F5F5F5;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
}

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

/* ========================================
   ヘッダー
======================================== */
.header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a.active {
    color: var(--primary-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    z-index: 999;
    flex-direction: column;
    padding: 20px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #45a049 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.announcement-badge i {
    font-size: 18px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ========================================
   セクション共通
======================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

/* ========================================
   サービス紹介セクション
======================================== */
.service-section {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 36px;
    transition: var(--transition);
}

.feature-icon-person {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   料金プランセクション
======================================== */
.pricing-section {
    background: var(--bg-color);
}

.price-change-notice {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 5px solid var(--secondary-color);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 50px;
    box-shadow: var(--shadow);
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.notice-header i {
    font-size: 28px;
    color: var(--secondary-color);
}

.notice-header h3 {
    font-size: 24px;
    color: var(--text-color);
}

.notice-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.notice-content ul {
    margin-left: 20px;
    margin-top: 15px;
}

.notice-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.new-pricing-system {
    margin-bottom: 50px;
}

.pricing-subtitle {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
}

.pricing-structure-simple {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.pricing-tier-card-main {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 600px;
    width: 100%;
}

.pricing-tier-card-main.highlighted {
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.2);
}

.tier-header h4 {
    font-size: 24px;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 30px;
}

.tier-price {
    text-align: center;
    margin-bottom: 30px;
}

.tier-amount {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-color);
}

.tier-label {
    display: block;
    font-size: 18px;
    color: var(--text-light);
    margin-top: 10px;
}

.tier-minimum {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
}

.minimum-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.minimum-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.tier-examples {
    border-top: 2px solid var(--border-color);
    padding-top: 30px;
}

.example-title {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.example-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 10px;
    background: var(--bg-light);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 10px;
}

.example-item.highlight {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid var(--primary-color);
}

.example-item .arrow {
    color: var(--primary-color);
    font-weight: 700;
}

.example-item .result {
    font-weight: 600;
    color: var(--primary-color);
}

/* オプションサービス */
.options-section {
    margin-top: 60px;
}

.options-section h3 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.option-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.option-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.option-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    font-size: 28px;
    color: var(--primary-color);
}

.option-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.option-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.option-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 料金比較表 */
.comparison-section {
    margin-top: 60px;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
}

.comparison-section h3 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .old-price {
    color: var(--text-light);
    text-decoration: line-through;
}

.comparison-table .new-price {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========================================
   注文方法セクション
======================================== */
.howto-section {
    background: var(--bg-light);
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #45a049 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.order-tips {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
}

.order-tips h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-tips ul {
    margin-left: 20px;
}

.order-tips li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.delivery-area {
    margin-top: 60px;
    text-align: center;
}

.delivery-area h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.delivery-area p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   FAQセクション
======================================== */
.faq-section {
    background: var(--bg-color);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 18px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-question .q-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

.faq-question .toggle-icon {
    flex-shrink: 0;
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 0 30px 25px 75px;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-answer-content ul {
    margin-left: 20px;
    margin-top: 10px;
}

.faq-answer-content li {
    margin-bottom: 5px;
}

/* ========================================
   お問い合わせセクション
======================================== */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #45a049 100%);
    color: white;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: white;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.contact-card .contact-time {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 10px;
}

/* ========================================
   フッター
======================================== */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 40px 0 20px;
}

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

.footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* ========================================
   レスポンシブデザイン
======================================== */

/* PC表示では改行を非表示 */
.sp-only {
    display: none;
}

@media (max-width: 768px) {
    /* スマホ表示では改行を有効化 */
    .sp-only {
        display: inline;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        text-align: center;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
    }
    
    .example-item {
        flex-direction: column;
        text-align: center;
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .pricing-tier-card-main {
        padding: 30px 20px;
    }
    
    .tier-amount {
        font-size: 42px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .tier-amount {
        font-size: 36px;
    }
    
    .minimum-amount {
        font-size: 28px;
    }
    
    .faq-answer-content {
        padding: 0 20px 20px 20px;
    }
}

/* ========================================
   アニメーション
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ページ読み込みアニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fadeIn 0.5s ease;
}
