@charset "UTF-8";

/* ==================================================
   1. 共通設定・レイアウト
   ================================================== */
.hardware_grid {
    display: block;
    margin-bottom: 0;
}

.bg_gray {
    background-color: #f8f9fc;
}

/* ハードウェアセクション全体のヘッダー */
#hardware_intro {
    padding: 50px 0; /* 上下余白を大幅に削減（100px → 50px） */
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
}

.hardware_main_header {
    text-align: center;
    margin-bottom: 30px; /* 余白削減（60px → 30px） */
}

/* メインタイトル */
.hardware_main_header .main_title {
    font-size: 3.6rem;
    font-weight: 800;
    color: #333;
    line-height: 1.3;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}
/* 
.hardware_main_header .main_title::after {
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    background: #444692;
    margin: 10px auto 0;
    border-radius: 10px;
} */

.hardware_intro_text {
    font-size: 1.8rem;
    color: #555;
    margin-top: 20px;
}

/* ==================================================
   2. 強化版アンカーナビゲーション（カードデザイン）
   ================================================== */
.hardware_anchor_grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 auto 40px; /* 下部余白削減（100px → 40px） */
    max-width: 1000px;
    padding: 0 20px;
}

.hw_nav_card {
    display: flex;
    align-items: center;
    width: 50%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 20px 25px; /* パディング削減（25px → 20px） */
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.hw_nav_card:hover {
    background: #444692;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(68, 70, 146, 0.2);
    border-color: #444692;
}

/* アイコン部分 */
.hw_nav_icon {
    font-size: 3.5rem;
    color: #444692;
    background: #f0f2f8;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hw_nav_card:hover .hw_nav_icon {
    background: #fff;
    color: #444692;
}

/* テキスト部分 */
.hw_nav_info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hw_nav_sub {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.hw_nav_main {
    font-size: 2.2rem;
    font-weight: bold;
    color: #444692;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.hw_nav_card:hover .hw_nav_sub,
.hw_nav_card:hover .hw_nav_main {
    color: #fff;
}

/* 矢印アイコン */
.hw_nav_arrow {
    font-size: 1.8rem;
    color: #ccc;
    transition: all 0.3s ease;
}

.hw_nav_card:hover .hw_nav_arrow {
    color: #fff;
    transform: translateX(5px);
}

/* ==================================================
   3. 各セクションの区切り見出し（ネイビー背景）
   ================================================== */
.hw_section_divider {
    background: #444692;
    padding: 30px 20px; /* パディング削減（50px → 30px） */
    margin: 40px 0 30px; /* マージン削減（80px/60px → 40px/30px） */
    border-radius: 15px;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 25px rgba(68, 70, 146, 0.2);
}

.hw_section_divider .main_title {
    color: #fff !important;
    font-size: 2.8rem !important;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
}

.hw_section_divider .sub {
    color: rgba(255,255,255,0.6) !important;
    font-size: 1.3rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.hw_section_divider span {
    color: #ffcf2d;
}

/* ==================================================
   4. Seav-ME 紹介エリア（ヒーローセクション）
   ================================================== */
.hw_simple_hero {
    padding: 30px 20px; /* 余白削減（60px → 30px） */
    margin-bottom: 30px;
    text-align: center;
    background: #fff;
    border-radius: 20px;
}

.hw_label {
    font-size: 1.6rem;
    color: #888;
    margin-bottom: 5px;
}

.hw_title {
    font-size: 5.4rem !important;
    color: #444692;
    font-weight: 900;
    margin-bottom: 10px !important;
    border: none !important;
    line-height: 1;
}

.hw_lead {
    font-size: 2.4rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.hw_list_minimal {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    display: inline-block;
    text-align: left;
}

.hw_list_minimal li {
    font-size: 1.6rem;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.hw_list_minimal li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #444692;
    font-weight: bold;
}

/* 画像ギャラリー */
.hw_gallery {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: flex-end;
    max-width: 900px;
    margin: 20px auto 0;
}

.hw_gallery figure {
    width: 45%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hw_gallery img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border: 1px solid #eee;
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
}

.hw_gallery figcaption {
    margin-top: 10px;
    font-size: 1.4rem;
    color: #444692;
    font-weight: bold;
}

/* ==================================================
   5. 商品セットボックス (startSet)
   ================================================== */
.startSet .setBox,
.startSet .setBox1,
.startSet .setBox2,
.startSet .setBox_hardware_compact {
    background: #fff !important;
    border: 1px solid #dce1ea !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
    padding: 45px 30px 25px !important; /* 上60px→45px, 下30px→25px */
    margin-bottom: 30px !important;
    position: relative;
    height: auto;
    box-sizing: border-box;
    overflow: hidden; /* 画像はみ出し防止 */
}

h4.label_blue {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #444692;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    padding: 12px 10px;
    margin: 0 !important;
    border-radius: 11px 11px 0 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.startSet .setFlex {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

/* スライダーとはみ出し防止 */
.startSet .setFlex .setImg {
    width: 40% !important;
    margin-top: 40px;
    flex-shrink: 0;
    text-align: center;
    overflow: hidden;
}
.setTxt {
    width: 60%;
}

.swiper-container {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
    position: relative;
}

.swiper-slide img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

.swiper-button-next,
.swiper-button-prev {
    color: #444692 !important;
    width: 30px !important;
    height: 30px !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px !important;
}

.startSet .setFlex .priceDl {
    background: #fdfdfd;
    border: 1px dashed #ccc;
    border-radius: 8px;
    padding: 12px 20px !important;
    margin: 15px 0 !important;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.startSet .setFlex .priceDl dd {
    color: #D33B3A;
    font-size: 3.2rem !important;
    font-weight: 900;
}

.startSet .setFlex .setDl {
    background: #f4f6f9;
    padding: 12px;
    border-radius: 8px;
}

.startSet .setFlex .setDl dt {
    color: #444692;
    text-align: center;
    font-size: 1.4rem !important;
    font-weight: bold;
    margin-bottom: 8px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.startSet .setFlex .setDl dd {
    font-size: 1.3rem !important;
    color: #333;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
}

.startSet .setFlex .setDl dd::before {
    content: "●";
    color: #aeb5d6;
    font-size: 10px;
    margin-right: 8px;
}

.anno {
    font-size: 1.3rem;
    text-align: right;
    color: #666;
    margin-top: 10px;
}

/* ==================================================
   6. POS連動バナーエリア
   ================================================== */
.compact_pos_banner {
    background: #fff;
    border: 3px solid #f0f2f8;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    padding: 25px;
    margin-bottom: 40px;
}

.compact_pos_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.compact_pos_text { width: 55%; }
.compact_pos_img { width: 35%; text-align: center; }

.compact_pos_text h3 {
    color: #444692;
    font-size: 2.6rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.pos_point_list {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.pos_point_item {
    background: #f4f6f9;
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
    width: 33.3%;
    border: 1px solid #eef0f6;
}

.pos_btn_group { display: flex; gap: 15px; }

.btn_pos_link {
    display: inline-block;
    padding: 14px 25px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    background: #444692;
    border-radius: 50px;
    text-decoration: none;
    transition: .3s;
    box-shadow: 0 4px 10px rgba(68, 70, 146, 0.3);
}

.btn_pos_link:hover {
    background: #5A6AD1;
    transform: translateY(-2px);
}

/* ==================================================
   7. スマホ対応 (Responsive)
   ================================================== */
@media screen and (max-width: 767px) {
    #hardware_intro {
        padding: 40px 0;
    }

    .hardware_anchor_grid {
        flex-direction: column;
        gap: 12px;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .hw_nav_card {
        width: 100%;
        padding: 18px;
    }

    .hw_nav_icon {
        font-size: 2.8rem;
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }

    .hw_nav_main {
        font-size: 1.8rem;
    }

    .hw_title { font-size: 3.8rem !important; }

    .hw_gallery { flex-direction: column; align-items: center; gap: 30px; }
    .hw_gallery figure { width: 100%; }

    .startSet .setFlex {
        flex-direction: column !important; 
        gap: 20px;
    }

    .startSet .setFlex .setImg,
    .startSet .setFlex .setTxt {
        width: 100% !important;
    }

    .hw_section_divider {
        padding: 30px 15px;
        margin: 30px -15px 25px;
        border-radius: 0;
    }

    .compact_pos_inner { flex-direction: column-reverse; gap: 30px; }
    .compact_pos_text, .compact_pos_img { width: 100%; }
    .pos_point_list { overflow-x: auto; padding-bottom: 10px; }
    .pos_point_item { min-width: 110px; }
    .pos_btn_group { flex-direction: column; }
}

.startSet .setFlex .optionDl {
    margin-top: 10px;
    padding-top: 10px;
}

.kihonkinou_box > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 10px;
}

@media screen and (max-width: 767px) {
    .kihonkinou_box > div {
        max-width: 350px;
        grid-template-columns: repeat(1, 1fr);
    }
}
/* stera terminalプラン等の調整中テキスト用 */
.plans_box a div p {
    transition: color 0.3s;
}

.plans_box a:hover div p {
    color: #fff !important; /* カードホバー時に文字を白くする */
}

/* index.css に追記する場合 */
.plans_box a:hover div .plan_note {
    color: #fff !important;
}

@media screen and (max-width: 767px) {
    .fixed_btn > div {
        border-radius: 0;
        border: none;
        border-top: 2px solid #fff;
        padding: 15px;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }
}