@charset "UTF-8";

/* =========================================================
   愛媛 合同説明会（オープン・カンパニー in Ehime／プンパニ）LP
   統合CSSスタイルシート
   ========================================================= */

/* ---- カラー・共通変数 ---- */
:root {
  --ehime-orange: #ec6f2d;
  --ehime-orange-light: #fff1e6;
  --ehime-teal: #2f9e8f;
  --ehime-teal-light: #eafaf7;
  --ehime-navy: #2d3142;
}

/* ---- 基本スタイル ---- */
body {
  background-color: #f7f3ec;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  margin: 0;
  padding: 0;
}

/* =====================================================
   ヘッダー・ナビゲーション
   ===================================================== */
#header {
  background: #ffffff;
  border-bottom: 3px solid #ff7f50;
}

.h_topbar {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 15px;
}
.h_topbar_left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #ff7f50;
  cursor: pointer;
  padding: 4px 8px;
}
.h_site_label {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 4px;
}
.h_logo img {
  height: 36px;
  width: auto;
  display: block;
}
.h_logo span {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}
.h_date {
  font-size: 0.85rem;
  color: #888;
}

.g_nav {
  background: #fdfaf5;
  border-top: 1px solid #f0e8df;
}
.g_nav ul {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
}
.g_nav li {
  flex: 1 1 auto;
}
.g_nav li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.g_nav li a:hover {
  background: #fff2e9;
}
.g_nav li a img {
  height: 28px;
  width: auto;
  display: block;
}
.g_nav li a span {
  font-size: 0.85rem;
  font-weight: bold;
  color: #666;
  white-space: nowrap;
}

/* =====================================================
   レイアウト構造
   ===================================================== */
.modern-layout {
  max-width: 1100px;
  margin: 40px auto;
  display: flex;
  gap: 30px;
  padding: 0 20px;
  align-items: flex-start;
}
.modern-main {
  flex: 1;
  min-width: 0;
}
.modern-sidebar {
  width: 250px;
  flex-shrink: 0;
}
.modern-sidebar .bnr_box a {
  display: block;
  margin-bottom: 15px;
  transition: opacity 0.3s;
}
.modern-sidebar .bnr_box a:hover {
  opacity: 0.8;
}

.modern-section {
  background: #ffffff;
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.page-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
  border-bottom: 2px solid #ff7f50;
  padding-bottom: 15px;
}
.modern-section h2 {
  font-size: 1.4rem;
  color: #333;
  border-left: 5px solid #ff7f50;
  padding-left: 15px;
  margin-top: 0;
  margin-bottom: 25px;
}

.ai-summary-box {
  background: #eef7ee;
  border: 1px solid #ccebc5;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2c5225;
}

/* ---- ヒーローイラスト ---- */
.hero-illust-wrap {
  margin: 24px 0 30px;
  padding: 26px 24px;
  background: linear-gradient(135deg, var(--ehime-orange-light) 0%, var(--ehime-teal-light) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.hero-illust-wrap svg.hero-svg { flex: 0 0 200px; width: 200px; height: auto; }
.hero-illust-text { flex: 1 1 260px; }
.hero-illust-text p { margin: 0; color: var(--ehime-navy); line-height: 1.8; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--ehime-navy);
  border: 2px solid var(--ehime-orange);
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 700; line-height: 1;
}
.hero-badge svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--ehime-orange); }
.hero-badge.teal { border-color: var(--ehime-teal); }
.hero-badge.teal svg { color: var(--ehime-teal); }

/* ---- STEPリスト（イラスト・アイコン対応） ---- */
.step-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid #f0e4d8;
  border-left: 4px solid var(--ehime-orange);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.step-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ehime-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg { width: 24px; height: 24px; color: var(--ehime-orange); }

/* ---- ポイントリスト（イラスト・アイコン対応） ---- */
.point-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.point-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid #e2f2ef;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  line-height: 1.8;
}
.point-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ehime-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.point-icon svg { width: 24px; height: 24px; color: var(--ehime-teal); }

/* ---- 開催概要アイコン・グリッド ---- */
.event-box {
  background: #fff;
  border: 1px solid #f0e4d8;
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.event-box dl {
  display: grid !important;
  grid-template-columns: auto 1fr;
  row-gap: 18px;
  column-gap: 20px;
  align-items: center;
  margin: 0 0 22px 0 !important;
}
.event-box dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ehime-navy);
  margin: 0 !important;
  white-space: nowrap;
}
.event-box dt svg {
  width: 20px;
  height: 20px;
  color: var(--ehime-orange);
  flex-shrink: 0;
  background: var(--ehime-orange-light);
  border-radius: 50%;
  padding: 8px;
  box-sizing: content-box;
}
.event-box dd {
  margin: 0 !important;
  color: var(--ehime-navy);
  line-height: 1.6;
}
.event-box .btn-orange {
  display: inline-block;
  margin-top: 4px;
}

/* ---- ボタン類 ---- */
.btn-orange {
  display: block;
  background: #ff7f50;
  color: #ffffff !important;
  text-align: center;
  padding: 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 25px;
  box-shadow: 0 4px 6px rgba(255, 127, 80, 0.3);
  transition: all 0.3s ease;
}
.btn-orange:hover {
  background: #e66b3e;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(255, 127, 80, 0.4);
}

/* ---- テーブル関連 ---- */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}
.company-table th, .company-table td {
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
  font-size: 0.95rem;
}
.company-table th {
  background: #fdfdfd;
  font-weight: bold;
  white-space: nowrap;
  border-bottom: 2px solid #ddd;
}

/* ---- 実績セクション ---- */
.trust-section {
  text-align: center;
  background: #ffffff;
  padding: 50px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  margin-bottom: 30px;
  border-top: 4px solid #005bac;
}
.trust-heading-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.trust-heading-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--ehime-orange);
  flex-shrink: 0;
}
.trust-numbers {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
}
.trust-numbers span {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #005bac;
}
.trust-numbers small {
  font-size: 0.9rem;
  color: #666;
}

/* ---- 見出しアイコン ---- */
.h2-icon-wrap { display: flex; align-items: center; gap: 10px; }
.h2-icon-wrap svg { width: 26px; height: 26px; color: var(--ehime-orange); flex-shrink: 0; }

/* =====================================================
   FAQ セクション
   ===================================================== */
.faq-section {
  background: #ffffff;
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.faq-section h2 {
  font-size: 1.4rem;
  color: #333;
  border-left: 5px solid #ff7f50;
  padding-left: 15px;
  margin-top: 0;
  margin-bottom: 8px;
}
.faq-lead {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 28px 20px;
  line-height: 1.7;
}

/* カテゴリータブ */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.faq-tab {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border: 1px solid #ddd;
  border-radius: 99px;
  font-size: 13px;
  font-weight: bold;
  color: #666;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.faq-tab svg { width: 16px; height: 16px; flex-shrink: 0; }
.faq-tab.active,
.faq-tab:hover {
  background: #ff7f50;
  border-color: #ff7f50;
  color: #fff;
}

/* アコーディオンリスト */
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid #f0e8df;
  border-radius: 8px;
  overflow: hidden;
  background: #fffaf0;
  transition: box-shadow 0.2s ease;
}
.faq-item:hover {
  box-shadow: 0 2px 10px rgba(255, 127, 80, 0.12);
}
.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
  position: relative;
}
.faq-question::after {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ff7f50' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  transition: transform 0.25s ease;
  align-self: center;
}
.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}
.faq-q-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ff7f50;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.faq-answer {
  display: none;
  padding: 0 20px 20px 62px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.9;
  border-top: 1px solid #f0e8df;
  padding-top: 16px;
}
.faq-item.open .faq-answer {
  display: block;
  animation: faqFadeIn 0.2s ease;
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-answer a {
  color: #ff7f50;
  text-decoration: underline;
}
.faq-cta {
  margin-top: 32px;
  padding: 24px 28px;
  background: #fffaf0;
  border: 1px solid #ffd8a8;
  border-radius: 8px;
  text-align: center;
}
.faq-cta p {
  font-size: 0.95rem;
  color: #555;
  margin: 0 0 16px;
  line-height: 1.8;
}

/* ---- 常設予約ボタン（コンバージョン導線） ---- */
.sticky-cta {
  position: fixed; right: 18px; bottom: 18px; z-index: 999;
  display: flex; align-items: center; gap: 8px;
  background: var(--ehime-orange); color: #fff !important;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(236,111,45,0.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.sticky-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(236,111,45,0.5); }
.sticky-cta svg { width: 18px; height: 18px; flex-shrink: 0; }

/* =========================================
   レスポンシブ（スマホ・タブレット対応）
   ========================================= */
@media screen and (max-width: 800px) {
  .hamburger-btn { display: block; }
  .h_topbar { padding: 10px 15px; }
  .h_logo img { height: 28px; }
  .h_date { display: none; }
  .g_nav ul { flex-direction: column; }
  .g_nav li a {
    justify-content: flex-start;
    padding: 10px 15px;
    border-bottom: 1px solid #f0e8df;
  }
  .g_nav li a img {
    height: 22px;
    margin-right: 10px;
  }

  .modern-layout {
    flex-direction: column;
    padding: 0 10px;
    margin: 10px auto;
  }
  .modern-sidebar { width: 100%; }
  .modern-section {
    padding: 25px 15px;
    margin-bottom: 20px;
  }
  .page-title {
    font-size: 1.35rem;
    padding-bottom: 10px;
  }
  .modern-section h2 {
    font-size: 1.25rem;
    margin-bottom: 15px;
  }
  .ai-summary-box {
    font-size: 0.95rem;
    padding: 15px;
  }
  .btn-orange {
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 15px;
  }

  .table-scroll::before {
    content: "← 左右にスクロールできます →";
    display: block;
    text-align: right;
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
    padding-right: 5px;
  }
  .company-table th, .company-table td {
    padding: 10px;
    font-size: 0.85rem;
  }
  .trust-section { padding: 30px 15px; }
  .trust-numbers {
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
  }
  .trust-numbers span { font-size: 1.7rem; }

  /* FAQ スマホ最適化 */
  .faq-section { padding: 25px 15px; }
  .faq-section h2 { font-size: 1.25rem; }
  .faq-lead { margin-left: 0; }
  .faq-question {
    font-size: 0.95rem;
    padding: 14px 15px;
  }
  .faq-answer {
    padding: 14px 15px 16px 52px;
    font-size: 0.9rem;
  }
  .faq-q-badge {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  .faq-cta { padding: 20px 15px; }
}

@media (max-width: 600px) {
  .event-box { padding: 20px; }
  .event-box dl { grid-template-columns: auto 1fr; row-gap: 14px; column-gap: 12px; }
  .event-box dt { font-size: 0.92rem; }
  .event-box dt svg { width: 16px; height: 16px; padding: 6px; }

  .sticky-cta { right: 12px; bottom: 12px; padding: 12px 18px; font-size: 0.85rem; }
  .hero-illust-wrap { flex-direction: column; text-align: center; padding: 22px 18px; }
  .hero-illust-wrap svg.hero-svg { width: 150px; margin: 0 auto; }
  .hero-badges { justify-content: center; }
}