/* ========================================

   LANE FRONTIER

   共通スタイル

\======================================== */

:root {

  --ink: #302a25;

  --text: #51463d;

  --muted: #817163;

  --accent: #9d7853;

  --accent-dark: #6b4e35;

  --line: #e9dfd2;

  --paper: #faf7f2;

  --cream: #f4eee5;

  --white: #ffffff;

}

* {

  box-sizing: border-box;

}

html {

  scroll-behavior: smooth;

}

body {

  margin: 0;

  font-family:

    -apple-system,

    BlinkMacSystemFont,

    "Segoe UI",

    "Noto Sans JP",

    sans-serif;

  color: #222;

  background: #fff;

  line-height: 1.7;

}

a {

  color: inherit;

  text-decoration: none;

}

button {

  font: inherit;

}

img {

  max-width: 100%;

}

.container {

  width: min(1100px, calc(100% - 40px));

  margin-inline: auto;

}

/* ========================================

   01. ヘッダー

\======================================== */

.site-header {

  position: sticky;

  top: 0;

  z-index: 100;

  background: rgba(255, 255, 255, 0.96);

  border-bottom: 1px solid #e5e5e5;

  backdrop-filter: blur(12px);

}

.header-inner {

  display: flex;

  align-items: center;

  justify-content: space-between;

  min-height: 72px;

}

.brand {

  display: flex;

  align-items: center;

  gap: 12px;

  font-weight: 700;

}

.brand-name {

  font-size: 20px;

}

.lf-header-logo {

  display: block;

  width: 46px;

  height: 46px;

  object-fit: contain;

  mix-blend-mode: multiply;

}

.nav-list {

  display: flex;

  align-items: center;

  gap: 30px;

  margin: 0;

  padding: 0;

  list-style: none;

}

.nav-item {

  position: relative;

}

.nav-link {

  display: block;

  padding: 24px 0;

  font-size: 15px;

  font-weight: 600;

  transition: color 0.2s;

}

.nav-link:hover {

  color: var(--accent);

}

.nav-button {

  background: none;

  border: 0;

  cursor: pointer;

}

.dropdown {

  position: absolute;

  top: 100%;

  left: 50%;

  transform: translateX(-50%);

  min-width: 200px;

  margin: 0;

  padding: 10px 0;

  list-style: none;

  background: #fff;

  border: 1px solid #ddd;

  border-radius: 12px;

  box-shadow: 0 10px 30px #0001;

  opacity: 0;

  visibility: hidden;

  transition:

    opacity 0.2s,

    visibility 0.2s;

}

.has-dropdown:hover .dropdown,

.has-dropdown.is-open .dropdown,

.has-dropdown:focus-within .dropdown {

  opacity: 1;

  visibility: visible;

}

.dropdown a {

  display: block;

  padding: 10px 18px;

  white-space: nowrap;

}

.dropdown a:hover {

  background: #f4f0eb;

}

/* ========================================

   02. スマホメニュー

\======================================== */

.menu-toggle {

  display: none;

  background: none;

  border: 0;

  font-size: 26px;

  cursor: pointer;

}

.menu-overlay {

  position: fixed;

  inset: 0;

  z-index: 150;

  background: #0007;

  opacity: 0;

  visibility: hidden;

  transition: 0.25s;

}

.menu-overlay.open {

  opacity: 1;

  visibility: visible;

}

.mobile-menu {

  position: fixed;

  top: 0;

  left: 0;

  z-index: 200;

  width: min(320px, 85vw);

  height: 100vh;

  height: 100dvh;

  overflow-y: auto;

  background: #fff;

  transform: translateX(-100%);

  transition: transform 0.25s;

}

.mobile-menu.open {

  transform: translateX(0);

}

.close-menu {

  display: flex;

  align-items: center;

  justify-content: flex-end;

  width: 100%;

  height: 72px;

  padding: 0 24px;

  background: none;

  border: 0;

  font-size: 32px;

  cursor: pointer;

}

.mobile-nav {

  display: flex;

  flex-direction: column;

}

.mobile-nav > a,

.mobile-about {

  display: block;

  width: 100%;

  padding: 18px 24px;

  text-align: left;

  background: #fff;

  border: 0;

  border-top: 1px solid #eee;

  font-weight: 600;

  cursor: pointer;

}

.mobile-submenu {

  display: none;

  background: #f7f7f7;

}

.mobile-submenu.is-open {

  display: block;

}

.mobile-submenu a {

  display: block;

  padding: 14px 34px;

  border-top: 1px solid #eee;

  font-size: 14px;

}

/* ========================================

   03. トップページ

\======================================== */

.hero {

  padding: 80px 0;

}

.hero-actions {

  display: flex;

  justify-content: center;

  gap: 16px;

  margin-top: 34px;

}

.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-width: 150px;

  padding: 13px 24px;

  border-radius: 999px;

  font-weight: 700;

  transition:

    *background* 0.2s,

    transform 0.2s;

}

.btn:hover {

  transform: translateY(-2px);

}

.btn-primary {

  background: #222;

  color: #fff;

}

.btn-primary:hover {

  background: #51463d;

}

.btn-ghost {

  border: 1px solid #bbb;

}

.btn-ghost:hover {

  background: #f4eee5;

}

.lf-hero {

  padding: clamp(45px, 7vw, 95px) 0;

  overflow: hidden;

  background: linear-gradient(

    125deg,

    #faf8f4,

    #fff 49%,

    #f0ede8

  );

}

.lf-hero-grid {

  display: grid;

  grid-template-columns:

    minmax(0, 0.94fr)

    minmax(0, 1.06fr);

  align-items: center;

  gap: clamp(25px, 5vw, 80px);

  min-height: 560px;

}

.lf-hero-copy {

  min-width: 0;

  text-align: center;

}

.lf-hero-eyebrow {

  margin: 0 0 18px;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.24em;

  color: #8d7961;

}

.lf-hero-logo {

  width: min(100%, 425px);

  margin: 0 auto 18px;

}

.lf-hero-logo img {

  display: block;

  width: 100%;

  height: auto;

  mix-blend-mode: multiply;

}

.lf-hero-catch {

  margin: 14px 0;

  font-size: clamp(20px, 2.4vw, 29px);

  font-weight: 750;

  letter-spacing: 0.08em;

  color: #332b25;

}

.lf-hero-description {

  margin: 0;

  font-size: 14px;

  line-height: 2;

  color: #6e635b;

}

.lf-hero-actions {

  display: flex;

  justify-content: center;

  align-items: center;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 30px;

}

.lf-hero-actions .btn {

  min-width: 165px;

}

.lf-hero-credit {

  margin-top: 26px;

  font-size: 9px;

  letter-spacing: 0.17em;

  color: #9d938a;

}

.lf-hero-visual {

  position: relative;

  min-width: 0;

  padding: 24px 68px 52px 0;

}

.lf-art-panel {

  position: relative;

  overflow: hidden;

  aspect-ratio: 1.08 / 1;

  border-radius: 6px;

  background: #e8d4b7;

  box-shadow: 0 25px 65px #2f201329;

}

.lf-art-panel img {

  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

}

.lf-card-overlay {

  position: absolute;

  right: 0;

  bottom: 0;

  display: block;

  width: 39%;

  height: auto;

  transform: rotate(9deg);

  border-radius: 3px;

  box-shadow: 0 16px 35px #140f0b52;

}

.lf-visual-caption {

  position: absolute;

  left: 0;

  bottom: 12px;

  font-size: 10px;

  letter-spacing: 0.18em;

  color: #847666;

}

/* お知らせ・お問い合わせ */

.section {

  padding: 80px 0;

  border-top: 1px solid #eee;

}

.section-title {

  margin: 0 0 36px;

  font-size: 34px;

}

.news-list {

  margin: 0;

  padding: 0;

  list-style: none;

}

.news-item {

  display: flex;

  gap: 28px;

  padding: 18px 0;

  border-bottom: 1px solid #eee;

}

.news-item time {

  flex-shrink: 0;

  color: #666;

}

.contact-links {

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 12px;

}

.contact-links a {

  text-decoration: underline;

  text-underline-offset: 4px;

}

/* ========================================

   04. ABOUTページ

\======================================== */

.about-page {

  padding-top: 0;

}

.about-hero {

  text-align: left;

}

.about-title {

  margin: 0;

  font-size: 42px;

}

.about-section {

  padding: 82px 0 100px;

  scroll-margin-top: 72px;

}

.about-section + .about-section {

  border-top: 1px solid #eee;

}

.about-content {

  max-width: 1100px;

}

.about-label {

  margin: 0 0 8px;

  font-size: 12px;

  font-weight: 750;

  letter-spacing: 0.19em;

  color: #a38362;

}

.about-heading {

  margin: 0 0 40px;

  font-size: clamp(28px, 3.4vw, 38px);

  color: var(--ink);

}

.about-catch {

  margin: 0 0 32px;

  font-size: clamp(20px, 2.4vw, 27px);

  line-height: 1.6;

  color: #40342b;

}

.about-content p {

  margin-bottom: 24px;

  font-size: 17px;

  line-height: 2;

}

.about-final {

  margin-top: 48px;

  font-size: 20px !important;

  font-weight: 700;

  color: #684d34;

}

.lf-about-split {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 65px;

  align-items: center;

}

.lf-about-prose {

  min-width: 0;

}

.lf-about-prose p {

  font-size: 16px;

}

.lf-about-gallery {

  position: relative;

  min-width: 0;

  padding-bottom: 30px;

}

.lf-about-art {

  overflow: hidden;

  aspect-ratio: 1.25 / 1;

  border-radius: 10px;

  background: #eee0ce;

  box-shadow: 0 20px 55px #33201224;

}

.lf-about-art img {

  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

}

.lf-about-image-label {

  position: absolute;

  left: 0;

  bottom: 5px;

  font-size: 10px;

  letter-spacing: 0.15em;

  color: #8b7865;

}

.lf-world-section {

  background: linear-gradient(

    135deg,

    #faf7f1,

    #f2ece3

  );

}

.lf-world-copy {

  max-width: 760px;

  padding-left: 28px;

  border-left: 3px solid #c5a17d;

}

.lf-original-art-note {

  margin: 30px 0 4px;

  padding: 18px 24px;

  border-left: 3px solid #a98763;

  background: #f8f4ee;

  color: #584838;

  line-height: 1.9;

}

.creator-list {

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 20px;

  margin-top: 48px;

}

.creator-card {

  padding: 28px;

  background: #fff;

  border: 1px solid #e6ddd2;

  border-radius: 16px;

  box-shadow: 0 10px 28px #3220110b;

}

.creator-card p {

  margin-bottom: 0;

}

.creator-initial {

  margin: 0 0 12px !important;

  font-size: 38px !important;

  font-weight: 700;

  color: #9b7956;

}

.creator-role {

  margin: 0 0 16px;

  font-size: 18px;

  line-height: 1.6;

}

/* ========================================

   05. ABOUT・RULES 共通ページタイトル

\======================================== */

.lf-page-hero {

  position: relative;

  overflow: hidden;

  padding: 85px 0 78px;

  background: linear-gradient(

    120deg,

    #f9f6f0,

    #fff 55%,

    #eee8df

  );

  text-align: left;

}

.lf-page-hero .container {

  position: relative;

  z-index: 1;

}

.lf-section-kicker {

  margin: 0 0 12px;

  font-size: 12px;

  font-weight: 750;

  letter-spacing: 0.22em;

  color: #987958;

}

.lf-page-hero .about-title,

.lf-page-hero .rules-title {

  margin: 0 0 16px;

  font-size: clamp(30px, 4.5vw, 52px);

  line-height: 1.3;

  color: var(--ink);

}

.lf-page-intro,

.lf-page-hero .rules-lead {

  max-width: 700px;

  margin: 0;

  font-size: 17px;

  line-height: 1.9;

  color: #6f6255;

}

.lf-page-hero-art {

  position: absolute;

  inset: 0 0 0 auto;

  width: 34%;

  background:

    url("hero-art.jpg")

    center / cover

    no-repeat;

  opacity: 0.14;

  mask-image: linear-gradient(

    to right,

    transparent,

    #000 40%

  );

  pointer-events: none;

}

/* ========================================

   06. ルールページ：基本設定

\======================================== */

.guide-page {

  --guide-ink: #302a25;

  --guide-text: #51463d;

  --guide-accent: #9d7853;

  --guide-border: #e9dfd2;

  color: var(--guide-text);

  padding-top: 0;

}

.guide-page strong {

  color: #493729;

}

.guide-page p {

  overflow-wrap: break-word;

}

.guide-page .guide-narrow {

  max-width: 1040px;

}

.guide-page h2,

.guide-page h3 {

  color: var(--guide-ink);

}

.guide-page section[id] {

  scroll-margin-top: 72px;

}

/* ========================================

   07. ルールページ：ファーストビュー

\======================================== */

.guide-page .lf-rules-banner {

  padding: clamp(76px, 9vw, 126px) 0;

}

.guide-page .lf-rules-banner .rules-title {

  max-width: 760px;

  margin: 0 0 26px;

  font-size: clamp(36px, 5.4vw, 66px);

  line-height: 1.35;

}

.guide-page .lf-rules-banner .rules-lead {

  max-width: 650px;

  font-size: clamp(15px, 1.7vw, 18px);

  line-height: 2;

}

.guide-page .lf-rules-banner .lf-page-hero-art {

  background-image: url("rules-art.webp");

  opacity: 0.17;

}

.guide-start,

.guide-back {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 50px;

  margin-top: 32px;

  padding: 13px 28px;

  border-radius: 999px;

  background: #382e26;

  color: #fff;

  font-size: 14px;

  font-weight: 700;

  transition:

    *background* 0.2s,

    transform 0.2s;

}

.guide-start:hover,

.guide-back:hover {

  background: #6a5039;

  transform: translateY(-2px);

}

/* ========================================

   08. ルールページ：目次

\======================================== */

.guide-toc {

  padding: 54px 0 64px;

  background: #fff;

  border-bottom: 1px solid var(--guide-border);

}

.guide-toc-caption {

  display: flex;

  align-items: baseline;

  flex-wrap: wrap;

  gap: 14px;

  margin: 0 0 24px;

  color: var(--guide-accent);

  font-size: 13px;

  font-weight: 800;

  letter-spacing: 0.16em;

}

.guide-toc-caption span {

  color: #82776b;

  font-size: 13px;

  font-weight: 400;

  letter-spacing: 0;

}

.guide-toc-grid {

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 12px;

}

.guide-toc-grid a {

  display: flex;

  align-items: center;

  gap: 13px;

  min-height: 82px;

  padding: 18px 16px;

  background: #faf8f5;

  border: 1px solid #e9e1d7;

  border-radius: 12px;

  color: #43382f;

  font-size: 14px;

  font-weight: 700;

  transition:

    *background* 0.2s,

    border-color 0.2s,

    transform 0.2s,

    box-shadow 0.2s;

}

.guide-toc-grid a:hover {

  background: #f3e9dc;

  border-color: #c9ad8f;

  transform: translateY(-3px);

  box-shadow: 0 8px 18px #38251412;

}

.guide-toc-grid a span {

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 36px;

  height: 36px;

  background: #e9dccb;

  border-radius: 9px;

  color: #6d4f34;

  font-size: 13px;

  font-weight: 800;

}

/* ========================================

   09. ルールページ：章の共通デザイン

\======================================== */

.guide-chapter {

  padding: 100px 0 110px;

  background: #fff;

}

.guide-chapter.guide-tint {

  background: #f8f5f0;

}

.guide-chapter-head {

  max-width: 800px;

  margin-bottom: 42px;

}

.guide-index {

  display: inline-block;

  margin-bottom: 16px;

  padding: 7px 13px;

  background: #e9dac6;

  border-radius: 5px;

  color: #694c31;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.15em;

}

.guide-chapter-head h2 {

  margin: 0 0 20px;

  padding-bottom: 20px;

  border-bottom: 2px solid #d8c4ad;

  font-size: clamp(27px, 3.5vw, 39px);

  line-height: 1.45;

  letter-spacing: 0.015em;

}

.guide-chapter-head > p {

  margin: 0;

  color: #73665b;

  font-size: 16px;

  line-height: 2;

}

.guide-chapter h3 {

  margin: 0 0 12px;

  font-size: 21px;

  line-height: 1.5;

}

.guide-chapter p {

  line-height: 1.95;

}

.guide-bridge {

  margin: 36px 0 0;

  padding: 24px 28px;

  background: #f1e8dc;

  border-left: 4px solid #b38e66;

  border-radius: 0 10px 10px 0;

  color: #594533;

  font-size: 15px;

  font-weight: 650;

}

/* ========================================

   10. CHAPTER 01：勝利条件

\======================================== */

.guide-victory {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 20px;

}

.guide-victory article {

  position: relative;

  min-width: 0;

  min-height: 235px;

  padding: 34px;

  background: #fff;

  border: 1px solid #e2d3c1;

  border-top: 5px solid #a68159;

  border-radius: 14px;

  box-shadow: 0 12px 32px #48301a0b;

}

.guide-victory article:nth-child(2) {

  background: #fcf8f1;

  border-top-color: #69513e;

}

.guide-card-number {

  display: inline-block;

  margin-bottom: 20px;

  padding: 6px 12px;

  background: #eee2d2;

  border-radius: 5px;

  color: #67482d;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.1em;

}

.guide-victory h3 {

  margin-bottom: 14px;

  font-size: 23px;

}

.guide-victory p {

  margin: 0;

  color: #675b50;

  font-size: 15px;

}

/* ========================================

   11. CHAPTER 02：戦場の見方

\======================================== */

.guide-visual-pair {

  display: grid;

  grid-template-columns:

    minmax(0, 0.9fr)

    minmax(0, 1.1fr);

  align-items: start;

  gap: 38px;

}

.guide-image {

  min-width: 0;

  margin: 0;

  padding: 16px;

  background: #fff;

  border: 1px solid #e5d9cb;

  border-radius: 14px;

  box-shadow: 0 10px 28px #3825140b;

}

.guide-image img {

  display: block;

  width: 100%;

  height: auto;

  max-height: 430px;

  object-fit: contain;

  border-radius: 7px;

}

.guide-image figcaption {

  margin-top: 13px;

  color: #8b7b6a;

  font-size: 12px;

  text-align: center;

}

.guide-visual-pair > div {

  min-width: 0;

}

.guide-visual-pair h3 {

  margin: 0 0 8px;

  padding-left: 14px;

  border-left: 3px solid #b18c64;

  font-size: 19px;

}

.guide-visual-pair p {

  margin: 0 0 28px;

  color: #65584d;

  font-size: 15px;

}

.guide-term {

  margin-top: 32px;

  padding: 26px 30px;

  background: #fff;

  border: 1px solid #ddcfbc;

  border-radius: 12px;

}

.guide-term > strong {

  display: block;

  margin-bottom: 12px;

  color: #6a4d34;

  font-size: 17px;

}

.guide-term p {

  margin: 0;

  color: #65574b;

  font-size: 15px;

  line-height: 2.1;

}

/* ========================================

   12. CHAPTER 03：カード紹介

\======================================== */

.guide-type-grid {

  display: grid;

  grid-template-columns: repeat(6, minmax(0, 1fr));

  gap: 22px;

}

/* 領土は横幅いっぱいに表示 */

.guide-type:nth-child(1) {

  grid-column: span 6;

  border-top: 4px solid #a88b64;

}

/* ほかの3種類は横並び */

.guide-type:nth-child(n + 2) {

  grid-column: span 2;

}

/* 領土の説明画像を大きく表示 */

.guide-type-images {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  align-items: center;

  gap: 24px;

}

.guide-type-images img {

  display: block;

  width: 100%;

  max-height: none;

  object-fit: contain;

}

/* モンスター・マジック・装備の画像 */

.guide-type > img {

  display: block;

  width: 100%;

  max-width: none;

  max-height: none;

  margin: auto;

  object-fit: contain;

}

.guide-type {

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  min-width: 0;

  padding: 28px;

  background: #fff;

  border: 1px solid #e6ddd2;

  border-radius: 15px;

  box-shadow: 0 10px 28px #3825140a;

}

.guide-mini {

  display: inline-block;

  margin-bottom: 12px;

  color: #9c7954;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.12em;

}

.guide-type h3 {

  margin: 0 0 12px;

  font-size: 25px;

}

.guide-type p {

  margin: 0 0 22px;

  color: #67594d;

  font-size: 15px;

}

.guide-type > img {

  display: block;

  width: 100%;

  max-width: 310px;

  max-height: 300px;

  margin: auto;

  object-fit: contain;

}

.guide-type-images {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  align-items: center;

  gap: 12px;

}

.guide-type-images img {

  display: block;

  width: 100%;

  max-height: 260px;

  object-fit: contain;

}

.guide-type:nth-child(1) {

  border-top: 4px solid #a88b64;

}

.guide-type:nth-child(2) {

  border-top: 4px solid #7f7962;

}

.guide-type:nth-child(3) {

  border-top: 4px solid #8d7899;

}

.guide-type:nth-child(4) {

  border-top: 4px solid #a77d60;

}

/* ========================================

   13. CHAPTER 04：ゲームの準備

\======================================== */

.guide-steps {

  margin: 0;

  padding: 0;

  list-style: none;

  counter-reset: guide-step;

}

.guide-steps li {

  position: relative;

  margin-bottom: 16px;

  padding: 28px 30px 28px 96px;

  background: #fff;

  border: 1px solid #e7dccd;

  border-radius: 13px;

  counter-increment: guide-step;

}

.guide-steps li::before {

  content: counter(guide-step, decimal-leading-zero);

  position: absolute;

  top: 26px;

  left: 26px;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 46px;

  height: 46px;

  background: #e8d8c3;

  border-radius: 50%;

  color: #64482f;

  font-size: 16px;

  font-weight: 800;

}

.guide-steps h3 {

  margin: 0 0 8px;

  font-size: 20px;

}

.guide-steps p {

  margin: 0;

  color: #695c50;

  font-size: 15px;

}

.guide-note {

  margin-top: 28px;

  padding: 26px 30px;

  background: #eee3d4;

  border-left: 5px solid #a9855c;

  border-radius: 0 12px 12px 0;

}

.guide-note > strong {

  display: block;

  margin-bottom: 8px;

  font-size: 17px;

}

.guide-note p {

  margin: 0;

  font-size: 15px;

}

/* ========================================

   14. CHAPTER 05：6つのフェイズ

\======================================== */

.guide-phases {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 16px;

  margin: 0;

  padding: 0;

  list-style: none;

}

.guide-phases li {

  display: flex;

  align-items: flex-start;

  gap: 18px;

  min-width: 0;

  min-height: 145px;

  padding: 25px;

  background: #fff;

  border: 1px solid #e5d9c9;

  border-radius: 13px;

  box-shadow: 0 8px 24px #38251409;

}

.guide-phases li > span {

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 44px;

  height: 44px;

  background: #eadcc9;

  border-radius: 10px;

  color: #6c4f33;

  font-size: 16px;

  font-weight: 800;

}

.guide-phases li > div {

  min-width: 0;

}

.guide-phases h3 {

  margin: 0 0 8px;

  font-size: 19px;

}

.guide-phases p {

  margin: 0;

  color: #695c50;

  font-size: 14px;

  line-height: 1.9;

}

/* ========================================

   15. CHAPTER 06・07：行動と戦闘

\======================================== */

.guide-action {

  position: relative;

  margin-bottom: 18px;

  padding: 30px 34px;

  background: #fff;

  border: 1px solid #e5d9ca;

  border-radius: 13px;

  box-shadow: 0 8px 22px #38251408;

}

.guide-action-label {

  display: inline-block;

  margin-bottom: 13px;

  padding: 6px 12px;

  background: #efe4d5;

  border-radius: 5px;

  color: #795738;

  font-size: 12px;

  font-weight: 800;

}

.guide-action h3 {

  margin: 0 0 14px;

  font-size: 23px;

}

.guide-action p {

  margin: 0 0 13px;

  color: #62564b;

  font-size: 15px;

}

.guide-action p:last-child {

  margin-bottom: 0;

}

/* 戦闘結果 */

.guide-results {

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 14px;

  margin: 26px 0;

}

.guide-results > div {

  min-width: 0;

  padding: 26px 20px;

  background: #f7f3ed;

  border: 1px solid #e6d9c9;

  border-radius: 12px;

  text-align: center;

}

.guide-results > div:nth-child(1) {

  border-top: 4px solid #9a7957;

}

.guide-results > div:nth-child(2) {

  border-top: 4px solid #737f71;

}

.guide-results > div:nth-child(3) {

  border-top: 4px solid #8a7b86;

}

.guide-results b {

  display: block;

  margin-bottom: 16px;

  color: #6e5036;

  font-size: 19px;

  letter-spacing: 0.03em;

}

.guide-results strong {

  display: block;

  margin-bottom: 10px;

  color: #3d332c;

  font-size: 18px;

}

.guide-results p {

  margin: 0;

  color: #6c5e51;

  font-size: 14px;

}

/* ========================================

   16. CHAPTER 08：共通ルール

\======================================== */

.guide-detail-grid {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 16px;

}

.guide-detail-grid article {

  min-width: 0;

  padding: 26px;

  background: #fff;

  border: 1px solid #e6dacb;

  border-radius: 12px;

}

.guide-detail-grid h3 {

  margin: 0 0 12px;

  padding-bottom: 12px;

  border-bottom: 1px solid #eadfd2;

  font-size: 19px;

}

.guide-detail-grid p {

  margin: 0;

  color: #695b4e;

  font-size: 14px;

}

.guide-deck {

  margin-top: 30px;

  padding: 34px;

  background: #eee4d7;

  border-radius: 14px;

}

.guide-deck h3 {

  margin: 0 0 20px;

  font-size: 23px;

}

.guide-deck ul {

  margin: 0;

  padding-left: 22px;

}

.guide-deck li {

  margin-bottom: 12px;

  padding-left: 4px;

  line-height: 1.9;

}

.guide-deck li:last-child {

  margin-bottom: 0;

}

/* ========================================

   17. ルールページ：締め

\======================================== */

.guide-end {

  padding: 90px 0;

  background: linear-gradient(

    135deg,

    #3d3027,

    #66503d

  );

  color: #fff;

  text-align: center;

}

.guide-end .guide-index {

  background: #ffffff1c;

  color: #e8cba7;

}

.guide-end h2 {

  margin: 6px 0 22px;

  color: #fff;

  font-size: clamp(28px, 4vw, 42px);

}

.guide-end p:not(.guide-index) {

  max-width: 650px;

  margin: 0 auto;

  color: #e7dcd0;

  font-size: 16px;

  line-height: 2;

}

.guide-end .guide-back {

  margin-top: 32px;

  background: #fff;

  color: #4b3728;

}

.guide-end .guide-back:hover {

  background: #f0e1ce;

}

/* ========================================

   18. ルールページ：お問い合わせ

\======================================== */

.rules-contact-section {

  padding: 90px 0;

  background: #faf8f5;

}

.rules-contact-card {

  max-width: 760px;

  margin: 0 auto;

  padding: 48px 36px;

  background: #fff;

  border: 1px solid #e9dfd2;

  border-radius: 18px;

  box-shadow: 0 14px 40px #3825140b;

  text-align: center;

}

.rules-contact-icon {

  display: flex;

  align-items: center;

  justify-content: center;

  width: 58px;

  height: 58px;

  margin: 0 auto 24px;

  background: #efe2d0;

  border-radius: 50%;

  color: #745337;

  font-size: 28px;

  font-weight: 800;

}

.rules-contact-card h2 {

  margin: 0 0 18px;

  font-size: clamp(22px, 3vw, 29px);

}

.rules-contact-card p {

  margin: 0;

  color: #776a5d;

  font-size: 15px;

  line-height: 2;

}

.rules-contact-button {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  margin-top: 28px;

  padding: 14px 30px;

  background: #49372a;

  border-radius: 999px;

  color: #fff;

  font-size: 14px;

  font-weight: 700;

  transition: *background* 0.2s;

}

.rules-contact-button:hover {

  background: #785a40;

}

/* ========================================

   19. フッター

\======================================== */

.site-footer {

  padding: 28px 0;

  background: #fff;

  border-top: 1px solid #ddd;

}

.footer-inner {

  display: flex;

  align-items: center;

  justify-content: space-between;

}

.sns {

  display: flex;

  align-items: center;

  gap: 16px;

}

.sns a {

  display: block;

  line-height: 0;

}

.sns-icon {

  display: block;

  width: 48px;

  height: 48px;

  object-fit: contain;

  border-radius: 12px;

}

/* ========================================

   20. タブレット表示

\======================================== */

@media (max-width: 900px) {

  .lf-hero-grid {

    grid-template-columns: 1fr;

    gap: 36px;

    min-height: 0;

  }

  .lf-hero-visual {

    width: min(100%, 600px);

    margin: 0 auto;

  }

  .lf-about-split {

    grid-template-columns: 1fr;

    gap: 38px;

  }

  .lf-about-gallery {

    width: min(100%, 620px);

    margin: 0 auto;

  }

  .creator-list {

    grid-template-columns: 1fr;

  }

  .guide-toc-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

  .guide-visual-pair {

    grid-template-columns: 1fr;

  }

  .guide-image {

    width: min(100%, 550px);

    margin: 0 auto;

  }

  .guide-type-grid {

    gap: 16px;

  }

  .guide-results {

    grid-template-columns: 1fr;

  }

}

/* ========================================

   21. スマホ表示

\======================================== */

@media (max-width: 640px) {

  .container {

    width: min(100% - 32px, 1100px);

  }

  /* ヘッダー */

  .header-inner {

    min-height: 64px;

  }

  .brand-name {

    font-size: 17px;

  }

  .lf-header-logo {

    width: 40px;

    height: 40px;

  }

  .global-nav {

    display: none;

  }

  .menu-toggle {

    display: block;

  }

  /* トップ */

  .lf-hero {

    padding: 48px 0 62px;

  }

  .lf-hero-eyebrow {

    font-size: 10px;

  }

  .lf-hero-catch {

    font-size: 21px;

  }

  .lf-hero-description {

    font-size: 13px;

  }

  .lf-hero-visual {

    padding: 12px 45px 42px 0;

  }

  .lf-hero-actions {

    gap: 10px;

  }

  .lf-hero-actions .btn {

    min-width: 145px;

    padding: 12px 17px;

    font-size: 13px;

  }

  .section {

    padding: 56px 0;

  }

  .section-title {

    font-size: 27px;

  }

  .news-item {

    flex-direction: column;

    gap: 4px;

  }

  /* ABOUT */

  .lf-page-hero {

    padding: 65px 0;

  }

  .lf-page-hero-art {

    width: 55%;

    opacity: 0.1;

  }

  .about-section {

    padding: 65px 0 75px;

  }

  .about-heading {

    margin-bottom: 28px;

  }

  .about-content p {

    font-size: 15px;

  }

  .lf-world-copy {

    padding-left: 18px;

  }

  .creator-card {

    padding: 24px;

  }

  /* ルール：全体 */

  .guide-chapter {

    padding: 68px 0 76px;

  }

  .guide-chapter-head {

    margin-bottom: 30px;

  }

  .guide-chapter-head h2 {

    font-size: 27px;

  }

  .guide-chapter-head > p {

    font-size: 14px;

  }

  .guide-page .lf-rules-banner {

    padding: 72px 0;

  }

  .guide-page .lf-rules-banner .rules-title {

    font-size: 37px;

  }

  .guide-page .lf-rules-banner .rules-lead {

    font-size: 14px;

  }

  /* 目次 */

  .guide-toc {

    padding: 38px 0 48px;

  }

  .guide-toc-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 9px;

  }

  .guide-toc-grid a {

    gap: 9px;

    min-height: 72px;

    padding: 12px 10px;

    font-size: 12px;

  }

  .guide-toc-grid a span {

    width: 30px;

    height: 30px;

    font-size: 11px;

  }

  /* 勝利条件 */

  .guide-victory {

    grid-template-columns: 1fr;

    gap: 14px;

  }

  .guide-victory article {

    min-height: 0;

    padding: 26px;

  }

  .guide-victory h3 {

    font-size: 20px;

  }

  /* 戦場図 */

  .guide-visual-pair {

    gap: 28px;

  }

  .guide-image {

    padding: 12px;

  }

  .guide-image img {

    max-height: 350px;

  }

  /* カード紹介 */

  .guide-type-grid {

    grid-template-columns: 1fr;

  }

  .guide-type {

    padding: 24px;

  }

  .guide-type > img {

    max-height: 260px;

  }

  /* 準備 */

  .guide-steps li {

    padding: 22px 20px 22px 76px;

  }

  .guide-steps li::before {

    top: 22px;

    left: 18px;

    width: 42px;

    height: 42px;

  }

  .guide-steps h3 {

    font-size: 18px;

  }

  /* フェイズ */

  .guide-phases {

    grid-template-columns: 1fr;

  }

  .guide-phases li {

    min-height: 0;

    padding: 22px;

  }

  /* 行動・戦闘 */

  .guide-action {

    padding: 24px;

  }

  .guide-action h3 {

    font-size: 20px;

  }

  .guide-results > div {

    padding: 23px 18px;

  }

  /* 共通ルール */

  .guide-detail-grid {

    grid-template-columns: 1fr;

  }

  .guide-detail-grid article {

    padding: 24px;

  }

  .guide-deck {

    padding: 26px;

  }

  .guide-term,

  .guide-note {

    padding: 23px;

  }

  .guide-bridge {

    padding: 22px;

  }

  /* 最後 */

  .guide-end {

    padding: 70px 0;

  }

  .rules-contact-section {

    padding: 60px 0;

  }

  .rules-contact-card {

    padding: 36px 22px;

  }

  .rules-contact-card p {

    font-size: 14px;

  }

  /* フッター */

  .footer-inner {

    gap: 16px;

  }

  .sns-icon {

    width: 40px;

    height: 40px;

  }

}

/* ========================================

   22. 小さいスマホ

\======================================== */

@media (max-width: 380px) {

  .guide-toc-grid {

    grid-template-columns: 1fr;

  }

  .guide-toc-grid a {

    min-height: 62px;

    font-size: 14px;

  }

  .guide-phases li {

    gap: 12px;

    padding: 18px;

  }

  .guide-phases li > span {

    width: 38px;

    height: 38px;

  }

  .brand-name {

    font-size: 15px;

  }

}

/* カード紹介：画面幅に応じた配置 */

@media (max-width: 900px) {

  .guide-type-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

  .guide-type:nth-child(1) {

    grid-column: span 2;

  }

  .guide-type:nth-child(n + 2) {

    grid-column: span 1;

  }

}

@media (max-width: 640px) {

  .guide-type-grid {

    grid-template-columns: 1fr;

  }

  .guide-type:nth-child(1),

  .guide-type:nth-child(n + 2) {

    grid-column: span 1;

  }

  .guide-type-images {

    grid-template-columns: 1fr;

    gap: 20px;

  }

}

/* ========================================

   カード紹介：画像サイズの最終調整

\======================================== */

/* 4種類のカードをすべて縦に並べる */

.guide-page .guide-type-grid {

  display: grid;

  grid-template-columns: 1fr;

  gap: 24px;

}

/* 前回設定した横並び指定を解除 */

.guide-page .guide-type-grid .guide-type {

  grid-column: auto;

  padding: 32px;

}

/* 領土の説明画像は2枚横並び */

.guide-page .guide-type-images {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 24px;

}

.guide-page .guide-type-images img {

  display: block;

  width: 100%;

  max-height: none;

  object-fit: contain;

}

/* モンスター・マジック・装備の画像を拡大 */

.guide-page .guide-type > img {

  display: block;

  width: 100%;

  max-width: 680px;

  max-height: none;

  margin: 12px auto 0;

  object-fit: contain;

}

/* スマホでは領土の画像も縦並び */

@media (max-width: 640px) {

  .guide-page .guide-type-grid .guide-type {

    padding: 22px;

  }

  .guide-page .guide-type-images {

    grid-template-columns: 1fr;

    gap: 24px;

  }

  .guide-page .guide-type > img {

    max-width: 100%;

  }

}


/* ========================================
   CHAPTER 08：装備のルール
======================================== */
.guide-equipment { background: #f8f5f0; }
.equip-principle { padding: 28px 32px; margin-bottom: 32px; background: #eee1cf; border-left: 5px solid #a37c51; border-radius: 0 12px 12px 0; }
.equip-principle strong { display: block; font-size: 18px; margin-bottom: 8px; }
.equip-principle p { margin: 0; }
.equip-section { margin: 22px 0; padding: 36px; border: 1px solid #e4d6c5; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px #38251409; }
.equip-section h3 { font-size: 24px; margin: 8px 0 15px; }
.equip-section > p { margin: 0 0 22px; color: #64574b; }
.equip-step { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #96734f; }
.equip-three { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.equip-example { text-align: center; min-width: 0; }
.equip-example b, .equip-example small { display: block; }
.equip-example b { font-size: 14px; margin-top: 12px; }
.equip-example small { color: #6a795e; font-weight: 700; }
.equip-tile { min-width: 0; min-height: 146px; padding: 12px; border: 2px solid #cfb89a; border-radius: 10px; background: #ecddc7; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.equip-monster,.equip-card,.equip-grave { display: inline-flex; justify-content: center; align-items: center; text-align: center; padding: 10px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.4; max-width: 100%; overflow-wrap: anywhere; }
.equip-monster { color: #fff; background: #617d91; }
.equip-defender { background: #8d6f68; }
.equip-card { background: #ad8254; color: #fff; border: 1px solid #8c653d; }
.equip-unused { background: #f5ecdf; color: #765b40; border: 1px dashed #ac8b66; }
.equip-empty { font-size: 12px; color: #88725c; }
.equip-grave { color: #6c5549; background: #eee9e4; }
.equip-caption { font-size: 13px; color: #7b6c5c; margin: 14px 0 0 !important; }
.equip-diagram { margin-top: 22px; padding: 25px; border: 1px solid #e6d8c5; border-radius: 12px; background: #faf7f2; }
.equip-diagram p { text-align: center; font-size: 14px; margin: 15px 0 0; }
.equip-board-title { text-align: center; font-size: 13px; font-weight: 700; color: #77614a; margin-bottom: 16px; }
.equip-choice,.equip-result { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; }
.equip-selected { outline: 3px solid #e2c08d; }
.equip-selected em { margin-left: 5px; font-style: normal; font-size: 10px; }
.equip-arrow { text-align: center; color: #836b54; font-size: 13px; font-weight: 700; padding: 16px 0; }
.equip-compare { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.equip-compare > div > b { display: block; text-align: center; margin-bottom: 10px; }
.equip-tiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.equip-tiles .equip-tile { min-height: 165px; padding: 6px; }
.equip-tiles .equip-card,.equip-tiles .equip-monster { font-size: 10px; padding: 7px 5px; }
.equip-flow { display: flex; justify-content: center; align-items: center; gap: 12px; }
.equip-flow-card { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.equip-flow-card b { margin-bottom: 6px; }
.equip-highlight { border-top: 5px solid #9b7854; }
.equip-story { margin: 25px 0 0; padding: 0; list-style: none; counter-reset: equipstory; }
.equip-story li { padding: 20px 0 20px 48px; border-top: 1px solid #e9dfd2; position: relative; counter-increment: equipstory; }
.equip-story li:before { content: counter(equipstory); position: absolute; left: 0; top: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #e9dac6; color: #694c31; font-weight: 800; }
.equip-story-board { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; padding: 18px; border-radius: 10px; background: #f7f2ea; }
.equip-versus { font-weight: 800; font-size: 12px; color: #87705d; }
.equip-caution { margin-top: 16px; padding: 20px 24px; background: #f1e7d9; border-radius: 10px; }
.equip-caution p { margin: 6px 0 0; }
.equip-faq { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.equip-faq > div { padding: 20px; background: #faf7f2; border: 1px solid #e9dfd2; border-radius: 10px; }
.equip-faq b { font-size: 14px; }
.equip-faq p { font-size: 13px; margin: 8px 0 0; }
@media(max-width:700px) {
 .equip-section { padding: 24px 18px; }
 .equip-section h3 { font-size: 20px; }
 .equip-principle { padding: 22px; }
 .equip-three { grid-template-columns: 1fr; }
 .equip-example { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 2px 14px; text-align: left; }
 .equip-example .equip-tile { grid-row: span 2; min-height: 100px; }
 .equip-compare,.equip-faq { grid-template-columns: 1fr; }
 .equip-diagram { padding: 17px 12px; }
 .equip-story-board { padding: 12px; }
 .equip-story li { padding-left: 40px; }
 .equip-flow { gap: 6px; }
 .equip-flow .equip-arrow { padding: 0; }
}

/* CHAPTER 08: 相手の装備を利用できる特徴を強調 */
.guide-equipment .equip-feature { margin: 0 0 28px; padding: clamp(24px, 4vw, 42px); border-radius: 16px; background: linear-gradient(125deg, #423126, #715139); color: #fff; box-shadow: 0 16px 36px #38251420; }
.guide-equipment .equip-feature-label { display: block; margin-bottom: 12px; color: #e8c7a2; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.guide-equipment .equip-feature h3 { margin: 0 0 14px; color: #fff; font-size: clamp(23px, 3vw, 32px); }
.guide-equipment .equip-feature p { margin: 0; color: #f1e8dd; font-size: 15px; line-height: 2; }
.guide-equipment .equip-feature strong { color: #fff4d8; }
.guide-equipment .equip-feature a { display: inline-block; margin-top: 20px; padding-bottom: 3px; border-bottom: 1px solid #e8c7a2; color: #f6d9b7; font-size: 14px; font-weight: 700; }
.guide-equipment #equip-inherit { scroll-margin-top: 90px; }

/* CHAPTER 06：詳しい移動ルールへの案内 */
.guide-page .guide-inline-link {
  color: #765434;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.guide-page .guide-inline-link:hover {
  color: #a07a53;
}

/* 装備ルール：モンスター名の改行を防ぐ */
.guide-page .eq-monster,
.guide-page .equipment-monster {
  white-space: nowrap;
  word-break: keep-all;
}
/* CHAPTER 07：前進・後退の図解（2026-10 追加） */
.guide-page .guide-direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 16px;
}
.guide-page .guide-direction-card {
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid #e5d9ca;
  border-radius: 12px;
  background: #faf7f2;
  text-align: center;
}
.guide-page .guide-direction-card h4 {
  margin: 0 0 12px;
  color: #493729;
  font-size: 20px;
}
.guide-page .guide-direction-card h4 span {
  display: block;
  color: #96734f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}
.guide-page .guide-direction-card img {
  display: block;
  width: 100%;
  max-height: 360px;
  margin: 0 auto;
  object-fit: contain;
}
.guide-page .guide-direction-card figcaption {
  margin-top: 12px;
  color: #6d5d4d;
  font-size: 14px;
  font-weight: 700;
}
.guide-page .guide-direction-note {
  color: #817163;
  font-size: 13px;
}
@media (max-width: 640px) {
  .guide-page .guide-direction-grid { grid-template-columns: 1fr; gap: 14px; }
  .guide-page .guide-direction-card { padding: 16px; }
}
