* { box-sizing: border-box; }

:root {
    --primary: #1e293b;   /* 信頼のダークネイビー */
    --blue: #3b82f6;      /* テックブルー */
    --blue-light: #eff6ff;
    --orange: #f97316;    /* コンバージョン色 */
    --text: #334155;
    --bg-gray: #f8fafc;
    --white: #ffffff;
    --shadow: 0 10px 30px -5px rgba(0,0,0,0.1);
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.8;
    margin: 0;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.sp-only { display: none; }
.text-blue { color: var(--blue); }
.underline { background: linear-gradient(transparent 70%, #bfdbfe 70%); }

/* --- ヘッダー --- */
.header {
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0; position: fixed; width: 100%; top: 0; z-index: 1000; height: 70px;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo-area { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-svg { width: 40px; height: 40px; }
.logo-text { font-weight: 900; font-size: 1.2rem; color: var(--primary); display: flex; flex-direction: column; line-height: 1; }
.logo-sub { font-size: 0.65rem; color: #64748b; font-weight: normal; margin-top: 2px; }

.header-right { display: flex; align-items: center; }
.header-contact { display: flex; align-items: center; gap: 15px; }
.tel-label { font-size: 0.8rem; font-weight: bold; color: var(--primary); }
.btn-header {
    background: var(--primary); color: white; padding: 8px 20px; border-radius: 4px;
    text-decoration: none; font-weight: bold; font-size: 0.9rem; transition: 0.3s;
}
.btn-header:hover { background: var(--blue); }

/* --- ヒーローセクション --- */
.hero-biz {
    padding: 140px 0 100px; background: #f8fafc; position: relative; overflow: hidden;
}
.hero-bg-grid {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.3;
}
.hero-layout { display: flex; align-items: center; justify-content: space-between; gap: 50px; position: relative; z-index: 1; }
.hero-content { flex: 1; }

.hero-badge {
    display: inline-block; background: var(--blue-light); color: var(--blue);
    font-weight: bold; padding: 6px 12px; border-radius: 4px; font-size: 0.85rem; margin-bottom: 20px;
}
h1 { margin-bottom: 30px; line-height: 1.2; }
.h1-sub { font-size: 1.5rem; color: var(--text); font-weight: 700; }
.h1-main { font-size: 3rem; font-weight: 900; color: var(--primary); }

.hero-desc { font-size: 1.1rem; margin-bottom: 40px; color: #475569; }

.hero-pricing {
    display: flex; align-items: center; gap: 15px; margin-bottom: 40px;
    background: white; padding: 20px; border-radius: 10px; border: 1px solid #e2e8f0; box-shadow: var(--shadow); width: fit-content;
}
.p-initial, .p-monthly { font-size: 1rem; font-weight: bold; }
.p-initial span, .p-monthly span { font-size: 1.8rem; font-weight: 900; color: var(--primary); }
.p-plus { font-size: 2rem; color: #cbd5e1; }

.btn-primary-shadow {
    display: inline-block; background: var(--orange); color: white;
    padding: 18px 40px; border-radius: 8px; font-weight: bold; font-size: 1.2rem;
    text-decoration: none; box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3); transition: 0.3s;
}
.btn-primary-shadow:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(249, 115, 22, 0.4); }
.cta-note { font-size: 0.8rem; color: #94a3b8; margin-top: 10px; }

/* ヒーロービジュアル（CSSグラフィック） */
.hero-visual { flex: 1; height: 400px; position: relative; display: flex; align-items: center; justify-content: center; }
.pc-mockup {
    width: 400px; height: 250px; background: white; border: 2px solid #e2e8f0;
    border-radius: 12px; box-shadow: var(--shadow); position: relative; z-index: 1;
    display: flex; flex-direction: column; overflow: hidden;
}
.pc-screen { flex: 1; background: #f8fafc; padding: 20px; }
.skeleton-header { width: 100%; height: 20px; background: #cbd5e1; margin-bottom: 20px; border-radius: 4px; }
.skeleton-hero { width: 100%; height: 80px; background: #e2e8f0; margin-bottom: 20px; border-radius: 4px; }
.skeleton-grid { display: flex; gap: 10px; }
.skeleton-grid span { flex: 1; height: 60px; background: #e2e8f0; border-radius: 4px; }

.card-float {
    position: absolute; background: white; padding: 15px; border-radius: 8px;
    box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; z-index: 2;
    animation: float 4s infinite ease-in-out;
}
.card-float i { font-size: 1.5rem; color: var(--blue); }
.card-float strong { display: block; font-size: 0.9rem; line-height: 1.2; }
.card-float small { font-size: 0.7rem; color: #64748b; }

.card-1 { top: 20px; left: 0; animation-delay: 0s; }
.card-2 { bottom: 40px; right: 20px; animation-delay: 1.5s; }
.card-3 { top: 40px; right: -20px; animation-delay: 0.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- 課題提起 --- */
.problem { padding: 80px 0; background: white; }
.section-title { font-size: 2.2rem; font-weight: 900; margin-bottom: 50px; color: var(--primary); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.problem-item { text-align: center; padding: 30px; background: var(--bg-gray); border-radius: 12px; }
.p-icon { font-size: 3rem; margin-bottom: 15px; }
.problem-item h3 { font-size: 1.3rem; margin-bottom: 10px; }

/* --- ソリューション --- */
.solution { padding: 80px 0; background: var(--primary); color: white; }
.solution-box { display: flex; flex-direction: column; gap: 40px; }
.sol-head { text-align: center; max-width: 800px; margin: 0 auto; }
.sol-head h2 { font-size: 2rem; margin-bottom: 20px; }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sol-item { background: rgba(255,255,255,0.1); padding: 30px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.2); }
.sol-item i { font-size: 2rem; color: var(--blue); margin-bottom: 15px; }
.sol-item h3 { font-size: 1.2rem; margin-bottom: 10px; }
.sol-item p { font-size: 0.9rem; opacity: 0.9; }

/* --- 料金プラン --- */
.plans { padding: 80px 0; background: var(--bg-gray); }
.plan-desc { margin-bottom: 40px; font-size: 1.1rem; }
.plan-wrapper { display: flex; justify-content: center; gap: 20px; align-items: stretch; flex-wrap: wrap; }
.plan-card {
    flex: 1; max-width: 320px; background: white; padding: 40px 30px; border-radius: 16px;
    border: 1px solid #e2e8f0; text-align: center; position: relative;
}
.plan-card.recommended {
    border: 3px solid var(--blue); box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    transform: scale(1.05); z-index: 2;
}
.badge-rec {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--blue); color: white; padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 0.8rem;
}
.plan-name { font-weight: bold; font-size: 1.2rem; margin-bottom: 15px; color: var(--primary); }
.plan-price { font-size: 2.5rem; font-weight: 900; color: var(--primary); margin-bottom: 5px; line-height: 1; }
.plan-price .yen { font-size: 1rem; }
.plan-price .month { font-size: 0.9rem; color: #64748b; font-weight: normal; }
.plan-target { font-size: 0.85rem; background: var(--bg-gray); display: inline-block; padding: 4px 10px; border-radius: 4px; margin-bottom: 25px; }
.plan-feat { list-style: none; padding: 0; text-align: left; font-size: 0.9rem; }
.plan-feat li { padding: 10px 0; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; gap: 10px; }
.plan-feat li i { color: var(--blue); }
.plan-feat li.disable { color: #cbd5e1; }
.plan-feat li.disable i { color: #cbd5e1; }
.plan-feat li.highlight { background: var(--blue-light); padding: 10px; border-radius: 4px; margin-bottom: 5px; border-bottom: none; }
.plan-note { text-align: center; margin-top: 40px; font-size: 0.85rem; color: #94a3b8; }

/* --- 流れ --- */
.flow { padding: 80px 0; background: white; }
.flow-steps { display: flex; justify-content: space-between; gap: 20px; }
.step { flex: 1; background: var(--bg-gray); padding: 30px 20px; border-radius: 8px; position: relative; }
.step-num {
    font-size: 3rem; font-weight: 900; color: #e2e8f0; position: absolute; top: 10px; right: 20px; line-height: 1;
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; position: relative; z-index: 1; }
.step p { font-size: 0.9rem; margin: 0; position: relative; z-index: 1; }

/* --- フォーム --- */
.contact-sec { padding: 80px 0; background: var(--primary); }
.contact-box { max-width: 700px; margin: 0 auto; background: white; padding: 50px; border-radius: 20px; }
.biz-form { margin-top: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f-group { margin-bottom: 25px; }
.f-group label { display: block; font-weight: bold; margin-bottom: 8px; font-size: 0.95rem; }
.req { background: #ef4444; color: white; font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; margin-left: 5px; }
.any { background: #94a3b8; color: white; font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; margin-left: 5px; }
input, select, textarea {
    width: 100%; padding: 14px; border: 2px solid #e2e8f0; border-radius: 6px; font-size: 1rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; }
.spam-check { background: var(--blue-light); padding: 15px; border-radius: 8px; margin-bottom: 30px; }
.btn-submit-biz {
    width: 100%; background: var(--blue); color: white; border: none;
    padding: 20px; font-size: 1.2rem; font-weight: bold; border-radius: 8px; cursor: pointer; transition: 0.3s;
}
.btn-submit-biz:hover { background: #2563eb; transform: translateY(-3px); }

/* --- フッター --- */
footer { padding: 40px 0; background: white; border-top: 1px solid #e2e8f0; }
.footer-links { margin-bottom: 15px; font-weight: bold; font-size: 0.9rem; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: var(--blue); }
.separator { margin: 0 15px; color: #cbd5e1; }
.copyright { font-size: 0.75rem; color: #64748b; margin: 0; }


/* --- レスポンシブ --- */
@media(max-width: 768px) {
    .header { height: 60px; }
    .tel-label { display: none; }
    .btn-header { padding: 6px 12px; font-size: 0.8rem; }
    
    .hero-biz { padding: 100px 0 60px; }
    .hero-layout { flex-direction: column; text-align: center; gap: 40px; }
    .h1-main { font-size: 2.2rem; }
    .sp-only { display: block; }
    .hero-pricing { margin: 0 auto 30px; flex-direction: column; gap: 5px; align-items: center; width: 100%; }
    .p-plus { display: none; }
    
    .hero-visual { width: 100%; height: 280px; }
    .pc-mockup { width: 90%; height: 200px; }
    .card-float { padding: 10px; font-size: 0.8rem; }
    .card-1 { left: 0; top: 0; }
    .card-2 { right: 0; bottom: 20px; }
    .card-3 { display: none; } /* スマホではごちゃつくので1つ減らす */

    .problem-grid, .sol-grid { grid-template-columns: 1fr; }
    
    .plan-wrapper { flex-direction: column; }
    .plan-card.recommended { transform: scale(1); border-width: 2px; order: -1; /* おすすめを一番上に */ }
    
    .flow-steps { flex-direction: column; }
    .step { text-align: center; }
    
    .contact-box { padding: 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    
    .footer-links { display: flex; flex-direction: column; gap: 10px; }
    .separator { display: none; }
}