@charset "utf-8";

:root {
	/* 配色 */
	--accent: #5E9FA2;        /* プライマリー（メイン） */
	--accent-dark: #3E8D93;   /* ホバー・リンクテキスト */
	--accent-soft: #DCEEEE;   /* アクセント（薄いティール） */
	--accent-2: #74B4B5;      /* セカンダリー */
	--text: #2B3338;          /* 本文テキスト */
	--muted: #6B757C;         /* 補足テキスト */
	--line: #D8E7E7;          /* ボーダー / 区切り線 */
	--line-soft: #EAF4F4;     /* ホバー背景 */
	--bg: #FCFDFC;            /* ページ背景（ベース） */
	--bg-soft: #F4FAF9;       /* セクション背景 */
	--warn: #D97A38;          /* 注意・警告（最小限で使用） */
	--warn-text: #A05A00;
	--badge-bg: #EBEBEB;
	--skeleton: #EEEEEE;

	/* 角丸・幅 */
	--radius: 10px;
	--radius-lg: 16px;
	--maxw: 1100px;

	/* 影 */
	--shadow-sm: 0 1px 2px rgba(20,40,60,.06), 0 1px 3px rgba(20,40,60,.05);
	--shadow-md: 0 4px 14px rgba(20,40,60,.08);
	--shadow-lg: 0 12px 32px rgba(20,40,60,.14);
	--shadow-pop: 0 8px 28px rgba(20,40,60,.16);
	--ring: 0 0 0 3px rgba(94,159,162,.18);

	/* アニメーション */
	--ease: cubic-bezier(.4,0,.2,1);
	--t-fast: .15s var(--ease);
	--t: .25s var(--ease);

	--staff-wm: none;
}

.section-title { font-size: 15px; font-weight: 700; margin: 0 0 17px; color: var(--accent); line-height: 120%;}
.section-title span{font-size: 25px; font-weight: 500; color: #000; display: inline-block; margin: 0 10px 0 0; line-height: 144%;}
/* ---------- ヘッダー ---------- */
[data-inject="header"], [data-inject="guest-header"] { display: contents; }
body{min-width: 1200px; }
.inner{width: 1100px; margin: 0 auto;}
.PC{display: block;}
.SP{display: none;}

header { position: fixed; top: 0; z-index: 100; width: 100%; min-width: 1200px; transition: ALL 0.5s; background: var(--accent-soft);}

header .header_flex_SP,
header .clos_btn{display: none;}
header h1{margin: 0px;}
header.change-color,
body.home header.change-color,
body.channel-home header.change-color { background: var(--accent-soft); transition: ALL 0.5s;}
header .header-inner { margin: 0 auto; padding: 25px 42px 25px 47px; display: flex; align-items: center; gap: 24px; justify-content: space-between; width: 100%;}

header h1 .logo-channel { display: flex; align-items: center; height: 41px; }

header .header_box { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 13px; background: #fff; border-radius: 1000px; padding: 15px 24px 14px; min-height: 55px; max-width: 1060px; width: auto; justify-content: flex-end;}
header .header_box nav{border-right: 1px solid #DBDBDB; flex: 0 1 auto; min-width: 0; max-width: 660px; padding-right: 20px;}
header .header_box nav ul{display: flex; justify-content: flex-start; gap: 30px;}
header .header_box nav ul li:last-child{ padding-right: 0; }
header .header_box nav ul li a{font-size: 14px; font-weight: 500; white-space: nowrap;}
header .header_box nav ul li a.is-current{ position: relative; color: var(--accent); font-weight: 700; }
header .header_box nav ul li a.is-current::after{ content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px; background: var(--accent); }

header .header_flex{display: flex; align-items: center;}
header .header_flex .user-name { flex: none; color: var(--text); padding: 0 16px 0 0; white-space: nowrap;}

/* ヘッダー（PC）：会社名が長いときは「…」で省略し、氏名・カートを画面内に収める（全文は title で出す） */
@media (min-width: 769px) {
	header .header_flex { min-width: 0; }
	header .header_flex .user-name { display: flex; align-items: center; min-width: 0; }
	header .header_flex .user-name .company_name { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (min-width: 769px) and (max-width: 1300px) {
	header .header_box { gap: 16px; }
	header .header_box nav ul { gap: 20px; }
	header .header_flex .user-name .company_name { max-width: 110px; }
}
header .header_flex .rank-badge { border: 1px solid #CCCCCC; border-radius: 12px; padding: 3px 15px 4px; font-size: 12px; color: #000000; background: #fff; line-height: 142%;}
header .header_flex .rank-badge.rank-light   { border-color: #b8923a; color: #8a6d00; background: #fff7ea; }
header .header_flex .rank-badge.rank-premium { border-color: #b8860b; color: #8a6500; background: #fff6da; }
header .header_flex .rank-badge.rank-staff   { border-color: #2563a8; color: #1d4e86; background: #eaf1fb; }
header .header_flex .rank-switch { position: relative; display: inline-flex; cursor: pointer; padding: 0 20px 0 0;}
header .header_flex .rank-select { position: absolute; inset: 0; opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none;}

/* 社員のみ行 */
.pc-row.staff-only .pc-label.staff { background: #eaf1fb; color: #1d4e86; }
.pc-row.staff-only { color: #1d4e86; }

/* 登録促しモーダル */
.up-overlay { position: fixed; inset: 0; background: rgba(20,30,22,.5); z-index: 8000; display: none; align-items: center; justify-content: center; padding: 24px; }
.up-overlay.open { display: flex; animation: pop .18s var(--ease); }
.up-modal { position: relative; background: #fff; border-radius: var(--radius-lg); max-width: 460px; width: 100%; padding: 32px 28px; text-align: center; box-shadow: var(--shadow-lg); }
.up-close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 22px; color: var(--muted); cursor: pointer; }
.up-ico { font-size: 40px; margin-bottom: 8px; }
.up-modal h3 { margin: 0 0 10px; font-size: 17px; }
.up-modal p { font-size: 13px; color: #555; line-height: 1.8; }
.up-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.cart-ico { position: relative; width: 26px; height: 26px; }
.cart-ico .count { position: absolute; top: -6px; right: -6px; background: #FF5A5A; color: #fff; border-radius: 50%; width: 18px; height: 18px; font-size: 12px; line-height: 1; padding-bottom: 1px; display: flex; align-items: center; justify-content: center;}

/* ---------- aside ---------- */
aside{padding: 0;}

aside .side-box .section-title{ margin-bottom: 4px;}
aside .side-box h2{font-size: 12px;}
aside .side-box h2 span { font-size: 17px; display: block;}
aside #notice{padding: 31px 0 0;}
aside #notice .side-box li { border-bottom: 1px solid #F2F2F2; font-size: 12px;}
aside #notice .side-box li:last-child { border-bottom: none;}
aside #notice .side-link { margin: 0; border-radius: 6px; text-decoration: none; transition: 0.5s; display: block; padding: 12px 0 8px;}
aside #notice .side-link:hover { opacity: .75;  transition: 0.5s;}
aside #notice .side-thumb { width: 67px; height: auto; display: inline-block;  vertical-align: top;}
aside #notice .side-thumb img{width: 100%; height: auto;}
aside #notice .side-rank { width: 18px; color: var(--muted); font-weight: 700; flex: none; }
aside #notice .products_text{margin: 0 0 0 10px; width: calc(100% - 81px); display: inline-block; vertical-align: top;}
aside #notice .side-link.no-thumb .products_text{margin: 0; width: 100%;}
aside #notice .side-txt { line-height: 141.6%;font-size: 12px; margin: 0px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;}
aside #notice .side-date { color: var(--accent); font-size: 12px; line-height: 140%;}
aside #notice .side-sub { color: var(--muted); font-size: 10px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

aside #products .products_img{position: relative; width: 58px; height: auto; display: inline-block; vertical-align: top; margin: 0;}
aside #products .products_img span{position: absolute; top: 0px; left: 0px; display: block; width: 16px; height: auto; color: #fff; background: var(--accent); text-align: center; line-height: 177.8%; font-size: 9px;}
aside #products .products_text{padding: 0 0 0 15px; width: calc(100% - 62px); display: inline-block; vertical-align: top; margin: -5px 0 0;}
aside #products .products_text p{margin: 0px;}
aside #products .products_text p.side-txt{line-height: 141.6%; font-size: 12px;}
aside #products .products_text p.side-tag{font-size: 9px; color: #ACACAC; line-height: 145%; padding: 4px 0 0;}
aside #products .side-link { border-radius: 6px; text-decoration: none; transition: 0.5s; display: block; padding: 12px 0 11px;}
aside #products .side-box li { border-bottom: 1px solid #F2F2F2; font-size: 12px;}
aside #products .side-box li:last-child{border-bottom: 0px;}
aside a.btn-contact{ display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center; background: #FFAF2E; border: 1px solid #FFAF2E; border-radius: 1000px; padding: 12px 0 14px; font-size: 16px; line-height: 175%; margin: 0 auto 0; color: #FFFFFF; font-weight: 500; position: relative;}
aside a.btn-contact:hover{ opacity: .75; }
aside a.btn-contact:before{content: ""; flex: none; display: block; width: 23px; height: 23px; background: url(../images/top/icn_3.png) no-repeat center center; background-size: 100%; position: static; transform: none;}
aside a.btn-contact.SP{ display: none;}

a.btn-contact-inline{display: inline-flex; align-items: center; gap: 7px; background: #FFAF2E; border: 1px solid #FFAF2E; border-radius: 1000px; padding: 6px 32px 7px 30px; font-size: 14px; line-height: 150%; color: #fff; font-weight: 500; white-space: nowrap; transition: opacity var(--t-fast); margin-left: 12px;}
a.btn-contact-inline:before{content: ""; flex: none; display: block; width: 16px; height: 16px; background: url(../images/top/icn_3.png) no-repeat center center; background-size: 100%;}
a.btn-contact-inline:hover{ opacity: .75;}

aside #notice.keyword .side-box h2 span {font-size: 18px;}
aside #notice.keyword .side-box ul li:not(:last-child){border-bottom: 1px solid #EDEDED;}
aside #notice.keyword .side-box ul li:last-child{border-bottom: none;}
aside #notice.keyword .side-box ul li a{font-size: 14px; display: block; padding: 17px 0 13px 45px; position: relative; text-align: left; line-height: 121.4%; transition: 0.5s;}
aside #notice.keyword .side-box ul li a:hover { opacity: .75; transition: 0.5s;}
aside #notice.keyword .side-box ul li a:before{content: ""; display: block; width: 8px; height: 8px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); top: 50%; transform: translateY(-50%) rotateZ(-45deg); position: absolute; right: 9px;}
aside #notice.keyword .side-box ul li a span{display: block; width: 29px; height: 29px; text-align: center; line-height: 207.2%; font-size: 14px; background: var(--accent); border-radius: 100px; color: #fff; position: absolute; top: 50%; transform: translateY(-50%); left: 0px;}
aside #notice.keyword .side-box ul li.top a span{background: #CFAA52;}

/* ---------- pager ---------- */
.pager-row{margin: 33px 0 0; position: relative;}
.pager-row .pager{display: flex; align-items: center; justify-content: center; gap:7px;}
.pager-row .pager a{font-size: 13px; text-align: center; width: 37px; height: 37px; position: relative; border: 1px solid #C4C4C4; border-radius: 5px; padding: 0; display: inline-flex; align-items: center; justify-content: center; line-height: 1;}
/* ‹ › の文字はフォント上やや下に描かれるので、少し持ち上げて数字と中心を合わせる */
.pager-row .pager a.disabled{ font-size: 16px; padding-bottom: 5px; }
.pager-row .pager a:first-child, .pager-row .pager a:last-child{ font-size: 16px; padding-bottom: 5px; }
.pager-row .pager a.active{color: #fff; border: 1px solid var(--accent); background: var(--accent); }
.pager-row .pager a:not(.active):not(.disabled):hover{ opacity: .75; }
.pager-row .pager .pager-gap{font-size: 13px; text-align: center; width: 20px; height: 37px; line-height: 37px; color: #888;}
@media (max-width: 768px) {
	.pager-row .pager{gap: 5px; flex-wrap: wrap;}
	.pager-row .pager a{width: 32px; height: 32px; padding: 0;}
	.pager-row .pager .pager-gap{width: 14px; height: 32px; line-height: 32px;}
}
.pager-row .pager a.btn{display: block;}
.pager-row .pager a.btn.disabled{ opacity: .35; pointer-events: none; }   /* 押せない前後の矢印は薄く */
.pager-row .pager a.btn:before{content: ""; display: block; width: 24%; height: 24%; border-bottom: 1px solid #000; border-right: 1px solid #000; position: absolute; top: 50%; left: 50%;}
.pager-row .pager a.left_btn:before{ transform: translate(-15%,-50%) rotateZ(135deg);}   /* 回した角の分だけ寄せて、矢印の見た目をボタンの中央に */
.pager-row .pager a.right_btn:before{ transform: translate(-85%,-50%) rotateZ(-45deg);}
.pager-row .per-page{position: absolute; right: 0px; top: 0px; display: inline-flex; align-items: center; gap: 10px;} /* ラベル文字とセレクトを上下中央で揃える */
.pager-row .per-page div{position: relative; display: inline-block;}
.pager-row .per-page div:before{content: ""; width: 11px; height: 7px; display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath fill='none' stroke='%235E9FA2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M0.5 0.7 L5.4 6 L10.3 0.7'/%3E%3C/svg%3E") no-repeat center / 11px 7px; top: 50%; right: 10px; transform: translateY(-50%); position: absolute; pointer-events: none;}
.pager-row .per-page .sort-select{ font-size: 14px; padding: 7px 22px 7px 10px; line-height: 160%; width: 84px; text-align: center; text-align-last: center; color: #000; font-weight: 500; background: #fff; border-radius: 7px; border: 1px solid #E5E5E5; -webkit-appearance: none; -moz-appearance: none; appearance: none;}

/* ---------- footer ---------- */
/* フッターは常に画面下端まで下げる */
.body_box { display: flex; flex-direction: column; min-height: 100vh; }
.body_box > * { width: 100%; }
.footer-spacer { flex: 1 0 auto; min-height: 70px; }

footer { flex: none; padding: 48px 84px 32px 55px; border-top: 1px solid #E6E6E6;}
footer .footer_box{display: flex; justify-content: space-between; align-items: flex-start;}
footer .footer_box h3{margin: 0px;}
footer .footer_box ul { margin: 0; display: flex; justify-content: center; flex-wrap: wrap; }
footer .footer_box ul li{position: relative; }
footer .footer_box ul li:not(:last-child){padding-right: 16px; }
footer .footer_box ul li:not(:last-child):before{content: ""; display: block; width: 1px; height: 15px; position: absolute; top: 50%; transform: translateY(-50%); background: #000; right: 0px;}
footer .footer_box ul li:not(:first-child){padding-left: 16px; }
footer .footer_box ul li a{font-size: 15px; line-height: 140%; display: block;}
footer .footer_box .f-links { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }   /* 1行目はサイト内、2行目は一丸ファルコスのサイト（画面が狭くても行末に区切り線が残らない） */
footer .footer_box .f-links ul { justify-content: flex-end; }
footer .footer_box .f-sub li a { font-size: 13px; color: #555; }
footer .footer_box .f-sub li:not(:last-child):before { height: 12px; }
footer .footer_box .f-brand { display: flex; align-items: center; gap: 40px; }   /* ロゴの右にGMOサイバーセキュリティのサイトシール */
footer .footer_box .f-seal { line-height: 0; }
footer .copy { font-size: 12px; color: #919191; padding: 64px 0 0;margin: 0px;line-height: 142%;}

/* ---------- FVカルーセル（全幅・最上部）---------- */
.layout { max-width: 1100px; margin: 0 auto; padding: 77px 0px 0; display: grid;  grid-template-columns: 1fr 251px; gap: 36px;}
.layout.full { grid-template-columns: minmax(0,1fr); }
.layout.full > * { min-width: 0; }

/* ---------- サイドバー追従（全ページ共通）---------- */
:root { --sidebar-sticky-top: calc(var(--header-h, 103px) + 14px); }

@media (min-width: 901px) {
	.layout { align-items: start; }
	.layout > aside,
	.layout > [data-inject="sidebar"] { position: sticky; top: var(--sidebar-sticky-top); }
}
.page-title { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.result-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.result-meta .count b { font-size: 21px; }
.sort-controls { display: flex; gap: 8px; }
.sort-select { border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; font-size: 13px; color: #000; background: #fff; }
.sort-select:disabled { opacity: .45; cursor: not-allowed; }

#fv { position: relative; padding: 118px 0 44px; background: var(--accent-soft);}
#fv .fv-swiper .swiper-button{width: 57px; height: 57px; background: var(--accent); z-index: 1; top: calc((100% - 36px) / 2); margin-top: 0; transform: translateY(-50%);}
#fv .fv-swiper .swiper-button:before{content: ""; width: 14px; height: 14px; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-bottom: 2px solid #fff; border-right: 2px solid #fff;}
#fv .fv-swiper .swiper-button.swiper-button-prev:before{transform: translate(-50%,-50%) rotate(135deg); left: 55%; }
#fv .fv-swiper .swiper-button.swiper-button-next:before{transform: translate(-50%,-50%) rotate(-45deg); left: 45%; }
#fv .fv-swiper .swiper-button.swiper-button-prev{left: 0px;}
#fv .fv-swiper .swiper-button.swiper-button-next{right: 0px;}
#fv .fv-swiper .swiper-button svg{display: none;}
#fv .fv-swiper .swiper-wrapper { padding: 0 0 36px;}
#fv .fv-swiper .swiper-wrapper .swiper-slide{width: calc(100% / 4 - 22px); height: auto; min-width: 340px; max-width: 340px;}
#fv .fv-swiper .swiper-wrapper .fv-slide { width: 100%; position: relative; box-shadow: 4px 4px 0 0 #FFFFFF; height: auto; display: block;}
#fv .fv-swiper .swiper-wrapper .fv-slide img{width: 100%; height: 226px; object-fit: cover;}
#fv .fv-swiper .swiper-wrapper .fv-slide:before{content: ""; display: block; width: 100%; height: 55%; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.8) 100%); position: absolute; bottom: 0px; left: 0px;}
#fv .fv-swiper .swiper-wrapper .fv-slide p { font-weight: 700; font-size: 16px; color: #FFFFFF; position: absolute; bottom: 14px; left: 0px; line-height: 150%; padding:  0 16px 0 18px; height: auto; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;}
#fv .fv-swiper .swiper-wrapper .fv-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(255,255,255,.85); cursor: pointer; font-size: 18px; z-index: 2; box-shadow: 0 1px 4px rgba(0,0,0,.15);}
#fv .fv-swiper .swiper-wrapper .fv-arrow.left { left: 8px; }
#fv .fv-swiper .swiper-wrapper .fv-arrow.right { right: 8px; }

#fv .fv-swiper .swiper-pagination{bottom: 0px; left: 0; top: auto; line-height: 100%;}
#fv .fv-swiper .swiper-pagination .swiper-pagination-bullet{width: 10px; height: 10px; background: #FFFFFF; margin: 0 6px; opacity: 1; line-height: 100%;}
#fv .fv-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{background: var(--accent);}

#fv form{padding: 18px 0 0;}
#fv form .search-bar { text-align: center; }
#fv form .search-bar .search-inner {max-width: 860px; margin: 0 auto; display: inline-flex; flex-direction: column; text-align: left;}
#fv form .search-bar .search-inner .search-flex{display: flex; flex: none; padding: 0; margin-right: 18px;}
#fv form .search-bar .search-inner .search-flex .search_btn{width: 128px; height: auto; text-align: center; font-size: 15px; font-weight: 500; background: #FFFFFF; line-height: 1; border: 1px solid transparent; padding: 11px 0; margin: 0; cursor: pointer; user-select: none; transition: background .2s, color .2s;}
#fv form .search-bar .search-inner .search-flex .search_btn.search_btn_active{ background: var(--accent); color: #fff;}
#fv form .search-bar .search-inner .search-flex .search_btn:first-child{overflow: hidden; border-radius: 100px 0 0 100px;}
#fv form .search-bar .search-inner .search-flex .search_btn:last-child{overflow: hidden; border-radius: 0 100px 100px 0;}

#fv form .search-bar .search-row1 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
#fv form .search-bar .search-row2 { display: flex; gap: 0 10px; align-items: center; flex-wrap: wrap; padding: 21px 0 0; }
#fv form .search-bar .search-hint { font-size: 12px; color: #000000; line-height: 182%; margin: 8px 0 0 175px; }
#fv form .search-bar .dd { position: relative;}
#fv form .search-bar .dd-toggle { width: 100%; background: #fff; border: 1px solid #E5E5E5; border-radius: 10px; font-size: 13px; cursor: pointer; color: var(--text); transition: border-color var(--t-fast), box-shadow var(--t-fast); padding: 0px;}
#fv form .search-bar .dd.open .dd-toggle { border-color: var(--accent); box-shadow: var(--ring); }
#fv form .search-bar .dd-toggle .caret { width: 8px; height: 8px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); display: block; position: absolute; top: 45%; transform: translateY(-50%) rotateZ(45deg); right: 18px;}
#fv form .search-bar .dd.open .dd-toggle .caret { transform: rotate(-135deg); top: 45%;}
#fv form .search-bar .dd-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-pop); padding: 6px; opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transition: opacity var(--t-fast), transform var(--t-fast); max-height: 280px; overflow-y: auto;}
#fv form .search-bar .dd.open .dd-menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#fv form .search-bar .search-pill .dd-menu { top: calc(100% + 14px); }
#fv form .search-bar .dd.mega .dd-menu { display: none; flex-wrap: wrap; gap: 2px; padding: 10px; width: max-content; min-width: 200px; max-width: 556px; max-height: 360px;}
#fv form .search-bar .dd.mega.open .dd-menu { display: flex; }
/* 列幅は固定 */
#fv form .search-bar .dd.mega .dd-opt { flex: 0 0 176px; width: 176px; border: 1px solid transparent; display: flex; align-items: flex-start; gap: 5px; vertical-align: top; line-height: 123%;}
#fv form .search-bar .dd.mega .dd-opt > span:last-child { flex: 1 1 auto; min-width: 0; }   /* 長い項目名がチェックの下に回り込まない（英語版と同じ） */
#fv form .search-bar .dd.mega .dd-opt:hover { border-color: var(--accent-soft); }
#fv form .search-bar .dd.mega[data-label="部位"] .dd-menu { grid-template-columns: repeat(2, minmax(140px, 1fr)); min-width: 320px; }
#fv form .search-bar .dd-opt { width: calc(100% / 3 - 5px); padding: 9px 10px; border-radius: 8px; font-size: 13px; cursor: pointer; display: inline-block; vertical-align: top;}
#fv form .search-bar .dd-check {text-align: center; width: 18px; height: 18px; border: 1.5px solid #c4ccc4; border-radius: 5px; display: inline-block; color: #fff; font-size: 12px; vertical-align: top; flex: none;}
#fv form .search-bar .dd-opt:hover { background: var(--accent-soft); }
#fv form .search-bar .dd-opt.sel .dd-check { background: var(--accent); border-color: var(--accent); }
#fv form .search-bar .dd-tick { width: 16px; flex: none; color: var(--accent); font-size: 12px; opacity: 0; transition: opacity var(--t-fast); display: inline-block;}
#fv form .search-bar .dd-opt.sel .dd-tick { opacity: 1; }
#fv form .search-bar .is-single .dd-opt.sel { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
#fv form .search-bar .search-row1 .dd { min-width: 155px; }
#fv form .search-bar .search-row1 .dd:last-child .dd-menu { left: auto; right: 0; }
#fv form .search-bar .search-row1 .dd-toggle { border-radius: 7px; padding: 11px 20px; justify-content: center; gap: 14px; font-weight: 500; }
#fv form .search-bar .search-row1 .dd-text {width: auto; text-align: center; font-size: 15px; font-weight: 500; line-height: 1;}
#fv form .search-bar .search-row1 .dd-toggle { display: flex; align-items: center; }
#fv form .search-bar .search-row1 .dd-toggle .caret { position: static; flex: none; transform: rotate(45deg); margin-top: -4px; }   /* 文字と矢印をまとめて中央に置く（件数付きでも重ならない。英語版と同じ） */
#fv form .search-bar .search-row1 .dd.open .dd-toggle .caret { transform: rotate(-135deg); margin-top: 4px; }
#fv form .search-pill { display: flex; align-items: center; width: 100%; background: rgba(255,255,255,0.76); border: 1px solid #FFFFFF; border-radius: 10000px; padding: 14px 19px 13px 0;}
#fv form .search-pill:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94,159,162,.18); }
#fv form .search-pill .pill-dd {padding: 16px 54px 16px 35px; width: 175px; border-right: 1px solid #DEDEDE; }
#fv form .search-pill .pill-dd .dd-toggle{ border: none; background: transparent; box-shadow: none; white-space: nowrap;font-size: 16px;}
#fv form .search-pill .pill-dd .dd-menu{width: 170px; display: none; }
#fv form .search-pill .pill-dd.open .dd-menu{display: block;}
#fv form .search-pill .pill-dd .dd-menu .dd-opt{width: 100%; height: auto;}

#fv form .search-bar .mode-switch { flex: none; display: flex; align-items: center; gap: 2px; margin: 0 14px 0 0; padding: 3px; border: 1px solid #E3E3E3; border-radius: 1000px; background: #F2F5F7;}
#fv form .search-bar .mode-opt { position: relative; display: inline-flex; align-items: center; height: 32px; padding: 0 18px; border: none; background: none; border-radius: 1000px; font-size: 15px; font-weight: 500; line-height: 1; color: #7A7A7A; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, color .2s ease;}
#fv form .search-bar .mode-opt:hover { opacity: .75; }
#fv form .search-bar .mode-opt.is-on { background: #fff; color: #000; box-shadow: 0 1px 3px rgba(20,40,60,.12);}
#fv form .search-bar .mode-opt[data-mode="ai"] { padding-left: 36px; }
#fv form .search-bar .mode-opt[data-mode="ai"]:before { content: ""; display: block; width: 17px; height: 17px; background: url(../images/top/icn_1.svg) no-repeat center center; background-size: 100%; position: absolute; top: 50%; transform: translateY(-50%); left: 14px;}
#fv form .pill-dd .dd-toggle:hover { opacity: .75; }
#fv form .search-bar .pill-dd.open .dd-toggle { box-shadow: none; }
#fv form .pill-sep { width: 1px; align-self: stretch; background: var(--line); }

#fv form .kw-wrap { flex: 1; min-width: 180px; position: relative; display: flex; align-items: center; }
#fv form .kw-wrap .kw-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #555; pointer-events: none; display:flex; }
#fv form .kw-input { width: 100%; border: none; background: transparent; padding: 12px 14px 12px 27px; font-size: 22px;}
#fv form .kw-input:focus { outline: none; }
#fv form .kw-input::placeholder { color: #b3b9b3; }
#fv form .ac-menu { position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-pop); padding: 6px; display: none;}
#fv form .ac-menu.show { display: block; animation: pop .15s var(--ease); }
#fv form .ac-item { padding: 9px 12px; border-radius: 8px; font-size: 13px; cursor: pointer; display:flex; gap:8px; align-items:center; }
#fv form .ac-item:hover, .ac-item.active { background: var(--accent-soft); }
#fv form .ac-item .ac-ico { color: var(--muted); font-size: 12px; display: flex; align-items: center; }
#fv form .ac-item .ac-ico svg { width: 12px; height: auto; display: block; }
#fv form .ac-item b { color: var(--accent-dark); }

#fv form .btn-search-round { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; border: none; border-radius: 26px; padding: 0 44px 0 51px; height: 46px; cursor: pointer; font-size: 18px; font-weight: 500; line-height: 116.7%; position: relative;}
#fv form .btn-search-round:before{content: ""; display: block; width: 16px; height: 18px; top: 50%; transform: translateY(-50%); left: 17px; background: url(../images/top/icn_2.svg) no-repeat center center; background-size: 100%; position: absolute;}
/* ---------- 検索バーのコンパクト化（TOP・製品系の共通） ---------- */
#fv { padding: 118px 0 30px; }
#fv form .search-pill { padding: 8px 14px 8px 0; }
#fv form .kw-input { padding: 8px 12px 8px 22px; font-size: 17px; }
#fv form .search-pill .pill-dd { padding: 11px 40px 11px 26px; width: 150px; }
#fv form .search-pill .pill-dd .dd-toggle { font-size: 14px; }
#fv form .mode-opt { padding: 6px 15px 7px; font-size: 13px; }
#fv form .btn-search-round { padding: 0 34px 0 42px; height: 38px; font-size: 16px; }
#fv form .search-row1 .dd-toggle { padding: 9px 10px; font-size: 12px; }
#fv form .search-bar .search-row1 .dd-text { font-size: 13px; }

/* ---------- 製品系ページ（body.product-search）だけの幅 ---------- */
body.product-search .layout { max-width: 900px; }

#fv form .btn-search-round:hover { opacity: .75; }
#fv form .btn-search-round:active { background: var(--accent-dark); }
#fv form .btn-search { background: var(--accent); color: #fff; border: none; cursor: pointer; border-radius:8px; padding:10px 18px; transition: background var(--t-fast); }
#fv form .btn-search:hover { opacity: .75; }

#fv form .search-words { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 12px; margin-top: 21px; margin-bottom: 30px; }
#fv form .search-words .tag_box{display: flex; align-items: center; gap: 5px; flex-wrap: wrap; flex: 1 1 auto; min-width: 0;}
#fv form .search-words .sw-label { flex: none; font-size: 16px; color: #000000; line-height: 131.2%; padding: 6px 0 0; white-space: nowrap;}
#fv form .search-words .sw-item { font-size: 14px; color: #000000; background: #FFFFFF; border-radius: 100px; padding: 7px 28px; transition: 0.5s; line-height: 135.7%; }
#fv form .search-words .sw-item:hover { opacity: .75; }

.chips { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: var(--accent-soft); color: var(--accent-dark); border-radius: 16px; padding: 5px 12px; font-size: 12px; display: inline-flex; gap: 6px; align-items: center; animation: chipIn .2s var(--ease);}
.chip .x { cursor: pointer; opacity: .6; transition: opacity var(--t-fast); }
.chip .x:hover { opacity: 1; }

.mock-note { background: #fff8e1; border-bottom: 1px solid #f0e0a0; color: #8a6d00; font-size: 12px; text-align: center; padding: 6px; }

/* ---------- スライドパネル（詳細/請求）---------- */
.slide-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: none; z-index: 100; }
.slide-overlay.open { display: block; }
.slide-panel { position: fixed; top: 0; right: 0; height: 100%; width: 720px; max-width: 92vw; background: #fff; z-index: 101; transform: translateX(100%); transition: transform .25s; overflow-y: auto; }
.slide-panel.open { transform: translateX(0); }
.slide-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 5; }
.slide-head .actions { display: flex; gap: 10px; }
.slide-panel { box-shadow: var(--shadow-lg); }
.slide-body { padding: 24px; }
.close-x { cursor: pointer; font-size: 24px; color: var(--muted); background: none; border: none; line-height: 1; }
.close-x:hover { opacity: .75; }

@media (max-width: 900px) {
	.pv-modal { grid-template-columns: 1fr; height: 92vh; }
	.pv-nav, .pv-thumbs { display: none; }
	.layout, .cart-grid { grid-template-columns: minmax(0,1fr); }
	.layout > *, .cart-grid > * { min-width: 0; }
	.article-grid { grid-template-columns: 1fr 1fr; }
	.cat-grid, .word-grid, .banner-row { grid-template-columns: 1fr 1fr; }
  
}

/* ===== 製品詳細 AIチャットアシスタント（L4-05・右下フローティング） ===== */
.ai-chat-launcher { position: fixed; right: 24px; bottom: 24px; z-index: 1100; display: inline-flex; align-items: center; gap: 10px; padding: 15px 36px; border: none; border-radius: 99px; cursor: pointer; font: inherit; font-weight: 800; font-size: 15px; letter-spacing: .01em; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); box-shadow: var(--shadow-pop); animation: aiChatPulse 2.6s ease-in-out infinite; transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.ai-chat-launcher:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 34px rgba(30,50,35,.28); animation: none; }
@keyframes aiChatPulse { 0%, 100% { box-shadow: var(--shadow-pop), 0 0 0 0 rgba(47,107,70,.38); } 50% { box-shadow: var(--shadow-pop), 0 0 0 12px rgba(47,107,70,0); } }
.ai-chat-spark { font-size: 18px; }
.ai-chat.open .ai-chat-launcher { display: none; }

.ai-chat-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1101; width: 400px; max-width: calc(100vw - 24px); height: 100vh; height: 100dvh; display: none; flex-direction: column; background: #fff; border-left: 1px solid var(--line); box-shadow: -10px 0 40px rgba(30,50,35,.16); overflow: hidden; }
.ai-chat.open .ai-chat-drawer { display: flex; animation: aiChatSlideIn .3s var(--ease); }
@keyframes aiChatSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes aiChatUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
body { transition: padding-right .3s var(--ease); }
@media (min-width: 1024px) { body.ai-chat-shift { padding-right: 400px; } }

@media (max-width: 1023px) {
  .ai-chat-drawer { top: auto; right: 0; left: 0; bottom: 0; width: auto; max-width: none; height: 78vh; height: 78dvh; border-left: none; border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(30,50,35,.16); }
  .ai-chat.open .ai-chat-drawer { animation: aiChatUp .28s var(--ease); }
}
@media (max-width: 768px) {
	body { overflow-x: clip; }

	.ai-chat-launcher { right: 14px; bottom: 14px; padding: 13px 20px; font-size: 14px; }
	.section-title { font-size: 12px; margin: 0 0 23px; text-align: center;}
	.section-title span{font-size: 18px; margin: 0; display: block; line-height: 116.7%; margin: 0 0 4px;}
	.inner{ width: 90%; margin: 0 auto; }
	.PC{display: none;}
	.SP{display: block;}
  
	body{min-width: auto; }
	body.body_box{overflow: hidden;}

	header { min-width: auto; }
	header .header_flex_SP,
	header .clos_btn{display: block;}
	header .header_flex_SP{margin: 0 14px 0 auto;}
	header h1{width: 152px; height: auto; position: relative; z-index: 1;}
	header h1 img{width: 100%; height: auto;}
	header h1 .logo-channel { height: auto; }
	header .header-inner { padding: 15px 5%; gap: 10px; justify-content: space-between;}
	
	header .header_box { display: none; padding: 80px 5% 14px; width: 100%; position: absolute; top: 0px; height: 100vh; border-radius: 0px; left: 0px;}
	header .header_box nav{ width: 100%; border: none; padding-right: 0;}
	header .header_box nav ul{display: block;}
	header .header_box nav ul li{border-bottom: 1px solid #DBDBDB;}
	header .header_box nav ul li:last-child { padding-right: 0%;}
	header .header_box nav ul li a{font-size: 14px; display: block; width: 100%; padding: 13px 0 14px; position: relative;}
	header .header_box nav ul li a:before{content: ""; display: block; width: 12px; height: 12px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); position: absolute; top: 50%; transform: translateY(-50%) rotateZ(-45deg); right: 5%;}
	header .header_box nav ul li a.is-current::after{ display: none; }
	
	header .header_flex{display: flex; align-items: center;}
	header .header_flex .user-name {font-size: 11px; padding: 0 5px 0 0; display: none;}
	header .header_flex .rank-badge { border-radius: 12px; padding: 3px 15px 4px; font-size: 12px;}
	header .header_flex .rank-switch { padding: 0 20px 0 0;}
	header .clos_btn{width: 40px; height: 40px; background: #fff; position: relative;}
	header .clos_btn span{display: block; position: absolute; transform: translate(-50%,-50%); top: 50%; left: 50%; width: 60%; height: 1px; background: #707070; transition: transform 0.3s;}
	header .clos_btn span.top_border{top: 30%;}
	header .clos_btn span.btm_border{top: 70%;}
	
	.site-header .clos_btn span {transition: transform 0.3s, opacity 0.3s;}
	.site-header .clos_btn.is_open .top_border {transform: translate(-50%,-50%) rotate(45deg); top: 50%;}
	.site-header .clos_btn.is_open .ctr_border {opacity: 0;}
	.site-header .clos_btn.is_open .btm_border {transform: translate(-50%,-50%) rotate(-45deg); top: 50%;}
	
	/* 登録促しモーダル */
	.up-overlay { padding: 24px; }
	.up-overlay.open { display: flex; animation: pop .18s var(--ease); }
	.up-modal { position: relative; background: #fff; border-radius: var(--radius-lg); max-width: 460px; width: 100%; padding: 32px 28px; text-align: center; box-shadow: var(--shadow-lg); }
	.up-close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 22px; color: var(--muted); cursor: pointer; }
	.up-ico { font-size: 40px; margin-bottom: 8px; }
	.up-modal h3 { margin: 0 0 10px; font-size: 17px; }
	.up-modal p { font-size: 13px; color: #555; line-height: 1.8; }
	.up-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
	.cart-ico { position: relative; width: 20px; height: 20px; }
	.cart-ico .count { position: absolute; top: -6px; right: -15px; color: #fff; border-radius: 50%; width: 15px; height: 15px; font-size: 10px; line-height: 1; padding-bottom: 1px; display: flex; align-items: center; justify-content: center;}
	
	/* ---------- aside ---------- */
	aside{padding: 0; margin: 30px 0 0;}
	aside #notice { padding: 20px 0 0;}
	aside .side-box h2{font-size: 12px; margin: 0 0 6px;}
	aside .side-box h2 span { font-size: 17px; }
	aside #notice .side-box li { border-bottom: 1px solid #F2F2F2; font-size: 12px;}
	aside #notice .side-link { margin: 0; border-radius: 6px; text-decoration: none; transition: 0.5s; display: block; padding: 20px 0 18px;}
	aside #notice .side-link:hover { opacity: .75;  transition: 0.5s;}
	aside #notice .side-thumb { width: 90px; height: auto; display: inline-block;  vertical-align: top;}
	aside #notice .side-thumb img{width: 100%; height: auto;}
	aside #notice .side-rank { width: 18px; color: var(--muted); font-weight: 700; flex: none; }
	aside #notice .products_text{margin: 0 0 0 15px; width: calc(100% - 105px); display: inline-block; vertical-align: top;}
	aside #notice .side-txt { line-height: 141.6%;font-size: 12px; margin: 0px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;}
	aside #notice .side-date { color: var(--accent); font-size: 10px;padding: 7px 0 0; display: block; }
	aside #notice .side-sub { color: var(--muted); font-size: 10px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
	
	aside #products .products_img{position: relative; width: 68px; height: auto; display: inline-block; vertical-align: top; margin: 0;}
	aside #products .products_img img{width: 100%; height: auto;}
	aside #products .products_img span{position: absolute; top: 0px; left: 0px; display: block; width: 18px; height: 18px; color: #fff; background: var(--accent); text-align: center; line-height: 138.2%; font-size: 11px;}
	aside #products .products_text{padding: 0 0 0 15px; width: calc(100% - 68px); display: inline-block; vertical-align: top; margin: -5px 0 0;}
	aside #products .products_text p{margin: 0px;}
	aside #products .products_text p.side-txt{line-height: 141.6%; font-size: 12px;}
	aside #products .products_text p.side-tag{font-size: 9px; color: #ACACAC; line-height: 145%; padding: 4px 0 0;}
	aside #products .side-link { border-radius: 6px; text-decoration: none; transition: 0.5s; display: block; padding: 12px 0 11px;}
	aside #products .side-box li { border-bottom: 1px solid #F2F2F2; font-size: 12px;}
	aside #products .side-box li:last-child{border-bottom: 0px;}
	aside a.btn-contact.PC{ display: none;}
	aside a.btn-contact{padding: 10px 0 12px; font-size: 13px; margin: 30px auto 0; width: 200px; gap: 9px;}
	
	aside #notice.keyword { padding: 40px 5% 0;}
	aside #notice.keyword .side-box h2 span {font-size: 18px;}
	aside #notice.keyword .side-box ul li a{font-size: 14px; padding: 17px 0 13px 48px; }
	aside #notice.keyword .side-box ul li a:before{width: 8px; height: 8px; right: 9px;}
	aside #notice.keyword .side-box ul li a span{width: 29px; height: 29px; font-size: 14px; line-height: 207.2%;}
	
	/* ---------- footer ---------- */	
	.pager-row{margin: 33px 0 0; position: relative;}
	.pager-row .pager{display: flex; align-items: center; justify-content: center; gap:7px; padding: 20px 0 0;}
	.pager-row .pager a{font-size: 13px; text-align: center; width: 37px; height: 37px; padding: 0;}
	.pager-row .pager a.btn:before{ width: 24%; height: 24%;}
	.pager-row .per-page{position: relative; right: auto; top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;}
	.pager-row .per-page div { margin: 0;}
	.pager-row .per-page .sort-select{ font-size: 14px; padding: 7px 22px 7px 10px; line-height: 150%; width: 84px; border-radius: 7px;}
	
	/* ---------- footer ---------- */
	.footer-spacer { min-height: 60px; }
	footer { margin-top: 0; padding: 20px 5% 12px; }
	body:has(.ai-chat-launcher) footer { padding-bottom: 84px; }   /* 右下の「イチに聞く」がフッターの文字に重ならないように */
	footer .footer_box{display: flex; flex-direction: column; align-items: stretch; }
	footer .footer_box .f-brand { display: contents; }   /* スマホではシールを今までどおりリンクの下に */
	footer .footer_box .f-seal { order: 1; }
	footer .footer_box h3 { text-align: center;}
	footer .footer_box h3 a{display: inline-block;}
	footer .footer_box ul { display: flex; flex-wrap: wrap; padding: 17px 0 0; width: 90%; margin: 0 auto;}
	footer .footer_box ul li{width: 50%;}
	footer .footer_box ul li:not(:last-child){padding: 0;}
	footer .footer_box ul li:not(:last-child):before{ display: none;}
	footer .footer_box ul li:not(:first-child){padding-left: 0; }
	footer .footer_box ul li a{font-size: 14px; padding: 7px 0; line-height: 142.8%;}
	footer .footer_box .f-links { display: block; }
	footer .footer_box .f-sub { padding-top: 0; }
	footer .footer_box .f-sub li a { font-size: 13px; }
	footer .footer_box .f-seal { padding-top: 17px; text-align: center; }
	footer .copy { font-size: 11px; padding: 31px 0 0;margin: 0px;line-height: 142%; text-align: center;}
	
	
		/* ---------- FVカルーセル（全幅・最上部）---------- */
	#fv { padding: 85px 0 43px;}
	#fv .fv-swiper .swiper-button{width: 44px; height: 44px; top: calc((100% - 36px) / 2);}
	#fv .fv-swiper .swiper-button:before{width: 10px; height: 10px;}
	#fv .fv-swiper .swiper-wrapper { padding: 0 0 36px;}
	#fv .fv-swiper .swiper-wrapper .swiper-slide{min-width: auto; max-width: none;}
	#fv .fv-swiper .swiper-wrapper .fv-slide { box-shadow: 8px 8px 0 0 var(--accent-soft); height: auto; display: block;}
	#fv .fv-swiper .swiper-wrapper .fv-slide img{width: 100%; height: auto; aspect-ratio: 512 / 341; object-fit: cover;}
	#fv .fv-swiper .swiper-wrapper .fv-slide:before{padding: 0; height: 55%;}
	#fv .fv-swiper .swiper-wrapper .fv-slide p { font-size: 16px; bottom: 5%; padding:  0 5%;}
	#fv .fv-swiper .swiper-wrapper .fv-arrow { width: 36px; height: 36px; font-size: 18px; z-index: 2;}
	#fv .fv-swiper .swiper-wrapper .fv-arrow.left { left: 8px; }
	#fv .fv-swiper .swiper-wrapper .fv-arrow.right { right: 8px; }
	
	#fv .fv-swiper .swiper-pagination .swiper-pagination-bullet{margin: 0 6px; opacity: 1; line-height: 100%;}
	
	#fv form{padding: 24px 0 0;}
	#fv form .search-bar .search-inner {width: 90%;}
	#fv form .search-bar .search-inner .search-flex{ width: 100%; justify-content: center; padding: 0 0 20px; margin: 0;}
	#fv form .search-bar .search-inner .search-flex .search_btn{ font-size: 16px; padding: 11px 0; line-height: 112.5%;}
	#fv form .search-bar .search-row2 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 0 0; }
	#fv form .search-bar .search-hint { font-size: 11px; line-height: 182%; margin: 0px; text-align: right; }
	#fv form .search-bar .dd { position: relative; margin: 0 0 0 auto;}
	#fv form .search-bar .dd-toggle { width: 100%; border-radius: 10px; font-size: 13px; }
	#fv form .search-bar .dd-toggle .caret { width: 7px; height: 7px; right: 10px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);}
	#fv form .search-bar .dd.open .dd-toggle .caret { transform: rotate(-135deg); top: 45%; }
	#fv form .search-bar .dd-menu { top: calc(100% + 6px); min-width: 220px; padding: 6px; max-height: 280px;}
	#fv form .search-bar .search-pill .dd-menu { top: calc(100% + 14px); }
	#fv form .search-bar .dd.mega .dd-menu { width: 90vw; min-width: 0; max-width: 90vw; max-height: 360px;}
	#fv form .search-bar .search-row1 .dd:nth-last-child(3) .dd-menu { left: 0; right: auto; transform: translateY(-6px) scale(.98);}
	#fv form .search-bar .search-row1 .dd:nth-last-child(3).open .dd-menu { transform: translateY(0) scale(1);}
	#fv form .search-bar .search-row1 .dd:nth-last-child(2) .dd-menu { left: 50%; right: auto; transform: translateX(-50%) translateY(-6px) scale(.98);}
	#fv form .search-bar .search-row1 .dd:nth-last-child(2).open .dd-menu { transform: translateX(-50%) translateY(0) scale(1);}
	#fv form .search-bar .search-row1 .dd:nth-last-child(1) .dd-menu { left: auto; right: 0; transform: translateY(-6px) scale(.98);}
	#fv form .search-bar .search-row1 .dd:nth-last-child(1).open .dd-menu { transform: translateY(0) scale(1);}
	#fv form .search-bar .dd.mega .dd-opt { flex: 0 0 calc((100% - 2px) / 2); width: calc((100% - 2px) / 2); }
	#fv form .search-bar .dd-opt { gap: 10px; padding: 11px 5px; border-radius: 8px; font-size: 11px;}
	#fv form .search-bar .dd-check { width: 14px; height: 14px; font-size: 11px;}
	#fv form .search-bar .dd-tick { width: 16px; flex: none; font-size: 12px; opacity: 0; }
	#fv form .search-bar .search-row1 {gap: 6px;}
	#fv form .search-bar .search-row1 .dd { min-width: auto; width: calc(100% / 3 - 4px); margin: 0;}
	body.product-search #fv form .search-bar .search-row1 .dd { min-width: auto; }
	#fv form .search-bar .search-row1 .dd-toggle {
		border-radius: 7px; padding: 6px 8px; gap: 4px;   /* 矢印は文字の横に並ぶので右の余白は不要 */
		justify-content: center; font-weight: 500;
		min-height: 38px; align-items: center;
	}
	#fv form .search-bar .search-row1 .dd-text {
		width: 100%; text-align: center; font-size: 11px; line-height: 1.3;
		white-space: normal;   /* 件数付き（コンセプト（2）など）でも省略しない */
	}
	#fv form .search-bar .search-row1 .dd-toggle .caret { right: 8px; }
	#fv form .search-pill {width: 100%; padding: 7px 3%; flex-wrap: wrap; border-radius: 10px;}
	#fv form .search-pill .pill-dd {padding: 13px 22px 13px 0; width: auto; flex: none; border-right: none; }
	#fv form .search-pill .pill-dd .dd-toggle{ font-size: 12px;}

	#fv form .search-bar .mode-switch{ margin: 0 0 0 auto; padding: 2px; gap: 1px; flex: none;}
	#fv form .search-bar .mode-opt{ height: 22px; padding: 0 8px; font-size: 11px;}
	#fv form .search-bar .mode-opt[data-mode="ai"]{ padding-left: 21px;}
	#fv form .search-bar .mode-opt[data-mode="ai"]:before{width: 11px; height: 11px; left: 6px;}
	
	#fv form .kw-wrap { min-width: 100%; width: 100%; border-bottom: 1px solid #E5E5E5; margin: 0 0 6px;}
	#fv form .kw-wrap .kw-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #555; pointer-events: none; display:flex; }
	#fv form .kw-input { width: 100%; border: none; background: transparent; padding: 7px 7px 7px 0px; font-size: 16px;}
	#fv form .ac-menu { position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 60; border-radius: 12px; padding: 6px; display: none;}
	#fv form .ac-menu.show { display: block; animation: pop .15s var(--ease); }
	#fv form .ac-item { padding: 9px 12px; border-radius: 8px; font-size: 13px; cursor: pointer; display:flex; gap:8px; align-items:center; }
	#fv form .ac-item .ac-ico { color: var(--muted); font-size: 12px; display: flex; align-items: center; }
	#fv form .ac-item .ac-ico svg { width: 12px; height: auto; display: block; }
	
	#fv form .btn-search-round { flex: none; border-radius: 5px; padding: 0 10px 0 27px; height: 28px; font-size: 12px; margin: 0 0 0 auto;}
	#fv form .mode-switch + .btn-search-round { margin-left: 7px;}
	#fv form .btn-search-round:before{ width: 11px; height: 13px; left: 8px;}
	#fv form .btn-search { border-radius:8px; padding:10px 18px; }
	
	#fv form .search-words { display: block; margin-top:15px; margin-bottom: 8px; }
	#fv form .search-words .tag_box{width: 100%; gap: 7px 5px; justify-content: center;}
	#fv form .search-words .sw-label { font-size: 17px; padding: 0 0 8px; display: block; text-align: center; }
	#fv form .search-words .sw-item { font-size: 12px; padding: 4px 31px; }
	
	.chips { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 14px; display: flex; gap: 8px; flex-wrap: wrap; }
	.chip { background: var(--accent-soft); color: var(--accent-dark); border-radius: 16px; padding: 5px 12px; font-size: 12px; display: inline-flex; gap: 6px; align-items: center; animation: chipIn .2s var(--ease);}
	
	.layout { max-width: 90%; padding: 41px 0px 0; display: block;}
	body.product-search .layout { max-width: 90%; }
	.layout.full { grid-template-columns: minmax(0,1fr); }
	.layout.full > * { min-width: 0; }
	.page-title { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
	.result-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
	.result-meta .count b { font-size: 21px; }
	.sort-controls { display: flex; gap: 8px; }
	.sort-select { border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; font-size: 13px; color: #000; background: #fff; }
	.sort-select:disabled { opacity: .45; cursor: not-allowed; }
}
/* 幅 359px 以下：検索欄の「化粧品原料・クイック／AIモード・検索」を1行に収める、フッターの改行を防ぐ */
@media (max-width: 359px) {
	footer .footer_box .f-sub li a { font-size: 12px; white-space: nowrap; }   /* 「プライバシーポリシー」の「ー」だけが次の行に落ちないように */
	#fv form .search-bar .mode-opt { padding: 0 5px; }
	#fv form .search-bar .mode-opt[data-mode="ai"] { padding-left: 17px; }
	#fv form .search-bar .mode-opt[data-mode="ai"]:before { left: 4px; }
	#fv form .btn-search-round { padding: 0 8px 0 24px; }
	#fv form .btn-search-round:before { left: 7px; }
	#fv form .mode-switch + .btn-search-round { margin-left: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-chat-drawer, .ai-chat-launcher, .ai-chat-typing i { animation: none; transition: none; }
}

/* ===== Cookie同意バナー（GDPR・L3-20） ===== */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 920px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 16px 20px; animation: cookieUp .35s var(--ease); }
.cookie-text { flex: 1; min-width: 220px; font-size: 13px; line-height: 1.7; color: var(--text); }
.cookie-link { color: var(--accent-dark); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex: none; }
.cookie-deny, .cookie-accept { font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; border-radius: 10px; padding: 9px 20px; transition: var(--t-fast); }
.cookie-deny { background: #fff; border: 1px solid var(--line); color: var(--text); }
.cookie-deny:hover { opacity: .75; }
.cookie-accept { background: var(--accent); border: 1px solid var(--accent); color: #fff; }
.cookie-accept:hover { opacity: .75; }
.cookie-bar.hide { opacity: 0; transform: translateY(12px); transition: .3s var(--ease); }
@keyframes cookieUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 560px) { .cookie-btns { width: 100%; } .cookie-deny, .cookie-accept { flex: 1; } }

/* ---------- 社員限定情報（L3-23／L6-02）---------- */
.btn-staff { display: inline-block; background: #1d4e86; color: #fff; border: none; border-radius: 24px; padding: 12px 26px; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-sm); transition: background var(--t-fast), transform var(--t-fast); }
.btn-staff:hover:not(:disabled) { transform: translateY(-1px); opacity: .75; }
.btn-staff:disabled { background: #9fb4cf; cursor: not-allowed; }
.dp-cta-row { display: flex; justify-content: center; align-items: stretch; gap: 14px; flex-wrap: wrap; border: none; }
.dp-cta-btn { flex: 1 1 0; max-width: 380px; min-width: 240px; display: inline-flex; align-items: center; justify-content: center; text-align: center; width: auto; min-height: 52px; margin: 0; padding: 12px 24px; font-size: 14px; font-weight: 600; border-radius: 24px; line-height: 1.4; box-sizing: border-box; }
.slide-head.staff-head { background: #eaf1fb; border-bottom-color: var(--accent-soft); }
.slide-head.staff-head h3 { color: #1d4e86; font-size: 15px; }
.staff-warn { background: #fff7ea; border: 1px solid #f0d9a8; color: #8a6d00; border-radius: 8px; padding: 12px 14px; font-size: 12.5px; line-height: 1.7; margin-bottom: 4px; }
.staff-blur { filter: none; }

.st-info-grid { display: flex; flex-direction: column; }
.st-info-row { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line-soft); font-size: 13px; }
.st-info-k { flex: 0 0 130px; color: #5a7196; font-weight: 600; }
.st-info-v { flex: 1; line-height: 1.9; }
.staff-table th { background: #eaf1fb; color: #1d4e86; }
.st-quote { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
.st-quote span { color: #5a7196; }
.st-quote b { color: var(--text); font-weight: 700; margin-left: 4px; }
.st-clients { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; list-style: none; }
.st-clients li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.st-clients .st-rank { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #eaf1fb; color: #1d4e86; font-weight: 700; font-size: 12px; flex: none; }
.st-add { background: #f5f8fd; border: 1px solid var(--accent-soft); border-radius: 10px; padding: 6px 14px 14px; }
.st-add-badge { display: inline-block; background: #1d4e86; color: #fff; font-size: 10px; font-weight: 700; border-radius: 10px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }
.st-add-sub { font-size: 12px; font-weight: 700; color: #5a7196; margin: 12px 0 6px; }
.staff-files { display: flex; flex-direction: column; gap: 8px; }
.staff-file { display: inline-block; background: #f5f8fd; border: 1px solid var(--accent-soft); border-radius: 8px; padding: 10px 14px; font-size: 13px; color: #1d4e86; transition: background var(--t-fast); }
.staff-file:hover { background: #eaf1fb; }
.staff-file.powerapps { margin-top: 8px; background: #fff4e5; border-color: #f3ddb5; color: #8a5a00; }
.staff-note { font-size: 11px; color: #888; margin-top: 14px; }

.staff-panel .slide-body { position: relative; }
.staff-panel .slide-body::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background-repeat: repeat; background-position: center; background-image: var(--staff-wm); }
/* 社外秘 確認ポップアップ */
.staff-confirm-ov { position: fixed; inset: 0; background: rgba(20,30,45,.55); z-index: 9000; display: none; align-items: center; justify-content: center; padding: 24px; }
.staff-confirm-ov.open { display: flex; animation: pop .18s var(--ease); }
.staff-confirm { background: #fff; border-radius: var(--radius-lg); max-width: 440px; width: 100%; padding: 28px 26px; box-shadow: var(--shadow-lg); text-align: center; }
.staff-confirm .sc-ico { font-size: 38px; }
.staff-confirm h4 { margin: 6px 0 10px; font-size: 18px; color: #1d4e86; }
.staff-confirm p { font-size: 13px; color: #444; line-height: 1.8; margin: 0 0 16px; text-align: left; }
.sc-check { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13px; margin-bottom: 18px; cursor: pointer; }
.sc-btns { display: flex; gap: 10px; justify-content: center; }


/* ---------- サイト共通ダイアログ（confirm / alert の置き換え） ---------- */
.site-dialog-ov { position: fixed; inset: 0; z-index: 9500; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .15s var(--ease); }
.site-dialog-ov.open { opacity: 1; }
.site-dialog { width: 420px; max-width: 100%; box-sizing: border-box; padding: 28px 26px; border-radius: 12px; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.22); text-align: center; color: var(--text); transform: translateY(6px) scale(.98); transition: transform .15s var(--ease); }
.site-dialog-ov.open .site-dialog { transform: none; }
.site-dialog-ico { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 50%; background: #FDECEE; color: #E44A59; font-size: 22px; font-weight: 700; line-height: 1; }
.site-dialog-title { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--text); }
.site-dialog-msg { margin: 0 0 20px; font-size: 14px; line-height: 1.8; color: var(--text); overflow-wrap: anywhere; }
.site-dialog-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.site-dialog-cancel,
.site-dialog-ok { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; height: 44px; padding: 0 20px; box-sizing: border-box; border-radius: 1000px; font: inherit; font-size: 15px; font-weight: 500; line-height: 1.2; cursor: pointer; transition: opacity .2s ease; }
.site-dialog-cancel { border: 1px solid #DCDCDC; background: #fff; color: var(--text); }
.site-dialog-ok { border: 1px solid var(--accent); background: var(--accent); color: #fff; }
.site-dialog.is-danger .site-dialog-ok { border-color: #E44A59; background: #E44A59; }
.site-dialog-cancel:hover,
.site-dialog-ok:hover { opacity: .75; }
.site-dialog-cancel:focus-visible,
.site-dialog-ok:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.site-dialog.is-danger .site-dialog-ok:focus-visible { outline-color: #E44A59; }
@media screen and (max-width: 768px) {
	.site-dialog { padding: 24px 20px; }
	.site-dialog-title { font-size: 17px; }
	.site-dialog-cancel,
	.site-dialog-ok { flex: 1 1 0; min-width: 0; height: 42px; padding: 0 12px; font-size: 14px; }
	.site-dialog-btns .site-dialog-ok:only-child { flex: 0 1 auto; min-width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
	.site-dialog-ov, .site-dialog { transition: none; }
}
