html {
	position: relative;
	min-height: 100%;
}

body {
	/* Padding top for navbar */
	padding-top: 56px;
	/* Margin bottom for footer height */
	margin-bottom: 60px;
}

section {
	padding: 20px 0;
}

img {
	max-width: 100%;
}

pre,
code {
	background: #f8f8f8;
	color: #333;
}

pre {
	border-left: 2px solid #ccc;
	padding: 10px;
}

code {
	display: inline-block;
	padding: 0 0.5em;
	line-height: 1.4em;
	border-radius: 3px;
}

table {
	empty-cells: show;
	border: 1px solid #cbcbcb;
	width: 100%;
	font-size: 0.9em;
	margin-bottom: 1rem;
}

thead {
	background-color: #e0e0e0;
	color: #000;
	text-align: left;
	vertical-align: bottom;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

th,
td {
	padding: 0.5em 1em;
}

h1.title,
h2.title {
	font-size: 2.3rem;
}

blockquote {
	padding: 10px 20px;
	margin: 0 0 20px 20px;
	border-left: 5px solid #eee;
	font-style: italic;
}

.bi {
	margin-right: .5rem !important;
}


/* Paginator */
.paginator {
	margin-top: 20px;
	margin-bottom: 80px;
}

/* Navbar */
img.nav-svg-icon {
	width: 1rem;
	height: 1rem;
	padding-bottom: 2px;
}

.nav-link {
	font-size: 0.8em;
}

/* Footer */
footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 60px;
	line-height: 60px;
	font-size: 0.8em;
}

.mini-logo {
	height: 22px;
	padding-bottom: 5px;
}

/* Home - Header */
header.welcome {
	padding: 100px 0;
}

/* Home - Page */
section.home-page:nth-child(even) {
	/* Alternate the background color */
	background: #FAFAFA;
}

.page-cover-image {
	background-size: cover;
	background-position: center;
}

.page-description {
	color: #b5b5b5;
	font-style: italic;
}

/* VIDEO EMBED RESPONSIVE */
.video-embed {
	overflow: hidden;
	padding-bottom: 56.25%;
	/* 16:9 */
	position: relative;
	height: 0;
}

.video-embed iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: absolute;
}

/* --- homeとりあえず隠す --- */
/* Welcomeセクションを非表示（SEO対策で削除せず保持） */
header.welcome {
  display: none;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

/* --- HAIK風 ヒーローセクション --- */
.hero-section {
  background: url('../img/hero.jpg') center/cover no-repeat;
  padding: 120px 20px;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 1em;
}

.hero-button {
  background-color: #007bff;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.hero-button:hover {
  background-color: #0056b3;
}

.felix-brand {
  color: #ff6f61; /* ブランドカラー（お好みで） */
  font-weight: 900;
  font-size: 1.2em;
  letter-spacing: 0.05em;
}

.hero-section {
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('../img/hero.jpg') center center / cover no-repeat;
  min-height: 100vh; /* 🔥画面いっぱい */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  color: #fff;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5em;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1em;
  color: #ddd;
}

.hero-button {
  background-color: #3a7bff;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s;
}

.hero-button:hover {
  background-color: #245ccc;
}

/* ------------------------------
   ⚙️ Felix CMS - 機能紹介セクション
------------------------------ */
.features-section {
  background-color: #f8f9fa;
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.section-sub {
  color: #666;
  font-size: 1rem;
  margin-bottom: 2em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 💻 デスクトップでは4列 */
  gap: 1.5em;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em 0;
}

.feature-box {
  background: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
}

.feature-box i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
  color: #333;
}

.feature-box h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-box p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.try-section {
  background: url('../img/zoom-bg.jpg') center/cover no-repeat;
  position: relative;
  padding: 100px 20px;
  color: #fff;
  display: flex;             /* 🔧 中央寄せにする */
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;         /* 必要なら縦幅いっぱい */
}

.try-section .overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  text-align: center;
}

.try-section h2 {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.try-section .subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.try-button {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #fff;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background 0.3s;
}

.try-button:hover {
  background: #fff;
  color: #000;
}

/* お客様の声セクション全体 */
.voice-section {
  background: #2f333a;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

/* タイトル */
.voice-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1em;
}

/* サブテキスト */
.voice-intro {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 2em;
}

/* カードのレイアウト */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* デフォルトは3列 */
  gap: 1.5em;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .voice-grid {
    grid-template-columns: repeat(2, 1fr); /* スマホやタブレットは2列 */
  }
}

/* 各カード */
.voice-card {
  background: #fff;
  color: #333;
  padding: 1.5em;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* アイコン */
.voice-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5em;
}

/* 名前 */
.voice-card .voice-name {
  font-weight: bold;
  margin-bottom: 0.5em;
}

/* リンク */
.voice-card .voice-link {
  color: #007bff;
  text-decoration: none;
  font-size: 0.9em;
}

/* テンプレート */
.template-title {
  text-align: center;
  font-size: 2em;
  font-weight: 700;
  color: #333;
  margin-top: 1em;     /* 上にしっかり余白 */
  margin-bottom: 0.5em;
  line-height: 1.4;
}

.subtemplate-title {
  text-align: center;
  font-size: 1em;
  font-weight: 400;
  color: #666;
  margin-bottom: 2.5em; /* 下に余白をとってカードと距離をとる */
  line-height: 1.6;
}
    
.template-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2em;
      max-width: 1200px;
      margin: 0 auto;
      margin-top: 0; /* これを 0〜1em に下げる */
      padding-top: 0;
    }
    .template {
      background: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      transition: transform 0.3s ease;
    }
    .template:hover {
      transform: translateY(-5px);
    }
    .template img {
      width: 100%;
      display: block;
    }
    .template-content {
      padding: 1em;
    }
    .template h3 {
      margin: 0.5em 0;
      font-size: 1.2em;
    }
    .template p {
      font-size: 0.95em;
      color: #555;
    }
/* DEMO体験 */
.demo-session {
  max-width: 960px;
  margin: 0 auto;
  padding: 4em 1em;
  text-align: center;
}

.demo-invite-button .demo-btn {
  background-color: #4a90e2;
  color: #fff;
  padding: 0.8em 1.5em;
  font-size: 1.1em;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
}

.demo-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  margin-top: 2em;
  text-align: left;
}

.demo-box {
  background: #f9f9f9;
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  flex: 1 1 400px;
}

.demo-box h3 {
  margin-top: 0;
  color: #333;
  font-size: 1.2em;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

.demo-box ol,
.demo-box ul {
  margin: 0;
  padding-left: 1.2em;
}

.demo-box li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

.demo-session {
  background-color: #fdf8f2; /* ← 背景色を追加 */
  max-width: 100%;
  padding: 4em 1em;
  text-align: center;
}

/* ------------------------------
   📱 スマホ向け（幅768px以下）
------------------------------ */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.4rem;
    line-height: 1.4;
    word-break: keep-all;
    margin-bottom: 0.8em;
  }

  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1em;
  }

  .hero-button {
    font-size: 0.9rem;
    padding: 10px 18px;
  }

  .hero-section {
    background-position: center top;
    background-size: cover;
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr); /* スマホで2列 */
  }
}

.profile-message {
  display: flex;
  align-items: center; /* ← これで画像と文字が上下中央揃え */
}
.profile-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1em; /* 画像と文字の間にスペース */
}
.profile-text {
  font-size: 1.2em;
}

/* FullCalendarのスクロールバーを非表示 */
#calendar {
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}

/* もし出ていれば .fc-scroller も */
.fc-scroller {
  overflow-y: hidden !important;
}
