﻿/* 基本設定 */
:root {
    --primary-color: #0056b3; /* 信頼の青 */
    --secondary-color: #003d80; /* 濃い青 */
    --accent-color: #ff9800; /* 目立つオレンジ */
    --bg-light: #f4f8fb;
    --text-color: #333333;
    --white: #ffffff;
    --gray-light: #e0e0e0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-align: center;
}

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

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

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-accent:hover {
    background-color: #e68900;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
}

/* ヘッダー */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.header-btn {
    font-size: 0.9rem;
}

/* ヒーローセクション */
.hero {
    margin-top: 70px; /* ヘッダー分 */
    background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.6)), url('img/hero.png') center/cover no-repeat;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

.hero h2 {
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-campaign-banner {
    background-color: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 30px;
    border: 1px solid rgba(255,255,255,0.4);
}

.hero-campaign-banner strong {
    color: #ffd700;
    font-size: 1.2em;
}

/* お悩みセクション */
.problems {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.problem-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.problem-card {
    background: var(--white);
    flex: 1;
    min-width: 280px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.icon-box {
    font-size: 3rem;
    color: #999;
    margin-bottom: 20px;
}

.problem-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.problem-solution-text {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* 特徴・メリット */
.features {
    padding: 80px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-img {
    flex: 1;
}

.feature-img img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.step-num {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 86, 179, 0.1);
    line-height: 1;
    margin-bottom: -10px;
}

.feature-text h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 導入の流れセクション */
.flow {
    padding: 100px 0;
    background: var(--bg-light);
}

.flow-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    overflow-x: auto;
    padding: 20px 0;
}

.flow-item {
    text-align: center;
    flex: 0 0 auto;
    width: 180px;
}

.flow-step {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.flow-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--secondary-color);
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}

.flow-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.flow-item p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

.flow-arrow {
    font-size: 24px;
    color: var(--primary-color);
    margin: 0 10px;
    flex: 0 0 auto;
}

/* 業務内容 */
.services {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.services .section-title {
    color: var(--white);
}

.services .section-title::after {
    background-color: var(--white);
}

.section-subtitle {
    margin-bottom: 40px;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-card {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 20px;
    border-radius: 8px;
    width: calc(33.333% - 20px);
    box-sizing: border-box;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* キャンペーン */
.campaign {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.campaign-box {
    background: var(--white);
    border: 3px solid var(--accent-color);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.ribbon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 30px;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.campaign-box h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price-strike {
    text-decoration: line-through;
    color: #999;
}

.price-free {
    color: #e60000;
    font-size: 2rem;
    font-weight: bold;
}

.campaign-sub {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}

/* 会社紹介 */
.about {
    padding: 80px 0;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.business-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.business-list li {
    padding: 5px 0;
    font-weight: 500;
}

.business-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.about-info {
    flex: 1;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th, .company-table td {
    padding: 15px;
    border-bottom: 1px solid var(--gray-light);
    text-align: left;
}

.company-table th {
    width: 30%;
    color: var(--primary-color);
}

/* 問い合わせフォーム */
.contact-section {
    padding: 80px 0;
    background-color: #f0f4f8;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    max-width: 700px;
    margin: 0 auto 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.required {
    background: #ff4d4d;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

.optional {
    background: #999;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; /* パディングを含める */
}

textarea {
    resize: vertical;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    border: none;
    box-shadow: 0 4px 0 var(--secondary-color);
}

.btn-submit:active {
    box-shadow: none;
    transform: translateY(4px);
}

.contact-info-footer {
    text-align: center;
    margin-top: 20px;
}

/* フッター */
.footer {
    background-color: #333;
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
}

/* レスポンシブ対応 (SP) */
@media (max-width: 768px) {
    .sp-only { display: inline; }
    
    .hero h2 { font-size: 1.8rem; }
    
    .feature-item, 
    .feature-item.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-card {
        width: calc(50% - 10px);
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .form-wrapper {
        padding: 20px;
    }
    
    .btn-lg {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .service-card {
        width: 100%;
    }
}