@charset "utf-8";

/* ==================================================
   POS Hardware Solution Section (.solutionPosHard)
   ================================================== */

/* Main Visual */
.solutionPosHardMain {
    background: #1a4da3;
    color: #ffffff;
    padding: 80px 0;
}
.solutionPosHardMain__flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.solutionPosHardMain__content {
    flex: 1.1;
}
.solutionPosHardMain__label {
    display: inline-block;
    background: #e87400;
    padding: 4px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 100px;
    margin-bottom: 30px;
    line-height: 1;
}
.solutionPosHardMain__title {
    font-size: 44px;
    line-height: 1.3;
    margin: 0 0 25px 0;
    font-weight: bold;
}
.solutionPosHardMain__lead {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* ボタンエリア */
.solutionPosHardMain__btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 360px;
}
.solutionPosHardMain__btnEstimate {
    display: block;
    background: #ff9900;
    color: #ffffff !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: bold;
    padding: 20px 10px;
    border-radius: 100px;
    box-shadow: 0 4px 0 #cc7a00;
    transition: all 0.2s ease-in;
}
.solutionPosHardMain__btnEstimate:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #cc7a00;
}
.solutionPosHardMain__btnRental {
    display: block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: bold;
    padding: 18px 10px;
    border: 2px solid #ffffff;
    border-radius: 100px;
    transition: all 0.2s ease-in;
}
.solutionPosHardMain__btnRental:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 画像グリッドエリア */
.solutionPosHardMain__image {
    flex: 1;
}
.solutionPosHardMain__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.solutionPosHardMain__gridItem {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
}
.solutionPosHardMain__gridItem img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Product Lineup */
.solutionPosHardLineupTtl::after {
    display: none !important;
}
.solutionPosHardLineup {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 2%;
}
.solutionPosHardCard {
    width: 23.5%;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
    border-bottom: 2px solid #eee;
}
.solutionPosHardCard__img {
    text-align: center;
    margin-bottom: 15px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.solutionPosHardCard__name {
    font-size: 20px;
    color: #1a4da3;
    margin: 0 0 5px 0;
}
.solutionPosHardCard__cat {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}
.solutionPosHardCard__text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    min-height: 4.8em;
}
.solutionPosHardCard__usage {
    font-size: 12px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* Spec Table */
.solutionPosHardTableTtl::after {
    display: none !important;
}
.solutionPosHardTableWrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: 
        linear-gradient(to right, white 30%, rgba(255, 255, 255, 0)),
        linear-gradient(to right, rgba(255, 255, 255, 0), white 70%) 0 100%,
        radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)),
        radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)) 0 100%;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
    background-position: 0 0, 100% 0, 0 0, 100% 0;
    background-attachment: local, local, scroll, scroll;
}
.solutionPosHardTable {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    background: transparent;
}
.solutionPosHardTable th,
.solutionPosHardTable td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: center;
}
.solutionPosHardTable thead th {
    background: #1a4da3;
    color: #fff;
}
.solutionPosHardTable tbody th {
    background: #f9f9f9;
    text-align: left;
    width: 200px;
}
.solutionPosHardTable .highlight {
    background: #fff9e6;
    font-weight: bold;
    color: #e87400;
}
/* スクロール注釈（PCでは非表示） */
.solutionPosHardTableNote {
    display: none;
    font-size: 12px;
    margin-top: 10px;
    color: #666;
    text-align: right;
}

/* Support Section */
.solutionPosHardSupport {
    background: #1a4da3;
    color: #fff;
    padding: 80px 0;
}
.solutionPosHardSupport__flex {
    display: flex;
    align-items: center;
    gap: 60px;
}
.solutionPosHardSupport__content {
    flex: 1;
}
.solutionPosHardSupport__title {
    font-size: 28px;
    margin-bottom: 30px;
}
.solutionPosHardSupport__subTitle {
    font-size: 20px;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}
.solutionPosHardSupport__subTitle::before {
    content: "■";
    position: absolute;
    left: 0;
    color: #e87400;
}
.solutionPosHardSupport__image {
    flex: 1;
    text-align: right;
}
.solutionPosHardSupport__image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* FAQ Section */
.commonSeoFaqTtl {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #035fb4;
    margin-bottom: 30px;
}
.commonSeoFaq .faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
}
.commonSeoFaq .faq-q {
    padding: 15px 20px 15px 45px;
    font-weight: bold;
    position: relative;
    color: #035fb4;
}
.commonSeoFaq .faq-q::before {
    content: "Q";
    position: absolute;
    left: 15px;
    color: #035fb4;
}
.commonSeoFaq .faq-a {
    background: #f9f9f9;
    padding: 15px 20px 15px 45px;
    border-top: 1px solid #eee;
    position: relative;
}
.commonSeoFaq .faq-a::before {
    content: "A";
    position: absolute;
    left: 15px;
    color: #e57400;
    font-weight: bold;
}

/* Responsive (SP) */
@media only screen and (max-width: 767px) {
    .solutionPosHardMain { padding: 20px 0 40px; }
    .solutionPosHardMain__flex { flex-direction: column-reverse; text-align: center; gap: 20px; }
    .solutionPosHardMain__image { width: 100%; margin: 0 0 20px 0; }
    .solutionPosHardMain__grid { gap: 8px; max-width: 340px; margin: 0 auto; }
    .solutionPosHardMain__gridItem { padding: 5px; border-radius: 8px; }
    .solutionPosHardMain__title { font-size: 24px; margin-bottom: 15px; }
    .solutionPosHardMain__lead { font-size: 15px; margin-bottom: 25px; text-align: center; }
    .solutionPosHardMain__btns { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
    .solutionPosHardMain__btnEstimate,
    .solutionPosHardMain__btnRental { font-size: 16px; padding: 15px 10px; }

    .solutionPosHardLineupTtl { font-size: 28px !important; }
    .solutionPosHardCard { width: 100%; padding: 25px; }
    .solutionPosHardCard__name { font-size: 24px; }
    .solutionPosHardCard__cat, .solutionPosHardCard__text { font-size: 18px; }
    .solutionPosHardCard__usage { font-size: 16px; }

    /* スクロール注釈をモバイルでのみ表示 */
    .solutionPosHardTableNote { display: block; }

    .solutionPosHardSupport__flex { flex-direction: column; gap: 30px; }
    .solutionPosHardSupport__image { width: 100%; order: -1; text-align: center; }
}