@charset "UTF-8";

/* ==========================================================================
   1. 変数・リセット・基本設定 (Base & Variables)
   ========================================================================== */
:root {
    /* テーマカラー */
    --primary-green: #16a34a;
    --primary-green-dark: #15803d;
    --light-green: #f0fdf4;
    --border-green: #86efac;

    --primary-blue: #0284c7;
    --primary-blue-dark: #0369a1;
    --light-blue: #f0f9ff;
    --border-blue: #93c5fd;

    --accent-pink: #ff2d75;
    --accent-pink-dark: #e00052;
    --light-pink: #fff1f2;

    --accent-orange: #ff9800;
    --accent-orange-dark: #e65100;

    /* ニュートラルカラー */
    --text-main: #0f172a;
    --text-sub: #475569;
    --text-light: #64748b;
    --bg-main: #ffffff;
    --bg-slate: #f8fafc;
    --border-color: #e2e8f0;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-main);
    background-color: var(--bg-main);
    letter-spacing: 0.03em;
    padding-top: 60px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.85;
}

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

ul {
    list-style: none;
}

/* レイアウトコンテナ */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.top-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.sp-only {
    display: none;
}

/* 共通セクションタイトル */
.top-section-title,
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main);
    position: relative;
    padding-bottom: 12px;
}

.top-section-title::after,
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #0d9488;
    border-radius: 2px;
}

/* 共通ボタン */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-green-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   2. ヘッダー (Header)
   ========================================================================== */
.header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu li a {
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 8px 20px !important;
    font-size: 0.8rem !important;
}

/* ==========================================================================
   3. ヒーローセクション (First View)
   ========================================================================== */
.top-hero {
    position: relative;
    padding: 80px 20px 100px;
    background-color: #ffffff;
    overflow: hidden;
}

.hero-dot-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.5;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    z-index: 1;
}

.circle-1 {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #4ade80, #16a34a);
    top: -40px;
    left: -60px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    bottom: -80px;
    right: -80px;
}

.top-hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.top-hero-content {
    max-width: 560px;
    width: 100%;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: var(--light-green);
    color: var(--primary-green);
    border: 1px solid #bbf7d0;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.08);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-green);
    border-radius: 50%;
}

/* 1行レスポンシブ見出し */
.top-hero-title {
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--text-main);
}

.title-line {
    display: block;
    white-space: nowrap;
    font-size: clamp(1.15rem, 5vw, 2.4rem);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #16a34a 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.top-sub-text {
    font-size: 1.05rem;
    color: var(--text-sub);
    line-height: 1.85;
}

/* 円形マスク＆自動切り替え画像 */
.top-hero-visual {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.visual-blob-wrapper {
    position: relative;
    width: 100%;
}

.circle-image-container {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border: none;
    background-color: #f1f5f9;
}

.hero-slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    transform: scale(1.05);
}

.hero-slider-img.active {
    opacity: 1;
    transform: scale(1);
}

/* ガラスモーフィズム浮遊カード（背景がしっかり見える透過調整） */
.glass-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    z-index: 3;
}

.card-top {
    top: -10px;
    left: -15px;
}

.card-bottom {
    bottom: -15px;
    right: -10px;
}

.card-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-icon-box.green { background: #dcfce7; }
.card-icon-box.blue { background: #dbeafe; }

.card-text {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.card-desc {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ==========================================================================
   4. メイン分岐 ＆ WORKSスライダー (Swiper)
   ========================================================================== */
.top-split-section {
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.service-swiper {
    width: 100%;
    padding: 20px 0 50px;
    position: relative;
}

.service-swiper .swiper-slide {
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.6;
    transform: scale(0.92);
}

.service-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

/* clecom風枠線スライドカード */
.top-service-card {
    border-radius: 28px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 440px;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.works-num {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: 0.02em;
}

/* 右上バッジの共通指定（塗りつぶし無し・透過設定） */
.card-badge {
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    background: transparent !important;
    box-shadow: none;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.45;
    margin-bottom: 18px;
    text-align: left;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.meta-label {
    background-color: #334155;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.meta-text {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-sub);
}

.card-desc {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 25px;
    text-align: left;
}

.top-btn-wrap {
    text-align: center;
}

.top-btn {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
    font-size: 1.05rem;
    font-weight: bold;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* スライドカラー分類 */
.card-blue { border: 4px solid var(--primary-blue); }
.text-blue { color: var(--primary-blue); }
.badge-blue { border: 2px solid #0284c7 !important; color: #0284c7 !important; }
.btn-blue { background-color: var(--primary-blue); color: #ffffff; }
.btn-blue:hover { background-color: var(--primary-blue-dark); }

.card-green { border: 4px solid var(--primary-green); }
.text-green { color: var(--primary-green); }
.badge-green { border: 2px solid #16a34a !important; color: #16a34a !important; }
.btn-green { background-color: var(--primary-green); color: #ffffff; }
.btn-green:hover { background-color: var(--primary-green-dark); }

.card-pink { border: 4px solid var(--accent-pink); }
.text-pink { color: var(--accent-pink); }
.badge-pink { border: 2px solid #ff2d75 !important; color: #ff2d75 !important; }
.btn-pink { background-color: var(--accent-pink); color: #ffffff; }
.btn-pink:hover { background-color: var(--accent-pink-dark); }

/* スライダー操作ボタン */
.service-swiper .swiper-button-prev,
.service-swiper .swiper-button-next {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: var(--text-main);
    z-index: 10;
}

.service-swiper .swiper-button-prev::after,
.service-swiper .swiper-button-next::after {
    font-size: 1.2rem;
    font-weight: bold;
}

.service-swiper .swiper-button-prev { left: 15px; }
.service-swiper .swiper-button-next { right: 15px; }

/* ==========================================================================
   5. 選ばれる理由（カラフル＆動く背景Canvasデザイン）
   ========================================================================== */
.top-features {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
}

/* 背景Canvas（動く斜め線） */
#linesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* 柔らかいグラデーションオーロラ背景 */
.features-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    z-index: 1;
}

.blob-pink {
    width: 420px;
    height: 420px;
    background: linear-gradient(135deg, #fbcfe8, #f43f5e);
    top: -80px;
    right: -80px;
}

.blob-blue {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #bae6fd, #3b82f6);
    bottom: -100px;
    left: -100px;
}

.features-container {
    position: relative;
    z-index: 2;
}

/* 3カラムグリッド */
.top-feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* カード共通装飾 */
.top-feature-item {
    position: relative;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 30px 35px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.top-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

/* 左上ナンバーバッジ（塗りつぶし無し・枠線＆文字色同色） */
.feature-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: transparent !important;
    box-shadow: none;
}

.top-feature-item h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.5;
    margin-bottom: 18px;
    border-bottom: none;
    padding-bottom: 0;
}

.top-feature-item p {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.8;
}

/* カード色分け */
.feature-card-blue { border-top: 6px solid #0284c7; }
.highlight-blue {
    color: #0284c7;
    background: linear-gradient(transparent 60%, #e0f2fe 60%);
}

.feature-card-green { border-top: 6px solid #16a34a; }
.highlight-green {
    color: #16a34a;
    background: linear-gradient(transparent 60%, #dcfce7 60%);
}

.feature-card-pink { border-top: 6px solid #ff2d75; }
.highlight-pink {
    color: #ff2d75;
    background: linear-gradient(transparent 60%, #ffe4e6 60%);
}

/* ==========================================================================
   6. 料金・システム概要 (Summary)
   ========================================================================== */
.summary-section {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding-bottom: 40px;
}

.summary-box {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    border-top: 5px solid var(--primary-green);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.summary-top { text-align: center; }

.summary-badge {
    background-color: var(--primary-green);
    color: #ffffff;
    padding: 5px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 10px;
}

.summary-time {
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: bold;
}

.summary-time .time-large {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin: 0 5px;
}

.summary-price-wrap {
    background-color: var(--light-green);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.price-main {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-label { font-size: 1.2rem; font-weight: bold; }

.price-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-orange-dark);
}

.price-number small { font-size: 1.2rem; margin: 0 2px; }
.price-tax { font-size: 1rem; color: #666; }
.price-sub { font-size: 1.1rem; font-weight: bold; }
.price-sub .note { font-size: 0.9rem; color: #666; font-weight: normal; margin-left: 10px; }

.summary-message {
    background-color: #fcf8e3;
    border: 1px dashed #faebcc;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.summary-message .message-icon { font-size: 2rem; line-height: 1; }
.summary-message p { margin: 0; font-size: 1.05rem; color: #555; line-height: 1.6; }
.summary-message strong { color: #d32f2f; }

/* イントロ補足 */
.intro-text-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.intro-lead {
    font-size: 1.3rem;
    text-align: center;
    margin: 20px 0;
    color: var(--text-main);
    line-height: 1.8;
}

.feature-flex {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    flex: 1;
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-number {
    display: block;
    color: var(--primary-green);
    font-size: 2rem;
    font-weight: bold;
    opacity: 0.3;
    margin-bottom: 10px;
}

/* 認定バナー (Authority Bar) */
.authority-bar {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.authority-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.authority-inner p {
    font-size: 0.85rem;
    color: #666;
    font-weight: bold;
}

.logo-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.logo-group img {
    height: 40px;
    width: auto;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.logo-group img:hover {
    filter: grayscale(0%);
}

/* ==========================================================================
   7. メッセージ・概要セクション (法人＆個人 2連構造)
   ========================================================================== */
.top-profile {
    position: relative;
    padding: 90px 20px;
    overflow: hidden;
}

.profile-boost { background-color: var(--light-blue); }

.profile-school {
    background-color: var(--light-green);
    border-top: 1px solid var(--border-color);
}

.profile-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    z-index: 1;
}

.blob-blue {
    width: 380px;
    height: 380px;
    background: #bae6fd;
    top: -50px;
    right: -50px;
}

.blob-green {
    width: 380px;
    height: 380px;
    background: #bbf7d0;
    bottom: -50px;
    left: -50px;
}

.profile-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.profile-img-box {
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
}

.profile-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-left {
    width: 100%;
    max-width: 280px;
    height: 320px;
    border-radius: 60px 60px 16px 16px;
    display: none;
}

.img-right {
    width: 100%;
    max-width: 300px;
    height: 420px;
    border-radius: 80px 80px 20px 20px;
}

.img-right img {
    object-position: 85% 20%;
    transform: scale(1.15);
}

.profile-text-box {
    flex: 1;
    text-align: left;
}

.profile-sub-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-sub);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot-blue { color: var(--primary-blue); }
.dot-green { color: var(--primary-green); }

.profile-main-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #0f2b48;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    line-height: 1;
}

.profile-body-text {
    font-size: 0.98rem;
    color: #334155;
    line-height: 1.85;
}

.profile-lead {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

.profile-body-text p {
    margin-bottom: 12px;
}

.profile-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.profile-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #0f2b48;
    transition: transform 0.2s ease;
}

.profile-link-btn:hover {
    transform: translateX(4px);
}

.circle-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f2b48;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.btn-blue-hover:hover .circle-arrow {
    background-color: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
}

.btn-green-hover:hover .circle-arrow {
    background-color: var(--primary-green);
    color: #ffffff;
    border-color: var(--primary-green);
}

/* 会社情報テーブル */
.top-company-info {
    padding: 80px 0;
    background-color: var(--bg-slate);
}

.top-info-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.top-info-table th {
    width: 25%;
    background-color: #f1f5f9;
    color: #334155;
    font-weight: bold;
    white-space: nowrap;
}

.top-tel-link {
    color: var(--primary-blue);
    font-weight: bold;
    text-decoration: underline;
}

/* ==========================================================================
   8. サービスグリッド & バナー (Service Grid)
   ========================================================================== */
.service-section {
    padding: 80px 0;
}

.service-category-divider {
    margin: 70px 0 40px;
    text-align: center;
}

.category-banner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.category-banner img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.section-title.accent-title {
    color: var(--accent-orange-dark);
}

.section-title.accent-title::after {
    background-color: var(--accent-orange);
}

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

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.service-content {
    padding: 0 20px;
    text-align: left;
}

.service-content h3 {
    color: var(--primary-green);
    margin: 15px 0;
    font-size: 1.2rem;
    line-height: 1.5;
}

.service-content p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.7;
}

.highlight-card {
    border: 2px solid var(--primary-green) !important;
}

.card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-green);
    color: #ffffff;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

/* ==========================================================================
   9. ★コンバージョン最適化：3箇所のCTA (ファーストビュー直下 / 終盤 / 追従バー)
   ========================================================================== */

/* SVGアイコン共有定義 */
.line-icon-svg {
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    display: inline-block;
    mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M24 10.304c0-5.369-5.383-9.738-12-9.738-6.616 0-12 4.369-12 9.738 0 4.814 3.55 8.845 8.441 9.576.326.071.773.218.887.502.102.261.033.668.016.837l-.146 1.055c-.046.27-.223 1.066.93 5.795 1.155-.472 6.223-3.663 8.358-6.177 1.716-1.921 2.714-4.225 2.714-6.588zm-15.631 3.518H5.163v-5.496h3.206v1.378H6.541v2.741h1.828v1.377zm4.264 0h-1.378v-5.496h1.378v5.496zm3.32-3.87v3.87h-1.378v-5.496h1.377l1.794 2.873v-2.873h1.377v5.496h-1.189l-1.981-3.176v3.176z"/></svg>') no-repeat center / contain;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M24 10.304c0-5.369-5.383-9.738-12-9.738-6.616 0-12 4.369-12 9.738 0 4.814 3.55 8.845 8.441 9.576.326.071.773.218.887.502.102.261.033.668.016.837l-.146 1.055c-.046.27-.223 1.066.93 5.795 1.155-.472 6.223-3.663 8.358-6.177 1.716-1.921 2.714-4.225 2.714-6.588zm-15.631 3.518H5.163v-5.496h3.206v1.378H6.541v2.741h1.828v1.377zm4.264 0h-1.378v-5.496h1.378v5.496zm3.32-3.87v3.87h-1.378v-5.496h1.377l1.794 2.873v-2.873h1.377v5.496h-1.189l-1.981-3.176v3.176z"/></svg>') no-repeat center / contain;
}

/* 共通LINEボタン */
.btn-line-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #06C755;
    color: #ffffff !important;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.28);
    transition: all 0.3s ease;
    animation: cta-pulse 2.5s infinite;
}

.btn-line-cta:hover {
    background-color: #05b04b;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(6, 199, 85, 0.4);
    animation: none;
}

@keyframes cta-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* --- CTA ①：ファーストビュー直下 --- */
.top-cta-primary {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
}

.cta-banner-box {
    background: #ffffff;
    border: 3px solid #06C755;
    border-radius: 24px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(6, 199, 85, 0.1);
    max-width: 880px;
    margin: 0 auto;
}

.cta-badge {
    background-color: #ff2d75;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 15px;
}

.cta-banner-box h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 12px;
}

.cta-sub-text {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 25px;
}

.cta-micro-copy {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 14px;
    font-weight: 700;
}

/* --- CTA ②：ページ終盤・概要直後 --- */
.top-cta-secondary {
    padding: 80px 20px;
    background-color: #f8fafc;
}

.cta-card-full {
    background: #ffffff;
    border-radius: 28px;
    padding: 50px 30px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.cta-label {
    color: #16a34a;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.cta-card-header h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    margin: 10px 0 12px;
}

.cta-card-header p {
    font-size: 1rem;
    color: #475569;
    max-width: 680px;
    margin: 0 auto 40px;
}

.cta-grid-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cta-method-card {
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.method-line {
    background-color: #f0fbf4;
    border: 2px solid #06C755;
}

.method-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #06C755;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 20px;
}

.method-tel {
    background-color: #f8fafc;
    border: 2px solid #cbd5e1;
}

.method-badge-sub {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #64748b;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 20px;
}

.cta-method-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 5px;
    margin-bottom: 8px;
}

.cta-method-card p {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 20px;
}

.btn-tel-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #0f172a;
    color: #ffffff !important;
    font-size: 1.3rem;
    font-weight: 900;
    padding: 14px 32px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-tel-cta:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
}

.tel-time {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 10px;
}

/* --- CTA ③：常時追従フローティングバー --- */
.floating-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 2px solid #06C755;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.12);
    z-index: 999;
    padding: 12px 20px;
    transition: transform 0.3s ease;
}

.floating-cta-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.floating-text {
    text-align: left;
}

.floating-badge {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #86efac;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 12px;
}

.floating-text p {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2px;
}

.floating-btn-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-floating-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #06C755;
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.btn-floating-tel {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    color: #0f172a !important;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
}

.btn-floating-tel .icon {
    font-size: 1.1rem;
    line-height: 1;
}

.pc-hidden { display: none; }

/* 従来の単体LINE CTA（互換用） */
.contact-cta {
    padding: 80px 0;
    background-color: var(--light-green);
}

.cta-box {
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.cta-header { margin-bottom: 40px; }
.cta-subtitle { color: var(--primary-green); font-weight: bold; font-size: 0.95rem; letter-spacing: 0.05em; }
.cta-title { font-size: 2.2rem; margin: 15px 0; color: var(--text-main); }
.cta-text { font-size: 1.05rem; color: #555555; line-height: 1.8; }
.highlight-text { font-weight: bold; color: #d32f2f; }

.cta-line-main {
    background: #f0fbf4;
    border: 2px solid #06C755;
    border-radius: 15px;
    padding: 40px 20px;
    position: relative;
    margin: 0 auto 40px;
    max-width: 700px;
}

.cta-line-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF5A5F;
    color: #ffffff;
    font-weight: bold;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-line-main h3 { font-size: 1.6rem; color: #06C755; margin: 10px 0; }
.cta-line-desc { font-size: 1rem; color: #444444; margin-bottom: 25px; }

.btn-line-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #06C755;
    color: #ffffff !important;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 8px 15px rgba(6, 199, 85, 0.3);
    animation: bounce 2s infinite;
}

.btn-line-large:hover {
    background-color: #05b04b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(6, 199, 85, 0.4);
    animation: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.cta-sub-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-sub-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fafafa;
    padding: 20px 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.cta-sub-item .sub-icon { font-size: 2rem; line-height: 1; }
.sub-text h4 { margin: 0 0 5px 0; font-size: 1rem; color: #666666; }
.sub-tel { display: block; font-size: 1.6rem; font-weight: bold; color: var(--text-main); margin-bottom: 5px; }
.sub-tel:hover { color: var(--primary-green); }
.sub-link { display: inline-block; color: var(--primary-green); font-weight: bold; text-decoration: underline; margin-bottom: 8px; font-size: 1.1rem; }
.sub-text p { margin: 0; font-size: 0.8rem; color: #888888; }

/* ==========================================================================
   10. フッター (Footer)
   ========================================================================== */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 35px 20px 80px; /* 常時追従バーと被らないよう下余白を追加 */
    font-size: 0.85rem;
}

footer a {
    color: #cbd5e1;
    text-decoration: underline;
}

/* ==========================================================================
   11. レスポンシブ対応 (Responsive Styles)
   ========================================================================== */

/* --- Tablet / PC向け (768px以上) --- */
@media (min-width: 768px) {
    .top-hero {
        padding: 100px 20px 120px;
    }

    .top-hero-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .circle-image-container {
        height: 440px;
    }

    .top-feature-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .top-info-table th {
        width: 20%;
    }

    .service-swiper .swiper-button-prev { left: 40px; }
    .service-swiper .swiper-button-next { right: 40px; }
}

/* --- PC向け3カラム配置 (992px以上) --- */
@media (min-width: 992px) {
    .profile-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 40px;
    }

    .img-left {
        display: block;
        width: 220px;
        height: 380px;
    }

    .img-right {
        width: 260px;
        height: 440px;
    }

    .profile-text-box {
        padding: 0 10px;
    }

    .profile-main-title {
        font-size: 2.8rem;
    }
}

/* --- スマホ向け (768px以下) --- */
@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }

    .sp-only {
        display: inline;
    }

    .header-inner {
        flex-direction: column;
        height: auto;
        gap: 10px;
        padding: 10px 0;
    }

    .nav-menu {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .summary-section {
        margin-top: -20px;
        padding: 0 15px 40px;
    }

    .summary-box {
        padding: 25px 15px;
        border-radius: 10px;
    }

    .price-main {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .price-number {
        font-size: 2rem;
    }

    .price-sub {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .price-sub .note {
        margin-left: 0;
    }

    .summary-message {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .intro-lead {
        font-size: 1rem;
        text-align: left;
    }

    .feature-flex {
        flex-direction: column;
        gap: 15px;
    }

    .service-section {
        padding: 50px 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-category-divider {
        margin: 50px 0 30px;
    }

    .category-banner img {
        height: 200px;
    }

    .top-profile {
        padding: 60px 20px;
    }

    .contact-cta {
        padding: 40px 0;
    }

    .cta-box {
        padding: 40px 15px;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-line-main {
        padding: 40px 15px 25px;
    }

    .cta-line-main h3 {
        font-size: 1.3rem;
    }

    .btn-line-large {
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .cta-sub-methods {
        flex-direction: column;
        gap: 15px;
    }

    .cta-sub-item {
        min-width: 100%;
    }

    /* CTAレスポンシブ個別定義 */
    .cta-banner-box {
        padding: 30px 18px;
    }

    .cta-banner-box h2 {
        font-size: 1.3rem;
    }

    .btn-line-cta {
        width: 100%;
        font-size: 1.05rem;
        padding: 15px 18px;
    }

    .cta-card-full {
        padding: 35px 18px;
    }

    .cta-card-header h2 {
        font-size: 1.5rem;
    }

    .cta-grid-methods {
        grid-template-columns: 1fr;
    }

    /* フローティングバー スマホ最適化 */
    .sp-hidden { display: none; }
    .pc-hidden { display: inline-flex; }

    .floating-cta-bar {
        padding: 10px 12px;
    }

    .floating-cta-inner {
        justify-content: center;
    }

    .floating-btn-group {
        width: 100%;
        justify-content: space-between;
    }

    .btn-floating-line {
        flex: 1;
        justify-content: center;
        font-size: 0.98rem;
        padding: 12px 16px;
    }
}

/* ==============================================
   2分岐入口（ダイレクトナビゲーション）
=============================================== */
.top-entrance-section {
    padding: 40px 20px 60px;
    background-color: #ffffff;
}

.entrance-lead {
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.entrance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.entrance-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.entrance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 個人向け（緑） */
.card-green-link {
    background-color: #f0fdf4;
    border: 3px solid #16a34a;
}

/* 法人向け（青） */
.card-blue-link {
    background-color: #f0f9ff;
    border: 3px solid #0284c7;
}

.entrance-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.entrance-text {
    flex: 1;
    text-align: left;
}

.entrance-badge {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6px;
}

.badge-green { background-color: #16a34a; color: #ffffff; }
.badge-blue { background-color: #0284c7; color: #ffffff; }

.entrance-text h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.entrance-text p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.entrance-arrow {
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}

.card-green-link .entrance-arrow { color: #16a34a; }
.card-blue-link .entrance-arrow { color: #0284c7; }

/* PC向け横並び（768px以上） */
@media (min-width: 768px) {
    .entrance-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* スマホ調整 */
@media (max-width: 768px) {
    .entrance-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px;
    }
    .entrance-arrow {
        align-self: flex-end;
    }
}

/* 2分岐ナビゲーション用バッジ文字色の修正 */
.entrance-badge.badge-green {
    background-color: #16a34a !important;
    color: #ffffff !important;
    border: none !important;
}

.entrance-badge.badge-blue {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border: none !important;
}

/* ==============================================
   画面上部 常時表示2分岐ナビゲーション
=============================================== */
.header-split-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-cta-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.cta-tag {
    background: rgba(255, 255, 255, 0.25);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
}

.btn-green-nav { background-color: #16a34a; }
.btn-blue-nav { background-color: #0284c7; }

/* スマホ表示時（文字量を抑えてコンパクトに配置） */
@media (max-width: 768px) {
    .header-split-cta {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }

    .header-cta-btn {
        padding: 5px 10px;
        font-size: 0.72rem;
        flex: 1;
        justify-content: center;
    }

    .cta-tag {
        display: none; /* スマホではタグを非表示にして省スペース化 */
    }
}