@charset "UTF-8";
:root {
  --primary: #f33611;
  --secondary: #f28705;
  --tertiary: #f28705;
  --blue: #04c5d2;
  --text-dark: #593716;
  --bg-light: #f7f9fc;
  --red: #f33611;
  --yellow: #f3d924;
}
body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-dark);
  line-height: 1.6;
}
/* 1. h1 のデフォルトマージンをリセット */
header h1 {
  margin: 0;
  padding: 0;
  line-height: 1; /* 行高による隙間も防ぐ */
}
/* 2. img を block 化してインライン要素の隙間を消す */
header img {
  display: block; /* ← ここが最重要ポイントです */
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}
header img.pc_img {
  display: block;
}
@media screen and (max-width: 768px) {
  header img.pc_img {
    display: none;
  }
}
header img.sp_img {
  display: none;
}
@media screen and (max-width: 768px) {
  header img.sp_img {
    display: block;
  }
}
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  padding: 80px 0;
}
@media screen and (max-width: 800px) {
section {
  padding: 60px 0;
}
	}
@media screen and (max-width: 600px) {
section {
  padding: 40px 0;
}
	}
@media screen and (max-width: 480px) {
section {
  padding: 30px 0;
}
	}
/* ファーストビュー */
.hero {
  background: linear-gradient(135deg, rgba(230, 123, 60, 0.3) 0%, rgba(233, 168, 78, 0.3) 100%), url('seminar02_bg.jpg') center top/cover;
  color: white;
  text-align: center;
  padding: 80px 20px;
}
@media screen and (max-width: 600px) {
  .hero {
    padding: 40px 20px;
    background: var(--yellow);
    ;
  }
}
.hero-company {
  font-weight: bold;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}
.hero-company img {
  height: 35px; /* ロゴの高さ調整 */
  vertical-align: middle;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: bold;
}
.hero p.subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
}
.cta-box {
  background: #f33611;
  color: var(--yellow);
  padding: 30px 40px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  line-height: 2.0em;
}
.cta-box p {
  color: white;
  line-height: 1.5em;
}
@media screen and (max-width: 800px) {
  .cta-box {
    width: 100%;
    background: #f33611;
    color: var(--yellow);
    padding: 1.0em 1.0em;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
}
.cta-box h2 {
  margin-top: 0;
  color: white;
  font-size: 1.4rem;
  border-top: white 1px solid;
  border-bottom: white 1px solid;
  padding: 0.3em 0;
  col
}
.cta-box .event-date {
  font-size: 2.4rem;
  font-weight: bold;
  margin: 0 0 0.8em;
  ;
  color: white;
}
@media screen and (max-width: 600px) {
  .cta-box .event-date {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0 0 0.5em;
    ;
    color: white;
  }
}
.cta-box .event-date span {
  display: inline-block;
}
.cta-box p {
  color: white;
  line-height: 1.5em;
}
@media screen and (max-width: 600px) {
  .cta-box p {
    font-size: 12px;
  }
}
.cta-btn {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 16px 45px;
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 50px;
  font-weight: bold;
  margin-top: 20px;
  transition: opacity 0.3s ease;
}
.cta-btn:hover {
  opacity: 0.9;
}
/* 3ヶ月連続ストーリー */
.steps-bg {
  background: var(--bg-light);
}
.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 1.0em;
	margin-top: 0;
  font-weight: bold;
  color: var(--tertiary);
}
.section-title span {
  display: inline-block;
}
.steps-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.step-card {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  width: calc(49% - 15px);
  box-sizing: border-box;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
}
.step-card h3 {
  color: var(--primary);
  margin-top: 0;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.step-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  margin-top: 15px;
}
.step-card p {
  text-align: justify;
}
/* セミナー詳細 */
.details-box {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  position: relative;
}
.details-box h3 {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 12px;
  margin-top: 0;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.subsidy-tag {
  background: #fff3cd;
  color: #856404;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: bold;
  border: 1px solid #ffeeba;
  white-space: nowrap;
}
.details-content p {
  margin-bottom: 10px;
  display: flex;
}
.details-content strong {
  width: 80px;
  flex-shrink: 0;
  color: #555;
}
/* 交通費支援制度バナー */
.subsidy-banner-section {
  padding: 0 0 80px 0;
}
.subsidy-banner {
  background: linear-gradient(135deg, #fff9e6 0%, #fff1c7 100%);
  border: 2px solid #FFD700;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.15);
  position: relative;
  overflow: hidden;
}
.subsidy-banner::before, .subsidy-banner::after {
  position: absolute;
  font-size: 2rem;
  opacity: 0.5;
}
.subsidy-banner::before {
  top: 10px;
  left: 20px;
}
.subsidy-banner::after {
  bottom: 10px;
  right: 20px;
}
.subsidy-banner-subtitle {
  font-size: 1.2rem;
  font-weight: bold;
  color: #665000;
  margin-bottom: 10px;
}
.subsidy-banner-title {
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: bold;
  margin: 0 0 20px 0;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.banner-icon {
  font-size: 2.5rem;
}
.subsidy-banner-price {
  background: white;
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.subsidy-banner-price span {
  color: #E60012;
  font-size: 1.8rem;
}
.subsidy-banner-note {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}
/* 動画UI */
.video-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.video-mockup {
  width: 220px;
  background: #111;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.video-mockup blockquote {
  width: 100%;
  height: auto;
}
.video-mockup .play-btn {
  font-size: 3rem;
  opacity: 0.8;
  margin-bottom: 10px;
}
.event-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 90, 95, 0.9);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}
/* 参加企業一覧 (タブ切り替え＆画像＋30文字のコンパクトカード) */
.other-companies {
	margin-top: 60px;
}
.other-companies-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
	margin-top: 0;
  font-weight: bold;
  color: var(--text-dark);
}
.company-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.company-tab-btn {
  background: white;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
}
.company-tab-btn.active {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 166, 153, 0.3);
}
.company-tab-btn:not(.active):hover {
  background: #e6f7f6;
}
.company-list-content {
  display: none;
  animation: fadeIn 0.5s;
  width: 92%;
  margin: auto;
}
.company-list-content.active {
  display: block;
}
.compact-company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}
.compact-company-item {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.compact-company-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}
.compact-company-img {
  width: 100%;
  height: 120px;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  border-bottom: 1px solid #e0e0e0;
}
.compact-company-img svg {
  width: 30px;
  height: 30px;
  fill: #ced4da;
}
.compact-company-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compact-company-info {
  padding: 12px 15px;
}
.compact-company-name {
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 2px;
}
.compact-company-industry {
  font-size: 0.75rem;
  color: #777;
  margin-bottom: 8px;
}
.compact-company-desc {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.4;
  margin: 0;
}
/* フォーム */
.form-section {
  background: white;
}
.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.form-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.form-tab-btn {
  background: #e0e0e0;
  color: #555;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
  max-width: 250px;
}
.form-tab-btn.active {
  background: var(--secondary);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 166, 153, 0.3);
}
.form-tab-btn:not(.active):hover {
  background: #ccc;
}
.form-content {
  display: none;
  animation: fadeIn 0.5s;
}
.form-content.active {
  display: block;
}
.form-group {
  margin-bottom: 25px;
}
.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #444;
}
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group input[type="number"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 1rem;
}
.form-group .checkboxes label {
  display: block;
  font-weight: normal;
  margin-bottom: 12px;
  cursor: pointer;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: white;
  color: var(--text-dark); /* チェックボックスのテキストを黒に */
}
.form-group .checkboxes label:hover {
  background: #f1f1f1;
}
.form-group input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}
.submit-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  padding: 20px;
}
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.submit-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
/* 連絡先セクション */
.contact-section {
  background: var(--bg-light);
  text-align: center;
  padding: 80px 20px;
  border-top: 1px solid #e0e0e0;
}
.contact-title {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 30px;
  line-height: 1.5;
  font-weight: bold;
}
.sns-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}
.sns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: opacity 0.3s;
}
.sns-btn:hover {
  opacity: 0.8;
}
.btn-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.btn-line {
  background: #06C755;
}
.organizer-box {
  border-top: 2px solid #ccc;
  padding-top: 40px;
  max-width: 400px;
  margin: 0 auto;
}
.organizer-box p {
  margin: 0;
}
@media (max-width: 768px) {
  .step-card {
    width: 100%;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .form-container {
    padding: 30px 20px;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .subsidy-badge {
    font-size: 0.85rem;
    padding: 6px 15px;
  }
  .details-box h3 {
    font-size: 1.3rem;
  }
  .subsidy-banner-title {
    font-size: 1.6rem;
    gap: 10px;
  }
  .banner-icon {
    font-size: 1.8rem;
  }
  .subsidy-banner-price {
    font-size: 1rem;
    padding: 12px 20px;
  }
  .subsidy-banner-price span {
    font-size: 1.3rem;
  }
  .form-tabs {
    flex-direction: column;
    align-items: center;
  }
  .form-tab-btn {
    width: 100%;
    max-width: 100%;
  }
  .compact-company-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .company-tab-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  .compact-company-img {
    height: 100px;
  }
  .hero-company img {
    height: 25px;
  }
}
* {
  box-sizing: border-box;
}

/* Instagram埋め込みの重なりを修正 */
.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}

.video-grid .video-mockup {
  flex: 0 1 360px;
  width: 100%;
  max-width: 360px;
  min-width: 0;
  display: block;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* embed.jsによるblockquote→iframe置換の前後に適用 */
.video-grid .video-mockup .instagram-media {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
