@charset "UTF-8";
/*! Writen  by SCSS */
.main-content {
  padding-top: 0; }
  .main-content.top .breadcrumb {
    display: none; }
  .main-content.top .container {
    max-width: 1300px; }
  .main-content.top .main_v {
    position: relative;
    margin-bottom: 50px; }
    @media screen and (max-width: 480px) {
      .main-content.top .main_v {
        margin-bottom: 30px; } }
    .main-content.top .main_v .main_copy {
      position: absolute;
      inset: 0;
      padding: 20px calc(160% / 16) 20px 0;
      padding: 20px calc(120% / 16) 20px 0;
      display: flex;
      align-items: center;
      justify-content: flex-end; }
      @media screen and (max-width: 768px) {
        .main-content.top .main_v .main_copy {
          padding: 20px 40px 20px 0; } }
      @media screen and (max-width: 480px) {
        .main-content.top .main_v .main_copy {
          position: static;
          padding: 0 10px 10px;
          margin-top: -18vw;
          justify-content: center;
          align-items: flex-start; } }
    .main-content.top .main_v .ball {
      position: absolute;
      top: 40px;
      right: -70px;
      filter: brightness(1.4); }
      @media screen and (max-width: 768px) {
        .main-content.top .main_v .ball {
          width: 45px;
          top: 50px;
          right: -35px; } }
      @media screen and (max-width: 480px) {
        .main-content.top .main_v .ball {
          right: -5px; } }
    .main-content.top .main_v .main_right {
      position: relative;
      flex-shrink: 0;
      width: 280px;
      width: calc(360% / 16);
      width: fit-content;
      background: rgba(22, 27, 34, 0.85);
      background: rgba(22, 27, 34, 0.6);
      border: 1px solid #30363d;
      border-radius: 16px;
      padding: 40px 35px;
      backdrop-filter: blur(12px); }
      @media screen and (max-width: 768px) {
        .main-content.top .main_v .main_right {
          padding: 15px 15px;
          padding: 25px 15px; } }
      @media screen and (max-width: 480px) {
        .main-content.top .main_v .main_right {
          width: 100%;
          padding: 20px 35px; } }
    .main-content.top .main_v .hero-box-title {
      font-size: clamp(12px, calc(22vw / 16), 22px);
      font-weight: 800;
      color: #f3e207;
      margin-bottom: 16px;
      line-height: 1.5; }
      @media screen and (max-width: 480px) {
        .main-content.top .main_v .hero-box-title {
          font-size: calc(18vw / 3.9);
          font-size: calc(17vw / 3.9);
          text-align: center; } }
    .main-content.top .main_v .hero-features {
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 12px; }
      @media screen and (max-width: 480px) {
        .main-content.top .main_v .hero-features {
          gap: 8px; } }
    .main-content.top .main_v .hero-features li {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: clamp(10px, calc(18vw / 16), 18px);
      color: #fff;
      line-height: 1.5; }
      @media screen and (max-width: 480px) {
        .main-content.top .main_v .hero-features li {
          font-size: calc(15vw / 3.9);
          font-size: calc(14vw / 3.9);
          justify-content: center; } }
    .main-content.top .main_v .hero-features li::before {
      content: '✓';
      color: #f3e207;
      font-weight: 900;
      flex-shrink: 0;
      margin-top: 1px; }

.f_bnr {
  background: url("../img/f_bnr_img.png") center left no-repeat;
  background-size: calc(500% / 16) auto;
  background-size: calc(650% / 16) auto;
  padding: 30px 20px 30px calc(480% / 16);
  padding: 30px 20px 30px calc(680% / 16);
  border-top: solid 1px #323232;
  border-bottom: solid 1px #323232; }
  @media screen and (max-width: 768px) {
    .f_bnr {
      background: url("../img/f_bnr_img_sp.png") top center no-repeat;
      background-size: 100% auto;
      padding: 55vw 20px 30px; } }
  .f_bnr .inner {
    display: flex;
    align-items: center;
    gap: calc(80vw / 16); }
    @media screen and (max-width: 768px) {
      .f_bnr .inner {
        flex-direction: column;
        gap: 25px; } }
    .f_bnr .inner .l p {
      font-size: clamp(12px, calc(26vw / 16), 26px);
      font-weight: 800;
      color: #fff;
      margin-bottom: 0.6em;
      line-height: 1.5; }
      @media screen and (max-width: 768px) {
        .f_bnr .inner .l p {
          text-align: center; } }
      @media screen and (max-width: 480px) {
        .f_bnr .inner .l p {
          font-size: calc(24vw / 3.9);
          font-size: calc(21vw / 3.9); } }
      .f_bnr .inner .l p .c {
        color: #f3e207; }
    .f_bnr .inner .l .list {
      display: flex;
      gap: 30px; }
      @media screen and (max-width: 768px) {
        .f_bnr .inner .l .list {
          flex-direction: column;
          gap: 8px;
          width: fit-content;
          margin: 0 auto; } }
      .f_bnr .inner .l .list ul {
        display: flex;
        flex-direction: column;
        gap: 5px;
        gap: 12px;
        padding: 0; }
        .f_bnr .inner .l .list ul li {
          display: flex;
          align-items: flex-start;
          gap: 8px;
          font-size: clamp(10px, calc(18vw / 16), 18px);
          font-size: clamp(10px, calc(16vw / 16), 16px);
          color: #fff;
          line-height: 1.5; }
          @media screen and (max-width: 480px) {
            .f_bnr .inner .l .list ul li {
              font-size: calc(15vw / 3.9);
              justify-content: center; } }
          .f_bnr .inner .l .list ul li::before {
            content: '✓';
            color: #f3e207;
            font-weight: 900;
            flex-shrink: 0;
            margin-top: 1px; }
    .f_bnr .inner .r {
      width: calc(360vw / 16);
      width: calc(250vw / 16);
      text-align: center; }
      @media screen and (max-width: 480px) {
        .f_bnr .inner .r {
          width: 100%; } }
      .f_bnr .inner .r a {
        text-align: center;
        display: block;
        width: 100%;
        background: #009e41;
        background: #f3e207;
        padding: 0.9em 5px 0.7em;
        font-size: clamp(10px, calc(22vw / 16), 22px);
        font-size: clamp(10px, calc(21vw / 16), 21px);
        color: #fff;
        color: #333;
        line-height: 1;
        border-radius: 6px;
        font-weight: 900;
        padding-left: 1em; }
        @media screen and (max-width: 480px) {
          .f_bnr .inner .r a {
            width: 80%;
            width: 67%;
            margin-inline: auto;
            max-width: 360px; } }
        @media screen and (max-width: 480px) {
          .f_bnr .inner .r a {
            font-size: calc(18vw / 3.9);
            font-size: calc(17vw / 3.9); } }
      .f_bnr .inner .r p {
        margin-top: 0.8em;
        font-size: clamp(10px, calc(18vw / 16), 18px);
        color: #fff;
        line-height: 1.5; }
        @media screen and (max-width: 480px) {
          .f_bnr .inner .r p {
            font-size: calc(15vw / 3.9); } }

.w_img {
  width: 100%; }

/* ===== メインビジュアル 訪問者バッジ ===== */
/* PC/タブレット: main_v(position:relative)基準で右上に絶対配置 */
.main-content.top .main_v .mv-visitor-badge {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 10;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  background: rgba(10, 18, 30, 0.68);
  border: 1px solid rgba(79, 195, 247, 0.40);
  border-radius: 50px;
  padding: 6px 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.40); }
  @media screen and (max-width: 768px) {
    .main-content.top .main_v .mv-visitor-badge {
      right: 12px;
      top: 12px;
      padding: 5px 11px; } }
  @media screen and (max-width: 480px) {
    /* SP: position:fixedでヘッダー直下・画面左上に固定表示 */
    /* main_copyがstaticになりmain_rightがフローに入るためabsoluteでは位置が崩れる */
    .main-content.top .main_v .mv-visitor-badge {
      position: fixed;
      left: 8px;
      top: 76px; /* ヘッダー高さ(72px) + 余白4px */
      right: auto;
      z-index: 999; /* ヘッダー(1000)より下、他より上 */
      padding: 3px 9px; } }

.main-content.top .main_v .mv-visitor-row {
  display: flex;
  align-items: center;
  gap: 4px; }

.main-content.top .main_v .mv-visitor-icon {
  font-size: 0.75rem;
  line-height: 1; }
  @media screen and (max-width: 480px) {
    .main-content.top .main_v .mv-visitor-icon {
      font-size: 0.62rem; } }

.main-content.top .main_v .mv-visitor-label {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.58);
  letter-spacing: 0.01em; }
  @media screen and (max-width: 480px) {
    .main-content.top .main_v .mv-visitor-label {
      font-size: 0.55rem; } }

.main-content.top .main_v .mv-visitor-num {
  font-size: 1.0rem;
  font-weight: 900;
  color: #4fc3f7;
  line-height: 1;
  letter-spacing: -0.02em; }
  @media screen and (max-width: 480px) {
    .main-content.top .main_v .mv-visitor-num {
      font-size: 0.78rem; } }

.main-content.top .main_v .mv-visitor-unit {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.48);
  align-self: flex-end;
  padding-bottom: 1px; }
  @media screen and (max-width: 480px) {
    .main-content.top .main_v .mv-visitor-unit {
      font-size: 0.52rem; } }

.main-content.top .main_v .mv-visitor-sep {
  width: 1px;
  height: 16px;
  background: rgba(79,195,247,0.28);
  margin: 0 10px; }
  @media screen and (max-width: 480px) {
    .main-content.top .main_v .mv-visitor-sep {
      height: 12px;
      margin: 0 7px; } }

@media screen and (max-width: 1900px) {
  .vpc1900 {
    display: none; } }
@media not screen, screen and (min-width: 1901px) {
  .vsp1900 {
    display: none; } }
@media screen and (max-width: 1800px) {
  .vpc1800 {
    display: none; } }
@media not screen, screen and (min-width: 1801px) {
  .vsp1800 {
    display: none; } }
@media screen and (max-width: 1600px) {
  .vpc1600 {
    display: none; } }
@media not screen, screen and (min-width: 1601px) {
  .vsp1600 {
    display: none; } }
@media screen and (max-width: 1500px) {
  .vpc1500 {
    display: none; } }
@media not screen, screen and (min-width: 1501px) {
  .vsp1500 {
    display: none; } }
@media screen and (max-width: 1400px) {
  .vpc1400 {
    display: none; } }
@media not screen, screen and (min-width: 1401px) {
  .vsp1400 {
    display: none; } }
@media screen and (max-width: 1300px) {
  .vpc1300 {
    display: none; } }
@media not screen, screen and (min-width: 1301px) {
  .vsp1300 {
    display: none; } }
@media screen and (max-width: 1200px) {
  .vpc1200 {
    display: none; } }
@media not screen, screen and (min-width: 1201px) {
  .vsp1200 {
    display: none; } }
@media screen and (max-width: 1024px) {
  .vpc1024 {
    display: none; } }
@media not screen, screen and (min-width: 1025px) {
  .vsp1024 {
    display: none; } }
@media screen and (max-width: 960px) {
  .vpc960 {
    display: none; } }
@media not screen, screen and (min-width: 961px) {
  .vsp960 {
    display: none; } }
@media screen and (max-width: 900px) {
  .vpc900 {
    display: none; } }
@media not screen, screen and (min-width: 901px) {
  .vsp900 {
    display: none; } }
@media screen and (max-width: 820px) {
  .vpc820 {
    display: none; } }
@media not screen, screen and (min-width: 821px) {
  .vsp820 {
    display: none; } }
@media screen and (max-width: 768px) {
  .vpc768 {
    display: none; } }
@media not screen, screen and (min-width: 769px) {
  .vsp768 {
    display: none; } }
@media screen and (max-width: 767px) {
  .vpc767 {
    display: none; } }
@media not screen, screen and (min-width: 768px) {
  .vsp767 {
    display: none; } }
@media screen and (max-width: 480px) {
  .vpc480 {
    display: none; } }
@media not screen, screen and (min-width: 481px) {
  .vsp480 {
    display: none; } }
@media screen and (max-width: 375px) {
  .vpc375 {
    display: none; } }
@media not screen, screen and (min-width: 376px) {
  .vsp375 {
    display: none; } }
@media screen and (max-width: 360px) {
  .vpc360 {
    display: none; } }
@media not screen, screen and (min-width: 361px) {
  .vsp360 {
    display: none; } }
@media screen and (max-width: 320px) {
  .vpc320 {
    display: none; } }
@media not screen, screen and (min-width: 321px) {
  .vsp320 {
    display: none; } }

/* ===== メインビジュアル figure ===== */
/* PC/TB: main_vがposition:relativeのため従来通り */
/* SP(≤480px): figureをposition:relativeにしてバッジを画像内に確実に重ねる */
.main-content.top .main_v .mv-figure {
  position: static;
  display: block;
  margin: 0; }
  @media screen and (max-width: 768px) {
    .main-content.top .main_v .mv-figure {
      position: relative; } }

/* ===== メインビジュアル 会員登録不要バッジ ===== */

/* ── PC用バッジ（769px以上）: main_v(position:relative)基準で左下に絶対配置 ── */
/* main_copyの外に配置しているのでz-index競合なし */
.main-content.top .main_v .mv-free-badge-pc-wrap {
  display: none; }

@media screen and (min-width: 769px) {
  .main-content.top .main_v .mv-free-badge-pc-wrap {
    display: block;
    position: absolute;
    left: 6.8vw;
    bottom: 6.5%;
    z-index: 20; }
  .main-content.top .main_v .mv-free-badge-pc-wrap img {
    display: block;
    width: 23vw;
    height: auto;
    filter: drop-shadow(0 3px 12px rgba(0,0,0,0.55)); } }

/* ── SP/TB用バッジ（768px以下）: figure(position:relative)基準で画像内左下 ── */
/* 既存の.mv-free-badgeをSP/TBラッパーとして継続利用 */
.main-content.top .main_v .mv-free-badge {
  display: none; }

@media screen and (max-width: 768px) {
  .main-content.top .main_v .mv-free-badge {
    display: block;
    position: absolute;
    left: 1.5%;
    bottom: 16%;
    z-index: 10; }
  .main-content.top .main_v .mv-free-badge .mv-free-badge-sp {
    display: block;
    width: 58vw;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); } }

@media screen and (max-width: 480px) {
  .main-content.top .main_v .mv-free-badge {
    left: 1.5%;
    bottom: 16%; }
  .main-content.top .main_v .mv-free-badge .mv-free-badge-sp {
    width: 58vw; } }

/*# sourceMappingURL=add.css.map */

/* ===== サイドバー 告知バナー ===== */
.sidebar-event-banner {
  display: block;
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,0.45);
  transition: opacity 0.2s, transform 0.2s; }
.sidebar-event-banner a {
  display: block; }
.sidebar-event-banner:hover {
  opacity: 0.88;
  transform: translateY(-2px); }
.sidebar-event-banner-img {
  display: block;
  width: 100%;
  height: auto; }

/* hero-stats カテゴリーグリッド：リンク化 */
.stat-item-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s; }
.stat-item-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  border-color: var(--primary, #e84040); }

/* PC: stat-label-wrap = カテゴリー名（2行目）+ › （3行目）を縦並びで中央 */
.stat-label-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px; }

.stat-item-link .stat-label {
  display: block;
  text-align: center;
  line-height: 1.4; }

/* › PC: 独立した3行目・中央 */
.stat-arrow {
  display: block;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--neon-yellow, #f5d020);
  line-height: 1; }

/* eventカテゴリーのカード左ボーダー */
.post-card[data-category="event"] { border-left-color: #f3e207; }

/* イベント告知バッジ・帯の文字色を黒に */
.cat-badge[style*="#f3e207"],
.detail-cat-banner[style*="#f3e207"] {
  color: #000 !important; }
.detail-cat-banner[style*="#f3e207"] .detail-status {
  color: #000 !important;
  border-color: #000 !important; }

/* 詳細を見る */
.read-more {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important; }
.read-more::after {
  content: '›';
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 3px;
  position: relative;
  top: -0.08em; }

@media screen and (max-width: 768px) {
  .read-more::after {
    top: -0.15em; } }

/* SP中段バナー：検索ボックス直下・SPのみ表示 */
.sp-event-banner-mid {
  display: none; }

@media screen and (max-width: 768px) {
  /* SP: stat-label-wrap を横並び（row）にして›をカテゴリー名と同じ行に */
  .stat-label-wrap {
    flex-direction: row;
    align-items: center;
    gap: 3px; }

  /* SP: カテゴリー名フォントサイズ */
  .stat-item-link .stat-label {
    font-size: 0.78rem;
    letter-spacing: normal; }

  /* SP: › インライン横並び・サイズ調整・縦位置補正 */
  .stat-arrow {
    font-size: 1.2rem;
    line-height: 1;
    position: relative;
    top: 2px; }

  /* SP中段バナー：余白上下16px */
  .sp-event-banner-mid {
    display: block;
    margin: 16px 0 16px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,0.45); }
  .sp-event-banner-mid a {
    display: block; }
  .sp-event-banner-mid-img {
    display: block;
    width: 100%;
    height: auto; } }

/* PC: hero-statsグリッドのボタン高さを縮小 */
@media screen and (min-width: 769px) {
  .stat-item {
    padding: 10px 10px; }
}

/* 開催日 date inputのネイティブUIを復元 */
input[type="date"].form-input {
  -webkit-appearance: auto;
  appearance: auto; }

/* ② PC専用改行クラス (767px以下で非表示) */
@media screen and (max-width: 767px) {
  .vsppc { display: none; }
}

/* ② SP専用改行クラス (481px以上で非表示) */
.vsp480sp { display: none; }
@media screen and (max-width: 480px) {
  .vsp480sp { display: inline; }
}

/* ①-PC hero-desc 1行目をPCで折り返し禁止 */
@media screen and (min-width: 768px) {
  .hero-desc-line1 {
    white-space: nowrap;
  }
}

/* ②-SP フッターブランド（ロゴ・説明文・Instagram）中央寄せ */
@media screen and (max-width: 767px) {
  /* footer-brand を幅100%・縦flex・中央寄せに */
  .footer-brand {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  /* footer-logo の margin-left:-25px をリセット */
  .footer-logo {
    margin-left: 0 !important;
    justify-content: center !important;
  }
  /* 説明文を中央寄せ */
  .footer-description {
    text-align: center !important;
    margin: 0 auto !important;
  }
  /* カテゴリーグループ：中央寄せコンテナ */
  .footer-nav-group--wide {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  /* カテゴリーグリッド：auto auto で内容幅、中央寄せ */
  .footer-cat-grid {
    grid-template-columns: auto auto;
    column-gap: 32px;
    width: fit-content;
    margin: 0 auto;
    justify-items: start;
  }
}

/* ③-SP 🏠 SOFT HUB をテキスト幅で少し左寄り表示 */
@media screen and (max-width: 767px) {
  .footer-nav-group:not(.footer-nav-group--wide) {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    margin-left: 0 !important;
  }
  .footer-nav-group:not(.footer-nav-group--wide) .footer-nav-title {
    text-align: center;
  }
  .footer-nav-group:not(.footer-nav-group--wide) ul {
    text-align: left;
    padding: 0;
    margin: 0 auto;
    width: fit-content;
  }
  .footer-nav-group:not(.footer-nav-group--wide) ul li {
    text-align: left;
  }
}

/* ②-SP カテゴリーグリッド 行間を詰める・列間微調整（SPのみ） */
@media screen and (max-width: 767px) {
  .footer-cat-grid {
    row-gap: 4px;
    column-gap: 24px;
  }
}

/* ②-SP 🏠 SOFT HUB を中央寄せ（SPのみ） */
@media screen and (max-width: 767px) {
  .footer-nav-group:not(.footer-nav-group--wide) ul {
    margin: 0 auto;
    text-align: center;
  }
  .footer-nav-group:not(.footer-nav-group--wide) ul li {
    text-align: center;
  }
}

/* ===== ソートプルダウン（posts-header内で件数の右に表示） ===== */
/* sort-tabsの旧スタイルは削除済み。posts-headerのレイアウトはstyle.cssで管理 */

/* ===== セッション7追加: 都道府県件数表示 (pref-count) ===== */
/* ① 地域名と同じ文字サイズ・色に統一 */
.pref-count {
  font-size: inherit;
  color: inherit;
  margin-left: 1px;
  font-weight: inherit;
}
.pref-link.active .pref-count {
  color: inherit;
  opacity: 1;
}

/* ===== セッション7追加: カテゴリーから探す 見出し (tab-section-title) ===== */
.tab-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: calc(1.2rem - 3px);
  font-weight: 700;
  color: var(--text, #fff);
  gap: 6px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
@media screen and (max-width: 600px) {
  .tab-section-title {
    justify-content: flex-start;
    text-align: left;
    padding-left: 4px;
  }
}

/* ===== SP版固定ボトムナビゲーション：PC では非表示（デフォルト） ===== */
.sp-bottom-nav {
  display: none;
}

/* ===== セッション7追加: SP表示順入れ替え (カテゴリーから探す ↔ 投稿する) ===== */
@media screen and (max-width: 767px) {
  .container {
    display: flex;
    flex-direction: column;
  }
  .content-layout {
    order: 1;
  }
  .tab-section {
    order: 3;
  }
  .sp-sidebar {
    order: 2;
    display: flex;
    flex-direction: column;
  }
  .sp-sidebar .sidebar-post {
    order: 1;
  }
  .sp-sidebar > :not(.sidebar-post) {
    order: 2;
  }

  /* SP版：サイドバーカード上padding詰め（カテゴリーから探す枠と統一） */
  .sp-sidebar .sidebar-card {
    padding-top: 14px;
  }
  /* SP版：投稿する説明文 — 1px大きく・中央寄せ・2行 */
  .sp-sidebar-post-desc {
    font-size: 0.88rem;
    text-align: center;
    line-height: 1.7;
    transform: translateX(6px);
  }
  /* SP版：説明文1行目だけ右にずらす */
  .sp-post-line1 {
    display: inline-block;
    padding-left: 0.5em;
  }
  /* SP版：サイドバー見出しを中央寄せ＋少し左にシフト */
  .sp-sidebar .sidebar-title {
    text-align: center;
    transform: translateX(-3px);
  }
  /* SP版：カテゴリーから探す見出しも中央寄せ＋少し左にシフト */
  .sp-cat-section .tab-section-title {
    justify-content: center;
    text-align: center;
    transform: translateX(-3px);
  }

  /* ===== SP版固定ボトムナビゲーション ===== */
  /* フッターがナビに隠れないよう下余白を確保 */
  .site-footer {
    padding-bottom: 68px;
  }

  /* SP版ボトムナビ：SP内で表示 */
  .sp-bottom-nav {
    display: flex;
  }

  /* ジャンプ先がstickyヘッダーに隠れないようオフセット確保（SP: 56px + 余白12px） */
  #sp-post,
  #sp-cat,
  #sp-area,
  #sp-recent {
    scroll-margin-top: 110px;
  }

  /* ボトムナビ本体 */
  .sp-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: #111820;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -3px 16px rgba(0, 0, 0, 0.55);
    height: 66px;
    align-items: stretch;
  }

  /* 各ボタン */
  .sp-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.70);
    font-size: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.18s, color 0.18s;
    padding: 6px 2px 4px;
    -webkit-tap-highlight-color: transparent;
  }
  .sp-bottom-nav__item:last-child {
    border-right: none;
  }
  .sp-bottom-nav__item:active,
  .sp-bottom-nav__item:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
  }

  /* アイコン（FAアイコンフォント・白） */
  .sp-bottom-nav__icon {
    display: block;
    font-size: 1.0rem;
    line-height: 1;
    color: inherit;
  }

  /* ラベルテキスト（大きめ・くっきり） */
  .sp-bottom-nav__label {
    display: block;
    font-size: 0.70rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
    font-weight: 500;
  }
}

/* ====================================================
   投稿カード サムネイル（一覧：投稿時の1枚目の画像）
   ==================================================== */
.post-card-body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.post-card-content {
  flex: 1 1 auto;
  min-width: 0;
}
.post-card-content .post-excerpt {
  margin-bottom: 0;
}
.post-thumb {
  flex: 0 0 auto;
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1d24;
  border: 1px solid var(--border);
}
.post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.post-card:hover .post-thumb img {
  transform: scale(1.06);
}
/* 画像なし／読み込み失敗時：サイトに馴染む紺系の NO IMAGE + カメラアイコン */
.post-thumb--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  background: linear-gradient(135deg, #1d2430 0%, #11151c 100%);
  border-color: var(--border);
}
.post-thumb--empty::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23566074' fill-rule='evenodd'%3E%3Cpath d='M9 2 7.17 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-3.17L15 2H9zM12 17a5 5 0 1 1 0-10 5 5 0 0 1 0 10z M12 15.2a3.2 3.2 0 1 0 0-6.4 3.2 3.2 0 0 0 0 6.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.post-thumb--empty::after {
  content: "NO IMAGE";
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #566074;
  white-space: nowrap;
}
/* スマホ：タイトルは全幅、その下を「左：バッジ+抜粋 / 右：写真」の2列にする */
@media (max-width: 768px) {
  .post-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38%;
    grid-template-areas:
      "header header"
      "meta   thumb"
      "excerpt thumb";
    column-gap: 12px;
    row-gap: 0;
    align-items: start;
  }
  .post-card-content { display: contents; }
  .post-card-header  { grid-area: header; }
  .post-meta         { grid-area: meta; }
  .post-card-content .post-excerpt {
    grid-area: excerpt;
    -webkit-line-clamp: 4;
  }
  .post-thumb {
    grid-area: thumb;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-width: 180px;
    justify-self: end;
    border-radius: 8px;
  }
  .post-thumb--empty { gap: 8px; }
  .post-thumb--empty::before { width: 44px; height: 44px; }
  .post-thumb--empty::after { font-size: 0.72rem; }
}

/* ステータスバッジ(受付中/締切)：PCはタイトル行、スマホはフッターの「詳細を見る」の右 */
.post-status-sp { display: none; }
@media (max-width: 768px) {
  .post-card-header .post-badges { display: none; }
  /* 統計行を全幅にして、バッジを右端・「詳細を見る」と同じ高さ(上下中央)に置く */
  .post-footer .post-stats {
    width: 100%;
    align-items: center;
  }
  /* 「詳細を見る」ボタンと同じ高さ(行の高さいっぱいに伸ばす)・同じ丸み */
  .post-stats .post-status-sp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    margin-left: auto;
    margin-right: 4px;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 20px;
    box-sizing: border-box;
    white-space: nowrap;
  }
}

/* 投稿完了画面：編集・削除用URL案内の改行はスマホのみ（PCは1文1行） */
@media (min-width: 769px) {
  .success-token-info br.br-sp-only {
    display: none;
  }
}

/* 編集画面：写真の並べ替え（ドラッグ／◀▶／先頭へ） */
.edit-image-list.is-sortable {
  gap: 14px 12px;
  margin-bottom: 8px;
}
.edit-image-item.is-sortable {
  border: none;
  width: 120px;
  cursor: grab;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.edit-image-item.is-sortable.is-dragging { opacity: .4; }
.edit-image-item.is-sortable.is-dropzone .edit-image-frame {
  outline: 2px dashed var(--primary, #e84040);
  outline-offset: 2px;
}
.edit-image-frame {
  position: relative;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #1a1d24;
  min-height: 90px;
}
.edit-image-item.is-first .edit-image-frame {
  border-color: #f5c518;
  box-shadow: 0 0 0 1px #f5c518;
}
.edit-image-frame.is-broken::after {
  content: "NO IMAGE";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: #566074;
}
.edit-image-badge {
  position: absolute;
  left: 4px;
  padding: 1px 7px;
  border-radius: 10px;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.5;
  pointer-events: none;
}
.edit-image-badge-first { top: 4px; background: #f5c518; color: #111; }
.edit-image-badge-new   { bottom: 4px; background: rgba(0,200,255,.9); color: #04141a; }
.edit-image-ctrl {
  display: flex;
  gap: 4px;
}
.edit-image-ctrl-btn {
  flex: 1 1 0;
  min-width: 0;
  height: 30px;
  padding: 0 2px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  color: var(--text, #eee);
  font-size: .72rem;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}
.edit-image-ctrl-btn:hover:not(:disabled) { background: rgba(255,255,255,.14); }
.edit-image-ctrl-btn:disabled { opacity: .3; cursor: default; }
.edit-image-ctrl-btn:nth-child(2) { flex: 1.6 1 0; }
.edit-image-sort-hint strong { color: #f5c518; }
@media (max-width: 600px) {
  .edit-image-item.is-sortable { width: calc((100% - 12px) / 2); }
  .edit-image-item.is-sortable .edit-image-thumb { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .edit-image-ctrl-btn { height: 34px; font-size: .78rem; }
}

/* ===== SOFT HUB YOUTH: 481-768px はカードをビジュアル下に重ねず配置（SPと同じ構成） ===== */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .main-content.top .main_v .main_copy {
    position: static;
    padding: 0 20px 10px;
    margin-top: -14vw;
    justify-content: center;
    align-items: flex-start; }
  .main-content.top .main_v .main_right {
    width: 100%;
    max-width: 520px;
    box-sizing: border-box; }
  .main-content.top .main_v .ball {
    right: -5px; } }

/* ===== SOFT HUB YOUTH: ロゴ横バッジ ===== */
.logo-link--img { align-items: center; gap: 8px; }
.youth-badge {
  display: inline-block;
  padding: 3px 9px 3px 8px;
  border-radius: 4px;
  background: #dff109;
  color: #0b0f14;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  line-height: 1.2;
  white-space: nowrap; }
@media screen and (max-width: 768px) {
  .youth-badge { font-size: 0.68rem; padding: 2px 7px; letter-spacing: 0.1em; } }


/* ===== SOFT HUB YOUTH: ヘッダーロゴ(YOUTH入り横長ロゴ 993x141) ===== */
img.header-logo-img.header-logo-img--youth {
  height: 40px !important;
  width: auto !important;
  max-width: none !important; }
@media screen and (max-width: 768px) {
  img.header-logo-img.header-logo-img--youth {
    height: 30px !important; } }
