:root {
    --primary-green: #00a651;
    --secondary-green: #28a745;
    --dark-green: #007c3a;
    --text-dark: #2c3e50;
    --text-light: #555555;
    --bg-light: #ffffff;
    --bg-gray: #f8f9fa;
    --bg-section: #ffffff;
    --bg-green-light: #f0faf3;
    --warning-orange: #ff6b35;
    --error-red: #e74c3c;
    --border-light: #e9ecef;
    --white: #ffffff;
    --dark-blue: #2c3e50;
    --teal-dark: #004d40;
    --teal-main: #00796b;
    --hero-accent-orange: #f36f21;
    --hero-bg: #f7f6f5;
    --hero-text: #333333;
    --hero-badge-bg: #139a86;
    --hero-button-bg: #e8580b;
}

.mini {
    font-size: 80% !important;
}

.sponly {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg-light);
    position: relative;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 運営会社リンクのトップバー */
.header-corp-bar {
    background-color: #1a8794;
    padding: 8px 30px;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.busicom-corp-link {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.busicom-corp-link:hover {
    color: var(--white);
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.15);
}

/* 追従ヘッダーのコンテナ */
.header-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--dark-blue);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.site-logo {
    padding: 0;
    margin-right: auto;
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 35px;
    width: auto;
    vertical-align: middle;
}

.site-logo:hover {
    opacity: .8;
}

/* グローバルナビゲーションのスタイル */
.global-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

.global-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.global-nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 5px 0;
    position: relative;
    white-space: nowrap;
}

.global-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.global-nav a:hover::after {
    width: 100%;
}

/* ハンバーガーメニューアイコン */
.menu-toggle {
    display: none;
    position: static;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
    margin-left: 20px;
}

.menu-toggle .icon-bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--white);
    margin: 6px auto;
    transition: all 0.3s ease;
}

.menu-toggle.active .icon-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .icon-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .icon-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* オーバーレイメニュー */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.menu-overlay nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
}

.menu-overlay nav li {
    margin: 30px 0;
}

.menu-overlay nav a {
    color: var(--white);
    font-size: 1.8rem;
    text-decoration: none;
    font-weight: 700;
}

.menu-overlay nav a:hover {
    color: var(--primary-green);
}

/* --- ヒーローセクション --- */
.hero {
    background-color: var(--hero-bg);
    color: var(--hero-text);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 46% 54%;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.hero-text-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--hero-text);
    letter-spacing: -2px;
}

.hero-brand-name {
    color: var(--primary-green);
}

.hero-text-content .hero-description {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 40px;
    color: var(--text-light);
    line-height: 1.8;
}

.hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--hero-button-bg);
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(232, 88, 11, 0.3);
    transition: all 0.3s ease;
}

.hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(232, 88, 11, 0.4);
}

.hero-image-wrapper {
    position: relative; /* バッジの位置決めの基点として追加 */
}

.hero-image-area .hero-pos-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.hero-price-badge {
    position: absolute;
    top: -50px;     /* 位置を調整 */
    right: -40px;   /* 位置を調整 */
    width: 180px;
    height: 180px;
    background-color: var(--hero-badge-bg);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.3;
    font-weight: bold;
    clip-path: circle(50% at 50% 50%);
    z-index: 10;
}

.hero-price-badge .badge-text {
    font-size: 1rem;
}

.hero-price-badge .badge-price {
    font-size: 2.5rem;
    font-weight: 900;
}

.hero-price-badge .badge-price-unit {
    font-size: 1rem;
    margin-left: 2px;
}


.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--warning-orange), #e67e22);
    color: white;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.3);
    transition: all 0.3s ease;
}


.cta-button2 {
    display: inline-block;
    background: linear-gradient(45deg, var(--warning-orange), #e67e22);
    color: white;
    padding: 5px 36px;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 1px 3px rgba(230, 126, 34, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.cta-button:hover,
.cta-button2:hover {
    transform: translateY(-5px) scale(1.05);

}

/* 全セクション共通 */
.section {
    padding: 70px 0;
}

.section-light {
    background-color: var(--bg-light);
}

.section-green {
    background: linear-gradient(135deg, var(--teal-main), var(--teal-dark));
}

.section-gray {
    background-color: var(--bg-gray);
}

.section-green-light {
    background-color: var(--bg-green-light);
}

/* 背景色変更の要望に対応するための新しいスタイル */
.section-bg-alt {
    background-color: #eef2f5;
    /* A subtle, cool gray */
}

.section-dark {
    background-color: var(--dark-blue);
    color: var(--white);
}

.section-title,
.section-titleW {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 45px;
    position: relative;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.section-title {
    color: var(--text-dark);
}

.section-titleW {
    color: var(--white);
}

.section-dark .section-title {
    color: var(--white);
}

.section-title::after,
.section-titleW::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-green), var(--secondary-green));
    border-radius: 2px;
}

.section-title .brand-name {
    color: var(--primary-green);
}

.sub-section-title {
    text-align: center;
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 600;
}

.tax-note {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-light);
    vertical-align: middle;
    margin-left: 2px;
}

/* アイコン共通スタイル */
.icon-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--secondary-green), #5cb85c);
    border-radius: 50%;
    color: white;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
    font-size: 2.5rem;
}

.support-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--secondary-green), #047857);
    border-radius: 50%;
    color: white;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

/* ===== START: お悩みセクションの更新 ===== */
#problems {
    background-color: var(--bg-gray); /* 背景色をグレーに変更 */
    color: var(--text-dark); /* テキスト色を濃い色に変更 */
}

#problems .section-title {
    color: var(--text-dark); /* タイトル色を濃い色に変更 */
}

#problems .section-title::after {
    background: var(--hero-accent-orange); /* タイトルの下線をオレンジに変更 */
}

.new-problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.new-problem-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 30px;
    text-align: center; /* 中央揃えに変更 */
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.new-problem-card .icon-wrapper {
    width: 80px; /* 円のサイズを指定 */
    height: 80px; /* 円のサイズを指定 */
    border-radius: 50%; /* 円形にする */
    background-color: #fff3e8; /* 薄いオレンジ色の背景 */
    margin: 0 auto 20px; /* 中央揃えと下の余白 */
    font-size: 2.5rem;
    color: var(--hero-accent-orange);
    display: flex; /* Flexboxでアイコンを中央に */
    align-items: center;
    justify-content: center;
}

.new-problem-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.new-problem-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    text-align: left; /* 段落は左揃えのまま */
}
/* ===== END: お悩みセクションの更新 ===== */


/* --- 8つの強みセクション --- */
.strengths-2col-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.strengths-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Reduced gap */
}

.strengths-column-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    padding: 12px 20px;
    margin-bottom: 5px;
    text-align: center;
    border-radius: 8px;
}

.hardware-title {
    background-color: var(--dark-blue);
}

.software-title {
    background-color: var(--primary-green);
}

.strength-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    flex-grow: 1;
}

.strength-icon-wrapper {
    width: auto;
    height: auto;
    margin: 0;
    background: none;
    border-radius: 0;
    color: var(--primary-green);
    font-size: 2.5rem;
    box-shadow: none;
    flex-shrink: 0;
    padding-top: 5px;
}


.hard-icon {
    color: var(--dark-blue);
}

.strength-content {
    padding: 0;
    flex-grow: 1;
}

.strength-content h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: auto;
    display: block;
}

.strength-content h3::before {
    content: none;
}

.strength-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* All-in-One Section */
.all-in-one-wrapper {
    text-align: center;
}

.all-in-one-wrapper p {
    font-size: 1.1rem;
    color: var(--text-light);
    /* max-width: 800px; */
    margin: auto;
    margin-bottom: 20px;
}

.all-in-one-wrapper img {
    width: 100%;
    max-width: 800px;
    height: auto;
}

/* Migration Trend Section */
.migration-section {
    text-align: center;
}
.migration-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
}
.migration-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}
.migration-visual .device-icon {
    font-size: 5rem;
    color: #bdc3c7;
}
.migration-visual .arrow-icon {
    font-size: 3rem;
    color: var(--primary-green);
}
.migration-visual .bcpos-logo img {
    height: 50px;
}

/* 比較セクション */
.comparison-container {
    border: 1px solid var(--border-light);
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.05);
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 1.0rem;
    vertical-align: middle;
}

/* NEW: Anchor link style in table */
.comparison-table .cell-content a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--primary-green);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.comparison-table .cell-content a:hover {
    color: var(--primary-green);
}


.comparison-table thead th {
    background-color: var(--bg-gray);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    vertical-align: bottom;
}

.comparison-table thead .pos-image-header th:first-child {
    background: #f0f3f0;
}

.comparison-table thead .pos-image-header th {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table thead .pos-image {
    max-height: 150px;
    width: auto;
    object-fit: contain;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .feature-col {
    width: 28%;
    font-weight: 600;
    background: #f0f3f0;
    padding-left: 50px;
}

.comparison-table .bcpos-col,
.comparison-table .tablet-col {
    width: 36%;
}

.comparison-table .cell-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.comparison-table .cell-content i {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.comparison-table .icon-good {
    color: var(--secondary-green);
}

.comparison-table .icon-bad {
    color: var(--error-red);
}

.comparison-table .icon-warning {
    color: var(--warning-orange);
}

.comparison-table .cell-content .sub-text {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 4px;
    font-weight: 500;
}

.recommended-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(45deg, var(--warning-orange), #e67e22);
    border-radius: 15px;
    vertical-align: middle;
}

.comparison-table .tablet-col {
    background-color: var(--bg-gray);
    color: var(--text-light);
}

.comparison-table .tablet-col .cell-content {
    font-weight: 700;
    color: #606060;
}

/* ===== NEW: Cost Truth & Comparison Section ===== */
.cost-truth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}
.cost-truth-card {
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    border-top: 5px solid;
    display: flex;
    flex-direction: column;
}
.cost-truth-card.tablet-pos {
    background-color: #fff2f2;
    border-color: var(--error-red);
}
.cost-truth-card.bcpos {
    background-color: var(--bg-green-light);
    border-color: var(--primary-green);
}
.cost-truth-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.cost-truth-header .icon {
    font-size: 2.5rem;
}
.cost-truth-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.cost-truth-content img {
    max-width: 200px;
    margin: auto;
    display: block;
}
.tablet-pos .cost-truth-header .icon { color: var(--error-red); }
.bcpos .cost-truth-header .icon { color: var(--primary-green); }

.cost-truth-content {
    flex-grow: 1;
}
.cost-truth-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1em;
}
.cost-truth-content p:last-child {
    margin-bottom: 0;
}
.cost-truth-content strong {
    color: var(--error-red);
    font-weight: bold;
}
 .cost-truth-content .highlight-keyword {
    background: linear-gradient(transparent 60%, #a6d8b6 60%);
}

.ten-year-wrapper {
    /* display: flex; */
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    background-color: #e8f5e9;
    padding: 10px 20px;
    border-radius: 12px;
}
.ten-year-logo {
    flex-shrink: 0;
    width: 120px;
    margin: auto;
    margin-bottom: 10px;
}
.ten-year-logo img {
    width: 100%;
    height: auto;
    display: block;
}
.ten-year-text p {
    margin-bottom: 0.5em !important;
}
.ten-year-text p:last-child {
    margin-bottom: 0 !important;
}
.ten-year-text .sub-text {
    font-size: 0.85rem;
    color: var(--text-light);
}
.cost-truth-content .ten-year-text strong {
    color: var(--dark-green);
    font-weight: bold;
}

.cost-comparison-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}
.cost-comparison-intro h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.cost-comparison-intro p {
    font-size: 1rem;
    color: var(--text-light);
}
.cost-comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.cost-comparison-table th, .cost-comparison-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-light);
}


.cost-comparison-table thead th {
    background-color: var(--dark-blue);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.cost-comparison-table thead th span{

    font-size: 0.6rem;
}


.cost-comparison-table tbody th {
    background-color: var(--bg-gray);
    font-weight: 600;
    text-align: left;
    font-size: 0.9rem;
}
.cost-comparison-table tbody td {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}
.cost-comparison-table .highlight-col {
    background-color: var(--bg-green-light);
}
.cost-comparison-table .highlight-col th, .cost-comparison-table .highlight-col td {
    font-weight: bold;
    color: var(--dark-green);
}
.cost-comparison-footnote {
    text-align: right;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    
padding: 0px 20px 20px;
}
/* ===== END: Cost Comparison Section ===== */

/* ★★★ START: 費用合計を目立たせるためのスタイル ★★★ */
.total-cost-col {
    background-color: #e6f7ff !important; /* 明るい青色の背景 */
    font-weight: 900 !important; /* 太字 */
    color: #005f99 !important; /* 濃い青色の文字 */
    font-size: 1.2rem !important; /* 少し大きめのフォントサイズ */
    border: 2px solid #007bff !important; /* 青色の枠線 */
}
/* ★★★ END: 費用合計を目立たせるためのスタイル ★★★ */


/* 機能セクションのスタイル */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border-light);
    border-top: none;
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(135deg, var(--secondary-green), #5cb85c);
}

.feature-card h3 {
    font-size: 1.3rem;
    min-height: 3.9em;
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -1.7px;
    color: var(--text-dark);
}

.feature-card .feature-description {
    font-size: 0.95rem;
    color: var(--text-light);
    flex-grow: 1;
    text-align: left;
    line-height: 1.6;
}

.highlight-keyword {
    background: linear-gradient(transparent 60%, #e5bea6 60%);
    padding: 0 2px;
}

/* キャッシュレス決済セクション */
.cashless-container p {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.terminals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.terminal-card {
    text-align: center;
}

.terminal-card img {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.terminal-card-name {
    font-weight: 600;
    color: var(--text-dark);
}

.payment-logos-container {
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 20px;
}

.payment-category {
    margin-bottom: 20px;
}

.payment-category:last-child {
    margin-bottom: 0;
}

.payment-category h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-green);
    display: inline-block;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.logos-grid img {
    height: 28px;
    max-width: 100px;
}

.bcpos-re .slider_box_cashless {
    padding: 24px 0;
}

.bcpos-re .slider_box_cashless .slick-track {
    max-height: 154px;
    display: flex;
    gap: 10px;
}

.bcpos-re .slider_box_cashless_inner {
    margin: 0;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    background: var(--white);
}

.slick-prev:before,
.slick-next:before {
    font-size: 30px;
    color: var(--primary-green);
}

.bcpos-re .slider_box_cashless_inner a,
.bcpos-re .slider_box_cashless_inner span {
    display: flex;
    flex-flow: column wrap;
    align-self: stretch;
    padding: 10px 5px 5px;
    color: var(--text-light);
    text-decoration: none;
}

.bcpos-re .slider_box_cashless_inner figure {
    display: block;
    height: 80px;
    padding: 0;
    text-align: center;
}

.bcpos-re .slider_box_cashless_inner img {
    width: auto;
    max-width: 100%;
    height: 72px;
    margin: 0 auto;
}

.bcpos-re .slider_box_cashless_inner p {
    min-height: 2.8lh;
    padding: 8px 0 0;
    line-height: 1.4;
    text-align: center;
}

.bcpos-re .slider_box_cashless .slick-next.slick-arrow {
    right: -9px;
}

.bcpos-re .slider_box_cashless .slick-prev.slick-arrow {
    left: -15px;
}

.cashlessall_box {
    font-size: 15px !important;
    margin-top: 20px !important;
}

@media screen and (min-width: 768px) {
    .bcpos-re .slider_box_cashless .slick-next.slick-arrow {
        right: -25px;
    }

    .bcpos-re .slider_box_cashless .slick-prev.slick-arrow {
        left: -25px;
    }
}

.semiself_box>div:nth-of-type(1)>img {
    max-width: 100%;
}

/* ▼▼▼ 補助金セクション修正箇所 ▼▼▼ */
.subsidy-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.subsidy-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.subsidy-item {
    background-color: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 5px solid var(--primary-green);
    text-align: left;
}
/* ▲▲▲ 補助金セクション修正箇所 ▲▲▲ */


/* --- 料金プランセクション --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 10px;
    align-items: stretch;
}

.pricing-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.pricing-card.recommended {
    border-color: var(--secondary-green);
}

.recommended-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-green);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-card .plan-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    min-height: 2.7rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--error-red);
    margin: 10px 0;
    line-height: 1;
}

.price-unit {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.pricing-card ul:not(.hardware-set-details .set-items) {
    list-style: none;
    text-align: left;
    font-size: 0.95rem;
    flex-grow: 1;
    padding: 20px 0;
    margin: 20px 0 0;
    border-top: 1px solid var(--border-light);
}

.pricing-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pricing-card li i {
    color: var(--secondary-green);
    font-size: 1.2rem;
}

#hardware-pricing .pricing-card p {
    flex-grow: 1;
}

.pricing-image {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
}

.pricing-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sub-section-title.pricing-title {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px;
    font-size: 1.5rem;
    font-weight: 700;
}

.hardware-set-details {
    margin-top: 20px;
    text-align: left;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background-color: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hardware-set-details .set-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    background-color: var(--primary-green);
    padding: 10px 15px;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}

.hardware-set-details .set-items {
    list-style: none;
    padding: 15px;
    margin: 0;
}

.hardware-set-details .set-items li {
    padding-left: 1.8em;
    text-indent: -1.8em;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.hardware-set-details .set-items li:last-child {
    margin-bottom: 0;
}

.hardware-set-details .set-items li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f00c";
    /* Font Awesome check icon */
    color: var(--secondary-green);
    margin-right: 0.8em;
}

#hardware-pricing .pricing-card .mini {
    margin-top: auto;
    padding-top: 10px;
}

.cta-button-small {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-green), var(--secondary-green));
    color: white;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.2);
    transition: all 0.3s ease;
    margin-top: auto;
}

.cta-button-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 166, 81, 0.3);
}


/* サポートとFAQ */
.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.support-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

/* === MODIFIED: 訪問サポートを強調 === */
.support-card.highlight-support {
    border: 2px solid var(--warning-orange);
    background-color: #fffaf5;
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.15);
}

.support-card.highlight-support h3 {
    color: var(--warning-orange);
}

.support-card.highlight-support .support-icon-wrapper {
    background: linear-gradient(135deg, var(--warning-orange), #e67e22);
}
/* === END MODIFICATION === */


.support-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.support-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.faq-item {
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.faq-question {
    padding: 18px 25px;
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.05rem;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e5fddc;
}

.faq-question::after {
    content: '▼';
    font-size: 0.8rem;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: var(--primary-green);
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s ease;
    background: white;
    font-size: 1rem;
    color: var(--text-light);
}

.faq-answer p {
    padding: 1em 0;
}

.faq-answer.active {
    padding: 0 25px;
    max-height: 200px;
}

/* 実績セクション */
.stats {
    background: linear-gradient(135deg, var(--teal-main), var(--teal-dark));
    color: white;
}

.stats .section-title {
    color: white;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.stat-item .icon-wrapper {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
    height: auto;
}



.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
    color: var(--white);
    line-height: 1;
    flex-wrap: nowrap;
}

.stat-number {
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.stat-unit {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 4px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    font-weight: 500;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.use-case-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.use-case-image {
    width: 100%;
    height: 220px;
    background-color: var(--border-light);
}

.use-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.use-case-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.use-case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.use-case-card .industry {
    font-size: 0.85rem;
    color: var(--secondary-green);
    font-weight: 600;
    margin-bottom: 15px;
    padding: 5px 12px;
    background: var(--bg-green-light);
    border-radius: 20px;
    display: inline-block;
}

.use-case-card p {
    font-size: 0.95rem;
    flex-grow: 1;
}

.footer-wrapper {
    background-color: #F8F9FA;
}

.busicom-copyright-wrapper {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.busicom-copyright {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* --- New CTA Section --- */
.final-cta-reborn {
    position: relative;
    padding: 80px 0;
    color: var(--white);
    background: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?q=80&w=1974&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.final-cta-reborn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 100, 70, 0.7);
    z-index: -1;
}

.cta-reborn-main-title {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 40px;
    text-align: center;
}

.final-cta-reborn-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-reborn-content-card {
    background: var(--white);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 700px;
    text-align: center;
}

.cta-reborn-content-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.cta-reborn-content-card .subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-reborn-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-reborn-button {
    display: block;
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-reborn-button .main-text {
    display: block;
}

.cta-reborn-button .sub-text {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 4px;
}

.cta-reborn-primary {
    background: linear-gradient(45deg, var(--warning-orange), #e67e22);
    color: white;
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

.cta-reborn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(230, 126, 34, 0.4);
}

.cta-reborn-secondary {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.cta-reborn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
}

.cta-reborn-secondary-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


.cta-reborn-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 20px;
}

/* =====【更新】中間CTAセクション ===== */
#intermediate-cta {
    position: relative;
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    background: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?q=80&w=1974&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

#intermediate-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 100, 70, 0.7);
    /* Dark teal overlay */
    z-index: -1;
}

#intermediate-cta .intermediate-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

#intermediate-cta .intermediate-cta-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
}

#intermediate-cta .cta-button {
    padding: 20px 50px;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== ここまで ===== */

/* Responsive */
@media (max-width: 992px) {
    .sponly {
        display: block;
    }

    .faq-question {
        padding: 18px 60px 18px 20px;
    }

    .global-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .busicom-corp-link {
        display: none;
    }

    .site-logo {
        margin-right: 0;
        position: static;
    }

    .hero {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    /* ▼▼▼ ヒーローセクション修正箇所 ▼▼▼ */
    .hero-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text-content {
        display: contents; /* 子要素を直接のFlexアイテムにする */
    }

    .hero-text-content h1 {
        order: 1; /* 1番目に表示 */
        font-size: 2rem;
    }

    .hero-image-area {
        order: 2; /* 2番目に表示 */
        margin-bottom: 0;
    }

    .hero-text-content .hero-description {
        order: 3; /* 3番目に表示 */
    }

    .hero-cta-button {
        order: 4; /* 4番目に表示 */
        width: 100%;
        max-width: 400px;
        justify-content: center;
        margin: 0 auto; /* 中央揃え */
    }
    
    .hero-price-badge {
        width: 150px;
        height: 150px;
        top: 10px;
        right: 10px; /* 見切れないように内側に配置 */
    }
    /* ▲▲▲ ヒーローセクション修正箇所 ▲▲▲ */

    .hero-price-badge .badge-price {
        font-size: 2rem;
    }

    .new-problems-grid, /* 更新 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-card.highlight-support {
        grid-column: 1 / -1; /* 2列表示の際に100%幅にする */
        transform: scale(1); /* 拡大をリセット */
    }

    .use-cases-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .strengths-2col-container {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.recommended {
        transform: scale(1);
    }

    .subsidy-list-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

}

@media (max-width: 768px) {
    .header-corp-bar {
        display: none;
    }

    .site-logo img {
        height: 30px;
    }

    .section {
        padding: 50px 0;
    }

    .hero-text-content h1 {
        font-size: 1.8rem;
    }

    .strength-item {
        text-align: center;
    }

    .strengths-grid,
    .use-cases-grid,
    .features-grid,
    .support-grid,
    .new-problems-grid, /* 更新 */
    .stats-grid,
    .cost-truth-container,
    .subsidy-list-container {
        grid-template-columns: 1fr;
    }
    
    .migration-visual {
        flex-direction: column;
        gap: 15px;
    }
    .migration-visual .arrow-icon {
        transform: rotate(90deg);
    }

    .final-cta-reborn {
        padding: 60px 20px;
    }

    .cta-reborn-main-title {
        font-size: 1.8rem;
    }

    .cta-reborn-content-card {
        padding: 30px;
    }

    .cta-reborn-content-card h3 {
        font-size: 1.5rem;
    }

    .cta-reborn-secondary-group {
        grid-template-columns: 1fr;
    }

    #intermediate-cta {
        padding: 60px 20px;
    }

    #intermediate-cta .intermediate-cta-content h2 {
        font-size: 1.8rem;
    }
    
    .ten-year-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .ten-year-logo {
        width: 100px; /* smaller logo on mobile */
        margin-bottom: 15px;
    }
}

.section-dark {
    position: relative;
    padding-bottom: 70px;
}

.section-dark::after {
    content: '';
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: 28px;
    height: 84px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='60' viewBox='0 0 20 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' y2='1'%3E%3Cstop stop-color='%2300a651'/%3E%3Cstop offset='1' stop-color='%2300796b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M10 2 V50 M10 50 L4 42 M10 50 L16 42' stroke='url(%23g)' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 768px) {
    .section-dark {
        padding-bottom: 50px;
    }

    .section-dark::after {
        bottom: -35px;
        height: 70px;
    }
}