/* カラーパレット - モダングリーン */
:root {
  --primary: #2c8d6a;       /* メインカラー: 深いグリーン */
  --secondary: #ff7e5f;     /* アクセントカラー: サーモンピンク */
  --heading: #1b5e48;       /* 見出し: ダークグリーン */
  --text: #333333;          /* 通常テキスト: ダークグレー */
  --light-text: #666666;    /* 薄いテキスト: ミディアムグレー */
  --background: #ffffff;    /* 背景: 白 */
  --light-bg: #f0f7f4;      /* 薄い背景: 薄いミントグリーン */
  --header-bg: #e8f5f0;     /* ヘッダー背景: 非常に薄いグリーン */
  --card-bg: #f8f9fa;       /* カード背景: オフホワイト */
  --footer-bg: #1b5e48;     /* フッター背景: ダークグリーン */
  --success: #4caf50;       /* 成功色: グリーン */
  --border: #e0e0e0;        /* ボーダー色: ライトグレー */
  --shadow: rgba(0, 0, 0, 0.1); /* 影の色 */
}

/* 基本スタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--background);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

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

.container {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
header {
  background-color: var(--header-bg);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px var(--shadow);
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--heading);
}

.logo img {
  max-height: 50px;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: 30px;
}

.main-nav a {
  color: var(--heading);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  font-size: 1rem;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--heading);
  cursor: pointer;
}

/* メインビジュアル */
.main-visual {
  position: relative;
  margin-top: 80px;
  height: 600px;
  background-image: linear-gradient(rgb(167 163 163 / 30%), rgb(162 161 161 / 30%)), url('images/31668980_l.jpg');
  /* background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?q=80&w=2070'); */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.catch-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 60px;
}

.text1, .text2 {
  font-weight: 900;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  letter-spacing: 0.02em;
}

.text1 {
  font-size: 48px;
  line-height: 1.3;
  margin-bottom: 20px;
  margin-left: 5%;
}

.text1 span {
  color: #ffcc66;
}

.text2 {
  font-size: 36px;
  text-align: right;
  margin-right: 5%;
  margin-top: 30px;
}

/* コンテンツ */
.content-section {
  padding: 50px 0;
}

.content-section:nth-child(even) {
  background-color: var(--light-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  color: var(--heading);
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
}

.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* 見出し */
.heading-accent {
  position: relative;
  padding: 15px 20px;
  background: var(--primary);
  color: white;
  margin: 40px 0 30px;
  font-size: 1.8rem;
  border-radius: 5px;
  box-shadow: 0 3px 5px var(--shadow);
}

.heading-accent::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 10px solid transparent;
  border-top: 10px solid var(--primary);
}

/* 特徴カード */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: space-between;
  margin: 40px 0;
}

.card {
  width: 31%;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: var(--card-bg);
  box-shadow: 0 5px 15px var(--shadow);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card:hover .card-icon {
  transform: scale(1.1);
  background-color: var(--secondary);
}

.card-title {
  font-size: 1.2rem;
  width: 100%;
  padding: 15px;
  text-align: center;
  color: var(--heading);
  font-weight: bold;
  border-bottom: 2px solid var(--primary);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 20px auto 10px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(44, 141, 106, 0.2);
  transition: all 0.3s ease;
}

.card-icon i {
  font-size: 2.5rem;
  color: white;
}

.card-body {
  padding: 15px 20px 25px;
  font-size: 1rem;
}

/* 特長リスト */
.feature-list {
  max-width: 800px;
  margin: 30px auto;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  flex: 0 0 100px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  padding: 20px;
}

.feature-icon i {
  font-size: 2.5rem;
  color: white;
}

.feature-content {
  flex: 1;
  padding: 20px 25px;
}

.feature-title {
  position: relative;
  color: var(--heading);
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 10px;
  font-weight: bold;
}

.feature-title strong {
  color: var(--secondary);
}

.feature-desc {
  color: var(--light-text);
  font-size: 1.05rem;
}

/* 受講の流れ */
.flow-list {
  max-width: 800px;
  margin: 30px auto 50px;
}

.flow-item {
  position: relative;
  padding: 20px 20px 20px 70px;
  margin-bottom: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px var(--shadow);
}

.flow-item::before {
  content: attr(data-step);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.flow-item:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 39px;
  width: 2px;
  height: 30px;
  background-color: var(--secondary);
}

.flow-item strong {
  font-size: 1.15rem;
  color: var(--heading);
  display: block;
  margin-bottom: 5px;
}

.flow-desc {
  color: var(--light-text);
  font-size: 1rem;
}

.promotion-text {
  text-align: center;
  margin: 40px 0;
  padding: 30px;
  background-color: #f9f2e2;
  border-radius: 10px;
  border: 2px dashed #ffcc66;
  font-size: 1.2rem;
  line-height: 1.8;
}

.promotion-text strong {
  color: var(--secondary);
  font-size: 1.3rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--secondary);
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 15px 40px;
  border-radius: 50px;
  margin: 30px 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 126, 95, 0.3);
}

.cta-button:hover {
  background-color: #ff9a80;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(255, 126, 95, 0.4);
}

.cta-button i {
  margin-right: 10px;
}

/* タブ */
.tabs {
  margin: 40px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
}

.tab-header {
  display: flex;
  background-color: var(--light-bg);
}

.tab-btn {
  flex: 1;
  text-align: center;
  padding: 15px 10px;
  cursor: pointer;
  font-weight: 500;
  color: var(--heading);
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tab-btn i {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.tab-btn.active {
  background-color: white;
  border-bottom: 3px solid var(--secondary);
}

.tab-content {
  background-color: white;
  padding: 30px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* コースアイコン */
.course-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.course-icon {
  width: 100px;
  text-align: center;
}

.course-icon img {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px var(--shadow);
}

.course-icon:hover img {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.course-icon span {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}

/* コースレベル */
.course-level {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.course-level h4 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--heading);
  font-size: 1.2rem;
}

.level-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.02);
}

.level-badge {
  flex: 0 0 80px;
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: bold;
  text-align: center;
  margin-right: 15px;
  margin-top: 2px;
}

.level-badge.beginner {
  background-color: #e3f7e9;
  color: #2c8d6a;
}

.level-badge.intermediate {
  background-color: #fff2e0;
  color: #f0932b;
}

.level-badge.advanced {
  background-color: #ffe6e6;
  color: #eb4d4b;
}

/* アクセス情報 */
.access-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
}

.access-info {
  flex: 1;
  min-width: 300px;
}

.access-details {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
}

.access-details h4 {
  font-size: 1.2rem;
  color: var(--heading);
  margin: 20px 0 10px;
  border-left: 4px solid var(--primary);
  padding-left: 10px;
}

.access-details h4:first-child {
  margin-top: 0;
}

.access-details p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.access-map {
  flex: 2;
  min-width: 300px;
}

.access-map iframe {
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
}

/* フッター */
footer {
  background-color: var(--footer-bg);
  padding: 60px 0 30px;
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-info {
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.footer-desc {
  max-width: 400px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-nav {
  margin-bottom: 20px;
}

.footer-kids-info {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  margin-bottom: 20px;
}

.footer-kids-info h4 {
  font-size: 1.1rem;
  color: #ffcc66;
  margin-bottom: 10px;
}

.footer-kids-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.footer-kids-link {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-kids-link:hover {
  color: #ffcc66;
}

.footer-kids-link i {
  font-size: 0.8rem;
  margin-left: 5px;
  transition: all 0.3s ease;
}

.footer-kids-link:hover i {
  transform: translateX(3px);
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 10px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  width: 100%;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* 装飾要素 */
.decoration {
  position: absolute;
  z-index: -1;
  opacity: 0.5;
}

.decoration-1 {
  top: 10%;
  right: 5%;
  width: 150px;
  height: 150px;
  background-color: rgba(44, 141, 106, 0.1);
  border-radius: 50%;
}

.decoration-2 {
  bottom: 15%;
  left: 10%;
  width: 100px;
  height: 100px;
  background-color: rgba(255, 126, 95, 0.1);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* 子供向けセクション */
.kids-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin: 40px 0;
}

.kids-image {
  flex: 1;
  min-width: 300px;
}

.kids-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
}

.kids-info {
  flex: 1;
  min-width: 300px;
}

.kids-info h4 {
  font-size: 1.6rem;
  color: var(--heading);
  margin-bottom: 20px;
  line-height: 1.4;
}

.kids-info p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.kids-features {
  margin: 25px 0;
}

.kids-feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px 15px;
  background-color: rgba(44, 141, 106, 0.1);
  border-radius: 50px;
}

.kids-feature-item i {
  font-size: 1.3rem;
  color: var(--primary);
  margin-right: 15px;
}

.kids-button {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 50px;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(44, 141, 106, 0.3);
}

.kids-button:hover {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-5px);
}



/* レスポンシブメディアクエリ */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: var(--header-bg);
    transition: left 0.3s;
    z-index: 100;
    overflow-y: auto;
    box-shadow: 5px 0 15px var(--shadow);
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 20px;
  }
  
  .main-nav li {
    margin: 15px 0;
  }
  
  .text1 {
    font-size: 32px;
  }
  
  .text2 {
    font-size: 24px;
  }
  
  .card {
    width: 100%;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .heading-accent {
    font-size: 1.5rem;
  }
  
  .content-section {
    padding: 40px 0;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-info {
    width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  header{
    width: 100%;
  }
  .header-content{
    width: 100%;
    margin-left: 0px;
  }
  .container {
    width: 100%;
    padding: 0 5px;
  }
  .main-visual {
    height: 500px;
  }
  
  .catch-copy {
    margin-top: 40%;
  }

  .text1, .text2 {
    letter-spacing: -0.1050em;
  }
  
  .text1 {
    font-size: 28px;
    margin-left: 0%;
  }
  
  .text2 {
    font-size: 20px;
    margin-right: 0%;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  .intro-text {
    font-size: 1rem;
  }
  
  .feature-title, .card-title {
    font-size: 1.1rem;
  }
  
  .tab-header {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    flex: 0 0 50%;
  }
  
  .course-icons {
    gap: 10px;
  }
  
  .course-icon {
    width: calc(33.33% - 10px);
  }
  
  .level-badge {
    flex: 0 0 70px;
    font-size: 0.7rem;
  }
}

/* 拡充コンテンツのためのスタイル追加 */

/* イントロダクション追加テキスト */
.additional-text {
  max-width: 900px;
  margin: 30px auto;
  line-height: 1.8;
}

.additional-text p {
  margin-bottom: 20px;
  text-align: left;
}

.additional-text strong {
  color: var(--primary);
}

/* 特長の追加説明 */
.feature-desc-extra {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--light-text);
}

/* 受講フローの追加説明 */
.flow-extra {
  margin-top: 15px;
  padding-left: 10px;
  border-left: 2px dashed var(--primary);
}

.flow-extra p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--light-text);
}

.flow-extra ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.flow-extra li {
  margin-bottom: 5px;
  font-size: 0.95rem;
  color: var(--light-text);
}

/* プロモーション追加テキスト */
.promotion-extra {
  margin: 15px 0;
  font-size: 1.1rem;
}

.testimonial {
  margin-top: 30px;
  font-style: italic;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 15px 20px;
  border-radius: 8px;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 40px;
  color: var(--secondary);
  opacity: 0.3;
}

.testimonial-author {
  display: block;
  text-align: right;
  margin-top: 10px;
  font-weight: bold;
  font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .additional-text {
    padding: 0 15px;
  }
  
  .flow-extra {
    margin-left: 0;
  }
}

/* より魅力的なプロモーション表示のためのCSS */

.promotion-box {
  background: linear-gradient(135deg, #f9f2e2 0%, #fff8ed 100%);
  padding: 40px 30px;
  border-radius: 15px;
  position: relative;
  border: 3px dashed #ffcc66;
  margin: 50px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: visible;
}

/* 装飾要素 */
.promotion-box::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  background-color: rgba(255, 204, 102, 0.1);
  border-radius: 50%;
  top: -100px;
  right: -30px;
  z-index: 1;
}

.promotion-box::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background-color: rgba(44, 141, 106, 0.08);
  border-radius: 50%;
  bottom: -70px;
  left: -30px;
  z-index: 1;
}

.promotion-inner {
  position: relative;
  z-index: 10;
}

.promo-badge {
  position: absolute;
  top: -25px;
  right: 30px;
  background-color: var(--secondary);
  color: white;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(255, 126, 95, 0.3);
  transform: rotate(3deg);
  animation: pulse 2s infinite;
  font-size: 1.1rem;
  max-width: 90%;
  white-space: nowrap;
  overflow: visible;
  z-index: 10;
}

@keyframes pulse {
  0% {
    transform: rotate(3deg) scale(1);
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.3);
  }
  50% {
    transform: rotate(3deg) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 126, 95, 0.4);
  }
  100% {
    transform: rotate(3deg) scale(1);
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.3);
  }
}

.promo-title {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}

.promo-subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 25px;
  color: var(--heading);
}

.promo-features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 30px 0;
}

.promo-feature {
  flex: 0 0 30%;
  text-align: center;
  margin-bottom: 20px;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.promo-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.promo-feature i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.promo-feature-title {
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--heading);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(to right, var(--secondary), #ff9a80);
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 15px 40px;
  border-radius: 50px;
  margin: 15px auto 25px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 126, 95, 0.3);
  text-align: center;
  display: block;
  max-width: 400px;
}

.cta-button:hover {
  background: linear-gradient(to right, #ff9a80, var(--secondary));
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 126, 95, 0.4);
}

.satisfaction-guarantee {
  text-align: center;
  font-size: 0.95rem;
  color: var(--light-text);
  margin-top: 15px;
}

.satisfaction-guarantee i {
  color: var(--primary);
  margin-right: 5px;
}

.testimonial {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial::before {
  content: '\201C';
  font-size: 60px;
  color: var(--secondary);
  position: absolute;
  top: -30px;
  left: 20px;
  opacity: 0.3;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  text-align: right;
  font-weight: bold;
  color: var(--heading);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .promo-feature {
    flex: 0 0 100%;
  }
  
  .promo-badge {
    position: relative;
    top: 0;
    right: 0;
    margin: 0 auto 20px;
    display: block;
    width: max-content;
  }
}

@media (min-width: 769px) {
  .promotion-box {
    margin-top: 60px;
  }
  
  .promo-badge {
    width: auto;
    font-size: 1.1rem;
  }

}

/* トップへ戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  border-radius: 50%;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 10px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: white;
}

.back-to-top a:hover {
  color: white;
}

.back-to-top i {
  font-size: 1.2rem;
}

/* モバイルでのサイズ調整 */
@media (max-width: 576px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  .promotion-box::before {
    width: 150px;
    height: 150px;
    right: 0px;
  }

}


  /* コース紹介と料金ページ専用のスタイル */
  .course-pricing-container {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .course-category {
    margin-bottom: 40px;
  }
  
  .category-title {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.4rem;
  }
  
  .course-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
  }
  
  .course-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
  }
  
  .course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  
  .course-header {
    background-color: var(--primary);
    color: white;
    padding: 15px 20px;
    position: relative;
  }
  
  .course-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  
  .course-subtitle {
    font-size: 0.9rem;
    opacity: 0.85;
  }
  
  .course-body {
    padding: 20px;
  }
  
  .course-details {
    margin-bottom: 15px;
  }
  
  .course-detail-item {
    display: flex;
    margin-bottom: 10px;
  }
  
  .detail-label {
    flex: 0 0 120px;
    font-weight: 500;
    color: var(--heading);
  }
  
  .detail-value {
    flex: 1;
  }
  
  .course-description {
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
  }
  
  .pricing-info {
    background-color: var(--light-bg);
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
  }
  
  .pricing-title {
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 5px;
  }
  
  .pricing-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .price-item {
    background-color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .certification-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary);
    color: white;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
  }
  
  .course-info-box {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
  }
  
  .course-info-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
  }
  
  .course-info-box p {
    margin-bottom: 10px;
    line-height: 1.6;
  }
  
  .course-info-box ul {
    margin-left: 20px;
    margin-bottom: 15px;
  }
  
  .course-info-box li {
    margin-bottom: 5px;
  }
  
  .course-info-note {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border);
  }
  
  .course-info-note i {
    color: var(--primary);
    margin-right: 5px;
  }
  
  /* カスタマイズメッセージバナー */
  .customize-message {
    position: relative;
    background: linear-gradient(45deg, #f6f9fc, #e9f2fa);
    padding: 25px;
    margin: 0 auto 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px dashed var(--primary);
    max-width: 850px;
  }
  
  .customize-message h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
  }
  
  .customize-message p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
  }
  
  .customize-message strong {
    color: var(--secondary);
  }
  
  .customize-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary);
  }
  
  .customize-icon i {
    font-size: 1.6rem;
    color: var(--primary);
  }


    
  /* レスポンシブ対応 */
  @media (max-width: 900px) {
    .course-list {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 576px) {
    .course-detail-item {
      flex-direction: column;
    }
    
    .detail-label {
      margin-bottom: 5px;
      flex: 0px;
    }
  }
