/* =========================================
   サクッと予約 - 主催者トップページ用CSS
   ファイル名: host.css
   ========================================= */

/* ベース設定 */
body {
  font-family: "Noto Sans JP", "Heisei KakuGo-W5", sans-serif;
  background-color: #f8fafc;
  color: #333;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

/* -----------------------------------------
   ヘッダー
----------------------------------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.3rem;
}

.logo a {
  color: #1e3a8a;
  text-decoration: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  color: #2563eb;
}

.main-nav .login-link {
  color: #2563eb;
  font-weight: 600;
  border: 1px solid #2563eb;
  border-radius: 9999px;
  padding: 0.3rem 1rem;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.main-nav .login-link:hover {
  background: #2563eb;
  color: #fff;
}

/* -----------------------------------------
   ヒーローセクション
----------------------------------------- */
.host-hero {
  position: relative;
  color: #1e293b;
  text-align: center;
  padding: 7rem 1rem;
  overflow: hidden;
}

/* 背景写真を ::before で扱い、blurを適用 */
.host-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/dist/assets/img/host_hero.png") center center / cover no-repeat;
  filter: blur(2px); /* ← ここでぼかし具合を調整 */
  transform: scale(1); /* ぼかしで端が欠けないよう少し拡大 */
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.host-hero h2 {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #1e3a8a;
}

.host-hero p {
  font-size: 1.1rem;
  color: #334155;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background-color: #2563eb;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

/* -----------------------------------------
   特徴セクション
----------------------------------------- */
.features {
  background: #fff;
  padding: 5rem 1rem;
  text-align: center;
}

.features .container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 2.5rem;
}

/* 均等高さ＋綺麗な整列 */
.feature-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch; /* 高さを揃える */
}

.feature-item {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 2rem 1.8rem 2.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.feature-item h4 {
  font-size: 1.10rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 0.9rem;
  text-align: center; /* ← タイトルも中央寄せ */
}

.feature-item p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
  text-align: left;
  word-break: normal;         /* ← はみ出し防止 */
  overflow-wrap: break-word;  /* ← 長い単語でも折り返し */
  max-width: 100%;            /* ← 固定幅を撤廃して自然な中央揃えに */
  padding: 0 0.2rem;          /* ← わずかに余白を残す */

}

/* -----------------------------------------
   使い方（フロー）
----------------------------------------- */
.flow {
  background: #f8fafc;
  padding: 5rem 1rem;
  text-align: center;
}

.flow .container {
  max-width: 900px;
  margin: 0 auto;
}

.flow-steps {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 3rem;
}

.step {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.circle {
  width: 50px;
  height: 50px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

.step h4 {
  font-size: 1.1rem;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: #475569;
}

/* -----------------------------------------
   CTA（開始セクション）
----------------------------------------- */
.cta-start {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  text-align: center;
  padding: 4.5rem 1rem;
}

.cta-start .container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-start h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-start p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #fff;
  color: #2563eb;
}

/* -----------------------------------------
   フッター
----------------------------------------- */
.site-footer {
  background: #f1f5f9;
  text-align: center;
  padding: 2rem 0;
  color: #475569;
  font-size: 0.9rem;
}

/* -----------------------------------------
   レスポンシブ対応
----------------------------------------- */
@media (max-width: 768px) {

  .host-hero {
    padding: 5rem 1rem;
    background-position: center top;
  }

  .hero-inner {
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.15);
  }

  .host-hero h2 {
    font-size: 1.8rem;
  }

  .host-hero p {
    font-size: 1rem;
  }

  .flow {
    padding: 3.5rem 1rem;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-start {
    padding: 3.5rem 1rem;
  }

  .cta-start h3 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  
  
}

/* モバイル時の見やすさ強化 */
@media (max-width: 768px) {
  .features {
    padding: 3.5rem 1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-item {
    padding: 1.8rem 1.2rem;
  }

  .feature-item h4 {
    font-size: 1.05rem;
  }

  .feature-item p {
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 0;
  }
}

/* -----------------------------------------
   モバイル対応
----------------------------------------- */
@media (max-width: 768px) {
  .main-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    align-items: center;
  }

  .main-nav .login-link {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
    border-width: 1.5px;
  }

  .site-header .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
  }

  .logo {
    justify-content: center;
    width: 100%;
  }

  .main-nav {
    width: 100%;
    text-align: center;
  }
}


/* =============================
   主催者ページ フッター共通スタイル
   ============================= */

.site-footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: #6c757d;
}

/* フッターメニュー */
.site-footer .footer-links a {
  color: #6c757d;
  margin-right: 1.25rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer .footer-links a:last-child {
  margin-right: 0;
}

.site-footer .footer-links a:hover {
  color: #0d6efd;
}

/* コピーライト */
.site-footer .small {
  font-size: 0.85rem;
  color: #999;
}

/* モバイル対応 */
@media (max-width: 767px) {
  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }

  .site-footer .footer-links {
    margin-bottom: 1rem;
  }

  .site-footer .footer-links a {
    display: inline-block;
    margin: 0 0.75rem 0.5rem;
  }
}

