/* --- デザイン定数設定 --- */
:root {
    --primary: #00458A;      /* ロゴの濃い青色 */
    --bright-blue: #008cff;  /* ボタン用の明るい青 */
    --accent: #97D700;       /* ロゴの明るい緑色 */
    --accent-light: #f0fbdb;
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --text-main: #334155;    
    --text-muted: #64748b;   
    --border: #e2e8f0;       
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* --- リセット & 基本設定 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Noto Sans JP', sans-serif; 
    line-height: 1.8; 
    color: var(--text-main); 
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 120px 0; }
.bg-light { background-color: var(--light); }
.text-center { text-align: center; }
.position-relative { position: relative; }

.text-keep { display: inline-block; white-space: nowrap; }

/* 見出しデザイン */
.section-title { 
    font-size: 2.8rem; text-align: center; margin-bottom: 72px; font-weight: 900; 
    color: var(--primary); letter-spacing: -0.02em;
}
.section-title::after { 
    content: ''; display: block; width: 60px; height: 6px; 
    background: var(--accent); margin: 24px auto 0; border-radius: 10px;
}

/* ナビゲーション */
.navbar { 
    height: 90px; display: flex; align-items: center; position: sticky; 
    top: 0; background: rgba(255,255,255,0.98); z-index: 1000; 
    box-shadow: 0 1px 0 var(--border);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo img { height: 48px; width: auto; }
.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 36px; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 700; font-size: 1rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.nav-btn { background: var(--primary); color: var(--white) !important; padding: 12px 28px; border-radius: 8px; }

/* --- ヒーローエリア --- */
.hero { 
    position: relative; height: 85vh; min-height: 650px; background-size: cover; 
    background-position: center; display: flex; align-items: center; color: var(--white); 
}
.hero-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(135deg, rgba(0,50,100,0.9) 0%, rgba(0,50,100,0.5) 100%); 
}
.hero .container { position: relative; z-index: 2; text-align: center; }
.hero-content { max-width: 1000px; margin: 0 auto; }
.hero h1 { font-size: 4.2rem; line-height: 1.3; margin-bottom: 24px; font-weight: 900; }
.hero-sub { color: var(--white); font-weight: 800; margin-bottom: 20px; letter-spacing: 0.1em; font-size: 1.4rem; }
.hero-desc { font-size: 1.5rem; margin-bottom: 48px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-emphasis { display: inline-block; color: var(--white); font-weight: 900; font-size: 1.3em; padding-bottom: 2px; border-bottom: 4px solid var(--accent); margin-left: 0.3em; }
.hero-cta { display: flex; justify-content: center; }
.btn-primary { 
    display: inline-block; background: var(--bright-blue); color: var(--white); 
    padding: 22px 56px; border-radius: 60px; text-decoration: none; font-weight: 800; 
    font-size: 1.3rem; transition: 0.4s; border: 2px solid var(--bright-blue); cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 140, 255, 0.3);
}
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 140, 255, 0.5); background: var(--white); color: var(--bright-blue); }

/* --- クリーン・ソリューションセクション --- */
.clean-solution-section { background-color: var(--white); background-size: cover; background-position: center; position: relative; }
.sol-lead { font-size: 1.7rem; color: var(--primary); font-weight: 700; margin-bottom: 24px; letter-spacing: 0.05em; }
.huge-text-clean { font-size: 3.2rem; font-weight: 900; line-height: 1.5; color: var(--dark); margin-bottom: 64px; }
.text-highlight-green { position: relative; z-index: 1; }
.text-highlight-green::after { content: ''; position: absolute; left: 0; bottom: 8px; width: 100%; height: 18px; background: rgba(151, 215, 0, 0.35); z-index: -1; transform: skewX(-15deg); }
.white-card-container { background: var(--white); border-radius: 40px; padding: 80px; max-width: 1080px; margin: 0 auto; box-shadow: var(--shadow-strong); border: 1px solid var(--border); text-align: left; }
.sol-box-title { font-size: 2.2rem; color: var(--primary); margin-bottom: 32px; font-weight: 900; text-align: center; }
.sol-intro-text { font-size: 1.25rem; margin-bottom: 20px; color: var(--text-main); font-weight: 500; }
.pc-one-line { white-space: nowrap; }
.clean-check-list { list-style: none; margin-top: 48px; }
.clean-check-list li { position: relative; padding-left: 48px; margin-bottom: 32px; font-size: 1.15rem; line-height: 1.6; font-weight: 700; color: var(--dark); }
.clean-check-list li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 0; color: var(--accent); font-size: 1.8rem; }

/* --- お悩みセクション --- */
.card { background: var(--white); padding: 56px 40px; border-radius: 24px; box-shadow: var(--shadow-soft); transition: 0.4s; border: 1px solid transparent; }
.card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: var(--shadow-strong); }
.card-icon { font-size: 3rem; color: var(--primary); margin-bottom: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

/* --- 選ばれる理由 --- */
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 80px; }
.reason-card { background: var(--white); padding: 40px; border-radius: 20px; box-shadow: var(--shadow-soft); transition: 0.4s; text-align: center; }
.reason-head { display: flex; justify-content: center; align-items: center; gap: 35px; margin-bottom: 24px; }
.reason-num { font-size: 1.5rem; font-weight: 900; color: var(--primary); background: var(--accent-light); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.reason-icon { font-size: 2.2rem; color: var(--accent); }
.reason-card h3 { font-size: 1.4rem; color: var(--primary); font-weight: 800; margin-bottom: 20px; }
.reason-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; text-align: left; }
.vision-callout { margin-top: 100px; background: linear-gradient(135deg, #001021 0%, var(--primary) 60%, #003a75 100%); border-radius: 30px; padding: 80px 40px; color: var(--white); position: relative; overflow: hidden; text-align: center; }
.vision-content { position: relative; z-index: 2; }
.vision-callout h3 { font-size: 2.8rem; font-weight: 900; margin-bottom: 24px; }

/* --- サービス概要 --- */
.service-visual-section { position: relative; background-size: cover; background-position: center; background-attachment: fixed; overflow: hidden; background-image: url('hero.jpg'); }
.service-overlay-light { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.92); }
.service-lead-text { font-size: 1.4rem; text-align: center; color: var(--primary); font-weight: 700; margin-bottom: 80px; position: relative; z-index: 2; }
.service-grid-all { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card-item { background: var(--white); padding: 32px 24px; border-radius: 16px; box-shadow: var(--shadow-soft); border-top: 3px solid var(--primary); height: 100%; display: flex; flex-direction: column; transition: 0.3s; }
.service-card-item:hover { transform: translateY(-5px); }
.service-icon-center.small { font-size: 3rem; color: var(--primary); margin: 0 auto 20px; display: flex; justify-content: center; }
.service-card-item h4 { font-size: 1.2rem; font-weight: 800; margin-bottom: 16px; text-align: center; color: var(--primary); }
.service-card-item p { font-size: 0.95rem; line-height: 1.7; flex-grow: 1; }

/* --- ロードマップ（マーカー・ライン修正版） --- */
.roadmap-container { display: flex; flex-direction: column; }

.roadmap-item { 
    display: grid; 
    grid-template-columns: 80px 1fr; 
    gap: 40px; 
    align-items: center; 
    margin-bottom: 80px; 
}

.roadmap-marker { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    position: relative; 
    height: 100%; 
}

.marker-circle { 
    width: 24px; 
    height: 24px; 
    background: var(--primary); 
    border-radius: 50%; 
    z-index: 3; 
}

/* 縦線の基本スタイル */
.marker-line { 
    width: 2px; 
    background: var(--border); 
    position: absolute; 
    top: 0; 
    bottom: -80px; /* 次のアイテムまで伸ばす */
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 1; 
}

/* 最初のアイテム：線が上にはみ出ないように、丸の中央(50%)から開始する */
.roadmap-item:first-child .marker-line {
    top: 50%;
}

/* 最後のアイテム：線が下にはみ出ないように、丸の中央(50%)で止める */
.roadmap-item:last-child .marker-line { 
    bottom: 50%; 
}

.roadmap-card { 
    background: var(--white); 
    border-radius: 24px; 
    padding: 48px; 
    box-shadow: var(--shadow-soft); 
    margin-bottom: 0; 
    border-top: 4px solid var(--accent); 
    display: grid; 
    grid-template-columns: 300px 1fr; 
    gap: 64px; 
    transition: 0.4s; 
}
.roadmap-card:hover { transform: translateX(10px); }
.phase-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 24px; text-align: center; }
.roadmap-header h4 { font-size: 1.6rem; color: var(--primary); font-weight: 900; text-align: center; }
.roadmap-box h5 { color: var(--primary); font-weight: 900; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.roadmap-box h5::before { content: ''; width: 24px; height: 3px; background: var(--accent); }

/* --- メンバー紹介 --- */
.member-flex-container { display: flex; flex-direction: column; gap: 48px; }
.member-profile-card { display: flex; background: var(--white); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-soft); border-top: 4px solid var(--primary); transition: 0.4s; }
.member-visual { width: 320px; flex-shrink: 0; background: #eef2f6; }
.member-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-detail { padding: 48px; flex-grow: 1; }
.member-role { color: var(--accent); font-weight: 900; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 8px; display: block; }
.member-name-area h3 { font-size: 2rem; color: var(--primary); font-weight: 900; margin-bottom: 16px; }
.member-name-area h3 small { font-size: 1rem; font-weight: 500; color: var(--text-muted); margin-left: 8px; }
.member-tags { display: flex; gap: 8px; margin-bottom: 24px; }
.tag-label { background: var(--accent-light); color: var(--primary); font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; }
.member-bio p { margin-bottom: 16px; font-size: 1rem; }
.member-bio p:last-child { margin-bottom: 0; }

/* --- 導入ステップ --- */
.step-container { display: flex; justify-content: space-between; gap: 32px; }
.step-item { 
    flex: 1; 
    text-align: center; 
    background: var(--white); 
    padding: 48px 32px; 
    border-radius: 24px; 
    box-shadow: var(--shadow-soft);
    position: relative;
    border-top: 4px solid var(--primary);
}
.step-num { 
    width: 60px; 
    height: 60px; 
    background: var(--primary); 
    color: var(--white); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 32px; 
    font-weight: 900; 
    font-size: 1.4rem; 
}

/* --- FAQ --- */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { margin-bottom: 20px; background: var(--white); border-radius: 16px; border: 1px solid var(--border); overflow: hidden; }
.faq-q { padding: 28px; font-weight: 800; cursor: pointer; color: var(--primary); display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-q::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
details[open] .faq-q::after { transform: rotate(180deg); }
.faq-a { padding: 0 28px 28px; color: var(--text-muted); line-height: 1.8; }

/* --- お問い合わせ --- */
.form-card { 
    max-width: 1000px; 
    margin: 0 auto; 
    background: var(--white); 
    padding: 60px 40px; 
    border-radius: 40px; 
    box-shadow: var(--shadow-strong); 
}
.google-form-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

/* --- フッター --- */
.footer { background: var(--primary); color: rgba(255,255,255,0.9); padding: 80px 0 40px; }
.footer-logo-text { color: var(--white); font-weight: 900; font-size: 1.8rem; display: block; margin-bottom: 24px; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; margin-bottom: 40px; }
.footer-left { flex: 1; }
.footer-nav { display: flex; gap: 60px; }
.footer-nav-col h4 { color: var(--white); margin-bottom: 20px; font-weight: 700; font-size: 1.1rem; }
.footer-nav-col ul { list-style: none; }
.footer-nav-col li { margin-bottom: 12px; }
.footer-nav-col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.95rem; transition: 0.3s; }
.footer-nav-col a:hover { color: var(--accent); }
.footer-bottom { text-align: center; font-size: 0.85rem; opacity: 0.6; }

/* --- レスポンシブ調整 --- */
@media (max-width: 1024px) {
    .service-grid-all { grid-template-columns: repeat(2, 1fr); }
    .roadmap-card { grid-template-columns: 1fr; gap: 32px; }
    .reason-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 3rem; }
    .footer-content { flex-direction: column; }
    .footer-nav { gap: 30px; flex-wrap: wrap; }
}

@media (max-width: 768px) {
    .service-grid-all, .grid-3, .reason-grid, .member-flex-container, .step-container { grid-template-columns: 1fr; }
    .roadmap-item { grid-template-columns: 40px 1fr; }
    .member-profile-card { flex-direction: column; }
    .member-visual { width: 100%; height: 350px; }
    .hero h1 { font-size: 2.2rem; }
    .navbar .nav-links { display: none; }
    .form-card { padding: 40px 10px; }
}