/* ===== Base（統合版） ===== */
:root{
  /* ブランド：BCJ系ブルーグリーン */
  --brand:#9BB8B5;           /* 明るめ */
  --brand-strong:#6f9490;    /* 見出し帯用の濃いトーン（可読性UP） */
  --accent:#d32f2f;
  --accent-dark:#b71c1c;
  --max-width:1180px;
  --gap:24px;
  --font:"Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,Arial,sans-serif;

  --ink:#333; --muted:#666; --note:#8a8a8a;
  --shadow:0 10px 24px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
}

html,body{height:100%;}
body{font-family:var(--font);margin:0;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;height:auto;display:block;}
.l-contents{max-width:var(--max-width);margin:0 auto;padding:0 16px;}

/* ===== Header / Hero ===== */
.main-hero{position:relative;margin:0 auto 24px; z-index:0;}
.main-hero .hero-image img{
  width:100%; height:auto; display:block; border-radius:6px; object-fit:contain;
}
.hero-inner{
  position:absolute; left:50%; bottom:10%; transform:translateX(-50%);
  text-align:center; color:#fff; padding:20px; z-index:1;
}
.hero-title{font-size:clamp(20px,4vw,38px);font-weight:700;margin:0 0 8px;text-shadow:0 2px 8px rgba(0,0,0,.45);}
.hero-sub{font-size:clamp(12px,2.2vw,18px);margin:0 0 16px;text-shadow:0 1px 6px rgba(0,0,0,.45);}
.hero-sub {
  color: #4a4949; /* ← 例：落ち着いたグレー */
}
.btn-primary{
  display:inline-block;background:var(--accent);color:#fff;padding:12px 22px;border-radius:8px;
  font-weight:700;box-shadow:0 6px 20px rgba(0,0,0,.12);transition:transform .12s ease,background .12s;
 }
.btn-primary:hover{background:var(--accent);transform:translateY(-2px);} /* 色は変えない */
.hero-title{font-size:clamp(20px,4vw,38px);font-weight:700;margin:0 0 8px;text-shadow:0 2px 8px rgba(0,0,0,.45);}

@media (max-width: 639px) {
  .hero-inner {
    position: static;
    transform: none;
    text-align: center;
    background: rgba(124, 152, 149, 0.48);
    padding: 16px 12px 20px;
    border-radius: 6px;
  }
  .btn-primary { font-size: 14px; padding: 8px 16px; border-radius: 6px; box-shadow: 0 3px 10px rgba(0,0,0,0.15); }
  .hero-title { font-size: 18px; line-height: 1.4; margin-bottom: 8px; }
  .hero-sub { font-size: 13px; margin-bottom: 12px; }
    .hero-sub {
    color: #ffffff; /* PC用の色 */
  }
}

/* ===== Sections ===== */
.c-section{padding:36px 0;border-bottom:1px solid #f0f0f0; position:relative; z-index:1;}
.c-heading{
  position:relative; z-index:2;
  display:block; width:100%; text-align:left; margin:0 0 24px;
  font-weight:800; letter-spacing:.02em;
  font-size:clamp(15px,2.4vw,20px);
  color:#fff;
  background:var(--brand-strong);
  padding:6px 14px; border-radius:2px;
}

/* ===== イベント概要（最新レイアウトに統一） ===== */
#event-overview { text-align: left; }

/* グリッド */
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}

/* カード */
.event-item {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.event-item:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.08); }

/* テキスト */
.event-label { display:inline-block; font-weight:700; color:var(--brand-strong); margin-right:4px; }
.event-item div { font-size:15px; color:#333; line-height:1.8; }

/* アクセス情報 */
.event-access { margin-top:16px; font-size:14px; color:#555; }
.event-access .event-label { color:var(--brand-strong); }

/* 地図（中央寄せ＋高さ調整済） */
.map-wrap {
  position: relative;
  aspect-ratio: 16 / 7;
  max-width: 1000px;
  margin: 28px auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.map-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

@media (max-width: 767px) {
  .event-grid { grid-template-columns: 1fr; gap: 14px; }
  .event-item { padding: 14px 16px; }
  .map-wrap { max-width: 100%; aspect-ratio: 16 / 10; margin: 20px auto; }
  .event-item div { font-size: 14px; }
}

/* ===== Products（最新ルックに統一） ===== */
.products-v2{display:flex;flex-direction:column;gap:10px;}

.product-row {
  display: grid;
  grid-template-columns: 600px 1fr;
  align-items: start;
  background: #fff;
  border: none;                 /* 枠線は消し、下線で区切る */
  border-radius: 0;
  padding: 24px 0;
  position: relative;
}
.product-row:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: #ddd;
}

.product-row .thumb{
  display:flex; align-items:flex-start; justify-content:center;
  background:#fafafa; border:1px solid #f3f3f3; border-radius:8px; overflow:hidden;
  aspect-ratio: 9 / 5; margin:0;
}
.product-row .thumb img{width:100%; height:auto; object-fit:contain;}
.product-row .meta{min-width:0; padding-left:20px;}

.product-kicker{font-size:12px;letter-spacing:.04em;color:#ab283c;font-weight:700;margin:2px 0 6px;}
.product-title{font-size:18px;font-weight:800;color:#444;margin:0 0 10px;line-height:1.35;}
.product-lead{font-size:14px;color:#444;margin:0 0 10px;line-height:1.8;}
.product-body{font-size:14px;color:#555;line-height:1.9;}
.badges{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px;}
.badge{font-size:12px;padding:4px 8px;border-radius:999px;background:#f4f4f6;border:1px solid #eee;color:#555;}
.product-row summary{display:none!important;} 
.product-row details{display:block!important;} 
.product-row details>*{display:block!important;}

@media (max-width: 767px){
  .product-row{
    grid-template-columns: 1fr;
    padding: 20px 0;
  }
  .product-row .meta{ padding:12px 0 0; }
}
@media (max-width: 639px) {
  .product-row:not(:last-child)::after { left:10px; right:10px; }
}

/* ===== Application（カード型 + 画像ユーティリティ） ===== */
.apply-area {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  text-align: left;
}
.image-large{width:50%;height:auto;object-fit:contain;}

.apply-card {
  flex: 1 1 45%;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.apply-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.apply-card .kicker{color:var(--brand-strong);font-weight:700;font-size:14px;margin-bottom:8px;letter-spacing:.05em;text-transform:uppercase;}
.apply-card .title{font-size:20px;font-weight:800;margin-bottom:12px;color:#111;}
.apply-card .body{font-size:15px;line-height:1.8;color:#444;}

@media (max-width: 767px) {
  .apply-area { flex-direction: column; align-items: center; }
  .apply-card { width: 92%; padding: 20px; }
  .apply-card .title { font-size: 18px; }
}

/* ===== Buttons（改良・横幅統一・ホバー色固定） ===== */
.apply-actions {
  display: flex;
  justify-content: center;
  align-items: stretch; /* 高さも揃える */
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
/* 各ボタンのカラム：同じ幅にする */
.apply-actions .col {
  flex: 1;
  max-width: 400px;       /* 大きい方の上限 */
  display: flex;
  justify-content: center;
}
/* ボタン本体 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 50px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease; /* 色は変えない */
  border: 2px solid transparent;
  background-color: #A63430;
  color: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.btn:hover { background-color:#A63430; transform: translateY(-2px); } /* 色固定 */
.btn--ghost {
  background:#fff;
  color:#A63430;
  border-color:#A63430;
  box-shadow:none;
}
.btn--ghost:hover { background:#fff; color:#A63430; } /* 色・背景とも変えない */
.btn--block {
  white-space: nowrap; /* ← 強制的に1行表示 */
  width: 100%;
  max-width: 400px;
  flex: 1;                /* 親のcolいっぱいに */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  border-radius: 8px;
  box-sizing: border-box;
}

@media (max-width:639px){
  .apply-actions { flex-direction: column; align-items: center; }
  .apply-actions .col { max-width: none; width: 100%; }
  .btn--block { width: 100%; max-width: none; }
  .btn { font-size: 16px; min-height: 48px; padding: 0 24px; }
}

/* ===== 注意書き ===== */
.apply-note {
  text-align: center;
  position: relative;
  background: #fff;
  border: 3px solid #e0e0e0;
  border-radius: 10px;
  padding: 24px 24px 20px;
  margin: 32px auto;
  max-width: 920px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}
.apply-note::before {
  content: "";
  display: block;
  height: 6px;
  background: #b71c1c;
  border-radius: 10px 10px 0 0;
  position: absolute;
  top: 0; left: 0; right: 0;
}
.apply-note strong { color: #b71c1c; font-weight: 700; }

/* ===== PROSHOP ===== */
.proshop-section { padding: 28px 0 44px; position: relative; z-index: 1; text-align: center; }
.proshop {
  display: grid; place-items: center; gap: 18px; position: relative; z-index: 1;
  background:
    radial-gradient(1200px 400px at 20% -20%, rgba(159,189,186,.15), transparent 60%),
    linear-gradient(180deg, #fff, #fff);
  border: 1px solid #eee; border-radius: 10px; box-shadow: var(--shadow);
  padding: 28px clamp(16px, 2.6vw, 32px);
}
.proshop img { margin: 0 auto; max-width: 100%; height: auto; border-radius: 8px; }
.proshop .title { font-size: clamp(18px, 2.2vw, 22px); font-weight: 800; color: #1f1f1f; margin: 0; }
.proshop p {
  text-align: center; margin: 16px auto 0; font-size: 15px; line-height: 1.9; color: #444;
  max-width: 760px; background: #fafafa; padding: 12px 16px; border-radius: 8px;
}
.proshop .actions { margin-top: 20px; display:flex; justify-content:center; align-items:center; gap:14px; flex-wrap:wrap; }

/* ===== Utility / Animation ===== */
.fade-base{opacity:0;transform:translateY(14px);transition:opacity .6s ease, transform .6s ease;}
.is-visible{opacity:1!important;transform:translateY(0)!important;}
.c-section::before,.c-section::after{position:relative;z-index:0;pointer-events:none;}
html{scroll-padding-top:60px;}
:target{scroll-margin-top:60px;}

/* ===== Footer（リニューアル） ===== */
.l-footer {
  background: linear-gradient(90deg, var(--brand-strong), #9bb8b5);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.l-footer__inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.l-footer small {
  font-size: 14px; letter-spacing: 0.05em; opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
@media (max-width: 639px) {
  .l-footer { padding: 12px 12px; }
  .l-footer small { font-size: 13px; line-height: 1.6; }
}
.apply-actions .col {
  flex: 1;
  max-width: 400px; /* 少し広げる */
  display: flex;
  justify-content: center;
}

.btn--ghost.btn--block {
  font-size: 16px;  /* 少しだけ小さく */
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 32px; /* ← タイトルを小さく */
  }

  .hero-sub {
    font-size: 15px; /* ← サブテキストを小さく */
    line-height: 1.7; /* 行間を少し詰める */
  }
}
