/* 基本設定 */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #a5c1aa; /* ベースカラー */
  color: #333;
  font-size: 16px;
  line-height: 1.8em;
}

h2, h3 {
  margin-top: 0;
  color: #434b54; /* accent */
}

h1 {
  margin-top: 0;
  color: #fff;
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

p, li {
  font-size: 1rem;
}

/* ヘッダー */
header {
  background-color: #6b4c3b; /* メインカラー */
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  display: flex;
  padding: 12px 24px;
  border-bottom: 1px solid #ccc;
}

.site-header {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  background-color: #ffffff;
  border-bottom: 1px solid #ccc;
}

.logo-area {
  display: flex;
  align-items: center;
}

.site-logo {
  width: 50px;  /* お好みで調整：24〜40px推奨 */
  height: 50px;
  margin-right: 12px;
}

.site-title h1 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #ccc;
}

.site-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}



.header-left h1 {
  margin: 0;
}

.subheading {
  font-size: 0.85rem;
  margin: 0;
  color: #ccc;
}

.login-btn {
  background-color: #f6d6c1; /* base */
  color: #6b4c3b; /* accent */
  border: 2px solid #6b4c3b;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-btn:hover {
  background-color: #eec7b4;
}

/* メイン */
main {
  padding: 2rem 1.5rem;
}

/* ヒーロー */
.hero {
  background-color: #ffffff;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.hero-content h1,
.hero-content p {
  font-size: clamp(1.2rem, 3.5vw, 2rem);
  line-height: 2.0;
  margin: 0 auto;
  max-width: 90%;
  word-break: break-word;
}

@media screen and (max-width: 600px) {
  .hero-content h1,
  .hero-content p {
    font-size: 1.2rem;
    line-height: 2.0;
  }

  .hero {
    padding: 1.5rem 1rem;
  }
}

.about {
    max-width: 900px;
    margin: 5px auto 40px auto;
    padding: 40px 30px;
    background-color: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.about h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #6b4c3b; /* メインカラー */
    text-align: center;
    border-bottom: 2px solid #a5c1aa; /* ベースカラーで下線 */
    padding-bottom: 10px;
}

.about p {
    margin-bottom: 16px;
}

/* 特徴リスト */
.features, .about {
  margin-bottom: 2rem;
}

.features ul {
  list-style: none;
  padding: 0;
}

.features li {
  background-color: #fff;
  border-left: 6px solid #a5c1aa;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* フッター */
footer {
  background-color: #6b4c3b; /* accent */
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .login-btn {
    margin-top: 1rem;
    width: 100%;
  }

  .hero {
    padding: 1.5rem 1rem;
  }

  main {
    padding: 1rem;
  }
}
/* ローディング画面 */
#intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #6b4c3b; /* メインカラー */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: logoFadeIn 1.5s ease-out;
}

.intro-logo {
  color: white;
  font-size: 3rem;
  letter-spacing: 2px;
  animation: logoZoom 1s ease-out;
}

/* 非表示クラス */
.hidden {
  display: none;
}

/* フェードアウト */
.fade-out {
  animation: fadeOut 1s ease-in forwards;
}

/* アニメーションキーフレーム */
@keyframes logoFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes logoZoom {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* スライダー全体 */
.slide {
  flex: 0 0 100%;
  opacity: 0.4;
  transform: scale(0.9);
  transition: transform 0.5s, opacity 0.5s;
}

/* スライド画像コンテナ */
.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* 各スライド画像 */
.slide {
  width: 100%;
  flex-shrink: 0;
  /* display: none; */
}

/* アクティブなスライド */
.slide.active {
  opacity: 1;
  transform: scale(1);
}

/* ナビゲーション矢印 */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border: none;
  z-index: 10;
  border-radius: 50%;
}

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.7);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.carousel-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slide {
  min-width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s, opacity 0.5s;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0 10px;
  cursor: pointer;
  z-index: 1;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Hero Section */
.hero-section {
  background-image: url('/images/hero-bg.jpg'); /* 任意の背景画像を配置 */
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

.hero-content {
  background: rgba(0, 0, 0, 0.4);
  display: inline-block;
  padding: 40px 60px;
  border-radius: 12px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-btn {
  background-color: #6b4c3b; /* メインカラー */
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-btn:hover {
  background-color: #5a3f32;
}

.about {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.about.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* 特徴 Section */
.features-section {
  padding: 60px 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.features-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #434b54;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.feature {
  max-width: 280px;
  text-align: center;
}

.feature img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 1.2rem;
  color: #6b4c3b;
  margin-bottom: 10px;
}

.feature p {
  font-size: 0.95rem;
  color: #555;
}

/* お知らせ Section */
.news-section {
  padding: 60px 20px;
  background-color: #eaf0ea; /* ベースカラーに合わせた明るめトーン */
}

.news-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #434b54;
  text-align: center;
}

.news-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.news-list li {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  color: #333;
}

.news-list li span {
  font-weight: bold;
  margin-right: 10px;
  color: #6b4c3b;
}
