/* =========================================================
   野球観戦のすすめ
   front-page.css
   Cocoon子テーマ・トップページ専用
========================================================= */

body.home {
  --fp-navy: #07345a;
  --fp-navy-deep: #032845;
  --fp-blue: #0e669f;
  --fp-sky: #eaf7ff;

  --fp-green: #2f9e61;
  --fp-green-dark: #237849;

  --fp-orange: #ef7d16;
  --fp-cream: #fff8ea;

  --fp-ink: #102b3f;
  --fp-text: #334b5e;
  --fp-muted: #6a7d8d;

  --fp-line: #dbe7ee;

  --fp-white: #ffffff;
  --fp-bg: #f6fafc;

  --fp-max: 1180px;

  --fp-radius-lg: 24px;
  --fp-radius-md: 16px;
  --fp-radius-sm: 10px;

  --fp-shadow:
    0 18px 44px rgba(7, 52, 90, 0.10);

  --fp-shadow-soft:
    0 8px 24px rgba(7, 52, 90, 0.08);
}


/* =========================================================
   Cocoonトップページ本文領域のみ解除
========================================================= */

body.home #content,
body.home #content-in,
body.home #main {
  width: 100% !important;
  max-width: none !important;

  margin-left: 0 !important;
  margin-right: 0 !important;

  padding-left: 0 !important;
  padding-right: 0 !important;
}


body.home #content {
  margin-top: 0 !important;
  padding-top: 0 !important;

  background: transparent !important;
}


body.home #content-in {
  display: block !important;

  margin-top: 0 !important;

  background: transparent !important;
}


body.home #main {
  float: none !important;

  margin-top: 0 !important;
  margin-bottom: 0 !important;

  padding-top: 0 !important;
  padding-bottom: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;

  box-shadow: none !important;
}


body.home #sidebar {
  display: none !important;
}


/* =========================================================
   基本
========================================================= */

body.home .fp-root,
body.home .fp-root *,
body.home .fp-root *::before,
body.home .fp-root *::after {
  box-sizing: border-box;
}


body.home .fp-root {
  width: 100%;
  max-width: none;

  margin: 0;
  padding: 0;

  overflow: hidden;

  background: var(--fp-white);
  color: var(--fp-text);

  font-family:
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.8;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


body.home .fp-root h1,
body.home .fp-root h2,
body.home .fp-root h3 {
  margin-top: 0;
  padding: 0;

  border: 0;

  background: transparent;

  color: inherit;

  letter-spacing: 0;

  line-height: 1.4;
}


body.home .fp-root p {
  margin-top: 0;
  padding: 0;

  border: 0;

  background: transparent;
}


body.home .fp-root a {
  text-decoration: none;
}


body.home .fp-root img {
  display: block;

  max-width: 100%;
  height: auto;

  margin: 0;

  border: 0;

  box-shadow: none;
}


body.home .fp-inner {
  position: relative;

  width: min(
    calc(100% - 48px),
    var(--fp-max)
  );

  margin-right: auto;
  margin-left: auto;
}


/* =========================================================
   HERO
========================================================= */

body.home .fp-hero {
  position: relative;

  min-height: 560px;

  overflow: hidden;

  background: var(--fp-navy-deep);
}


body.home .fp-hero-media {
  position: absolute;

  inset: 0;
}


body.home .fp-hero-media img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}


body.home .fp-hero-shade {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(2, 28, 48, 0.92) 0%,
      rgba(2, 36, 60, 0.78) 43%,
      rgba(2, 36, 60, 0.34) 72%,
      rgba(2, 36, 60, 0.12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.04) 0%,
      rgba(0, 0, 0, 0.22) 100%
    );
}


body.home .fp-hero-inner {
  display: flex;

  align-items: center;

  min-height: 560px;

  padding-top: 76px;
  padding-bottom: 76px;
}


body.home .fp-hero-copy {
  position: relative;

  z-index: 2;

  width: min(700px, 68%);

  color: var(--fp-white);
}


body.home .fp-kicker {
  margin-bottom: 12px !important;

  color: #b8e6ff !important;

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.18em;

  line-height: 1.4;
}


body.home .fp-root .fp-hero-title {
  margin-bottom: 22px !important;

  color: #ffffff !important;

  font-size:
    clamp(2.35rem, 5vw, 4.8rem);

  font-weight: 900;

  line-height: 1.16;

  letter-spacing: 0.01em;

  text-shadow:
    0 4px 26px rgba(0, 0, 0, 0.24);
}


body.home .fp-root .fp-hero-lead {
  max-width: 650px;

  margin-bottom: 30px !important;

  color:
    rgba(255, 255, 255, 0.96) !important;

  font-size:
    clamp(1rem, 1.5vw, 1.12rem);

  line-height: 2;
}


body.home .fp-hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;
}


body.home .fp-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding: 13px 24px;

  border-radius: 999px;

  font-size: 0.95rem;
  font-weight: 800;

  line-height: 1.4;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}


body.home .fp-button:hover {
  transform: translateY(-2px);
}


body.home .fp-root .fp-button-primary {
  background: var(--fp-green);

  color: #ffffff !important;

  box-shadow:
    0 10px 26px rgba(20, 110, 65, 0.32);
}


body.home .fp-root .fp-button-primary:hover {
  background: var(--fp-green-dark);

  color: #ffffff !important;
}


body.home .fp-root .fp-button-secondary {
  border:
    1px solid rgba(255, 255, 255, 0.64);

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

  color: #ffffff !important;

  backdrop-filter: blur(8px);
}


body.home .fp-root .fp-button-secondary:hover {
  background:
    rgba(255, 255, 255, 0.18);

  color: #ffffff !important;
}


/* =========================================================
   共通セクション見出し
========================================================= */

body.home .fp-section-heading {
  margin-bottom: 34px;
}


body.home .fp-section-heading-center {
  max-width: 820px;

  margin-right: auto;
  margin-left: auto;

  text-align: center;
}


body.home .fp-section-heading-row {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 32px;
}


body.home .fp-root .fp-section-eyebrow {
  margin-bottom: 12px !important;

  color: var(--fp-blue) !important;

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.18em;

  line-height: 1.4;
}


body.home .fp-root .fp-section-eyebrow-orange {
  color: var(--fp-orange) !important;
}


body.home .fp-root .fp-section-title {
  margin-bottom: 10px !important;

  color: var(--fp-ink) !important;

  font-size:
    clamp(1.7rem, 3vw, 2.45rem);

  font-weight: 900;

  line-height: 1.38;
}


body.home .fp-root .fp-section-description,
body.home .fp-root .fp-section-sidecopy {
  margin-bottom: 0 !important;

  color: var(--fp-muted) !important;

  font-size: 0.98rem;

  line-height: 1.95;
}


body.home .fp-section-sidecopy {
  max-width: 520px;

  text-align: right;
}


/* =========================================================
   INTRO
========================================================= */

body.home .fp-intro {
  padding: 88px 0 84px;

  background: var(--fp-white);
}


body.home .fp-intro-grid {
  display: grid;

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

  gap: 20px;

  margin-top: 44px;
}


body.home .fp-intro-item {
  position: relative;

  min-height: 100%;

  padding: 30px 28px 26px;

  border:
    1px solid var(--fp-line);

  border-radius:
    var(--fp-radius-md);

  background:
    var(--fp-bg);
}


body.home .fp-intro-number {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  margin-bottom: 20px;

  border-radius: 50%;

  background:
    var(--fp-navy);

  color: #ffffff;

  font-size: 0.82rem;
  font-weight: 900;

  letter-spacing: 0.06em;
}


body.home .fp-root .fp-intro-title {
  margin-bottom: 10px !important;

  color: var(--fp-ink) !important;

  font-size: 1.1rem;
  font-weight: 900;
}


body.home .fp-root .fp-intro-text {
  margin-bottom: 0 !important;

  color: var(--fp-text) !important;

  font-size: 0.94rem;

  line-height: 1.9;
}


/* =========================================================
   CATEGORY
========================================================= */

body.home .fp-categories {
  padding: 90px 0 96px;

  background:
    linear-gradient(
      180deg,
      #eff9ff 0%,
      #f8fcff 100%
    );
}


body.home .fp-category-grid {
  display: grid;

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

  gap: 18px;
}


body.home .fp-category-item {
  display: flex;

  flex-direction: column;

  min-width: 0;

  overflow: hidden;

  border:
    1px solid rgba(14, 102, 159, 0.14);

  border-radius:
    var(--fp-radius-md);

  background:
    var(--fp-white);

  box-shadow:
    var(--fp-shadow-soft);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}


body.home .fp-category-item:hover {
  transform:
    translateY(-5px);

  border-color:
    rgba(14, 102, 159, 0.30);

  box-shadow:
    var(--fp-shadow);
}


body.home .fp-category-image {
  display: block;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background:
    #d8e6ef;
}


body.home .fp-category-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.3s ease;
}


body.home .fp-category-item:hover
.fp-category-image img {
  transform:
    scale(1.035);
}


body.home .fp-category-body {
  display: flex;

  flex: 1;

  flex-direction: column;

  padding: 18px 18px 17px;
}


body.home .fp-category-title {
  display: block;

  margin-bottom: 9px;

  color: var(--fp-ink);

  font-size: 0.98rem;
  font-weight: 900;

  line-height: 1.55;
}


body.home .fp-category-text {
  display: block;

  margin-bottom: 14px;

  color: var(--fp-muted);

  font-size: 0.82rem;

  line-height: 1.75;
}


body.home .fp-category-link {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 10px;

  margin-top: auto;

  padding-top: 12px;

  border-top:
    1px solid var(--fp-line);

  color: var(--fp-blue);

  font-size: 0.82rem;
  font-weight: 800;
}


/* =========================================================
   BEGINNER
========================================================= */

body.home .fp-beginner {
  padding: 84px 0;

  background:
    var(--fp-white);
}


body.home .fp-beginner-panel {
  display: grid;

  grid-template-columns:
    0.85fr 1.4fr;

  gap: 48px;

  padding: 46px;

  border-radius:
    var(--fp-radius-lg);

  background:
    var(--fp-navy);

  box-shadow:
    var(--fp-shadow);
}


body.home .fp-root
.fp-beginner-copy
.fp-section-eyebrow {
  color: #9fdcff !important;
}


body.home .fp-root
.fp-beginner-copy
.fp-section-title {
  color: #ffffff !important;
}


body.home .fp-root
.fp-beginner-copy
.fp-section-description {
  color:
    rgba(255, 255, 255, 0.82) !important;
}


body.home .fp-beginner-links {
  display: grid;

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

  gap: 14px;
}


body.home .fp-beginner-link {
  display: flex;

  flex-direction: column;

  min-height: 220px;

  padding: 24px 22px;

  border:
    1px solid rgba(255, 255, 255, 0.14);

  border-radius:
    var(--fp-radius-md);

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

  color: #ffffff !important;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}


body.home .fp-beginner-link:hover {
  transform:
    translateY(-4px);

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

  color: #ffffff !important;
}


body.home .fp-beginner-step {
  margin-bottom: 22px;

  color: #9fdcff;

  font-size: 0.72rem;
  font-weight: 900;

  letter-spacing: 0.12em;
}


body.home .fp-beginner-link strong {
  display: block;

  margin-bottom: 10px;

  color: #ffffff;

  font-size: 1.02rem;

  line-height: 1.55;
}


body.home .fp-beginner-description {
  color:
    rgba(255, 255, 255, 0.74);

  font-size: 0.82rem;

  line-height: 1.8;
}


/* =========================================================
   ARTICLES
========================================================= */

body.home .fp-posts {
  padding: 88px 0 92px;
}


body.home .fp-posts-latest {
  background:
    #f7fbfd;
}


body.home .fp-posts-popular {
  background:
    var(--fp-cream);
}


body.home .fp-post-list {
  padding: 24px;

  border:
    1px solid rgba(7, 52, 90, 0.10);

  border-radius:
    var(--fp-radius-lg);

  background:
    var(--fp-white);

  box-shadow:
    var(--fp-shadow-soft);
}


/* Cocoonショートコードの出力部分 */
body.home .fp-post-list .new-entry-cards,
body.home .fp-post-list .popular-entry-cards {
  display: grid;

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

  gap: 18px;
}


body.home .fp-post-list .new-entry-card-link,
body.home .fp-post-list .popular-entry-card-link {
  display: block;

  min-width: 0;

  margin: 0;

  overflow: hidden;

  border:
    1px solid var(--fp-line);

  border-radius:
    var(--fp-radius-md);

  background:
    var(--fp-white);

  color:
    var(--fp-ink);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}


body.home .fp-post-list .new-entry-card-link:hover,
body.home .fp-post-list .popular-entry-card-link:hover {
  transform:
    translateY(-3px);

  border-color:
    rgba(14, 102, 159, 0.24);

  box-shadow:
    var(--fp-shadow-soft);
}


body.home .fp-post-list .new-entry-card,
body.home .fp-post-list .popular-entry-card {
  margin: 0 !important;

  padding: 0 !important;

  border: 0 !important;

  background:
    var(--fp-white) !important;

  box-shadow: none !important;
}


body.home .fp-post-list
.entry-card-thumb {
  margin: 0 !important;
}


body.home .fp-post-list
.entry-card-thumb img {
  width: 100%;

  aspect-ratio: 16 / 9;

  object-fit: cover;
}


body.home .fp-post-list
.entry-card-content {
  padding: 16px;
}


body.home .fp-post-list
.entry-card-title {
  color:
    var(--fp-ink) !important;

  font-size: 0.98rem;
  font-weight: 800;

  line-height: 1.65;
}


body.home .fp-post-list
.entry-card-snippet {
  color:
    var(--fp-muted) !important;

  font-size: 0.82rem;

  line-height: 1.7;
}


/* =========================================================
   POLICY
========================================================= */

body.home .fp-policy {
  position: relative;

  padding: 96px 0;

  overflow: hidden;

  background:
    #123a27;
}


body.home .fp-policy-media {
  position: absolute;

  inset: 0;
}


body.home .fp-policy-media img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}


body.home .fp-policy-shade {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(6, 38, 25, 0.96) 0%,
      rgba(7, 48, 31, 0.92) 45%,
      rgba(7, 48, 31, 0.78) 72%,
      rgba(7, 48, 31, 0.68) 100%
    );
}


body.home .fp-policy-inner {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    1.2fr 0.8fr;

  align-items: center;

  gap: 54px;
}


body.home .fp-policy-copy {
  position: relative;

  z-index: 3;

  color: #ffffff !important;
}


body.home .fp-root
.fp-policy-copy
.fp-policy-eyebrow {
  margin-bottom: 12px !important;

  color: #b9efcd !important;

  font-size: 0.78rem;
  font-weight: 900;

  letter-spacing: 0.18em;

  line-height: 1.4;
}


body.home .fp-root
.fp-policy-copy
.fp-policy-title {
  margin-bottom: 20px !important;

  padding: 0 !important;

  border: 0 !important;

  background: transparent !important;

  color: #ffffff !important;

  font-size:
    clamp(1.8rem, 3.4vw, 2.8rem);

  font-weight: 900;

  line-height: 1.4;

  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.30);
}


body.home .fp-root
.fp-policy-copy
.fp-policy-text {
  margin-bottom: 14px !important;

  padding: 0 !important;

  background: transparent !important;

  color:
    rgba(255, 255, 255, 0.98) !important;

  font-size: 0.98rem;
  font-weight: 500;

  line-height: 2;

  text-shadow:
    0 1px 5px rgba(0, 0, 0, 0.25);
}


body.home .fp-root
.fp-policy-copy
.fp-policy-text:last-child {
  margin-bottom: 0 !important;
}


/* =========================================================
   OPERATOR
========================================================= */

body.home .fp-operator-box {
  position: relative;

  z-index: 3;

  padding: 28px;

  border-radius:
    var(--fp-radius-lg);

  background:
    #ffffff;

  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.20);
}


body.home .fp-operator-logo-wrap {
  display: flex;

  align-items: center;
  justify-content: center;

  min-height: 112px;

  margin-bottom: 22px;

  padding: 14px;

  border-radius:
    var(--fp-radius-md);

  background:
    #f6fafc;
}


body.home .fp-operator-logo {
  width: auto;
  max-width: 100%;
  max-height: 88px;

  object-fit: contain;
}


body.home .fp-root
.fp-operator-label {
  margin-bottom: 6px !important;

  color:
    var(--fp-blue) !important;

  font-size: 0.76rem;
  font-weight: 900;

  letter-spacing: 0.12em;
}


body.home .fp-root
.fp-operator-title {
  margin-bottom: 12px !important;

  color:
    var(--fp-ink) !important;

  font-size: 1.24rem;
  font-weight: 900;

  line-height: 1.55;
}


body.home .fp-root
.fp-operator-text {
  margin-bottom: 0 !important;

  color:
    var(--fp-text) !important;

  font-size: 0.9rem;

  line-height: 1.9;
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 1100px) {

  body.home .fp-inner {
    width:
      min(
        calc(100% - 40px),
        var(--fp-max)
      );
  }


  body.home .fp-category-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }


  body.home .fp-beginner-panel {
    grid-template-columns:
      1fr;

    gap: 30px;
  }


  body.home .fp-policy-inner {
    grid-template-columns:
      1fr 0.82fr;

    gap: 36px;
  }

}


/* =========================================================
   TABLET SMALL
========================================================= */

@media screen and (max-width: 900px) {

  body.home .fp-hero,
  body.home .fp-hero-inner {
    min-height: 520px;
  }


  body.home .fp-hero-copy {
    width:
      min(720px, 90%);
  }


  body.home .fp-hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(2, 28, 48, 0.90) 0%,
        rgba(2, 36, 60, 0.76) 60%,
        rgba(2, 36, 60, 0.44) 100%
      );
  }


  body.home .fp-intro-grid {
    grid-template-columns:
      1fr;
  }


  body.home .fp-beginner-links {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }


  body.home .fp-post-list
  .new-entry-cards,
  body.home .fp-post-list
  .popular-entry-cards {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  body.home .fp-policy-inner {
    grid-template-columns:
      1fr;
  }


  body.home .fp-operator-box {
    max-width: 620px;
  }

}


/* =========================================================
   SMARTPHONE
========================================================= */

@media screen and (max-width: 700px) {

  body.home .fp-inner {
    width:
      calc(100% - 32px);
  }


  body.home .fp-hero,
  body.home .fp-hero-inner {
    min-height: 500px;
  }


  body.home .fp-hero-inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }


  body.home .fp-hero-copy {
    width: 100%;
  }


  body.home .fp-root
  .fp-hero-title {
    margin-bottom: 18px !important;

    font-size:
      clamp(2rem, 11vw, 3.2rem);
  }


  body.home .fp-root
  .fp-hero-lead {
    margin-bottom: 24px !important;

    font-size: 0.96rem;

    line-height: 1.85;
  }


  body.home .fp-hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(2, 28, 48, 0.93) 0%,
        rgba(2, 36, 60, 0.82) 65%,
        rgba(2, 36, 60, 0.56) 100%
      );
  }


  body.home .fp-button {
    width: 100%;

    min-height: 50px;
  }


  body.home .fp-intro,
  body.home .fp-categories,
  body.home .fp-beginner,
  body.home .fp-posts,
  body.home .fp-policy {
    padding-top: 68px;
    padding-bottom: 68px;
  }


  body.home .fp-section-heading {
    margin-bottom: 28px;
  }


  body.home .fp-section-heading-row {
    display: block;
  }


  body.home .fp-section-sidecopy {
    max-width: none;

    margin-top: 12px;

    text-align: left;
  }


  body.home .fp-category-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 14px;
  }


  body.home .fp-category-body {
    padding: 15px;
  }


  body.home .fp-category-title {
    font-size: 0.9rem;
  }


  body.home .fp-category-text {
    font-size: 0.78rem;
  }


  body.home .fp-beginner-panel {
    padding: 30px 22px;

    border-radius: 20px;
  }


  body.home .fp-beginner-links {
    grid-template-columns:
      1fr;
  }


  body.home .fp-beginner-link {
    min-height: 0;
  }


  body.home .fp-post-list {
    padding: 16px;

    border-radius: 18px;
  }


  body.home .fp-post-list
  .new-entry-cards,
  body.home .fp-post-list
  .popular-entry-cards {
    grid-template-columns:
      1fr;

    gap: 14px;
  }


  body.home .fp-policy-inner {
    gap: 30px;
  }


  body.home .fp-policy-shade {
    background:
      rgba(6, 38, 25, 0.91);
  }


  body.home .fp-operator-box {
    padding: 22px;

    border-radius: 18px;
  }

}


/* =========================================================
   SMALL SMARTPHONE
========================================================= */

@media screen and (max-width: 480px) {

  body.home .fp-category-grid {
    grid-template-columns:
      1fr;
  }


  body.home .fp-category-item {
    display: grid;

    grid-template-columns:
      118px minmax(0, 1fr);
  }


  body.home .fp-category-image {
    height: 100%;
    min-height: 150px;

    aspect-ratio: auto;
  }


  body.home .fp-category-image img {
    height: 100%;
  }


  body.home .fp-category-text {
    display: none;
  }


  body.home .fp-category-link {
    margin-top: 10px;
  }


  body.home .fp-beginner-panel {
    padding-right: 18px;
    padding-left: 18px;
  }


  body.home .fp-operator-box {
    padding: 18px;
  }

}


/* =========================================================
   動きを減らす設定
========================================================= */

@media (prefers-reduced-motion: reduce) {

  body.home .fp-root *,
  body.home .fp-root *::before,
  body.home .fp-root *::after {
    scroll-behavior:
      auto !important;

    transition-duration:
      0.01ms !important;

    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;
  }

}