/* style.css */
.test {
  color: red;
}

.bg-r1 {
  background-color: red;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.global-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.global-nav a {
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.global-nav a:hover {
  opacity: 0.6;
}

/* Main */
.main-content {
  margin-top: 72px;
  min-height: calc(100vh - 72px - 80px);
}

/* Footer */
.site-footer {
  background: #f8f8f8;
  padding: 32px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.copyright {
  font-size: 12px;
  color: #888;
}

/* Common Sections */
.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  .main-content {
    margin-top: 60px;
  }

  .global-nav ul {
    gap: 20px;
  }

  .section {
    padding: 48px 16px;
  }

  .section-title {
    font-size: 24px;
  }
}

/* Hero Slider */
.hero-slider {
  width: 100%;
  height: 600px;
  margin-top: -72px; /* ヘッダー分を相殺 */
}

.hero-slider .swiper-slide {
  position: relative;
  overflow: hidden;
}

.hero-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider .slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-slider .slide-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-slider .slide-content p {
  font-size: 18px;
}

/* ナビゲーションボタンの色 */
.swiper-button-prev,
.swiper-button-next {
  color: white;
}

.swiper-pagination-bullet-active {
  background: white;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .hero-slider {
    height: 400px;
    margin-top: -60px;
  }
  .hero-slider .slide-content h2 {
    font-size: 28px;
  }
}

/* FAQ全体 */
.faq {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 16px;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 見出し */
.faq h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  border-left: 4px solid #333;
  padding-left: 12px;
}

/* 各質問ブロック */
.faq-item {
  background-color: #f7f7f7;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

/* 質問 */
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* 答え */
.faq-item p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* 新着情報ブロック全体 */
.news {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 16px;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 見出し */
.news h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  border-left: 4px solid #333;
  padding-left: 12px;
}

/* リストの基本 */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 各行 */
.news-item {
  border-bottom: 1px solid #eee;
}

/* 1行全体をリンクに */
.news-item a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  text-decoration: none;
  color: #333;
}

/* 日付部分 */
.news-date {
  font-size: 0.9rem;
  color: #666;
  white-space: nowrap;
}

/* ラベル（カテゴリ） */
.news-label {
  font-size: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* タイトル部分 */
.news-title {
  font-size: 0.95rem;
  flex: 1;
}

/* ホバー時ちょっとだけ強調 */
.news-item a:hover .news-title {
  text-decoration: underline;
}

.w960 {
  max-width: 960px;
}

.m0-center {
  margin: 0 auto;
}
