@charset 'UTF-8';

/* ログイン時の管理バーによるスキマ補正 */
body.admin-bar header,
body.admin-bar .header-wrap,
body.admin-bar #contents {
    top: 0 !important;
    margin-top: 0 !important;
}

/* もし固定ヘッダーを使用している場合 */
body.admin-bar header {
    top: 32px !important; /* ヘッダー自体は管理バーの下に配置 */
}

.nopc{
    display: none;
}

.nosp-i {
  display: block !important;
}

.nopc-i {
  display: none !important;
}

@media screen and (max-width:768px) {
    .nopc{
        display: none;
    }

    .nosp-i {
        display: none !important;
    }

    .nopc-i {
        display: block !important;
    }
}

/* container */
.expo-container {
	margin-top: 50px !important;
	padding: 0 !important;
}

.expo-container #wrapper {
	margin: 0 !important;
	padding: 0 !important;
}

.colwrap {
	/*padding-top: 20px !important;*/
}
.top-cont1wrap {
	margin-bottom: 0 !important;
}

.standard-cont1 {
	padding: 20px 3% !important;
}

.search-colwrap {
	margin-top: 65px;
}

.leftcol {
	/*padding-top: 15px !important;*/
}

.rightcol {
	/*padding-top: 0 !important;*/
}

.colwrap .leftcol {
    float: none !important; /* floatを解除 */
    width: 100% !important; /* 画面いっぱいに広げる */
}

/* 右側サイドバーエリアを完全非表示 */
.colwrap .rightcol {
    display: none !important; /* 要素自体を消して余白の影響をなくす */
}

.side_search_form {
	margin-top: 15px !important;
}

/* 🔴 フッター */
footer #fnav ul li:nth-child(5){ width: 57.6%;}
footer #fnav ul li:nth-child(5) a{ color: #fff; background: #ff7864 !important;}
footer #fnav ul li:nth-child(5) a:before{ content: none; }

/* 🔴 TOP Page */
.top-flex-box {
    display: block !important;
	text-align: center !important;
}

.top_maps {
    margin: auto;
    /*width: 100%;*/
}

/* ==========================================================================
   🟢 検索エリア：Flexbox化で段落ちを完全に防ぐ
   ========================================================================== */

/* 親要素：Flexboxに変更 */
.top-colwrap .search {
    display: flex !important;
    align-items: center; /* 垂直方向中央揃え */
    align-content: center !important;
    gap: 5px; /* 要素同士の適切な隙間 */
    height: auto !important;
    min-height: 80px;
    width: 100%;
}

/* 入力テキスト欄：柔軟に伸縮させる */
.top-colwrap .search input.search_input {
    flex: 1; /* 空きスペースに合わせて自動で伸縮 */
    max-width: calc(100% - 200px); /* ボタン側の幅を確保 */
    height: 47px;
    padding: 0 15px;
    font-family: noto-sans-cjk-jp, sans-serif;
    background: none;
    border: 1px solid #465064;
    box-sizing: border-box;
}

/* 虫眼鏡ボタン（glass_btn） */
.top-colwrap .search button.glass_btn {
    flex-shrink: 0;
    /* 既存のガラスボタン用のスタイルがあればそのまま維持 */
}

/* 「条件で探す」ボタン：floatを解除し右寄せをFlexで自動化 */
.top-colwrap .search button.search_btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    vertical-align: middle !important;
    float: none !important; /* float解除 */
    margin-left: auto !important; /* 右端へ自動配置 */
    flex-shrink: 0; /* 画面が狭くなっても潰れない */
    width: 7.5em;
    height: 47px;
    line-height: 45px;
    font-family: noto-sans-cjk-jp, sans-serif;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 0 !important;
    background: #ff7864;
    border: 1px solid #465064;
    border-radius: 5px;
    box-sizing: border-box;
}

.top-colwrap .search button:hover {
    opacity: .7;
}

@media screen and (max-width: 768px) {
    .top-colwrap .search button.search_btn {
        /* line-heightによる文字の下振れを防ぐ */
        line-height: 1 !important; 
        /* もしこれでもコンマ何ミリか下がって見える場合の最終位置調整 */
        transform: translateY(-5px); 
    }
}

/* ==========================================================================
   🟢 ZONE MAP 中央寄せ ＆ タイトル100%化
   ========================================================================== */

/* 親要素：幅を 100% にして余白をリセット */
.top-cont2 {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    float: none !important;
}

/* タイトル：横幅100% で表示 */
.top-cont2 .title1 {
    width: 100%;
}

/* マップ本体中央寄せ */
.top-cont2 ul {
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    margin: 0 auto !important; /* 左右中央寄せ */
}

/* 以下、マップ内部 */
.top-cont2 ul li.map0 {
    margin-left: 9.5%;
    margin-bottom: 0.5%;
    width: 81%;
    background: url("../map/top-cont2-map0-on.png") no-repeat;
    background-size: 100% auto !important;
}

.top-cont2 ul li.map1 {
    float: left;
    margin-left: 5%;
    margin-bottom: 0.5%;
    width: 45%;
    background: url("../map/top-cont2-map1-on.png") no-repeat;
    background-size: 100% auto !important;
}

.top-cont2 ul li.map2 {
    float: left;
    margin-bottom: 0.5%;
    width: 45%;
    background: url("../map/top-cont2-map2-on.png") no-repeat;
    background-size: 100% auto !important;
}

.top-cont2 ul li.map3 {
    float: left;
    width: 50%;
    background: url("../map/top-cont2-map3-on.png") no-repeat;
    background-size: 100% auto !important;
}

.top-cont2 ul li.map4 {
    float: left;
    width: 50%;
    margin-top: 0%;
    background: url("../map/top-cont2-map4-on.png") no-repeat;
    background-size: 100% auto !important;
}

.top-cont2 ul li a:hover { opacity: 1; }
.top-cont2 ul li a img { -webkit-transition: all .2s; transition: all .2s; }
.top-cont2 ul li a:hover img { opacity: 0; }

/* 🟢 TOP PICKUPブース */
.top_booth {
    margin-bottom: 40px;
}

.top_booth_list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.top_booth_item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc((100% - 48px) / 4); /* 16px * 3個分の gap を差し引いて4等分 */
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top_booth_item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.top_booth_title {
    font-size: 14px;
    text-align: left;
    margin: 8px 0 4px 0;
}

.top_booth_text {
    text-align: left;
    margin-bottom: 5px;
}

@media screen and (max-width: 768px) {
    .top_booth_list {
        gap: 12px;
    }
    
    .top_booth_item {
        width: calc((100% - 12px) / 2); /* 12px * 1個分の gap を差し引いて2等分 */
        padding: 8px;
    }
}

/* 🟢 TOP PICKUP製品 */
.top_product {
    margin-bottom: 40px;
}

.top_product_list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.top_product_item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc((100% - 48px) / 4);
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top_product_item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.top_product_title {
    font-size: 14px;
    text-align: left;
    margin: 8px 0 4px 0;
}

.top_product_text {
    text-align: left;
    margin-bottom: 5px;
}

@media screen and (max-width: 768px) {
    .top_product_list {
        gap: 12px;
    }
    
    .top_product_item {
        width: calc((100% - 12px) / 2);
        padding: 8px;
    }
}

/* 🟢 TOP ZONEから選ぶ セクション全体 */
.top_zone_search {
    margin-bottom: 40px;
}

.top_zone_list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

/* ZONEカード（PC: 4列＝25%幅） */
.top_zone_item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc((100% - 48px) / 4);
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 0;
    border-radius: 6px;
}

.top_zone_title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
    /*border-bottom: 2px solid #00a0d2;*/
    padding-bottom: 6px;
}

.top_zone_item h3 {
    min-height: 70px !important;
	font-size: 1.3vw;
	font-weight: bold;
	line-height: 1.2;
	padding: 10px 5px 15px;
	margin-bottom: 10px;
	background: url("../images/top-cont8-bg.png") no-repeat center bottom;
}

.top_zone_item a {
    color: #fff !important;
}

/* ZONE内のブース縦並び（2件） */
.top_zone_booths {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.zone_booth_card {
    text-align: center;
    background-color: #f2f2f8;
    padding: 0 !important;
}

.zone_img_box img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.zone_booth_card .note {
    font-size: 14px;
    font-weight: bold;
    margin-top: 4px;
    padding: 0 15px;
    line-height: 1.3;
}

.zone_booth_card .note a {
    color: #000 !important;
    text-decoration: none;
}

.top_zone_item .btn {
    text-align: center;
    margin-bottom: 15px;
}

/*.top_zone_item .btn1 {
    display: block;
    background: #00a0d2;
    color: #fff;
    padding: 8px 0;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: background 0.2s ease;
}

.top_zone_item .btn1:hover {
    background: #0080ab;
}*/

/* スマホ（SP: 2列×2行） */
@media screen and (max-width: 768px) {
    .top_zone_list {
        gap: 12px;
    }
    
    .top_zone_item {
        width: calc((100% - 12px) / 2);
        padding: 0;
    }

    .top_zone_item h3 {
	    min-height: 50px !important;
        font-size: 14px;
    }

    .zone_booth_card .note {
        font-size: 12px;
    }
}


/* 🔴 ZONE */

.zone_sec .zone_item h3 {
    margin-bottom: 15px;
}

/* 🔴 Modal */

.ind-modal-cont {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;

}

.modal-content {
  height: 80%;
  margin-top: 30px;
}

.ind-modal-cont .ind-inner {
  float: left;
  width: 15%;
  overflow: hidden;
  padding: 0px;
  margin-right: 1.5%;
  margin-bottom: 20px;
  text-align: left;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0px 2px 5px -1px #666;
  position: relative;
  background: #333;
  cursor: pointer;
  text-shadow: 1px 2px 3px #808080;
  max-height: 160px;
  max-width: 160px;
}

.ind-modal-cont .ind-inner p {
  color: #fff;
  position: absolute;
  bottom: 0;
  font-weight: bold;
  font-size: 1vw;
  margin: 10px;
}

.ind-modal-cont .ind-inner img {
  width: 30%;
  float: right;
  margin: 6px;
}


.ind-modal-cont .ind-inner:hover::after {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0.5;
}

.ind-modal-cont .ind-inner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #333;
  opacity: 0;
  display: block
}

.ind-modal-cont .ind-inner:before {
  content: '';
  float: left;
  padding-top: 100%;
}


/*.ind-modal-cont .ind-inner:nth-child(6n){ margin-right: 0;}*/
.ind-modal-cont .ind-inner figure {
  text-align: center;
  margin-bottom: 5px;
}

.ind-modal-cont-wrap {
  overflow-y: scroll !important;
}

/* 1. モーダルのコンテンツ全体を画面内に収めて縦スクロールさせる */
.ind-modal-cont-wrap,
.modal-content,
.search_popup,
div[data-box=".scroll"] {
    max-height: 85vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* 2. PDFアイテム（.ccell）の横並び化 */
.cat-cont4.cus_pdf_items {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.cat-cont4.cus_pdf_items .ccell {
    width: calc(25% - 12px) !important;
    box-sizing: border-box !important;
    float: none !important;
}

/* 3. 送信ボタンエリアが表示されるようにMarginを確保 */
.ind-modal-cont-wrap form,
.ind-modal-cont {
    padding-bottom: 40px !important;
}

.modalform {
    margin-top: 40px;
}

.modalform p {
    font-weight: bold;
    font-size: 12px;
}

.modal-wrapper {
    z-index: 99999;
    background: rgba(0, 0, 0, 0.6);
}
.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.modal-window {
    opacity: 1 !important;
}

/* ----------- download form ----------- */
.modal-wrapper .custom-download-modal {
  top: auto;
  bottom: auto;
  position: relative;
  max-height: 80%;
  height: calc(100vh - 120px);
  margin-left: auto;
  margin-right: auto;
  padding: 60px 30px;
  width: 1000px;
  max-width: 94%;
  left: auto;
  right: auto;
}

.custom-download-modal .form-group {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.custom-download-modal .modal-content {
  margin: 0;
  position: static;
  padding: 0;
  overflow: auto;
  max-height: 100% !important;
  height: initial !important;
}

.custom-download-modal .form-group label {
  font-size: 18px;
  font-weight: 700;
  width: 230px;
  display: block;
  text-align: left;
  margin-top: 8px;
}

.custom-download-modal .form-group label code {
  font-size: 12px;
  color: white;
  display: inline-block;
  margin-left: 13px;
  border-radius: 999px;
  background-color: #D30000;
  padding: 0 5px;
  position: relative;
  bottom: 3px;
}

.custom-download-modal .form-input {
	width: calc(100% - 230px);
}

.custom-download-modal .ind-modal-cont {
  width: 100%;
  display: block;
  padding-left: 100px;
  padding-right: 100px;
}

.custom-download-modal .ind-modal-cont-wrap {
  overflow-y: auto;
}

.custom-download-modal .form-group-row {
  display: block;
}
.custom-download-modal .form-group-row label,
.custom-download-modal .form-group-row .form-input {
  width: 100%;
}
.custom-download-modal .form-control {
  height: 40px;
  width: 100%;
}


.custom-download-modal textarea.form-control {
  width: 100%;
  height: 200px;
  resize: none;
}

.form-error {
  display: none;
  color: red;
  text-align: left;
  margin-top: 5px;
}

.custom-download-modal .form-control.err + .form-error {
  display: block;
}

.cus_pdf_items {
  column-gap: 50px;
  justify-content: center;
  overflow: initial;
}

.cus_pdf_items .ccell {
  width: calc(100% / 3 - 100px / 3);
  margin: 0;
  box-shadow: none;
  padding: 0;
}

.cus_pdf_items .hide_sel {
  display: none;
}

.cus_pdf_items div {
  float: none;
  width: 100%;
  height: initial;
}

.cp_ipcheck label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: initial;
}

.cp_ipcheck .modal-accept-chk {
  justify-content: center;
}

.cp_ipcheck .modal-accept-chk a {
  color: #001BAD;
}

.cus_pdf_items .pdf-modal-img {
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  margin: 5px 0;
  position: relative;
}
.cus_pdf_items .pdf-modal-img:after {
  content: "";
  display: block;
  padding-top: 141.6%;
}

.cus_pdf_items .cat_title {
  font-size: 16px;
  box-shadow: none;
  padding: 0;
}

.custom-download-modal .ind-modal-cont-wrap .note {
  margin: 0;
}

.custom-download-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  margin: 0;
  padding: 0;
  color: #909090;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
    .custom-download-modal .ind-modal-cont {
        padding: 0;
    }

    .custom-download-modal .form-group label {
        font-size: 14px;
        width: 140px;
    }

    .custom-download-modal .form-group label code {
        font-size: 8px;
        margin-left: 5px;
        padding: 0 5px;
        bottom: 2px;
    }

    .custom-download-modal .form-input {
        width: calc(100% - 140px);
    }

    .custom-download-modal textarea.form-control {
        height: 150px;
    }

    .custom-download-modal .ind-modal-cont-wrap .note {
        font-size: 12px;
    }

    .custom-download-modal .modal-button {
        height: 40px;
        font-size: 16px;
        padding: 0 30px;
    }

    .cus_pdf_items .ccell {
        width: calc(100% / 2 - 14px);
    }

    .cus_pdf_items {
        column-gap: 25px;
    }
}



/* 🔴 Booth */
.standard-cont2 .wrap .detail {
    margin: 20px;
    padding-bottom: 40px;
    font-size: 1.2rem;
    text-align: left;
}

ul.tag {
    color: #000 !important;
}

/* Product */
.product-cont .wrap div.detail p,
.product-cont .wrap div.detail {
    margin: 0 20px !important;
    padding-bottom: 30px;
    font-size: 16px;
    text-align: left;
}

.product-cont .wrap div.detail {
    margin-top: 30px !important;
}

p.link-underline a {
    text-decoration: underline;
}

/* Spec */
.spec-area .spec .spec-title {
    padding: 8px 8px;
}

/* =========================
   EXPO 自由コンテンツ pattern2（2カラム固定）
   ========================= */
.pattern2{
	clear: both;
}

.pattern2 > div{
	/* float衝突を避けるため、floatを無効化してレイアウトはflexで作る */
	float: none !important;
	width: auto !important;
	clear: none !important;
	border: none;
	box-shadow: none;
	padding: 0;
	margin: 0;
}

.pattern2{
	display: flex;
	flex-wrap: wrap;
	gap: 4%;
	align-items: flex-start;
}

.pattern2 > h3{
	width: 100%;
}

.pattern2 > div{
	width: 48% !important;
}

.btn button.standard-cont6-btn1 {
    height: 62px;
    width: 300px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-size: 32px !important;
    box-shadow: 0px 2px 5px -1px #666;
}

/* ==========================================================================
   お問い合わせボタン（SJ用・AJ完全互換仕様）
   ========================================================================== */

/* 親コンテナ */
.cus_btn_row.standard-cont6 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 20px;
    padding-bottom: 10px;
    margin: 0 auto;
}

/* 不要な旧スタイル・pタグ等のマージン打ち消し */
.cus_btn_row.standard-cont6 .btn {
    margin: 0 !important;
    padding: 0 !important;
}

/* ボタン共通クラス (button / a 共通指定) */
.standard-cont6-btn2 {
    /* ブラウザ標準スタイルリセット */
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;

    /* レイアウト基本設定 */
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;

    /* PCサイズ設定（改行を防ぐ十分な幅と可変高さ） */
    width: 320px !important;
    max-width: 100% !important;
    min-height: 60px !important;
    height: auto !important;
    padding: 10px 15px 10px 50px !important; /* 左側にアイコン分50px確保 */
    margin: 0 !important;

    /* SJ デザイン配色（オレンジ #ff7864） */
    background-color: #ff7864 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: bold !important;
    line-height: 1.3 !important;
    text-align: center;
    letter-spacing: auto;
    box-shadow: 0px 2px 5px -1px #666;
    border-radius: 4px;
    position: relative;
    transition: opacity 0.2s ease;
}

.standard-cont6-btn2:hover {
    opacity: 0.9;
}

/* 左側アイコン画像設定 (SJ専用アイコン) */
.standard-cont6-btn2:before {
    content: "";
    width: 32px;
    height: 32px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url("../images/standard-cont3-icon2.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


/* ==========================================================================
   SP（スマートフォン）表示（767px以下）
   ========================================================================== */
@media (max-width: 767px) {
    .cus_btn_row.standard-cont6 {
        flex-direction: column; /* スマホでは縦並び */
        gap: 12px;
        width: 100%;
    }

    .standard-cont6-btn2 {
        width: 60% !important;   /* スマホ横幅いっぱい */
        max-width: 60% !important;
        min-height: 52px !important;
        font-size: 15px !important; /* スマホ用に文字サイズ調整 */
        padding: 8px 10px 8px 45px !important;
    }

    .standard-cont6-btn2:before {
        width: 26px;
        height: 26px;
        left: 10px;
    }
}

/* スマホは縦積み */
@media (max-width: 768px){
	.pattern2{
		gap: 0;
	}
	.pattern2 > div{
		width: 100% !important;
	}
}

/* information */
.information p {
	margin: 30px 0;
}


/* 🔴 Swiper */
/* 1. 外側のコンテナ：高さを自動にして、はみ出しを許可する */
.arrow_slide {
    height: auto !important;
    overflow: visible !important;
    padding-bottom: 0 !important; /* ドットのための余白 */
}

/* 2. Swiper本体：ここもはみ出しを許可し、内側にスペースを作る */
.arrow_slide .expo-news-swiper,
.arrow_slide .expo-feature-swiper {
    overflow: hidden !important; /* 左右のはみ出しを防ぐ（標準設定に戻す） */
    height: auto !important;
    /* 下側にドットを表示するための「部屋」を15px追加（計25px〜30px） */
    padding-bottom: 30px !important; 
    margin-bottom: 10px !important;
}

/* 3. 画像とテキストを包むスライド：ここが高さの基準になる */
.expo-news-swiper .swiper-slide,
.expo-feature-swiper .swiper-slide {
    height: auto !important;
    padding-bottom: 10px; /* スライド内の余白 */
}

/* 4. ドット（Pagination）：paddingで作ったスペースに絶対配置する */
.expo-news-swiper .swiper-pagination-bullets,
.expo-news-swiper .swiper-pagination,
.expo-feature-swiper .swiper-pagination-bullets,
.expo-feature-swiper .swiper-pagination {
    bottom: -10px !important; /* コンテナの底辺よりさらに下へ */
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
}

/* 1. すべてのドットの基本設定（非活性：#d2d7dd） */
.arrow_slide .swiper-pagination-bullet {
    width: 14px !important;
    height: 14px !important;
    /* ドットの間隔を広げる（左右10pxずつ。合計20pxの間隔になります） */
    margin: 0 10px !important; 
    
    background: #d2d7dd !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    display: inline-block !important;
    border: 1px solid transparent !important;
}

/* 2. アクティブなドットの設定（活性：白＋枠線） */
.arrow_slide .swiper-pagination-bullet-active {
    width: 14px !important;
    height: 14px !important;
	background: #fff !important;
    border: 1px solid #d2d7dd !important;
    
    /* 念のためアクティブ時も縮小させない */
    transform: scale(1) !important; 
}

.arrow_slide .swiper-pagination-bullets {
    /* padding-bottom で作った「部屋」の中に収まるよう、下からの位置を微調整 */
    bottom: 8px !important; 
    left: 50% !important;
    transform: translateX(-50%) !important;
    line-height: 1 !important;
}

/* PDF Swiper */
.pdf-swiper .cat_title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    line-height: 1.4;
    height: 2.8em;
    margin-top: 8px;
    word-break: break-all;
    color: #333;
}

/* ==========================================================================
   スライダー（Swiper）初期化前の縦並び・崩れ防止設定（FOUC対策）
   ========================================================================== */

/* 1. スライダーコンテナの枠線を固定し、はみ出しをカット */
.swiper-product-main,
.swiper-product-thumbs,
.pdf-swiper {
    position: relative;
    overflow: hidden !important; /* 初期化前もはみ出たスライドを絶対に見せない */
    width: 100%;
}

/* 2. JS起動前でもCSSで強制的に Flex（横並び）にする */
.swiper-product-main .swiper-wrapper,
.swiper-product-thumbs .swiper-wrapper,
.pdf-swiper .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    width: 100%;
}

/* 3. 各スライドのサイズ固定 */
.swiper-product-main .swiper-slide {
    flex: 0 0 100% !important; /* メイン画像は100%幅に固定 */
    max-width: 100% !important;
    width: 100% !important;
}

.swiper-product-thumbs .swiper-slide {
    flex: 0 0 16.666% !important; /* サムネイルは6列固定 */
    max-width: 16.666% !important;
}

.pdf-swiper .swiper-slide {
    flex: 0 0 33.333% !important; /* PDFカードは3列固定 */
    max-width: 33.333% !important;
}

/* 4. 画像自体の縦崩れ・巨大化を防止 */
.swiper-product-main .swiper-slide img,
.swiper-product-thumbs .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 400px; /* メイン画像の縦伸び防止 */
    object-fit: contain;
    display: block;
}

/* 5. JSの Swiper 初期化（.swiper-initialized 付与）後は Swiper 側の自動計算に委ねる */
.swiper-initialized .swiper-wrapper {
    display: flex; /* Swiper 標準挙動に戻す */
}
.swiper-initialized .swiper-slide {
    flex-shrink: 0;
}
