/* めでてこて｜ヘッダー・モニター募集・追従バナー・フッター（2026-11-24） */

/* ===== ヘッダー ===== */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: var(--cream); transition: background .35s, box-shadow .35s, transform .35s; background: linear-gradient(180deg, rgba(10,7,4,.7), rgba(10,7,4,0)); }
.hd.solid { background: rgba(18,13,8,.94); box-shadow: 0 1px 0 rgba(217,178,106,.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hd-in { width: min(1180px, 100% - 32px); margin: 0 auto; height: 68px; display: flex; align-items: center; gap: 22px; }
.hd-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex-shrink: 0; }
.hd-seal { width: 26px; height: 54px; background: var(--red); color: #fff6ea; border-radius: 4px; writing-mode: vertical-rl; font-family: "Shippori Mincho B1"; font-weight: 700; font-size: 8px; letter-spacing: .08em; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(255,240,220,.6); }
.hd-name { font-family: "Shippori Mincho B1"; font-weight: 800; font-size: 19px; letter-spacing: .14em; line-height: 1.1; }
.hd-name small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .2em; color: var(--gold); margin-top: 3px; }
.hd-nav { display: flex; gap: 22px; margin-left: auto; font-size: 13.5px; }
.hd-nav a { white-space: nowrap; text-decoration: none; opacity: .88; position: relative; padding: 4px 0; }
.hd-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.hd-nav a:hover { opacity: 1; } .hd-nav a:hover::after { transform: scaleX(1); }
.hd-nav .hd-mon { color: #ffd9a8; font-weight: 700; opacity: 1; }
.hd-nav .hd-mon::before { content: "募集中"; font-size: 10px; background: var(--red); color: #fff; border-radius: 3px; padding: 1px 5px; margin-right: 6px; vertical-align: 1px; }
.hd-line { display: inline-flex; align-items: center; gap: 8px; background: var(--line); color: #fff; font-weight: 700; font-size: 13.5px; padding: 9px 18px; border-radius: 999px; text-decoration: none; flex-shrink: 0; transition: transform .2s; }
.hd-line:hover { transform: translateY(-1px); }
.hd-line i { font-style: normal; background: #fff; color: var(--line); font-size: 9px; font-weight: 800; border-radius: 5px; padding: 3px 4px; }
.hd-menu { display: none; width: 42px; height: 42px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.hd-menu span, .hd-menu::before, .hd-menu::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.hd-menu::before { top: 13px; } .hd-menu span { top: 20px; } .hd-menu::after { top: 27px; }
.hd.open .hd-menu::before { transform: translateY(7px) rotate(45deg); } .hd.open .hd-menu span { opacity: 0; } .hd.open .hd-menu::after { transform: translateY(-7px) rotate(-45deg); }
.sec[id] { scroll-margin-top: 68px; }

/* ===== モニター募集 ===== */
.mon { background: var(--paper) url(../../src/washi.jpg) center/cover; color: var(--ink); }
.mon::before { content: ""; position: absolute; inset: 0; background: rgba(243,233,214,.6); }
.mon-card { position: relative; max-width: 940px; margin: 40px auto 0; background: #fffaf0; border: 1px solid #d8c6a3; border-radius: 6px; padding: 54px 48px 44px; box-shadow: 0 18px 40px -20px rgba(60,35,10,.35); }
.mon-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(184,50,42,.28); border-radius: 3px; pointer-events: none; }
.mon-badge { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff6ea; font-family: "Shippori Mincho B1"; font-weight: 800; font-size: 15px; letter-spacing: .2em; padding: 12px 30px; border-radius: 4px; box-shadow: inset 0 0 0 2px rgba(255,240,220,.5), 0 8px 18px -8px rgba(184,50,42,.7); white-space: nowrap; }
.mon-off { text-align: center; font-family: "Shippori Mincho B1"; font-weight: 800; line-height: 1.2; }
.mon-off .lim { display: block; font-size: 15px; letter-spacing: .2em; color: var(--mute); }
.mon-off .big { display: inline-block; font-size: clamp(44px, 7vw, 76px); color: var(--red); letter-spacing: .02em; margin-top: 6px; }
.mon-off .big small { font-size: .42em; margin-left: 4px; }
.mon-off .big::after { content: ""; display: block; height: 10px; margin-top: -14px; background: rgba(217,178,106,.45); border-radius: 2px; }
.mon-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.mon-p { text-align: center; border: 1px solid #e3d3b2; border-radius: 4px; padding: 16px 10px 14px; background: #fff; }
.mon-p.best { border-color: var(--gold-d); box-shadow: 0 0 0 1px var(--gold-d) inset; }
.mon-p b { display: block; font-family: "Shippori Mincho B1"; font-size: 15px; }
.mon-p s { display: block; font-size: 13px; color: #9a8a73; margin-top: 4px; }
.mon-p .now { display: block; font-family: "Shippori Mincho B1"; font-weight: 800; font-size: 26px; color: var(--red); line-height: 1.3; }
.mon-p .now small { font-size: 13px; color: var(--ink); margin-left: 2px; }
.mon-tax { text-align: center; font-size: 12px; color: var(--mute); margin-top: 8px; }
.mon-cond { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mon-c { display: flex; gap: 14px; align-items: flex-start; background: #f7eedb; border-radius: 4px; padding: 18px 18px 16px; }
.mon-c .n { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-family: "Shippori Mincho B1"; font-weight: 800; font-size: 13px; }
.mon-c h3 { font-family: "Shippori Mincho B1"; font-size: 17px; line-height: 1.5; }
.mon-c p { font-size: 13.5px; margin-top: 4px; color: #4d3f30; line-height: 1.75; }
.mon-why { margin-top: 26px; text-align: center; font-size: 14px; line-height: 1.9; }
.mon .cta-box small { color: var(--mute); }
.mon .cta-box .notes { color: var(--mute); opacity: 1; }

/* ===== 追従バナー ===== */
/* パソコン：右下のカード */
.mon-float { position: fixed; right: 22px; bottom: 22px; z-index: 55; width: 270px; background: #fffaf0; color: var(--ink); border-radius: 6px; padding: 20px 20px 16px; text-decoration: none; box-shadow: 0 18px 40px -12px rgba(0,0,0,.55); border-top: 5px solid var(--red); transform: translateY(24px); opacity: 0; pointer-events: none; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s; }
.mon-float.show { transform: none; opacity: 1; pointer-events: auto; }
.mon-float .tag { display: inline-block; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .12em; padding: 3px 10px; border-radius: 3px; }
.mon-float .t { font-family: "Shippori Mincho B1"; font-weight: 800; font-size: 15px; margin-top: 10px; line-height: 1.5; }
.mon-float .t em { font-style: normal; color: var(--red); font-size: 30px; display: block; line-height: 1.2; }
.mon-float .t em small { font-size: 15px; }
.mon-float .s { font-size: 12px; color: var(--mute); margin-top: 6px; line-height: 1.6; }
.mon-float .go { display: block; margin-top: 12px; text-align: center; background: var(--ink); color: var(--gold); font-size: 13px; font-weight: 700; padding: 9px; border-radius: 999px; }
.mon-float .x { position: absolute; top: 6px; right: 8px; width: 28px; height: 28px; border: 0; background: none; font-size: 18px; color: #9a8a73; cursor: pointer; line-height: 1; }
/* スマホ：LINEボタンの上の帯 */
.mon-strip { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: #fff6ea; text-decoration: none; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 8px 8px 0 0; margin: 0 18px -2px; box-shadow: 0 -4px 14px -6px rgba(0,0,0,.5); }
.mon-strip b { font-family: "Shippori Mincho B1"; font-size: 15px; color: #ffe2a6; }
.sticky { transition: opacity .3s; }

/* ===== フッター ===== */
.foot2 { background: #0a0705; color: #bfae8e; font-size: 13px; position: relative; overflow: hidden; }
.foot2::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold-d), transparent); }
.foot2-cta { text-align: center; padding: 56px 20px 46px; border-bottom: 1px solid rgba(217,178,106,.16); }
.foot2-cta p { font-family: "Shippori Mincho B1"; font-size: 18px; color: var(--cream); letter-spacing: .08em; margin-bottom: 18px; }
.foot2-main { width: min(1080px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 48px 0 40px; }
.foot2-brand .hd-logo { color: var(--cream); }
.foot2-brand p { margin-top: 16px; line-height: 1.9; }
.foot2 h4 { font-family: "Shippori Mincho B1"; color: var(--gold); font-size: 13px; letter-spacing: .25em; margin-bottom: 14px; font-weight: 600; }
.foot2 ul { list-style: none; }
.foot2 li { margin-bottom: 9px; }
.foot2 li a, .foot2-legal a { color: #e3cf9c; text-decoration: none; }
.foot2 li a:hover, .foot2-legal a:hover { text-decoration: underline; }
.foot2 dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.foot2 dt { color: #8f7f63; }
.foot2-bottom { border-top: 1px solid rgba(217,178,106,.16); padding: 18px 20px 22px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; }
.foot2-legal { display: flex; gap: 18px; }

/* ===== スマホ ===== */
@media (max-width: 1100px) {
  .hd-nav { display: none; }
  .hd-menu { display: block; }
  .hd-line { margin-left: auto; padding: 8px 13px; font-size: 12px; }
  .hd.open { background: rgba(18,13,8,.97); }
  .hd.open .hd-nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0; background: rgba(18,13,8,.97); padding: 6px 24px 22px; font-size: 16px; border-bottom: 1px solid rgba(217,178,106,.25); }
  .hd.open .hd-nav a { padding: 14px 0; border-bottom: 1px solid rgba(217,178,106,.12); }
}
@media (max-width: 768px) {
  .hd-in { height: 60px; gap: 10px; width: calc(100% - 24px); }
  .hd-name { font-size: 16px; }
  .hd.open .hd-nav { top: 60px; }
  .sec[id] { scroll-margin-top: 60px; }
  .mon-card { padding: 46px 18px 30px; margin-top: 34px; }
  .mon-badge { font-size: 13px; padding: 10px 18px; letter-spacing: .12em; }
  .mon-prices { grid-template-columns: 1fr; gap: 8px; }
  .mon-p { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; text-align: left; padding: 12px 14px; }
  .mon-p s { margin-top: 0; }
  .mon-p .now { font-size: 22px; }
  .mon-cond { grid-template-columns: 1fr; }
  .mon-float { display: none; }
  .foot2-main { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding: 40px 0 30px; }
  .foot2-brand { grid-column: 1 / -1; }
  .foot2 { padding-bottom: 130px; }
}
@media (min-width: 769px) { .mon-strip { display: none; } }
/* FVの上ではロゴを隠す（FVに大きい判子があるので） */
.hd .hd-logo { transition: opacity .35s; }
.hd:not(.solid):not(.open) .hd-logo { opacity: 0; pointer-events: none; }
/* モニターの段にいる間は、スマホの帯を隠す */
.sticky.in-mon .mon-strip { display: none; }
@media (max-width: 768px) { .mon-p b { font-size: 14px; white-space: nowrap; } .mon-p .now { font-size: 20px; } }
