/* =============color=============================================================
   Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

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


/* ==========================================================================
   Header & Hero Section (Note: Main header styles are in header.css)
   ========================================================================== */

 .hero-section {
       position: relative;
       min-height: 100vh;
       display: flex;
       align-items: center;
       justify-content: center;
       padding: 2rem;
       background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
       overflow: hidden;
       margin: 0;
   }

   .hero-section::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       right: 0;
       bottom: 0;
       background:
           radial-gradient(circle at 20% 50%, rgba(141, 198, 63, 0.1) 0%, transparent 50%),
           radial-gradient(circle at 80% 20%, rgba(141, 198, 63, 0.1) 0%, transparent 50%),
           url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
       opacity: 0.3;
       animation: float 20s ease-in-out infinite;
   }

.main-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge Positioning */
.badge {
    display: inline-block;
    background: linear-gradient(45deg, #8BC34A, #A5D6A7);
    color: #2E7D32;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* AIはじめて安心スタート講座: センタリング */
    text-align: center;
}

.location-badge {
    display: inline-block;
    background: rgba(139, 195, 74, 0.1);
    color: #4CAF50;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(139, 195, 74, 0.3);
    margin-bottom: 2rem;
    position: absolute; /* 親要素 .main-content を基準に絶対配置 */
    top: 2rem; /* 上からの位置 */
    right: 2rem; /* 右端からの位置 */
    /* margin-bottom: 2rem; を削除、top/rightで位置指定するため */
}


/* CTA Button */
.cta {
    display: inline-block;
    padding: 16px 32px;
    margin-top: 20px;
    background: linear-gradient(45deg, #8dc63f, #a8d45f);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: box-shadow 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 6px 20px rgba(141, 198, 63, 0.35), 0 2px 4px rgba(0,0,0,0.10);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
    border: none;
    text-shadow: none;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.cta:hover::before {
    left: 100%;
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(141, 198, 63, 0.4);
}

.cta:active {
    box-shadow: 0 2px 6px rgba(141, 198, 63, 0.25), 0 1px 2px rgba(0,0,0,0.10);
    transform: translateY(1px) scale(0.98);
}

.cta-section {
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: #E2E8F0;
}

h2 {
    color: #8dc63f;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 40px;
    text-align: center;
    font-weight: bold;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #8dc63f, #a8d45f); /* Adjusted */
    border-radius: 2px;
}

.subhead {
    font-weight: 600;
    color: #203a43;
    margin-bottom: 40px;
    font-size: 1.2rem;
    text-align: center;
}

hr.custom {
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #8dc63f, #a8d45f);
    border: none;
    border-radius: 3px;
    margin: 30px auto;
}

/* ==========================================================================
   Feature Cards & Grids
   ========================================================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.features-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.features-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #8dc63f, #a8d45f);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(45deg, #8BC34A, #A5D6A7);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    color: white;
}

.feature-card h3 {
    color: #203a43;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* ==========================================================================
   Cards & Display Elements
   ========================================================================== */

.display-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-top: 4px solid #8dc63f;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card h3 {
    color: #203a43;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: #666;
    line-height: 1.6;
}

.main-card {
  max-width: 900px;
  margin: 48px auto;
  background: #f7f9fa;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(60, 80, 120, 0.10), 0 1.5px 6px rgba(60, 80, 120, 0.08);
  padding: 56px 40px;
}

/* ==========================================================================
   Curriculum Section
   ========================================================================== */

#curriculum {
    /*background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);*/
    animation: fadeInUp 0.8s ease-out;
}

#curriculum h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #8dc63f, #a8d45f); /* Adjusted */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* カリキュラム内容 */
.curriculum-content {
    margin: 2rem 0;
}

.curriculum-list {
    list-style: none;
    padding: 0;
}

.curriculum-list li {
    background: white;
    margin: 1rem 0;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #8dc63f;
    font-size: 1.1rem;
    color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.curriculum-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* プラン比較テーブル */
.plan-comparison {
    margin: 3rem 0;
}

.plan-comparison h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.plan-subhead {
    color: #666;
    font-size: 1.1rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.comparison-table {
    overflow-x: auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table th {
    background: #8dc63f;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table th.recommended {
    background: #6b9e2e;
}

.comparison-table td.category {
    background: #f8f9fa;
    font-weight: 700;
    color: #2c3e50;
    text-align: left;
}

.comparison-table .subsidy-price {
    color: #8dc63f;
    font-weight: 700;
    font-size: 1.2rem;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

/* 助成金メッセージの強調スタイル */
.highlight-message {
    padding: 3rem 2rem;
    margin: 3rem 0;
    text-align: center;
}

.highlight-title {
    color: #ff6b35;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.highlight-subtitle {
    color: #ff6b35;
    font-size: 1.5rem;
    font-weight: 700;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .curriculum-content {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .curriculum-content h3 {
        font-size: 1.5rem;
    }
    
    .curriculum-list li {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
    
    .plan-comparison h3 {
        font-size: 1.5rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .comparison-table th {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .curriculum-content {
        padding: 1rem;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.3rem;
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #8dc63f, #a8d45f); /* Adjusted */
}

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

.course-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    /* e-ラーニング: 左寄せタイトル */
    text-align: left;
    gap: 0.5rem;
}

.course-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4a5bb8;
    margin-bottom: 1.2rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, rgba(141, 198, 63, 0.15), rgba(168, 212, 95, 0.15)); /* Adjusted */
    border-radius: 30px;
    display: inline-block;
    border: 2px solid rgba(102, 126, 234, 0.4);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.course-section p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.course-section .actual-cost {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #2c3e50;
}

.course-section .actual-cost strong {
    color: #8dc63f;
    font-size: 1.2rem;
}

.course-section ul {
    list-style: none;
    padding-left: 10px;
}

.course-section li {
    margin: 0.5rem 0;
    padding: 1rem 1.5rem;
    /*border-radius: 10px;
    border-left: 3px solid #8dc63f;*/
    transition: all 0.3s ease;
    position: relative;
}

.course-section li::before {
    content: '✓';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8dc63f;
    font-weight: bold;
}

.intro-course {
    background: linear-gradient(135deg, rgba(141, 198, 63, 0.05), rgba(102, 126, 234, 0.05));
    border: 2px solid rgba(141, 198, 63, 0.3);
}

.intro-course h3 {
    font-size: 2rem;
    text-align: center;
    color: #8dc63f;
}

.intro-course h3::before {
    content: '🌟';
    margin-right: 0.5rem;
}

.highlight-badge {
    background: linear-gradient(135deg, #8dc63f, #a8d45f); /* Adjusted */
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* 基礎理解バッジ用の特別スタイル */
.highlight-badge.basic-understanding {
    background: linear-gradient(135deg, #4a90e2, #5ba0f2) !important;
}

/* ==========================================================================
   Special Sections
   ========================================================================== */

.tight-section {
    padding: 60px 0;
    text-align: center;
}

.tight-section ul {
    list-style: none;
    max-width: 700px;
    margin: 30px auto;
    text-align: left;
}

.tight-section ul li {
    margin: 15px 0;
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 30px;
}

.tight-section ul li::before {
    content: "🟡";
    position: absolute;
    left: 0;
    color: #FFD700;
}

.note {
    font-style: italic;
    color: #666;
    font-size: 1.1rem;
    margin-top: 40px;
    text-align: center;
    padding: 20px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.testimonials > div {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 5px solid #8dc63f;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #666;
}

.support-container {
    background: #203a43;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
    background: #E2E8F0;
    padding: 3rem 0;
}

.faq-container {
    max-width: 80%;
    margin: 80px auto;
    padding: 0 1rem;
}

.faq-item {
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.faq-question {
    padding: 1.2rem 1.5rem;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
    padding: 0 1.5rem;
}

.faq-answer.active {
    max-height: 1000px;
    padding: 1.2rem 1.5rem;
}

.toggle-icon {
    font-size: 1.5rem;
    color: #7CB342;
    transition: transform 0.3s;
    font-weight: bold;
}

.faq-question.active .toggle-icon {
    transform: rotate(45deg);
    color: #666;
}

/* ==========================================================================
   Footer & Contact
   ========================================================================== */

footer {
    background: linear-gradient(135deg, #203a43, #0f2027);
    color: #ffffff;
    padding: 60px 0 20px;
}

footer h2 {
    color: #ffffff;
    margin-bottom: 30px;
}

.copyright {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  font-size: 0.8em;
  color: #999;
  align-items: center; /* 垂直方向も中央にしたい場合 */
}

#scrollToTop {
  position: fixed !important;
  right: 30px !important;
  left: auto !important;
  bottom: 30px !important;
  width: 56px;
  height: 56px;
  background: #fff;
  color: #8dc63f;
  border: 3px solid #8dc63f;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  font-size: 2.2rem;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}
#scrollToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#scrollToTop:focus {
  outline: 2px solid #8dc63f;
}
#scrollToTop svg {
  display: block;
  margin: auto;
  width: 28px;
  height: 28px;
}

.google-form-center {
  display: flex;
  justify-content: center;
  width: 100%;
  background: #e6eef5;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(60, 80, 120, 0.12), 0 1.5px 6px rgba(60, 80, 120, 0.10);
  padding: 48px 0;
  overflow: hidden;
  position: relative;
}
.google-form-center iframe {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
  position: relative;
}


/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet and smaller desktop */
@media (max-width: 768px) {
    .container {
        padding: 0 20px; /* 15pxから20pxに増加 */
    }

    .main-content {
        padding: 3rem 2.5rem; /* 2.5rem 2remから3rem 2.5remに増加 */
        margin: 1.5rem 1rem; /* 1remから1.5rem 1remに変更 */
    }

    section {
        padding: 4rem 1.5rem; /* 3rem 1remから4rem 1.5remに増加 */
        margin: 0 1rem; /* 0.5remから1remに増加 */
    }

    .features-grid,
    .features-grid-4,
    .features-grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem; /* 1.5remから2remに増加 */
    }

    .feature-card,
    .card {
        padding: 2rem 1.5rem; /* 1.5remから2rem 1.5remに増加 */
        margin-bottom: 1.5rem; /* マージンを追加 */
        border-radius: 16px; /* 角丸を追加 */
    }

    .tight-section ul li {
        padding-left: 2.5rem; /* 2remから2.5remに増加 */
        margin-bottom: 1rem; /* マージンを追加 */
        font-size: 1rem; /* フォントサイズを増加 */
        line-height: 1.6; /* 行間を追加 */
    }

    #curriculum {
        padding: 3rem 0; /* 2rem 1remから3rem 1.5remに増加 */
    }

    /* カリキュラム例以降のセクションのh2フォントサイズを下げる */
    #curriculum h2,
    #faq h2,
    footer h2 {
        font-size: 1.8rem; /* 2.2remから1.8remに下げる */
        margin-bottom: 1.5rem;
        line-height: 1.4; /* 行間を追加 */
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 2rem; /* 1.5remから2remに増加 */
    }

    .course-card {
        padding: 2rem 1.5rem; /* 1.5remから2rem 1.5remに増加 */
        margin-bottom: 1.5rem; /* マージンを追加 */
        border-radius: 16px; /* 角丸を追加 */
    }

    /* Google Form adjustments */
    .google-form-center {
        padding: 2.5rem 1.5rem; /* 2rem 1remから2.5rem 1.5remに増加 */
        margin: 1.5rem 0; /* マージンを追加 */
        overflow: hidden;
        position: relative;
    }

    .google-form-center iframe {
        width: 100%;
        height: 1240px;
        border-radius: 12px; /* 角丸を追加 */
        overflow: hidden;
        position: relative;
    }

    /* FAQ adjustments */
    .faq-question {
        padding: 1.5rem; /* 1remから1.5remに増加 */
        font-size: 1rem; /* 0.95remから1remに増加 */
        line-height: 1.5; /* 行間を追加 */
    }

    .faq-answer {
        padding: 1.5rem; /* 1remから1.5remに増加 */
        line-height: 1.6; /* 行間を追加 */
    }

    /* Scroll to top button */
    #scrollToTop {
        right: 25px; /* 20pxから25pxに増加 */
        bottom: 25px; /* 20pxから25pxに増加 */
        width: 55px; /* 50pxから55pxに増加 */
        height: 55px; /* 50pxから55pxに増加 */
    }

    #scrollToTop svg {
        width: 26px; /* 24pxから26pxに増加 */
        height: 26px; /* 24pxから26pxに増加 */
    }

    /* Subhead adjustments */
    .subhead {
        font-size: 1.2rem; /* フォントサイズを増加 */
        margin-bottom: 2.5rem; /* マージンを増加 */
        line-height: 1.6; /* 行間を追加 */
    }

    /* Feature card improvements */
    .feature-card h3 {
        font-size: 1.4rem; /* フォントサイズを増加 */
        margin-bottom: 1.2rem; /* マージンを増加 */
        line-height: 1.4; /* 行間を追加 */
    }

    .feature-card p {
        font-size: 1.1rem; /* フォントサイズを増加 */
        line-height: 1.6; /* 行間を追加 */
    }

    .feature-icon {
        width: 65px; /* 60pxから65pxに増加 */
        height: 65px; /* 60pxから65pxに増加 */
        margin-bottom: 1.8rem; /* 1.5remから1.8remに増加 */
    }

    .feature-icon svg {
        width: 32px; /* 30pxから32pxに増加 */
        height: 32px; /* 30pxから32pxに増加 */
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .hero-section {
        padding: 1rem;
    }

    .cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px; /* 10pxから15pxに増加 */
    }

    .main-content {
        padding: 2.5rem 2rem; /* 2rem 1.5remから2.5rem 2remに増加 */
        margin: 1rem 0.5rem; /* 0.5remから1rem 0.5remに変更 */
        border-radius: 16px;
    }

    section {
        padding: 3rem 1rem; /* 2rem 0.5remから3rem 1remに増加 */
        margin: 0 0.5rem; /* マージンを追加 */
    }

    /* カリキュラム例以降のセクションのh2フォントサイズを下げる */
    #curriculum h2,
    #faq h2,
    footer h2 {
        font-size: 1.4rem; /* 1.8remから1.4remに下げる */
        margin-bottom: 1.2rem;
        line-height: 1.4; /* 行間を追加 */
    }

    h2::after {
        width: 80px; /* 60pxから80pxに増加 */
        height: 4px; /* 3pxから4pxに増加 */
        margin: 1rem auto; /* 0.8remから1remに増加 */
    }

    .subhead {
        font-size: 1.1rem; /* 1remから1.1remに増加 */
        margin-bottom: 2rem; /* 1.5remから2remに増加 */
        line-height: 1.6; /* 行間を追加 */
    }

    /* Feature cards */
    .feature-card {
        padding: 2rem 1.5rem; /* 1.2remから2rem 1.5remに増加 */
        margin-bottom: 1.5rem; /* 1remから1.5remに増加 */
        border-radius: 16px; /* 角丸を追加 */
    }

    .feature-card h3 {
        font-size: 1.3rem; /* 1.1remから1.3remに増加 */
        margin-bottom: 1rem; /* 0.8remから1remに増加 */
        line-height: 1.4; /* 行間を追加 */
    }

    .feature-card p {
        font-size: 1rem; /* 0.9remから1remに増加 */
        line-height: 1.6; /* 1.5から1.6に増加 */
    }

    .feature-icon {
        width: 60px; /* 50pxから60pxに増加 */
        height: 60px; /* 50pxから60pxに増加 */
        margin-bottom: 1.5rem; /* 1remから1.5remに増加 */
    }

    .feature-icon svg {
        width: 30px; /* 25pxから30pxに増加 */
        height: 30px; /* 25pxから30pxに増加 */
    }

    /* Course cards */
    .course-card {
        padding: 2rem 1.5rem; /* 1.2remから2rem 1.5remに増加 */
        margin-bottom: 1.5rem; /* 1remから1.5remに増加 */
        border-radius: 16px; /* 角丸を追加 */
    }

    .course-card h3 {
        font-size: 1.3rem; /* 1.1remから1.3remに増加 */
        margin-bottom: 1rem; /* 0.8remから1remに増加 */
        line-height: 1.4; /* 行間を追加 */
    }

    .course-section {
        padding: 2rem 0; /* 1.5remから2remに増加 */
        margin: 1rem 0; /* マージンを追加 */
    }

    .course-section ul {
        padding-left: 2rem; /* 1.5remから2remに増加 */
    }

    .course-section li {
        margin-bottom: 0.8rem; /* 0.5remから0.8remに増加 */
        font-size: 1rem; /* 0.9remから1remに増加 */
        line-height: 1.6; /* 行間を追加 */
    }

    /* Tight section */
    .tight-section {
        padding: 2rem 0; /* 1.5remから2remに増加 */
        margin: 1rem 0; /* マージンを追加 */
    }

    .tight-section ul li {
        padding-left: 2.2rem; /* 1.8remから2.2remに増加 */
        margin-bottom: 1rem; /* 0.8remから1remに増加 */
        font-size: 1rem; /* 0.9remから1remに増加 */
        line-height: 1.6; /* 行間を追加 */
    }

    .tight-section ul li::before {
        font-size: 1rem; /* 0.8remから1remに増加 */
        left: 0;
    }

    /* Testimonials */
    .testimonials > div {
        padding: 2rem 1.5rem; /* 1.2remから2rem 1.5remに増加 */
        margin-bottom: 1.5rem; /* 1remから1.5remに増加 */
        border-radius: 16px; /* 角丸を追加 */
    }

    /* FAQ */
    .faq-question {
        padding: 1.2rem; /* 0.8remから1.2remに増加 */
        font-size: 1rem; /* 0.9remから1remに増加 */
        line-height: 1.5; /* 行間を追加 */
    }

    .faq-answer {
        padding: 0 1.2rem; /* 非アクティブ時はpadding: 0 */
        font-size: 0.95rem; /* 0.85remから0.95remに増加 */
        line-height: 1.6; /* 行間を追加 */
    }

    .faq-answer.active {
        max-height: 800px;
        padding: 1.2rem; /* アクティブ時のみpaddingを設定 */
    }

    /* Google Form */
    .google-form-center {
        padding: 2rem 1rem; /* 1.5rem 0.5remから2rem 1remに増加 */
        border-radius: 16px; /* 12pxから16pxに増加 */
        margin: 1rem 0; /* マージンを追加 */
        overflow: hidden;
        position: relative;
    }

    .google-form-center iframe {
        height: 1620px;
    }

    /* Footer */
    footer {
        padding: 3rem 1rem; /* 2rem 0.5remから3rem 1remに増加 */
        margin: 1rem 0; /* マージンを追加 */
    }

    footer h2 {
        font-size: 1.6rem; /* 1.4remから1.6remに増加 */
        margin-bottom: 1.5rem; /* 1remから1.5remに増加 */
    }

    /* Scroll to top button */
    #scrollToTop {
        right: 20px; /* 15pxから20pxに増加 */
        bottom: 20px; /* 15pxから20pxに増加 */
        width: 50px; /* 45pxから50pxに増加 */
        height: 50px; /* 45pxから50pxに増加 */
        border-radius: 14px; /* 12pxから14pxに増加 */
    }

    #scrollToTop svg {
        width: 22px; /* 20pxから22pxに増加 */
        height: 22px; /* 20pxから22pxに増加 */
    }

    /* Badge */
    .badge {
        padding: 0.6rem 1.5rem; /* 0.4rem 1.2remから0.6rem 1.5remに増加 */
        font-size: 0.9rem; /* 0.8remから0.9remに増加 */
        margin-bottom: 2rem; /* 1.5remから2remに増加 */
    }

    /* Note */
    .note {
        padding: 1.5rem; /* 1remから1.5remに増加 */
        font-size: 0.95rem; /* 0.85remから0.95remに増加 */
        margin: 1.5rem 0; /* 1remから1.5remに増加 */
        line-height: 1.6; /* 行間を追加 */
        border-radius: 12px; /* 角丸を追加 */
    }

    /* Support container */
    .support-container {
        padding: 2rem 1.5rem; /* 1.5remから2rem 1.5remに増加 */
        margin: 1.5rem 0; /* 1remから1.5remに増加 */
        border-radius: 16px; /* 角丸を追加 */
    }

    /* Grid adjustments */
    .features-grid,
    .features-grid-4,
    .features-grid-2 {
        gap: 2rem; /* 1.5remから2remに増加 */
    }

    .grid {
        gap: 2rem; /* 1.5remから2remに増加 */
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }

    .main-content {
        padding: 1.5rem 1rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .main-title {
        font-size: 1.6rem;
    }

    .cta {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .google-form-center iframe {
        height: 1460px;
    }

    #scrollToTop {
        right: 10px;
        bottom: 10px;
        width: 40px;
        height: 40px;
    }

    #scrollToTop svg {
        width: 18px;
        height: 18px;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 80vh;
        padding: 1rem;
    }

    .main-content {
        padding: 2rem 1.5rem;
    }

    section {
        padding: 2rem 1rem;
    }

    .google-form-center iframe {
        height: 1260px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .feature-icon svg,
    #scrollToTop svg {
        shape-rendering: geometricPrecision;
    }
}

h3.center {
    text-align: center;
}

/* ==========================================================================
   Section Content Width Adjustments - Expanded
   ========================================================================== */

/* カリキュラム例以降のセクションのコンテンツ幅を広げる（背景1/3見えるように） */
#curriculum .container,
#faq .container,
footer .container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 40px;
}

/* ヒーローセクション内のコンテンツ幅調整（背景1/3見えるように） */
.hero-section .container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 40px;
}

/* バッジコンテナのスタイル */
.badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* ロケーションバッジの位置調整 */
.location-badge {
    order: 1; /* 最初に表示 */
    margin-bottom: 0.5rem;
}

/* メインバッジの位置調整 */
.badge {
    order: 2; /* 2番目に表示 */
    margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #curriculum .container,
    #faq .container,
    footer .container,
    .hero-section .container {
        max-width: 90%; /* 800pxから90%に変更 */
        padding: 0 25px; /* 40pxから25pxに調整 */
    }

    .badge-container {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    #curriculum .container,
    #faq .container,
    footer .container,
    .hero-section .container {
        max-width: 95%; /* 90%から95%に変更 */
        padding: 0 20px; /* 25pxから20pxに調整 */
    }

    .badge-container {
        gap: 0.6rem;
        margin-bottom: 1.2rem;
    }
}

/* ==========================================================================
   H2 Global Styling
   ========================================================================== */

/* h2を全部同じく小さめサイズに統一 */
h2 {
    font-size: 2.2rem; /* 2.5remから2.2remに下げる */
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #8dc63f; /* 黄緑色を復元 */
    position: relative;
}

/* メインタイトル（ヒーローセクション内）は元のサイズを維持 */
.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    line-height: 1.3;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem; /* 2.2remから1.8remに下げる */
        margin-bottom: 1.5rem;
    }

    .main-title {
        font-size: 2rem; /* メインタイトルは維持 */
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.6rem; /* 1.8remから1.6remに下げる */
        margin-bottom: 1.2rem;
    }

    .main-title {
        font-size: 1.5rem; /* メインタイトルは維持 */
    }

    /* スマホでh2の下線を消す */
    h2::after {
        display: none;
    }
}

/* スマホ時のみ改行するクラス */
.sp-br {
  display: none;
}
@media (max-width: 768px) {
  .sp-br {
    display: inline;
  }
  .sp-br::after {
    content: "\A";
    white-space: pre;
  }
}

@media (max-width: 768px) {
  .course-section ul {
    padding-left: 0;
  }
  .hero-section section {
    padding: 0;
  }
}

@media (min-width: 769px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-section .container {
    max-width: 100%;
    padding: 0 10px;
  }
  #faq .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  footer .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .location-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-section .container {
    max-width: 100%;
    padding: 0 5px;
  }
  #faq .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  footer .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .location-badge {
    display: none;
  }
}

/* Features Checklist */
.features-checklist {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checklist-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.checkmark {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: #8dc63f;
  flex-shrink: 0;
}

.checklist-text {
  font-size: 1.1rem;
  font-weight: 400;
  color: #2c3e50;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .features-checklist {
    padding: 1.5rem 0;
  }

  .checklist-item {
    margin-bottom: 1rem;
    padding: 0.8rem 1.2rem;
  }

  .checkmark {
    font-size: 1.3rem;
    margin-right: 0.8rem;
  }

  .checklist-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .checklist-item {
    padding: 0.7rem 1rem;
  }

  .checkmark {
    font-size: 1.2rem;
    margin-right: 0.7rem;
  }

  .checklist-text {
    font-size: 0.95rem;
  }
}

/* Why AI Section */
.info-box {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 16px rgba(141, 198, 63, 0.15);
  text-align: center;
}

.info-content h4 {
  color: #2c5e1e;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.8rem 0;
  line-height: 1.3;
}

.info-content p {
  color: #2c3e50;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .info-box {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }

  .info-content h4 {
    font-size: 1.2rem;
  }

  .info-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .info-box {
    padding: 1.2rem;
    margin: 1.2rem 0;
  }

  .info-content h4 {
    font-size: 1.1rem;
  }

  .info-content p {
    font-size: 0.95rem;
  }
}

/* Why AI Section - 専用スタイル */
#why-ai h2 {
    font-weight: 600;
}

#why-ai .subhead {
    font-weight: 400;
}
