/* ベース */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  margin: 0;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }

/* ヘッダー */
header { background: #fff; padding: 10px 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.1);}

/* ヘッダー全体 */
.site-header {
  width: 100%;
  background-color: #f5f9ff; /* ヘッダー背景色 */
  padding: 10px 20px;
  box-sizing: border-box;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  flex-direction: column;
}
.logo-area h1 {
  margin: 0;
  font-size: 1.5em;
}
.logo-area h1 a {
  text-decoration: none;
  color: inherit;   /* 見出しの色をそのまま適用 */
}
.logo-area h1 a:hover {
  opacity: 0.8;     /* ホバー時に少し薄くしてクリック感を出す */
}
.logo-area .logo_p {
  margin: 0;
  font-size: 1.5em;
}
.logo-area .logo_p a {
  text-decoration: none;
  color: inherit;   /* 見出しの色をそのまま適用 */
  font-weight: bold;
}
.logo-area .logo_p a:hover {
  opacity: 0.8;     /* ホバー時に少し薄くしてクリック感を出す */
}
.logo-area .logo_catch {
  margin: 0;
  font-size: 0.9em;
  color: #555;
}

/* メニュー */
.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}
.site-nav ul li a {
  text-decoration: none;
  color: #1c2a4d;
  font-weight: 500;
  transition: color 0.3s;
}
.site-nav ul li a:hover {
  color: #3d8bfd;
}

/* ハンバーガーはスマホ用 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;       /* 少し大きく */
  height: 25px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 5px;      /* タップしやすく */
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* activeで×に変形 */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}
/* 追従ボタン全体 */
.floating-buttons {
  position: fixed;
  z-index: 999;
}

/* PC用（右側縦並び） */
@media (min-width: 769px) {
  .floating-buttons {
    top: 40%;
    right: 20px;
    display: flex;
    flex-direction: column;
  }

  .btn-floating {
    width: 60px;          /* 幅固定 */
    height: 120px;        /* 高さ固定 */
    margin: 0;            /* ボタン間くっつける */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    writing-mode: vertical-rl; /* 縦書き */
    text-orientation: upright;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .btn-trial { background-color: #ff7f7f; border-radius: 30px 30px 0 0; }
  .btn-plans { background-color: #3d8bfd; border-radius: 0 0 30px 30px; }

  .btn-floating:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  }
}

/* スマホ用（下部横並び横書き） */
@media (max-width: 768px) {
  .floating-buttons {
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    justify-content: center; /* ボタン中央寄せ */
    background-color: rgba(255,255,255,0.95);
    padding: 0; /* 上下余白なし */
  }

  .btn-floating {
    width: 50%;       /* 横幅半分で2つぴったり */
    height: 50px;     /* 高さ固定 */
    writing-mode: horizontal-tb; /* 横書き */
    text-orientation: initial;
    margin: 0;        /* くっつける */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 0; /* 丸めない */
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .btn-trial { background-color: #ff7f7f; }
  .btn-plans { background-color: #3d8bfd; }

  .btn-floating:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  }
}


/* フッター */
footer {
  background-color: #f5f5f5;
  padding: 20px 10px 40px; /* 下部に余白を追加 */
  text-align: center;
  position: relative;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-menu a {
  display: inline-block;
  padding: 8px 12px;
  background-color: #3d8bfd;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: background-color 0.3s;
}

.footer-menu a:hover {
  background-color: #2c6cd1;
}

/* スマホ向け調整 */
@media (max-width: 768px) {
  .footer-menu {
    flex-direction: column; /* 縦並び */
    gap: 8px;
    align-items: center;
  }
  .footer-menu a {
    width: 90%; /* 横幅を画面幅にフィット */
    text-align: center;
  }
  footer p {
    margin-top: 10px; /* コピーライトとボタンの間に余白 */
    font-size: 0.85rem;
  }
}



/* ファーストビュー */
.top-hero { position: relative; height: 70vh; overflow: hidden; }
.top-hero video { width: 100%; height: 100%; object-fit: cover; }
.top-hero-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; }
.top-hero-btn-trial { background: #ff7f7f; color: #fff; padding: 10px 20px; border-radius: 25px; font-weight: bold; }

/* ページリンク */
.quick-links { padding: 40px 20px; text-align: center; }
.link-cards a { display: inline-block; margin: 10px; padding: 15px 20px; background: #fff0f5; border-radius: 20px; color: #3d8bfd; font-weight: 500; }

/* レスポンシブ */
@media (max-width: 768px) {

  .hamburger { display: flex; }

  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* ヘッダー下 */
    right: 0;
    width: 220px; 
    background-color: rgba(245, 249, 255, 0.95); /* 少し透明感 */
    box-shadow: -2px 4px 12px rgba(0,0,0,0.2); /* オシャレな影 */
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    transition: all 0.3s ease;
  }
  .site-nav.open { display: flex; }
  .site-nav ul {
    flex-direction: column;
    padding: 0 10px;
    gap: 5px;
  }
  .site-nav ul li a {
    display: block;
    padding: 10px 15px;   /* タップしやすい */
    color: #1c2a4d;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;    /* ホバー時に丸み */
    transition: background-color 0.3s;
  }
  .site-nav ul li a:hover {
    background-color: #e0f0ff; /* ホバーで分かりやすく */
  }

  .header-container { justify-content: space-between; }

  .link-cards a { width: 100%; margin: 10px 0; }
}


/* お知らせ */
.top-news { padding: 40px 20px; background: #f9f9f9; text-align: center; }
.btn-news { display: inline-block; margin-top: 30px; background: #3d8bfd; color: #fff; padding: 8px 16px; border-radius: 20px; }
.top-news-home {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}
.top-news-home li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.2s;
}
.top-news-home li:hover {
  background: #f5f9ff;
}
.top-news-home a {
  text-decoration: none;
  color: var(--text);
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
}
.top-news-home .date {
  font-size: 0.85rem;
  color: var(--muted);
  flex-shrink: 0;
  margin: 0;
}
.top-news-home .title {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary);
  margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .news-home li {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .news-home .date {
    margin-bottom: 0.3rem;
  }
}



/* 当スタジオについてセクション */
.top-about-section { padding: 60px 20px; background: #fdf6f6; }
.top-about-container { display: flex; align-items: center; justify-content: center; gap: 40px; max-width: 1000px; margin: 0 auto; }
.top-about-image img { width: 100%; max-width: 450px; border-radius: 20px; }
.top-about-text { max-width: 500px; }
.top-about-text h2 { font-size: 2em; margin-bottom: 15px; color: #3d8bfd; }
.top-about-text p { font-size: 1em; color: #555; line-height: 1.6; }
.btn-about { display: inline-block; margin-top: 15px; padding: 10px 20px; background: #ff7f7f; color: #fff; border-radius: 25px; font-weight: bold; }
/* 料金プランセクション */
.top-plans-section { padding: 60px 20px; background: #fff; text-align: center; }
.top-plans-section h2 { font-size: 2em; color: #3d8bfd; margin-bottom: 40px; }
.top-plans-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.top-plan-card { background: #fdf0f5; padding: 30px 20px; border-radius: 20px; width: 220px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.top-plan-card h3 { font-size: 1.5em; color: #3d8bfd; margin-bottom: 10px; }
.top-plan-card p { font-size: 1em; color: #555; margin-bottom: 10px; }
.top-plan-card .price { font-weight: bold; color: #ff7f7f; font-size: 1.2em; }
.btn-plan { display: inline-block; margin-top: 25px; padding: 10px 20px; background: #ff7f7f; color: #fff; border-radius: 25px; font-weight: bold; }
/* レッスン内容セクション */
.top-lesson-section { padding: 60px 20px; background: #fff; }
.top-lesson-container { display: flex; align-items: center; justify-content: center; gap: 40px; max-width: 1000px; margin: 0 auto; }
.top-lesson-image img { width: 100%; max-width: 450px; border-radius: 20px; }
.top-lesson-text { max-width: 500px; }
.top-lesson-text h2 { font-size: 2em; color: #3d8bfd; margin-bottom: 15px; }
.top-lesson-text p { font-size: 1em; color: #555; line-height: 1.6; }
.btn-lesson { display: inline-block; margin-top: 15px; padding: 10px 20px; background: #ff7f7f; color: #fff; border-radius: 25px; font-weight: bold; }
/* アクセスセクション */
.top-access-section { padding: 60px 20px; background: #fff; }
.top-access-container { display: flex; align-items: center; justify-content: center; gap: 40px; max-width: 1000px; margin: 0 auto; }
.top-access-image img { width: 100%; max-width: 450px; border-radius: 20px; }
.top-access-text { max-width: 500px; }
.top-access-text h2 { font-size: 2em; color: #3d8bfd; margin-bottom: 15px; }
.top-access-text p { font-size: 1em; color: #555; line-height: 1.6; }
.btn-access { display: inline-block; margin-top: 15px; padding: 10px 20px; background: #ff7f7f; color: #fff; border-radius: 25px; font-weight: bold; }
/* FAQセクション */
.faq-section { padding: 60px 20px; background: #fff0f5; text-align: center; }
.faq-section h2 { font-size: 2em; color: #3d8bfd; margin-bottom: 30px; font-weight: bold; }
.faq-container { max-width: 800px; margin: 0 auto; text-align: left; }
.faq-item { border-bottom: 1px solid #ddd;padding: 10px 0; }
/* 質問ボタン */
.faq-question {
  width: 100%;
  text-align: left;
  background: #ffe6f0;
  border: none;
  padding: 15px 20px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 15px;
}
.faq-question:hover {
  background-color: rgba(61, 143, 253, 0.1); /* ホバーで薄色 */
}
/* アイコン（＋/−） */
.faq-icon { font-size: 1.5em; transition: transform 0.3s; }
/* 回答部分 */
.faq-answer {
  display: none;
  padding: 0 15px;  /* 左右の余白 */
  background-color: transparent; /* 背景透明 */
  font-size: 0.95em;
  line-height: 1.6;
  color: #555;
}
/* 開いた状態 */
.faq-item.open .faq-answer {
  max-height: 500px; /* 十分な高さ */
  padding: 10px 15px;
}


/* レスポンシブ */
@media (max-width: 768px) {
  .top-about-container { flex-direction: column; text-align: center; }
  .top-about-image img { max-width: 90%; }
  .top-plans-container { flex-direction: column; align-items: center; }
  .top-plan-card { width: 80%; }
  .lesson-container, .access-container { flex-direction: column; text-align: center; }
  .lesson-image img, .access-image img { max-width: 90%; }
  .faq-container { padding: 0 10px; }
  .faq-question { font-size: 0.95em; }
}



.main-content {
  max-width: 1000px; /* 調整可能 */
  margin: 0 auto; /* 横中央寄せ */
  padding: 40px 20px;
  text-align: center; /* テキストも中央寄せ */
}

.main-content img {
  display: block;
  margin: 0 auto 20px; /* 画像も中央寄せ */
  max-width: 100%;
  height: auto;
}

/* 当スタジオについて ページ */
/* ページ共通タイトル部分 */
.page-hero {
  text-align: center;
  padding: 60px 20px;
  background: #f5f5f5;
}
.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* スタジオ紹介セクション */
.about-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding: 60px 20px;
}
.about-text h2 {
  font-size: 1.6rem;
  margin-bottom: 40px;
  color: #333;
}
.about-text {
  flex: 1;
  min-width: 280px;
  text-align: left;
}
.about-image {
  flex: 1;
  min-width: 280px;
}
.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.greeting {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.greeting h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.greeting-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.greeting-content img {
  width: 280px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15); /* 少し影を強めて存在感アップ */
}

.greeting-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  text-align: left;
}

.greeting-text .name {
  margin-top: 20px;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: right;
}

/* PC表示では横並び */
@media (min-width: 768px) {
  .greeting-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
  .greeting-text {
    flex: 1;
  }
}


/*  料金プラン ページ */
.price-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* カード間の余白 */
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.plan-card {
  background-color: #fdf0f5;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 30px 20px;
  flex: 1 1 250px; /* 横並びの最小幅 */
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}
.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.plan-card h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #3d8bfd;
}
.plan-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}
.plan-card .price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  margin-top: 15px;
}
.price-comparison {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}
.price-comparison h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #3d8bfd;
}
.price-comparison table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.price-comparison th,
.price-comparison td {
  padding: 12px 15px;
  border: 1px solid #ddd;
}
.price-comparison th {
  background-color: #3d8bfd;
  color: #fff;
  font-weight: 600;
}
.price-comparison td {
  background-color: #f9f9f9;
  color: #333;
}
.price-comparison tr:nth-child(even) td {
  background-color: #f1f7ff;
}


/* スマホ対応 */
@media (max-width: 768px) {
  .price-list {
    flex-direction: column; /* 縦並び */
    align-items: center;
    gap: 15px;
    margin: 30px auto;
  }
  .plan-card {
    flex: none;       /* 横幅固定解除 */
    width: 90%;       /* 画面幅の90％ */
    max-width: 400px; /* 最大幅 */
    padding: 25px 15px;
  }
  .price-comparison table, 
  .price-comparison thead, 
  .price-comparison tbody, 
  .price-comparison th, 
  .price-comparison td, 
  .price-comparison tr { 
    display: block; 
  }
  .price-comparison thead {
    display: none;
  }
  .price-comparison table td:first-child {
    background-color: #3d8bfd;
    font-weight: bold;
    color:#fff;
  }
  .price-comparison td {
    text-align: center;
  }
  .price-comparison td::before {
    position: absolute;
    left: 15px;
    top: 12px;
    font-weight: 600;
    content: attr(data-label);
  }
  .price-comparison tr {
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
  }
}



/*  レッスン・スケジュールセクション ページ */
.lesson-list {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
  overflow-x: auto; /* 横スクロールでスマホ対応 */
}

.lesson-list table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
}

.lesson-list th,
.lesson-list td {
  padding: 12px 15px;
  border: 1px solid #ddd;
}

.lesson-list th {
  background-color: #3d8bfd;
  color: #fff;
  font-weight: 600;
}

.lesson-list td {
  background-color: #f9f9f9;
  color: #333;
}

.lesson-list tr:nth-child(even) td {
  background-color: #f1f7ff;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .lesson-list table, 
  .lesson-list thead, 
  .lesson-list tbody, 
  .lesson-list th, 
  .lesson-list td, 
  .lesson-list tr { 
    display: block; 
  }
  .lesson-list thead {
    display: none;
  }
  .lesson-list table td:first-child {
    background-color: #3d8bfd;
    font-weight: bold;
    color:#fff;
  }
  .lesson-list td {
    text-align: center;
    position: relative;
  }
  .lesson-list td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    top: 12px;
    font-weight: 600;
    color: #3d8bfd;
  }
  .lesson-list tr {
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
  }
}

/*  アクセス ページ */
.access-two-column {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
}

.access-two-column h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #3d8bfd;
}

.access-wrapper {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.map-area {
  flex: 2;
  border-radius: 12px;
  overflow: hidden;
  min-height: 350px;
}

.info-area {
  flex: 1;
  background: linear-gradient(135deg, #f0f7ff, #ffffff);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.info-area h2 {
  margin-bottom: 15px;
  color: #3d8bfd;
}

.info-area p {
  margin-bottom: 12px;
  color: #333;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .access-wrapper {
    flex-direction: column;
  }
  .map-area {
    min-height: 250px;
  }
}



/*  インストラクター ページ */
/* インストラクターカード */
.instructors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.instructor-card {
  background: var(--panel);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  flex: 1 1 280px;
  max-width: 300px;
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.instructor-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.instructor-card h2 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.instructor-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

/* カードにホバー効果 */
.instructor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .instructors {
    flex-direction: column;
    align-items: center;
  }

  .instructor-card {
    max-width: 90%;
    padding: 1rem;
  }

  .instructor-card img {
    width: 100px;
    height: 100px;
  }
}



/* お問い合わせページフォーム */
.contact-form {
  background: var(--panel);
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.contact-form label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 5px rgba(61, 143, 253, 0.3);
  outline: none;
}

.contact-form .required {
  color: var(--accent);
  margin-left: 0.2rem;
}

.contact-form .form-submit {
  text-align: center;
  margin-top: 1rem;
}

.contact-form button.btn {
  display: inline-block;
  background: #ff7f7f;
  color: #fff;
  font-weight: bold;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
x.contact-form button.btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

/* フォームの見出しや説明 */
.contact-form p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem;
    margin: 1.5rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  .contact-form button.btn {
    width: 100%;
    padding: 0.8rem;
  }
}

/* お知らせ ページ */
.news {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
/* お知らせ一覧 */
.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}
.news-list li {
  list-style: none;
}
.news-card {
  background: var(--panel);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.news-card a {
  text-decoration: none;
  color: var(--text);
  display: block;
}
.news-card .date {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.news-card .title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.news-card .excerpt {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

/* 詳細ページ */
.news-content {
  background: var(--panel);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  line-height: 1.6;
  font-size: 1rem;
  color: var(--text);
  margin-top: 1rem;
}

.news-date {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .news-list {
    grid-template-columns: 1fr;
  }

  .news-card {
    padding: 1rem;
  }
  .container {
    padding: 1rem;
  }

  .news-list li a {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-list .date {
    margin-bottom: 0.3rem;
  }

  .news-content {
    padding: 1.5rem;
  }
}
