@charset "UTF-8";

/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    background-color: #f1f1f1;
    color: #34495e;
    line-height: 1.8;
}
.integration-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
/* ヘッダー */
.integration-header {
    margin-bottom: 40px;
    text-align: center;
}
.integration-header h1 {
    font-size: 38px !important;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    letter-spacing: 1px;
    line-height: 1.3 !important;
}
.integration-header p {
    font-size: 15px;
    color: #5a6e82;
    margin: 0 auto;
    line-height: 1.8;
}
/* メインコンテンツ */
.detail-content-wrapper {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9ecef;
}
.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
}
.breadcrumb a {
    color: #00863C;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: #005a28;
    text-decoration: underline;
}
.breadcrumb span {
    margin: 0 10px;
    color: #6c757d;
}

/* 2カラムレイアウト */
.detail-body-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.detail-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    padding-right: 40px;
    border-right: 1px solid #e9ecef;
}
.detail-main {
    flex-grow: 1;
    min-width: 0;
    overflow-wrap: break-word; /* Prevent text overflow */
}
.sidebar-logo {
    max-width: 200px;
    margin-bottom: 25px;
}
.detail-sidebar h1 {
    font-size: 24px !important;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3 !important;
    margin-bottom: 8px;
}
.detail-sidebar h1 a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 5px;
    transition: color 0.2s;
}

.detail-sidebar h1 a i {
    padding-left: 10px;
}

.detail-sidebar h1 a:hover {
    color: #00863C;
    text-decoration: none;
}
.detail-sidebar .subtitle {
    font-size: 16px;
    color: #5a6e82;
    margin-bottom: 20px;
}
.detail-sidebar .company-name {
    font-size: 14px;
    font-weight: 600;
    color: #34495e;
    padding-left: 15px;
    border-left: 3px solid #00863C;
    margin-bottom: 20px;
}

/* セクション */
.detail-section {
    margin-bottom: 60px;
}
.detail-section h2{
    margin-top:0px!important;
}
.detail-section h2 {
    font-size: 24px !important;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    text-align: center;
    margin-top:30px;
}
.detail-section h3 {
    font-size: 21px !important;
    font-weight: 500;
    color: #ffffff;
    background: linear-gradient(135deg, #5a6e82 0%, #34495e 100%);
    margin-bottom: 25px;
    padding: 12px 20px;
    border-radius: 8px;

    border-left: solid 5px #7db4e6;/*左線*/
    box-shadow: 0 4px 15px rgba(52, 73, 94, 0.2);
    margin-top: 30px;
}
.detail-section h3 a {
    color: inherit;
    text-decoration: none;
}
.detail-section h3 a:hover {
    text-decoration: underline;
}
.detail-section p {
    font-size: 15px;
    color: #0c0c0c;

    padding-bottom: 10px;
}
.detail-section img {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
    box-sizing: border-box;
    border-radius: 8px;

    /* border: 1px solid #e9ecef; */
}
.feature-image {
    max-width: 75%;
    margin: 40px auto;
}

/* 決済端末ページ専用スタイル */
.payment-feature-card {
    background-color: #ffffff;
    /* border: 1px solid #e9ecef; */
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    overflow: hidden;
}

.payment-feature-card h4 {
    font-size: 19px !important;
    font-weight: 700;
    color: #00863C;
    margin-bottom: 15px;
}
.sub-feature {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}
.sub-feature h5 {
    font-size: 17px !important;
    font-weight: 700;
    color: #34495e;
    margin-bottom: 15px;
}

.payment-feature-layout {
    display: flex;
    gap: 40px;
    align-items: center;
}

.payment-feature-layout.layout-reverse {
    flex-direction: row-reverse;
}

.payment-feature-layout .text-content {
    flex: 1;
}

.payment-feature-layout .image-content {
    flex: 1;
    max-width: 350px; /* 画像の最大幅 */
    text-align: center;
}
.payment-feature-layout .image-content img {
    border: none;
}

/* コンポーネント */
.info-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: #f8f9fa;
    padding: 25px;
    margin: 30px 0;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}
.info-box-icon {
    font-size: 24px;
    margin-top: 5px;
}
.info-box-content p {
    margin-bottom: 0;
    font-size: 15px;
    color: #34495e;
}
.info-box.summary {
    border-top: 4px solid #1e88e5;
}
.info-box.summary .info-box-icon {
    color: #1e88e5;
}
.note-box {
    background-color:#f7f7f7;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}
.note-box p{    color: #ba1a1a;
    font-weight: 500;
}
.partner-banner {
    background: #eef3f3;
    color: #00863C;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;

}
.partner-banner i {
    font-size: 32px;
}
.partner-banner p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #00863C;
    padding-bottom: 0px;
}
.price-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}
.price-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}
.price-list li:last-child {
    border-bottom: none;
}
.price-list li:nth-child(odd) {
    background-color: #f8f9fa;
}
.price-list .item-name {
    font-weight: 600;
}
.price-list .item-price {
    font-weight: 600;
    color: #00863C;
}
.price-note {
    font-size: 13px;
    color: #6c757d;
    margin-top: 10px;
}
.table-responsive-wrapper {
    margin: 25px 0;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow-x: auto; /* Allow horizontal scrolling for the table */
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 600px; /* Prevent table content from collapsing too much */
}
.price-table th, .price-table td {
    border-bottom: 1px solid #e9ecef;
    padding: 12px 8px;
    text-align: center;
    vertical-align: middle;
    word-break: break-word;
}
.price-table tr > th:not(:last-child),
.price-table tr > td:not(:last-child) {
    border-right: 1px solid #e9ecef;
}

.price-table tr:last-child td {
    border-bottom: none;
}
.price-table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom-width: 2px;
}
.price-table tbody tr:nth-child(even) {
    background-color: #fdfdfd;
}

.price-table td img {
    margin: 0 auto;
}
.price-table img {
    max-width: 100%;
    height: auto;
    display: block;
    border: none !important;
    margin: 0 auto !important;
    max-width: 250px;
    max-height: 170px;
}
.link_blue {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #c0392b;
    border-radius: 25px;
    background-color: #c0392b;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}
.link_blue:hover {
    background-color: #a93226;
    border-color: #a93226;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(192, 57, 43, 0.3);
}

.link_blue.no-red {
    background-color: #2980b9;
    border-color: #2980b9;
}

.link_blue.no-red:hover {
    background-color: #2471a3;
    border-color: #2471a3;
    box-shadow: 0 4px 10px rgba(41, 128, 185, 0.3);
}

.link_red {
    display: block;
    text-align: center;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
    background-color: #c0392b;
    color: #ffffff;
    border: 1px solid #c0392b;
}
.link_red:hover {
    background-color: #a53125;
    color: #ffffff;
    border-color: #a53125;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.checklist {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}
.checklist li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
}
.checklist i.fa-check-circle {
    position: absolute;
    left: 0;
    top: 5px;
    color: #27ae60;
    font-size: 20px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
}
.category-tag {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    line-height: 1;
}
.tag-hanbai { background-color: #27ae60; }
.tag-kaikei { background-color: #2980b9; }
.tag-erp { background-color: #8e44ad; }
.tag-kessai { background-color: #f39c12; }
.tag-ec { background-color: #c0392b; }
.tag-inshoku { background-color: #d35400; }
.tag-gyoushu { background-color: #008080; }
.tag-point { background-color: #e67e22; }
.tag-pos { background-color: #16a085; }

.product-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    transition: background-color 0.2s, color 0.2s;
}
.tag-bcpos { background-color: #e9f7ef; color: #27ae60; }
.tag-tenpovisor { background-color: #e3f2fd; color: #1e88e5; }
.tag-rearegi { background-color: #e0f7fa; color: #00838f; }
.tag-misemegu { background-color: #fff3e0; color: #e67e22; }
.tag-atto { background-color: #fef9e7; color: #f1c40f; }

/* eあっと免税のタグスタイルを追加 */
.tag-eatto {
    background-color: #f3e9f7;
    color: #8e44ad;
}


.back-to-list-btn {
    display: inline-block;
    text-align: center;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #34495e;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}
.back-to-list-btn:hover {
    background-color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
 color: #fff;
}
  .task-list {
    list-style: none;
    padding: 10px 0 0 10px;
}
.task-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #34495e;
}
.task-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    background-color: #27ae60;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    border-radius: 50%;
    font-size: 14px;
}

.tenpovisor-section {
    display: flex;
    gap: 0px 30px;
    align-items: center;
    margin-top: 30px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.tenpovisor-section .image-column {
    flex: 0 0 40%;
    max-width: 300px;
}
.tenpovisor-section .image-column img {
    max-width: 100%;
    border-radius: 8px;
}
.tenpovisor-section .text-column {
    flex: 1;
}
.tenpovisor-section .text-column h3 {
    font-size: 22px !important;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 15px;
}
.tenpovisor-section .text-column p {
    margin-bottom: 15px;
}
.tenpovisor-section .text-column ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}
.tenpovisor-section .text-column ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}
.tenpovisor-section .text-column ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: #27ae60;
}

.bcpos-section {
    flex-wrap: wrap;
    align-items: flex-start;
}
.bcpos-section .features-wrapper {
    width: 100%;
    margin-top: 20px;
}
.bcpos-section .features-wrapper h3 {
    text-align: left;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #2c3e50 !important;
    font-size: 18px !important;
    border-bottom: 2px solid #e9ecef !important;
    padding-bottom: 10px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-left: none !important;
}
.bcpos-section .features-wrapper .checklist {
    margin-top: 25px;
}

.mjs-section {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    margin-top: 40px;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.mjs-section > h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 25px;
    text-align: left;
    font-size: 26px !important;
    padding-left: 20px;
    position: relative;
}

.mjs-section > h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: #2980b9;
    border-radius: 3px;
}

.ai-feature-box {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e7ff;
    border-left: 5px solid #5c7cfa;
    margin: 30px 0;
}

.mjs-section .ai-feature-box h3 {
    background: none;
    color: #3d5afe !important;
    font-size: 20px !important;
    font-weight: 700;
    padding: 0;
    margin: 0 0 10px 0;
    border: none;
    box-shadow: none;
}

.product-card-grid {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mjs-section .product-card h3 {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 0 15px 0;
    color: #2980b9 !important;
    font-size: 19px !important;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
}

.product-card p:not(.rtext) {
    flex-grow: 1;
    margin-bottom: 20px;
    font-size: 15px;
    color: #5a6e82;
}

.product-card .rtext {
    margin: 0;
    text-align: right;
}

.contact-link-full {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: #00863C;
    padding: 15px 40px;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}
.contact-link-full:hover {
    background-color: #005a28;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.contact-link-full i {
    margin-right: 8px;
}

/* 決済ソリューションへのリンクバナー */
.payment-solution-banner {
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #345f9d;
    margin-top: 20px;
}

.payment-solution-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(52, 95, 157, 0.3);
}

.payment-solution-banner .payment-solution-banner-image {
    flex-shrink: 0;
    width: 40%;
    max-width: 280px;
    background-color: #ffffff;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.payment-solution-banner .payment-solution-banner-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.payment-solution-banner .payment-solution-banner-text {
    flex-grow: 1;
    padding: 20px 30px;
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.3s ease;
}

.payment-solution-banner:hover .payment-solution-banner-text {
    transform: scale(1.05);
}

.payment-solution-banner .payment-solution-banner-text i {
    margin-left: 10px;
    font-size: 16px;
}


/* --- Responsive Styles --- */

@media (max-width: 992px) {
    .detail-body-grid {
        display: block; /* From flex to block for simpler layout on mobile */
    }
    .detail-sidebar {
        width: 100%;
        position: static;
        border-bottom: 1px solid #e9ecef;
        padding-bottom: 30px;
        border-right: none;
        padding-right: 0;
        margin-bottom: 30px; /* Add margin to create space */
    }
    .payment-feature-layout,
    .payment-feature-layout.layout-reverse {
        flex-direction: column;
        gap: 20px;
    }
    .payment-feature-layout .image-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .integration-container {
        padding: 30px 15px;
    }
    .integration-header h1 {
        font-size: 30px !important;
    }
    .integration-header p {
        font-size: 14px;
    }
    .detail-content-wrapper {
        padding: 30px 20px;
    }
    .detail-section {
        margin-bottom: 40px;
    }
    .detail-section h2 {
        font-size: 22px !important;
    }
    .detail-section h3 {
        font-size: 19px !important;
        padding: 10px 15px;
    }
    .detail-sidebar h1 {
        font-size: 22px !important;
    }
    .info-box {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    .info-box-icon {
        margin-top: 0;
    }
    .tenpovisor-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .tenpovisor-section .text-column ul li {
        text-align: left;
        padding-left: 25px;
    }
    .tenpovisor-section .text-column ul li::before {
        left: 0;
    }
    .product-card-grid {
        grid-template-columns: 1fr;
    }
    .payment-solution-banner {
        flex-direction: column;
    }
    .payment-solution-banner .payment-solution-banner-image {
        width: 100%;
        max-width: none;
    }
    .payment-solution-banner .payment-solution-banner-text {
        font-size: 16px;
        padding: 20px;
    }
    .payment-feature-card {
        padding: 20px;
    }
    .task-list li, .checklist li {
        font-size: 15px;
    }
}

/* mjs.html ページ固有のスタイル */
.mjs-product-card-grid {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 30px;
    margin-top: 30px;
}

.mjs-product-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mjs-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mjs-product-card-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
    margin-bottom: 15px;
}

.mjs-product-card h3 {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    color: #2980b9 !important;
    font-size: 19px !important;
    font-weight: 700;
}

.mjs-product-card p:not(.rtext) {
    flex-grow: 1;
    margin-bottom: 20px;
    font-size: 15px;
    color: #5a6e82;
}

.mjs-product-card .rtext {
    margin: 0;
    text-align: right;
}

.mjs-product-card .mjs-link-button {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    background-color: #2980b9;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mjs-product-card .mjs-link-button:hover {
    background-color: #2471a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(41, 128, 185, 0.3);
}

.mjs-product-card .mjs-link-button i {
    margin-left: 8px;
}

@media (max-width: 768px) {
    .mjs-product-card-grid {
        grid-template-columns: 1fr;
    }
    .mjs-product-card-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .mjs-product-card-title-wrapper h3 {
        margin-bottom: 10px;
    }
}
