@charset "UTF-8";

body {
  margin: 0;
	    
  font-family: 'Helvetica Neue', sans-serif;
}
div{box-sizing: border-box;}

.site-header {
  background-color: #0d1b2a;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 60px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo a {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

/* ナビゲーション */
.site-nav {
  display: flex;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* ハンバーガーメニュー（スマホ用） */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #fff;
  height: 3px;
  width: 24px;
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle-label span::before {
  top: -8px;
}

.nav-toggle-label span::after {
  top: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: #0d1b2a;
    display: none;
    flex-direction: column;
    z-index: 999;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list li {
    border-top: 1px solid #1f2a3c;
    text-align: center;
  }

  .nav-list li a {
    display: block;
    padding: 16px 0;
  }

  .nav-toggle:checked + .nav-toggle-label + .site-nav {
    display: flex;
  }
}

.site-footer {
  background-color: #0d1b2a;
  color: #fff;
  padding: 40px 24px;
  text-align: center;
}

.footer-logo a {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-nav li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav li a:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 12px;
  margin-top: 16px;
}

.main-content {
  background: #f8f9fa;

  padding-top: 60px; /* ヘッダーの高さ分 */
}

/* Heroセクション */
.hero {
  background: url('/assets/images/hero-bg.png') no-repeat center center/cover;
  height: 80vh;
  position: relative;
  color: #fff;
}
@media (max-width: 768px) {
  .hero {
    background: url('/assets/images/hero-bg-sp.jpg') no-repeat center center/cover;
  }
}

.hero .overlay {
  background: rgba(0,0,0,0.6);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.hero-content h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 24px;
}

.hero-content .btn {
  background: #3b82f6;
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* カテゴリ導線 */


.category-section {
  padding: 60px 24px;
  background-color: #f0f2f5;
  text-align: center;
}

.section-title {
  font-size: 28px;
  margin-bottom: 40px;
  color: #0d1b2a;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.category-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  width: 100%;
  max-width: 260px;
  text-decoration: none;
  color: #0d1b2a;
	box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.category-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.category-card h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
}

.category-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .category-grid {
    flex-direction: column;
    align-items: center;
  }
	.category-section {
    padding-left: 16px;  /* ← 念のため tighter に */
    padding-right: 16px;
  }
}
.pain-section {
  background-color: #fff;
  padding: 80px 24px;
  text-align: center;
}

.pain-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.pain-card {
  background: #f0f2f5;
  border-radius: 12px;
  padding: 32px 24px;
  max-width: 260px;
  flex: 1 1 240px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.pain-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.pain-card h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #0d1b2a;
}

.pain-card p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pain-grid {
    flex-direction: column;
    align-items: center;
  }
}
.pain-summary {
  margin: 64px auto 0;
  max-width: 720px;
  padding: 40px 32px;
  background: linear-gradient(135deg, #f8f9fb, #ffffff);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
  position: relative;
}

.summary-icon {
  font-size: 36px;
  color: #3b82f6;
  margin-bottom: 20px;
}

.summary-text {
  font-size: 15px;
  line-height: 1.9;
  color: #0d1b2a;
  font-weight: 500;
}

@media (max-width: 768px) {
  .summary-text {
    font-size: 14px;
  }
}

.article-section {
  padding: 80px 24px;
  background-color: #fff;
  text-align: center;
}

.article-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.article-card {
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.article-thumb {
  height: 180px; /* 任意の高さに統一 */
  overflow: hidden;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* はみ出しを防いで中央トリミング */
  display: block;
}


.article-body {
  padding: 20px;
}

.article-category {
  display: inline-block;
  font-size: 13px;
  color: #3b82f6;
  margin-bottom: 8px;
  font-weight: bold;
}

.article-card h4 {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 12px;
  color: #0d1b2a;
}

.article-card p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

/* SP対応 */
@media (max-width: 768px) {
  .article-grid {
    flex-direction: column;
    align-items: center;
  }

  .article-card {
    max-width: 100%;
  }
}