@charset "UTF-8";

/* ==========================================
   デザインシステム・カラー設定
========================================== */
:root {
    --base-color: #9cbe04;
    /* メインのグリーン */
    --base-light: #f6f7f7;
    /* 薄いグリーン（背景用） */
    --accent-color: #ff6b6b;
    /* アクセントのコーラルオレンジ */
    --accent-hover: #ff4f4f;
    --text-dark: #1e293b;
    /* メインの文字色（濃いグレー） */
    --text-muted: #4d5a6d;
    /* 補足の文字色 */
    --bg-white: #ffffff;
    /* ホワイトベースの背景 */
    --bg-light: #f8fafc;
    /* 薄いグレー背景 */
    --white: #ffffff;
    --header-height: 70px;
    /* ヘッダーの高さ */

    --border-color: #e0e0e0;
    --primary-color: #005bac;
}

/* ==========================================
   全体設定
========================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    /* ページ内リンクでヘッダーに隠れないようにする */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.8;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

h1,
h2,
h3,
h4 {
    color: var(--text-dark);
    margin-top: 0;
    line-height: 1.3;
    font-weight: 700;
}

.en-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--base-color);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

section {
    padding: 120px 0;
    position: relative;
}

.bg-slant {
    background-color: var(--bg-light);
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    padding: 160px 0;
    margin: -60px 0;
}

/* ==========================================
   ヘッダー・ロゴ・ページ内リンク設定
========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar .logo {
    width: 80px;
    border-radius: 0;
    margin: 0 14px 0 0;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo-link i {
    color: var(--base-color);
    margin-right: 8px;
    font-size: 28px;
}

.logo-link span {
    color: var(--base-color);
}

.logo-link:hover {
    color: var(--base-color);
}

/* ページ内ナビゲーション */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--base-color);
}

/* ==========================================
   リッチなエフェクト（スクロール時のフェードイン）
========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

/* ==========================================
   aタグ（リンク要素）専用のホバーエフェクト
========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 20px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.35);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: none;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.45);
    color: var(--white);
}

.btn:hover::after {
    left: 100%;
    transition: left 0.6s ease;
}

.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid var(--text-dark);
}

.floating-btn:hover {
    background-color: var(--white);
    color: var(--text-dark);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.floating-btn i {
    color: var(--base-color);
    font-size: 20px;
}

.site-link {
    color: var(--base-color);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
    display: block;
    margin: 0 auto;
    width: fit-content;
}

.site-link img.logo {
    width: 300px;
}

.site-link:hover {
    opacity: 0.6;
}


footer .site-link {
    color: #94a3b8;
}

footer .site-link::after {
    background-color: var(--base-color);
}

footer .site-link:hover {
    color: var(--white);
}

/* ==========================================
   共通：セクション見出し
========================================== */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.section-header h2 span {
    color: var(--base-color);
}

/* ==========================================
   1. ヒーローセクション（トップ）
========================================== */
.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.95) 30%, rgba(244, 248, 230, 0.8) 100%);
    background-size: cover;
    background-position: center;

    background: linear-gradient(128deg, #CAFFBF, #E4F1EE);
    background: url(../img/bg_main.jpg);
}

.hero-content {
    max-width: 840px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--base-color);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
}

.catch-copy {
    font-size: 26px;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--text-dark);
    line-height: 1.25;
    letter-spacing: 5px;
}

.hero h1 span {
    color: var(--base-color);
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 45px;
    font-weight: 500;
}

/* ==========================================
   2. 現場の課題（お悩みセクション）
========================================== */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.problem-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 4px solid var(--accent-color);
}

.problem-card i {
    font-size: 44px;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.problem-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* ==========================================
   3. サイト更新のメリット
========================================== */
.benefits-section {
    background-color: var(--base-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--base-color), #7a9603);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(156, 190, 4, 0.3);
}

.benefit-card h3 {
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 15px;
}

.benefit-card p {
    text-align: left;
}

.fa-security::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f132";
}

/* ==========================================
   4. エブリが選ばれる理由
========================================== */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 40px;
}

.reason-item {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    display: flex;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.reason-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background-color: var(--base-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--base-color);
}

.reason-text h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.update-icon::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f021";
}

/* ==========================================
   5. 具体的なサービス内容
========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-tag-card {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    border: 1px solid #edf2f7;
}

.custom-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--base-light);
    color: var(--base-color);
    border-radius: 50%;
    margin-right: 15px;
    font-size: 16px;
    flex-shrink: 0;
}

/* サポートの柔軟性をアピールするボックス */
.services-flexibility {
    margin-top: 50px;
    background-color: var(--white);
    border: 2px dashed var(--base-color);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.services-flexibility i {
    font-size: 40px;
    color: var(--base-color);
}

.services-flexibility p {
    margin: 0;
    font-size: 16px;
    color: var(--text-dark);
}

/* ==========================================
   6. 安心の明朗会計プラン
========================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    align-items: flex-end;
}

.price-plan-card {
    background: var(--white);
    border: 1px solid #b1b6bb;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    position: relative;
}

/* おすすめプランの強調スタイル */
.price-plan-card.recommended {
    border: 2px solid var(--base-color);
    box-shadow: 0 20px 50px rgba(156, 190, 4, 0.15);
    transform: scale(1.05);
    z-index: 5;
    background-color: #fff;
}

.recommend-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    white-space: nowrap;
}

.plan-name {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.plan-hours {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.6;
}

.plan-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--base-color);
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.plan-price span {
    font-size: 16px;
    color: var(--text-dark);
}

.plan-basis {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0px;
}

.price-notes-box {
    background-color: #fff3e0 !important;
    ;
    padding: 30px;
    border-radius: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.price-notes-box p {
    font-size: 15px;
    margin: 0px;
}

.price-notes-box i {
    color: var(--base-color);
    margin-right: 10px;
}

.price-card {
    background: var(--white);
    border-radius: 24px;
    padding: 60px;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(156, 190, 4, 0.08);
    border: 2px solid var(--base-light);
    text-align: center;
}

.price-header-block {
    margin-bottom: 45px;
    padding-bottom: 35px;
    border-bottom: 2px dashed #e2e8f0;
}

.price-header-block p {
    font-size: 26px;
    font-weight: 700;
    color: var(--base-color);
    letter-spacing: 1px;
    margin: 0;
}

.price-large {
    font-size: 45px;
    font-weight: 900;
    color: var(--text-dark);
    margin: 15px 0;
}

.price-large span {
    font-size: 24px;
    color: var(--base-color);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.price-table th,
.price-table td {
    padding: 20px;
    border-bottom: 1px solid #edf2f7;
    box-sizing: border-box;
}

.price-table th {
    width: 30%;
    font-weight: 700;
    color: var(--text-dark);
    background-color: var(--bg-light);
    border-radius: 6px 0 0 6px;
}

h3.price {
    font-size: 20px;
    font-weight: 700;
    color: var(--base-color);
    letter-spacing: 1px;
    margin: 0;
}

/* テーブルスタイリング */
.scroll-table {
    overflow-x: auto;
    margin-bottom: 20px;
}

.scroll-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 600px;
    table-layout: fixed;
}

.scroll-table th,
.scroll-table td {
    border: 1px solid var(--border-color);
    padding: 12px;
    font-size: 14px;
}

.scroll-table th {
    background-color: var(--base-color);
    color: white;
    font-weight: bold;
    border-radius: 0;
}

.over-row {
    background-color: #fff3e0 !important;
    font-weight: bold;
}

.text-right {
    text-align: right;
}

/* 注記 */
.note {
    font-size: 0.9rem;
    color: #666;
    background-color: #fff9e6;
    border-left: 4px solid #ffcc00;
    padding: 15px;
    border-radius: 4px;
}



/* ==========================================
   7. 導入実績
========================================== */

.client-logos-section {
    padding: 20px 0 60px;
}

.logo-grid {
    display: grid;
    grid-auto-flow: column;
    gap: 20px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.logo-item img {
    max-height: 55px;
    max-width: 280px;
    object-fit: contain;
    transition: opacity 0.3s;
    border-radius: 0px;
}

.btn-area {
    width: 100%;
    display: inline-block;
    text-align: center;
    margin-top: 20px;
}

.jisseki-btn {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid var(--text-dark);
    display: inline-block;
}

.jisseki-btn:hover {
    background-color: var(--white);
    color: var(--text-dark);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.jisseki-btn i {
    color: var(--base-color);
    font-size: 20px;
}


/* ==========================================
   8. お問い合わせ・CTAセクション
========================================== */
.cta {
    text-align: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    padding: 100px 20px;
}

.cta h2 {
    color: var(--white);
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta p {
    color: #94a3b8;
    font-size: 20px;
    margin-bottom: 35px;
}

.cta-phone-block {
    margin-bottom: 45px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-block;
    padding: 20px 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-phone-label {
    font-size: 16px;
    color: var(--base-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.cta-phone-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 2px;
}

.cta-phone-number i {
    margin-right: 10px;
    color: var(--base-color);
}

.cta-link-block {
    margin-top: 40px;
    font-size: 16px;
    color: #64748b;
}

footer {
    background-color: #0f172a;
    color: #64748b;
    text-align: center;
    padding: 40px 20px;
    font-size: 15px;
    border-top: 1px solid #1e293b;
}

footer .footer-links {
    margin-bottom: 20px;
}

/* ==========================================
   レスポンス対応（スマホ表示）
========================================== */

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .price-plan-card.recommended {
        transform: none;
    }
}

@media (min-width: 769px) {
    .sp {
        display: none;
    }
}

@media (max-width: 900px) {

    .benefit-row,
    .benefit-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefit-row.reverse .benefit-img-wrapper {
        order: 0;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pc {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .logo-link {
        display: block;
        margin-top: 5px;
    }

    .hero h1 {
        font-size: 38px;
        letter-spacing: 2px;
    }

    .catch-copy {
        font-size: 20px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 30px;
    }

    .services-flexibility {
        flex-direction: column;
        text-align: center;
    }

    .price-card {
        padding: 40px 20px;
    }

    .price-table {
        display: block;
    }

    .price-table th,
    .price-table td {
        display: block;
        width: 100%;
        border-radius: 0;
    }

    .price-table th {
        background: var(--base-light);
        padding: 10px 20px;
    }

    .price-table td {
        padding: 15px 5px 25px;
    }

    .price-table>tr,
    .price-table>tbody {
        display: block;
        width: 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-plan-card {
        padding: 40px 20px;
    }

    .cta-phone-number {
        font-size: 28px;
    }

    .floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .scroll-table th,
    .scroll-table td {
        display: table-cell;
    }

    .scroll-table th {
        background-color: var(--base-color);
    }

    .scroll-table {
        width: 290px;
        /* 横幅を画面いっぱいに広げる */
        overflow-x: auto;
        /* はみ出た場合に横スクロールを出す */
        -webkit-overflow-scrolling: touch;
        /* スマホでのスクロールを滑らかにする */
        margin-bottom: 20px;
        display: block;
    }

    .scroll-table table {
        width: 100% !important;
        border-collapse: collapse;
        text-align: center;
        min-width: 650px;

    }

    .section-header h2 {
        font-size: 30px;
    }

    .hero {
        min-height: calc(80vh - var(--header-height));
    }

    .reason-item {
        flex-wrap: wrap;
    }

    .logo-link {
        font-size: 21px;
        width: 100%;
        justify-content: center;
    }

    .logo-grid {
        display: grid;
        grid-auto-flow: row;
        gap: 20px;
        align-items: center;
        max-width: 1000px;
        margin: 0 auto;
        justify-content: center;
        justify-items: center;
    }

    .price-large {
        font-size: 34px;
    }

    .cta {
        padding: 100px 0px;
    }

    .cta h2 {
        font-size: 30px;
    }

    .cta-phone-block {
        padding: 20px 20px;
    }

    .site-link img.logo {
        width: 220px;
    }
}

@media (max-width: 380px) {
    .scroll-table {
        width: 270px;
    }
}