/* =========================
   ベース
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "YuGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  color: #333;
  background-color: #f7f7f7;
}

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

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

ul {
  margin: 0;
  padding-left: 1.2em;
}

p {
  margin: 0 0 1em;
}

/* 共通ラッパー */
.section-inner,
.header-inner,
.hero-inner,
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================
   ヘッダー
========================= */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo a {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

.site-logo .logo-sub {
  font-weight: 400;
  font-size: 0.9rem;
  margin-left: 0.25em;
}

/* PCナビ */
.pc-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
}

.pc-nav a {
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 2px;
}

.pc-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #ff7f50;
  transition: width 0.2s ease;
}

.pc-nav a:hover::after {
  width: 100%;
}

/* SPナビ・ハンバーガー */
.sp-nav {
  display: none;
}

.nav-toggle {
  background: none;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background-color: #333;
  border-radius: 2px;
}

.nav-toggle-label {
  font-size: 0.7rem;
}

/* SPメニュー */
.sp-menu {
  display: none;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.sp-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px 16px 16px;
}

.sp-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.sp-menu li:last-child {
  border-bottom: none;
}

.sp-menu a {
  display: block;
  padding: 10px 0;
  font-size: 0.95rem;
}

/* .is-open で開閉 */
.sp-menu.is-open {
  display: block;
}

/* =========================
   ボタン
========================= */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn.primary {
  background-color: #ff7f50;
  color: #ffffff;
  border-color: #ff7f50;
}

.btn.primary:hover {
  opacity: 0.9;
}

.btn.ghost {
  background-color: #ffffff;
  color: #ff7f50;
  border-color: #ff7f50;
}

.btn.ghost:hover {
  background-color: #fff3ec;
}

/* =========================
   メインビジュアル
========================= */
.hero {
  background: linear-gradient(135deg, #fff7f2, #ffffff);
  padding: 40px 0 60px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-copy {
  flex: 1.2;
}

.hero-visual {
  flex: 1;
}

.hero h1 {
  font-size: 1.8rem;
  margin: 0 0 16px;
}

.hero h1 span {
  font-size: 1.2rem;
  font-weight: 500;
}

.hero-lead {
  font-size: 0.98rem;
  margin-bottom: 20px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.hero-note {
  font-size: 0.8rem;
  color: #777;
}

.hero-placeholder {
  border-radius: 16px;
  border: 1px dashed #ffb190;
  padding: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: #999;
  background-color: #fffaf7;
}

/* SP表示用 */
.sp-only {
  display: none;
}

/* =========================
   セクション共通
========================= */
.section {
  padding: 60px 0;
  background-color: #ffffff;
}

.section-alt {
  background-color: #f5f7fa;
}

.section-title {
  font-size: 1.5rem;
  margin: 0 0 16px;
  text-align: center;
}

.section-lead {
  text-align: center;
  margin-bottom: 24px;
}

.section-inner p {
  font-size: 0.97rem;
}

/* =========================
   PROGRAMS
========================= */
.program-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.program-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
}

.program-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.program-item ul {
  margin-top: 8px;
  font-size: 0.9rem;
}

/* =========================
   FEATURES
========================= */
.feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-list li {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #f0f0f0;
}

.feature-list h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

/* =========================
   NEWS
========================= */
.news-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.news-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.news-list time {
  display: inline-block;
  font-size: 0.85rem;
  color: #777;
  margin-right: 8px;
}

/* =========================
   CONTACT
========================= */
.section-contact {
  background-color: #fff7f2;
}

.contact-box {
  margin-top: 24px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #ffd3bd;
}

.contact-note {
  font-size: 0.85rem;
  color: #777;
}

/* =========================
   フッター
========================= */
.site-footer {
  background-color: #222;
  color: #ccc;
  padding: 16px 0;
  margin-top: 40px;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 1024px) {
  .program-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pc-nav {
    display: none;
  }

  .sp-nav {
    display: block;
  }

  .hero-inner {
    flex-direction: column;
  }

  .hero {
    padding: 32px 0 40px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero h1 span {
    font-size: 1.05rem;
  }

  .program-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 40px 0;
  }

  .sp-only {
    display: inline;
  }
}
