@charset "UTF-8";
/* =========================================================
   トップページ ファーストビュー（FV）＋品目帯
   トップページだけで読み込む（inc/front-fv.php）

   元データ：指示書/ICHIGOBIYORI-TOP-FV-parts-20261013（2026-10-13 受領）
   ブレークポイント：767px以下＝SP、768px以上＝PC（素材の寸法ルールどおり）
   レイヤー順（下→上）：背景 → 人物 → グラデーション → 飾り帯 → 文字・バッジ
   ========================================================= */

/* =========================================
   共通の変数
   フォントは Noto Serif JP / Noto Sans JP を、FVで使う文字だけに絞って読み込む
   ========================================= */
.ib-fv,
.ib-rail{ --ib-red:#BF261A; --ib-green:#1D312F; --ib-cream:#FBF4E8; --ib-gold:#DFCF97; --ib-gold2:#C8AE72; --ib-line:#E8D9D0; --ib-sans:'Noto Sans JP','Noto Sans CJK JP','Hiragino Sans','Yu Gothic',sans-serif; --ib-serif:'Noto Serif JP','Noto Serif CJK JP','Hiragino Mincho ProN','Yu Mincho',serif;}

.ib-fv *,
.ib-rail *{ box-sizing:border-box;}

/* =========================================
   FV 本体（PC）
   ========================================= */
.ib-fv{ position:relative; overflow:hidden; height:clamp(460px, 29.17vw, 560px); background:var(--ib-cream); font-family:var(--ib-sans); color:var(--ib-green); isolation:isolate;}

/* 背景（店内のみ） */
.ib-fv__bg{ position:absolute; inset:0; z-index:1;}

.ib-fv__bg img{ display:block; width:100%; height:100%; object-fit:cover; object-position:100% 40%;}

/* 構図の基準枠（1920pxを上限に中央寄せ） */
.ib-fv__stage{ position:absolute; top:0; bottom:0; left:0; right:0; max-width:1920px; margin:0 auto;}

.ib-fv__stage--people{ z-index:2;}

.ib-fv__stage--front{ z-index:5; pointer-events:none;}

.ib-fv__stage--front > *{ pointer-events:auto;}

/* 人物＋カウンター（透過画像）：右下基準。下30.6%はFVの外に出して隠す */
.ib-fv__people{ position:absolute; right:0; bottom:0; width:49.8%; transform:translateY(30.6%);}

.ib-fv__people img{ display:block; width:100%; height:auto;}

/* 文字の下地（左から生成色→透明） */
.ib-fv__fade{ position:absolute; inset:0; z-index:3; pointer-events:none; background:linear-gradient(90deg, var(--ib-cream) 0, var(--ib-cream) 22%, rgba(251,244,232,.88) 36%, rgba(251,244,232,0) 58%);}

/* =========================================
   飾り：赤い斜め帯（七宝柄）＋梅
   ========================================= */
.ib-fv__deco{ position:absolute; inset:0; z-index:4; pointer-events:none;}

.ib-fv__band{ position:absolute; display:block; background:var(--ib-red) url(../img/fv/fv-pattern-shippo-red.svg) 0 0 / 26px 26px; box-shadow:0 0 0 3px #fff, 0 0 0 5px var(--ib-gold2);}

.ib-fv__band--a{ left:-4.7%; top:-7.2%; width:20.8%; aspect-ratio:400 / 110; transform:rotate(-26deg);}

.ib-fv__band--b{ right:-4.7%; bottom:-8.9%; width:21.9%; aspect-ratio:420 / 110; transform:rotate(-26deg);}

.ib-fv__ume{ position:absolute; display:block; height:auto;}

.ib-fv__ume--a{ left:12.5%; top:7.1%; width:clamp(28px, 2.4%, 46px);}

.ib-fv__ume--b{ right:13%; bottom:5.4%; width:clamp(26px, 2.1%, 40px);}

/* =========================================
   文字
   ========================================= */
.ib-fv__copy{ position:absolute; top:0; bottom:0; left:clamp(24px, calc(31.25% - 300px), 300px); width:min(820px, 52%); display:flex; flex-direction:column; justify-content:center;}

.ib-fv__kicker{ margin:0; font-family:var(--ib-serif); font-weight:700; font-size:clamp(13px, .99vw, 19px); line-height:1.6; letter-spacing:.06em;}

.ib-fv__title{ margin:.21em 0; font-family:var(--ib-serif); font-weight:900; font-size:clamp(30px, 3.44vw, 66px); line-height:1.25; letter-spacing:.02em; color:var(--ib-green);}

/* 「一期一会」「いい日和」：ブランドレッドの縦グラデーション */
.ib-fv__title em{ font-style:normal; color:transparent; background:linear-gradient(180deg, #D8402F 0%, #BF261A 42%, #9C1A0E 72%, #6E0C03 100%); -webkit-background-clip:text; background-clip:text; filter:drop-shadow(0 1px 0 rgba(70,6,0,.45)) drop-shadow(0 0 5px rgba(251,244,232,1)) drop-shadow(0 0 9px rgba(251,244,232,.95));}

.ib-fv__sub{ margin:0 0 1em; font-weight:700; font-size:clamp(15px, 1.35vw, 26px); line-height:1.45; letter-spacing:.03em;}

.ib-fv__sub b{ color:var(--ib-red); font-weight:900;}

.ib-fv__kicker,
.ib-fv__title,
.ib-fv__sub{ text-shadow:0 0 14px rgba(251,244,232,1), 0 0 6px rgba(251,244,232,1), 0 0 2px rgba(251,244,232,1);}

.ib-fv__title em{ text-shadow:none;}

/* =========================================
   バッジ（小枠3つ）
   ========================================= */
.ib-fv__chips{ display:flex; gap:clamp(6px, .63vw, 12px); margin:0; padding:0; list-style:none;}

.ib-fv__chip{ width:clamp(118px, 10.2vw, 196px); height:clamp(48px, 3.65vw, 70px); display:flex; flex-direction:column; justify-content:center; align-items:center; background:#fff; border:1.5px solid var(--ib-gold2); border-radius:8px; box-shadow:inset 0 0 0 2px #fff, inset 0 0 0 3px var(--ib-gold); text-align:center; line-height:1.25;}

.ib-fv__chip-l{ font-weight:700; font-size:clamp(11px, .73vw, 14px);}

.ib-fv__chip-v{ font-family:var(--ib-serif); font-weight:900; font-size:clamp(14px, 1.1vw, 21px); color:var(--ib-red);}

/* =========================================
   スタンプ（インラインSVG。<img>にするとWebフォントが効かない）
   ========================================= */
.ib-fv__stamp{ position:absolute; left:77%; top:20%; width:clamp(96px, 7.8%, 150px); aspect-ratio:1; transform:rotate(-8deg); filter:drop-shadow(0 6px 12px rgba(76,17,3,.28));}

.ib-fv__stamp svg{ display:block; width:100%; height:100%; overflow:visible;}

@media (min-width:768px) and (max-width:1100px){
.ib-fv__people{ width:53.6%;}
}

/* =========================================
   FV（SP）
   ========================================= */
@media (max-width:767px){
.ib-fv{ height:89.75vw;}

.ib-fv__bg img{ object-position:50% 25%;}

.ib-fv__people{ left:0; right:0; top:5.56vw; bottom:auto; width:100%; transform:none;}

.ib-fv__fade{ background:linear-gradient(180deg, rgba(251,244,232,0) 0, rgba(251,244,232,0) 42%, rgba(251,244,232,.9) 54%, rgba(251,244,232,.98) 64%, var(--ib-cream) 100%);}

.ib-fv__band{ box-shadow:0 0 0 2px #fff, 0 0 0 3px var(--ib-gold2); background-size:18px 18px;}

.ib-fv__band--a{ left:-12.8vw; top:auto; bottom:-7.7vw; width:33.3vw; aspect-ratio:130 / 40; transform:rotate(40deg);}

.ib-fv__band--b{ right:-12.8vw; bottom:-7.7vw; width:33.3vw; aspect-ratio:130 / 40; transform:rotate(-40deg);}

.ib-fv__ume--a{ left:1vw; top:auto; bottom:1vw; width:4.6vw;}

.ib-fv__ume--b{ right:1vw; bottom:1vw; width:4.6vw;}

.ib-fv__copy{ left:0; right:0; top:47.2vw; bottom:auto; width:auto; padding:0 3vw; align-items:center; text-align:center; justify-content:flex-start;}

.ib-fv__kicker{ font-size:2.95vw;}

.ib-fv__title{ font-size:6.92vw; margin:.07em 0 .15em;}

.ib-fv__sub{ font-size:3.59vw; margin-bottom:.5em;}

.ib-fv__chips{ gap:1.54vw;}

.ib-fv__chip{ width:28.7vw; height:9.74vw; border-radius:6px;}

.ib-fv__chip-l{ font-size:2.44vw;}

.ib-fv__chip-v{ font-size:3.2vw;}

.ib-fv__stamp{ left:1.3vw; top:1.5vw; width:18vw;}

.ib-fv__stamp .is-pc{ display:none;}
}

/* =========================================
   品目帯（自動で横に流れる。動きは assets/js/fv-rail.js）
   ========================================= */
.ib-rail{ --cell:128px; --icon:50px; --fs:14px; position:relative; background:#fff; border-top:3px solid var(--ib-red); border-bottom:3px solid var(--ib-red); font-family:var(--ib-sans);}

.ib-rail__viewport{ overflow-x:auto; overflow-y:hidden; scrollbar-width:none; -webkit-overflow-scrolling:touch;}

.ib-rail__viewport::-webkit-scrollbar{ display:none;}

.ib-rail__list{ display:flex; width:max-content; margin:0; padding:0; list-style:none;}

.ib-rail__list li{ flex:none;}

.ib-rail__list a{ display:flex; flex-direction:column; align-items:center; justify-content:flex-start; width:var(--cell); padding:10px 4px 8px; border-right:1px solid var(--ib-line); color:var(--ib-green); font-weight:700; text-decoration:none; text-align:center;}

.ib-rail__list a:hover{ opacity:1;}

.ib-rail__list a:hover span{ color:var(--ib-red);}

.ib-rail__list a:focus-visible{ outline:2px solid var(--ib-red); outline-offset:-4px;}

.ib-rail__list img{ width:var(--icon); height:var(--icon); margin-bottom:6px;}

.ib-rail__list span{ font-size:var(--fs); line-height:1.2; white-space:nowrap;}

@media (max-width:767px){
.ib-rail{ --cell:66px; --icon:28px; --fs:10px;}

.ib-rail__list span{ display:flex; align-items:center; min-height:2.4em; white-space:normal; word-break:keep-all;}

/* 右端の「続きがある」ヒント */
.ib-rail::after{ content:"›"; position:absolute; right:0; top:0; bottom:0; width:40px; display:flex; align-items:center; justify-content:flex-end; padding-right:6px; background:linear-gradient(90deg, rgba(255,255,255,0), #fff 70%); color:var(--ib-red); font-size:20px; font-weight:900; pointer-events:none;}
}

/* =========================================
   買取実績（トップだけの見た目）
   品目帯の直下。七宝柄の背景＋「RESULTS」＋明朝の見出し。
   カードの中身・並べ方は main.css の買取実績（共通）のまま
   ========================================= */
.section--achievement-top{ padding-top:26px; border-bottom:0; background:#FFF7ED url(../img/fv/pattern-shippo-cream.svg) 0 0 / 44px 44px;}

.section--achievement-top .section__inner{ max-width:1320px;}

.section__eyebrow{ margin:0; color:#BF261A; font-family:'Noto Sans JP','Hiragino Sans',sans-serif; font-size:12px; font-weight:700; line-height:1.6; letter-spacing:.24em; text-align:center;}

.section--achievement-top .section__title{ margin-bottom:18px; color:#1D312F; font-family:'Noto Serif JP','Noto Serif CJK JP','Hiragino Mincho ProN','Yu Mincho',serif; font-size:30px; font-weight:900; line-height:1.3; letter-spacing:.1em;}

/* PCは4枚、SPは2枚が見える横スクロール */
.section--achievement-top .achievement-list--scroll{ grid-auto-columns:calc((100% - 54px) / 4); gap:18px;}

.section--achievement-top .achievement-card{ overflow:hidden; border:1px solid #E2E8F0; border-radius:10px; background:#fff;}

.section--achievement-top .achievement-card__thumb{ border-radius:0;}

.section--achievement-top .achievement-card__body{ padding:12px 14px 14px;}

/* 直後のLINEバナー：色付きの背景から離して窮屈に見えないようにする（バナーは品目ページと共通なので、ここでだけ広げる） */
.section--achievement-top + .line-banner{ padding-top:80px;}

@media (min-width:768px) and (max-width:1024px){
.section--achievement-top .achievement-list--scroll{ grid-auto-columns:calc((100% - 36px) / 3);}
}

@media (max-width:767px){
.section--achievement-top .section__title{ font-size:19px;}

.section--achievement-top .section__inner{ width:auto; padding:0 16px;}

.section--achievement-top .achievement-list--scroll{ grid-auto-columns:calc((100% - 8px) / 2); gap:8px;}

.section--achievement-top .achievement-card__body{ padding:8px 10px 10px;}

.section--achievement-top + .line-banner{ padding-top:56px;}
}
