/* 基本的なスタイル */
body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #333;
    background-color: #f9f9f9;
}

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


/* メインコンテンツ */


/* ヒーローセクション */
.hero {
    position: relative; /* テキストを画像の上に配置するための基準点 */
    height: 80vh; /* 高さを400pxに指定 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 画像のURLをここに指定してください */
    background-image: url('../images/result_top1.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-text h2 {
    font-size: 3.6rem;
    letter-spacing: 0.2em;
    margin: 0;
    font-weight: bold;
    color: #28cdd0; /* エメラルドグリーン */
    text-shadow:
        -2px -2px 5px #fff,
         2px -2px 5px #fff,
        -2px  2px 5px #fff,
         2px  2px 5px #fff; /* 白い縁取りをぼかす */
}


/* 概要セクション (Overview) */
.overview {
    padding: 60px 0 60px;
    background-color: #fff;
    text-align: center; /* セクション内の要素を中央揃え */
}

.overview-text {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 10px; /* テキストと画像の間の余白を詰める */
}

.overview-title-image {
    display: block;
    margin: 0 auto; /* 中央揃えを維持 */
    max-width: 80%; /* 画像の最大幅を80%に縮小 */
}

.overview-body {
    margin-top: 40px; /* タイトル画像との間の余白 */
    text-align: left; /* テキストを左揃えに戻す */
}

.overview-body p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5em; /* 段落ごとの下の余白 */
}

/* 総評セクション */
.summary {
    padding: 60px 0;
    background-color: #f0f0f0; /* 背景色を薄いグレーに変更 */
}

.summary h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
}

.summary-content {
    display: flex;
    align-items: center;
    gap: 30px; /* テキストと画像の間の余白 */
    margin-bottom: 40px; /* 各総評ブロックの下の余白 */
}

.summary-text {
    flex: 1; /* テキストが利用可能なスペースを埋めるようにする */
}

.summary-image {
    width: 250px; /* 画像の幅を指定 */
    height: auto;
}

.summary p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

/* ギャラリーセクション */
.gallery {
    padding: 60px 0 60px;
    background-color: #fff;
}

.gallery h2 {
    font-size: 1.4rem; /* 文字を小さく */
    text-align: center;
    margin-bottom: 40px;
    font-weight: normal; /* 文字を細く */
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 25%; /* 4枚表示 */
    padding: 0 10px;
    box-sizing: border-box;
}

.video-container {
    position: relative;
    padding-bottom: 66.7%; /* 画像のアスペクト比に合わせる */
    height: 0;
    overflow: hidden;
    width: 100%;
    cursor: pointer; /* クリック可能であることを示すカーソル */
    background-color: #000; /* 背景を黒に */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* 透明なオーバーレイ */
    z-index: 1; /* iframeの上に配置 */
    cursor: pointer; /* クリック可能であることを示す */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-caption {
    margin-top: 10px;
    text-align: center;
}

.carousel-caption p {
    margin: 0;
    font-size: 0.9rem;
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent; /* 背景を透明にする */
    color: #333; /* 矢印の色を濃いグレーにする */
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 9;
}

.carousel-button.prev {
    left: -40px;
}

.carousel-button.next {
    right: -40px;
}

/* 受賞作品セクション */
.winners {
    padding: 60px 0 60px;
    background-color: #f0f0f0; /* 背景色を薄いグレーに変更 */
}

.winners h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
}

.winners-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.winner-entry {
    display: grid;
    grid-template-columns: 0.6fr 1.2fr 1.1fr; /* 1列目を狭く、2列目を広く */
    gap: 30px; /* カラム間のマージンを空ける */
    padding: 20px; /* 左右の余白を同じにする */
    align-items: start; /* カラムの内容を一番上に揃える */
    border-radius: 5px;
    background-color: #fff; /* 奇数番目の背景色 */
}

.winners-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winners-award {
    max-width: 100%;
    height: auto;
}

.winners-thumbnail-link {
    display: block;
    text-align: center;
    overflow: hidden;
    position: relative;
    border: 1px solid #ccc;
    line-height: 0;
}

.winners-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    border: none !important;
}

.winners-thumbnail-link:hover .winners-thumbnail {
    transform: scale(1.05);
}

.winners-caption {
    margin-top: 8px;
}

.thumbnail-small {
    width: 80%; /* 画像の幅をコンテナの80%に縮小 */
    margin: 0 auto; /* 中央に配置 */
}

.winners-text {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
}

.winners-text:hover {
    text-decoration: underline;
}

.winners-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    margin-top: 0;
    text-align: left;
}

.winners-item p {
    margin-top: 0;
    margin-bottom: 10px;
}

/* ライトボックス */
.lightbox {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    /* 初期状態では非表示にする */
    display: none;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px; /* 最大幅を少し広げる */
    margin: auto;
    display: flex; /* コンテンツのサイズにコンテナを合わせる */
    justify-content: center;
    align-items: center;
}

.lightbox-content img,
.lightbox-content iframe {
    max-width: 100%;
    max-height: 90vh; /* 画面の高さの90%を上限とする */
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 15px; /* コンテンツの上端からさらに内側に配置 */
    right: 15px; /* コンテンツの右端からさらに内側に配置 */
    color: #f1f1f1;
    font-size: 40px;
    font-weight: normal; /* middleは無効な値のため修正 */
    cursor: pointer;
    z-index: 2001; /* コンテンツより手前に表示 */
    background-color: rgba(0, 0, 0, 0.4); /* 半透明の背景を少し薄く */
    border-radius: 50%; /* 円形にする */
    width: 40px; /* 幅を指定 */
    height: 40px; /* 高さを指定 */
    line-height: 38px; /* Xマークを少し上に移動 */
    text-align: center; /* テキストを水平方向の中央に */
    padding: 0; /* パディングをリセット */
}



/* Contest Info Section */
.contest-info {
    padding: 60px 20px 0;
    background-color: #fff;
}

.contest-info .contest-container {
    padding: 0 40px;
}

.contest-info .info-wrapper {
    padding: 40px 70px;
    background-color: #f6f6f2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 1050px;
    margin: 0 auto;
}

.contest-info .section-title {
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
    color: #FF6B35;
}

.contest-info .info-list {
    max-height: 150px;
    overflow-y: auto;
    padding-right: 15px;
}

/* Custom scrollbar for info-list */
.contest-info .info-list::-webkit-scrollbar {
    width: 6px;
}
.contest-info .info-list::-webkit-scrollbar-track {
    background: #e6e6e6; 
    border-radius: 4px;
}
.contest-info .info-list::-webkit-scrollbar-thumb {
    background: #b3b3b3; 
    border-radius: 4px;
}
.contest-info .info-list::-webkit-scrollbar-thumb:hover {
    background: #888; 
}

.contest-info .info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 12px;
    align-items: flex-start;
}

.contest-info .info-item:last-child {
    margin-bottom: 0;
}

.contest-info .info-label {
    font-weight: 700;
    color: #333;
    min-width: 90px;
}

.contest-info .info-value {
    color: #333;
    line-height: 1.5;
}

.contest-info .info-value a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.contest-info .info-value a:hover {
    color: #28cdd0;
    text-decoration: underline;
}

.contest-info-btn-wrapper {
    text-align: center;
    margin-top: 50px;
}

.btn-orange {
    display: inline-block;
    background-color: #FF6B35;
    color: #fff;
    padding: 18px 40px;
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
}

.btn-orange:hover {
    opacity: 0.8;
}

/* Contest Purpose Section */
.contest-purpose {
    padding: 20px 20px 0;
    background-color: #fff;
}

.contest-purpose .contest-container {
    padding: 40px;
}

.contest-purpose .contest-explanation {
    /* border: 2px solid #28cdd0; */
    border: none;
    /* border-radius: 8px; */
    padding: 50px 70px;
    background-color: #f6f6f2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 1050px;
    margin: 0 auto;
}

.contest-purpose .section-title {
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
    color: #FF6B35;
}

.contest-purpose p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

/* Biography Section */
.biography-section {
    padding-top: 0;
    background-color: #fff !important;
}

.biography-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.bio-item {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.bio-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.bio-image {
  width: 100%;
  height: auto;
  aspect-ratio: 740 / 524;
  object-fit: cover;
  /* border-radius: 16px; */
  border-radius: 0;
  margin-bottom: 0px;
}

.bio-item h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #3a3a3a;
  text-align: left;
}

.bio-item p {
  font-size: 0.98em;
  line-height: 1.6;
  color: #666;
  text-align: justify;
}

/* Judges Section */
.judges-section {
    padding: 80px 20px !important;
    background-color: #e0f7fa !important;
}

/* Contest Page Specific Novi Styles */
.contest-novi-text {
  background-color: #d9fcfa;
}

.contest-novi-text h2 {
  font-size: clamp(1.5em, 3.5vw, 2em);
  margin-bottom: clamp(10px, 1.5vw, 15px);
  color: #FF6B35;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  width: 90%;
}

.contest-novi-text h4 {
  font-size: clamp(1em, 1.8vw, 1.3em);
  line-height: 1.6;
  color: #323232;
  font-weight: 500;
  margin-bottom: clamp(15px, 2vw, 25px);
  width: 90%;
  text-align: center;
}

/* フッター */
/* Footer styles removed to use global css/style.css */

/* Themes Section */
.themes-section {
    background-color: #f8f9fa !important; /* Light grey background for the section */
}

.themes-section h2,
.awards-section h2,
.recommendation-section h2,
.after-winners-section h2,
.past-winners-section h2,
.judges-section h2 {
    color: #FF6B35;
    text-align: center;
    margin-bottom: 40px;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.theme-box {
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.03);
}

/* Individual Box Colors */
.theme-box:nth-child(1) { background-color: #fff5f5; } /* Red/Pink */
.theme-box:nth-child(2) { background-color: #fff9f0; } /* Orange */
.theme-box:nth-child(3) { background-color: #f0f7ff; } /* Blue */
.theme-box:nth-child(4) { background-color: #f0fff4; } /* Green */
.theme-box:nth-child(5) { background-color: #fdf0ff; } /* Purple */


.theme-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: #fff; /* White icon base */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.theme-icon {
    font-size: 1.8rem;
}

/* Individual Icon Colors */
.theme-box:nth-child(1) .theme-icon { color: #ff6b6b; }
.theme-box:nth-child(2) .theme-icon { color: #f9a825; }
.theme-box:nth-child(3) .theme-icon { color: #4dadf7; }
.theme-box:nth-child(4) .theme-icon { color: #51cf66; }
.theme-box:nth-child(5) .theme-icon { color: #cc5de8; }

.theme-box h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    color: #333 !important;
    line-height: 1.4 !important;
    height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center !important;
}

.theme-box p {
    font-size: 0.9rem !important;
    color: #666 !important;
    line-height: 1.6 !important;
    text-align: left !important;
    margin-bottom: 0 !important;
}

/* Awards Section */
.awards-section {
    background-color: #fff !important;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.award-item {
    text-align: center;
}

.award-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f9f9f9;
    margin-bottom: 15px;
}

/* Eligibility Section image */
.eligibility-img img {
}

.award-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

.award-item:hover img {
    transform: scale(1.15);
}

.award-item p {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #333 !important;
    margin: 0 !important;
}

.award-item p.award-count {
    font-size: 1rem !important;
    font-weight: 400 !important;
    margin-top: 5px !important;
}

/* Winners After the Contest Section */
.after-winners-section {
    background-color: #f8f8f8 !important;
    padding: 80px 0;
}

.after-winners-section .past-winner-link p {
    text-align: center !important;
}


/* Recommendation Section */
.recommendation-section {
    background-color: #f8f8f8 !important;
    padding: 80px 20px;
}

.recommendation-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 100%;
    margin: 0 auto;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.recommendation-image {
    flex: 0 0 360px;
}

.recommendation-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.recommendation-text {
    flex: 1;
}

.recommendation-text p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #333 !important;
    margin-bottom: 20px !important;
    text-align: left !important;
}

.recommendation-text .professor-name {
    text-align: left !important;
    margin-top: 30px;
    font-weight: 500;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
}

.recommendation-text .professor-name strong {
    font-size: 1.4rem;
    display: inline-block;
    margin-top: 8px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #111;
}

/* Eligibility Section Custom Flex */
.eligibility-flex {
    display: flex;
    gap: 40px;
    align-items: center;
}

.eligibility-text {
    flex: 1;
}

.eligibility-img {
    flex: 0 0 55%;
}

/* --- スマートフォン対応 (レスポンシブ) --- */
@media (max-width: 768px) {
    .contest-novi-text h2 {
      font-size: 2em; /* Larger for contest page */
    }

    .contest-novi-text h4 {
      font-size: 1.15em; /* Larger for contest page */
    }

    /* メインコンテンツ */
    main {
        padding-top: 62px; /* ヘッダーの高さ分 */
    }

    /* ヒーロー */
    .hero {
        height: 300px;
    }
    .hero-text h2 {
        font-size: 2.5rem;
    }

    /* 概要、ギャラリー、総評セクションの上下余白を詰める */
    .overview,
    .gallery,
    .summary,
    .winners {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /* 概要 */
    .overview-text {
        font-size: 1.2rem;
        line-height: 1.5; /* 行間を詰める */
    }
    .overview-title-image {
        max-width: 100%; /* 画像の最大幅を100%に戻す */
    }

    /* Info Section Mobile */
    .contest-info {
        padding-top: 20px;
    }

    .contest-info .contest-container {
        padding: 0;
    }

    .contest-info .info-wrapper {
        padding: 30px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .contest-info .section-title {
        font-size: 1.5rem !important;
    }

    .contest-info .info-label {
        min-width: 80px;
    }

    /* Purpose Section Mobile */
    .contest-purpose {
        padding-top: 20px;
        margin-top: 0;
    }

    .contest-purpose .contest-container {
        padding: 0;
    }

    .contest-purpose .contest-explanation {
        padding: 30px 0; /* 内側の余白を減らす */
        width: 100%; /* 幅を確保 */
        box-sizing: border-box;
    }

    .contest-purpose p {
        font-size: 0.95rem !important; /* スマホ版フォントサイズ調整 */
    }

    .contest-purpose .section-title {
        font-size: 1.5rem !important;
    }

    /* Mobile Padding Adjustments for Sections */
    .contest-section,
    .judges-section {
        padding: 40px 20px 20px !important; /* 上40px, 左右20px, 下20px */
    }

    /* Recommendation Section Mobile Font Sizes */
    .recommendation-section p {
        font-size: 0.95rem !important;
    }

    .recommendation-section h2,
    .past-winners-section h2,
    .judges-section h2 {
        font-size: 1.5rem !important;
        margin-bottom: 20px !important; /* タイトル下の余白を詰める */
    }

    /* Biography Section Special Handling for Mobile */
    .biography-section {
        padding-top: 0 !important; /* PCと同じく上は詰める */
    }

    /* Judge Info Mobile Width */
    .judge-info {
        max-width: 100% !important;
        padding: 0 10px; /* 少しだけ余白を入れる */
    }

    /* Reduce carosel padding on mobile */
    .judges-carousel {
        padding: 0 0px !important; /* 左右の大きな余白をなくす */
    }

    .biography-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }


    /* ギャラリー */
    .gallery h2 {
        font-size: 1.1rem;
    }
    .carousel-item {
        min-width: 100%; /* 1枚表示 */
    }
    .carousel-button {
        /* 上下中央に配置 */
        top: 50%;
        transform: translateY(-50%);
        font-size: 2rem;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.4);
        padding: 5px 10px;
    }
    .carousel-button.prev {
        left: 10px;
    }
    .carousel-button.next {
        right: 10px;
    }

    /* 総評 */
    .summary-content {
        flex-direction: column; /* 縦積みに変更 */
        gap: 10px; /* テキストと画像の間の余白をさらに詰める */
    }
    .summary-image {
        width: 250px; /* 画像を大きくする */
    }

    /* 受賞作品 */
    .winner-entry {
        grid-template-columns: 1fr; /* 1カラムレイアウトに変更 */
        gap: 20px;
    }

    .winners-item {
        text-align: left; /* テキストを左揃えに変更 */
    }

    .container {
        padding: 0 20px;
    }

    .winner-entry .winners-item:first-child {
        text-align: center; /* 1カラム目の中身だけ中央揃えに */
    }

    .winners-image {
        width: 180px; /* 1カラム目の画像の幅を小さくする */
        height: auto;
    }

    /* Themes Section Mobile */
    .themes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .theme-box {
        padding: 20px 15px;
    }

    .theme-box h3 {
        height: auto;
        min-height: 3em;
    }

    /* Awards Grid Mobile */
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Recommendation Section Mobile */
    .recommendation-content {
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 25px;
    }

    .recommendation-image {
        flex: 0 0 160px;
    }

    .recommendation-text p {
        font-size: 1rem !important;
        text-align: left;
    }

    /* Eligibility Section Mobile */
    .eligibility-flex {
        flex-direction: column;
        gap: 20px;
    }
    
    .eligibility-img {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .themes-grid {
        grid-template-columns: 1fr;
    }
}

/* ページトップへ戻るボタン */


#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fixed Backgrounds for Specific Sections */
.recommendation-section,
.after-winners-section,
.past-winners-section,
.judges-section,
.faq-section {
    background-attachment: fixed !important;
}

/* FAQ Section */
.faq-section {
    background-color: #f8f8f8 !important;
    padding: 80px 20px;
}

.faq-section h2 {
    color: #00cd07 !important;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.faq-section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1.5px;
    background-color: #00cd07;
    border-radius: 1px;
}

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

.faq-subtitle {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: clamp(1.8em, 3vw, 2em) !important;
    font-weight: 500;
    color: #00cd07 !important;
    text-align: center;
    margin: 60px 0 50px;
    position: relative;
}

.faq-subtitle::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1.5px;
    background-color: #00cd07;
    border-radius: 1px;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    padding-right: 20px;
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background-color: #00cd07;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.faq-icon::before {
    width: 14px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 14px;
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 0 24px 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
}