/* 紫煙の卓 — 紹介ページ */
:root {
  --bg: #0b0907; --bg2: #14100c; --ink: #efe3cc; --dim: #b9aa90; --amber: #e8b46a; --red: #ff7a62; --line: rgba(255, 228, 186, .16); --line2: rgba(255, 228, 186, .32);
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif; --sans: "Zen Kaku Gothic New", "Hiragino Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font: 400 16px/1.95 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-underline-offset: 3px; }

/* 仕込む（3つの技） */
.shikomi { background: linear-gradient(180deg, rgba(80, 18, 12, .35), rgba(20, 14, 10, .9)); border: 1px solid rgba(255, 122, 98, .35); border-radius: 16px; padding: 20px; margin: 0 0 16px; }
.shikomi h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 26px; letter-spacing: .16em; color: #ffd8cf; }
.shikomi h3 small { margin-left: 12px; font-family: var(--sans); font-size: 13px; letter-spacing: .04em; color: var(--dim); }
.tricks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tricks article { background: rgba(10, 8, 6, .6); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.tricks b { display: block; font-family: var(--serif); font-size: 20px; letter-spacing: .12em; margin-bottom: 4px; color: var(--amber); }
.tricks p { margin: 0; font-size: 14px; line-height: 1.8; color: #dccdb2; }
/* 冒頭 */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 64px 16px 48px; }
.heroBg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(1.05); transform: scale(1.06); animation: heroDrift 24s ease-in-out infinite alternate; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 42%, rgba(11, 9, 7, .15) 0%, rgba(11, 9, 7, .7) 60%, var(--bg) 100%); }
.hero::after { content: ''; position: absolute; left: -10%; right: -10%; top: 10%; height: 60%; background: radial-gradient(ellipse at 50% 50%, rgba(170, 120, 255, .18), transparent 60%); filter: blur(30px); animation: smoke 9s ease-in-out infinite; }
@keyframes heroDrift { from { transform: scale(1.06) translateY(0); } to { transform: scale(1.12) translateY(-12px); } }
@keyframes smoke { 0%, 100% { opacity: .6; transform: translateX(-2%); } 50% { opacity: 1; transform: translateX(2%); } }
.heroIn { position: relative; z-index: 1; text-align: center; max-width: 720px; }
.hero h1 { margin: 0; }
.heroLogo { width: min(84vw, 560px); margin: 0 auto; filter: invert(.93) sepia(.35) saturate(1.4) drop-shadow(0 0 26px rgba(170, 120, 255, .45)) drop-shadow(0 6px 18px rgba(0, 0, 0, .9)); animation: logoIn 1.6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes logoIn { from { opacity: 0; transform: translateY(14px) scale(1.04); filter: invert(.93) sepia(.35) blur(10px); } to { opacity: 1; transform: none; } }
.heroSub { margin: 14px 0 0; font-size: 12px; letter-spacing: .44em; color: var(--dim); }
.heroLead { margin: 26px 0 0; font-family: var(--serif); font-size: clamp(20px, 4.6vw, 28px); line-height: 1.8; letter-spacing: .08em; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border-radius: 12px; border: 1px solid var(--line2); color: var(--ink); text-decoration: none; letter-spacing: .1em; background: rgba(20, 16, 12, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .2s, transform .15s; }
.btn:hover { border-color: var(--amber); }
.btn.main { font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: .24em; padding-left: 34px; color: #1c130a; background: linear-gradient(180deg, #ecd9b0, #b99659); border-color: #f5e3bd; }
.note { margin: 16px 0 0; font-size: 13px; color: var(--dim); }

/* 本文 */
main { width: min(1060px, 100% - 32px); margin: 0 auto; }
.sec { padding: clamp(56px, 9vw, 104px) 0 0; }
.sec h2 { margin: 0 0 22px; font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 6vw, 44px); letter-spacing: .16em; text-align: center; }
.sec h2 span { display: inline-block; padding: 0 .6em; position: relative; }
.sec h2 span::before, .sec h2 span::after { content: ''; position: absolute; top: 55%; width: min(18vw, 120px); height: 1px; background: linear-gradient(90deg, transparent, var(--line2)); }
.sec h2 span::before { right: 100%; }
.sec h2 span::after { left: 100%; transform: scaleX(-1); }
.lead { max-width: 720px; margin: 0 auto 30px; text-align: center; color: #e4d6bd; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.card img { aspect-ratio: 16 / 10; object-fit: cover; }
.card h3, .card p { margin-left: 20px; margin-right: 20px; }
.card h3 { margin-top: 16px; margin-bottom: 4px; font-family: var(--serif); font-size: 26px; letter-spacing: .14em; }
.card h3 small { margin-left: 12px; font-family: var(--sans); font-size: 13px; letter-spacing: .06em; color: var(--dim); }
.card.ura h3 { color: #ffd2c6; }
.card p { margin-bottom: 20px; font-size: 15px; color: #dccdb2; }
.steps { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: st; }
.steps li { counter-increment: st; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px; position: relative; overflow: hidden; }
.steps li::before { content: counter(st); position: absolute; right: -6px; top: -26px; font-family: var(--serif); font-weight: 700; font-size: 110px; line-height: 1; color: rgba(232, 180, 106, .09); }
.steps b { display: block; font-family: var(--serif); font-size: 22px; letter-spacing: .14em; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 14px; line-height: 1.85; color: #dccdb2; }
.steps em { font-style: normal; color: var(--amber); }
figure { margin: 0; }
figcaption { margin-top: 10px; font-size: 13px; color: var(--dim); text-align: center; }
.wide { margin-top: 22px; }
.wide img { border-radius: 14px; border: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: start; }
.gallery img { border-radius: 12px; border: 1px solid var(--line); aspect-ratio: 14 / 9; object-fit: cover; width: 100%; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: center; }
.split h2 { text-align: left; }
.split h2 span { padding-left: 0; }
.split h2 span::before { display: none; }
.phone img { width: min(320px, 100%); margin: 0 auto; border-radius: 26px; border: 1px solid var(--line2); box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.dots { margin: 0; padding-left: 1.2em; }
.dots li { margin: 6px 0; font-size: 15px; color: #dccdb2; }
.dots li::marker { color: var(--amber); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cols h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 21px; letter-spacing: .12em; color: var(--amber); }
.cpu { margin: 0; display: grid; gap: 10px; }
.cpu div { display: grid; grid-template-columns: 4.2em 1fr; gap: 10px; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.cpu dt { font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: .1em; }
.cpu dd { margin: 0; font-size: 15px; color: #dccdb2; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; }
.faq summary { cursor: pointer; padding: 12px 0; font-weight: 700; list-style: none; position: relative; padding-right: 26px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 10px; font-size: 20px; color: var(--amber); }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0 0 14px; font-size: 15px; color: #dccdb2; }
.end { text-align: center; padding-bottom: 24px; }
.endLogo { width: min(70vw, 360px); margin: 0 auto 26px; filter: invert(.93) sepia(.35) saturate(1.4) drop-shadow(0 0 22px rgba(170, 120, 255, .4)); }
footer { margin-top: 64px; padding: 26px 16px calc(30px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); text-align: center; font-size: 13px; line-height: 2.1; color: var(--dim); }
footer a { color: var(--ink); }
footer .sep { margin: 0 .6em; opacity: .5; }
footer small { display: block; margin-top: 6px; font-size: 12px; }

@media (max-width: 860px) {
  .steps, .tricks { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .cards, .cols, .steps { grid-template-columns: 1fr; }
  body { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .heroBg, .hero::after, .heroLogo { animation: none; } }
