/* ==========================
   reset / 基本
   ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================
   ベース（ページ全体）
   ========================== */
body {
    font-family: "Noto Sans JP", sans-serif;
    color: #fff;
    line-height: 1.6;
    background-image: url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ==========================
   ヘッダー
   ========================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
}

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

.logo {
    height: 50px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.nav a:hover {
    color: #ff4500;
}

.menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-btn span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
}

/* ==========================
   hero セクション
   ========================== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background: #ff4500;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
    margin: 20px;
}

.btn:hover {
    background: #ff6347;
}

/* ==========================
   代表メッセージ
   ========================== */
.message {
    padding: 80px 20px;
    text-align: center;
}

.message h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.message .highlight {
    color: #ff4500;
    font-weight: bold;
    padding: 20px;
}

.rep-img {
    margin: 20px 0;
    width: 200px;
    border-radius: 10px;
}

.message-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.message-text {
    flex: 1 1 60%;
}

.person-card {
    flex: 1 1 40%;
}

.person-card .photo img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* ==========================
   footer
   ========================== */
.footer {
    background-color: #000;
    color: #fff;
    padding: 40px 20px 10px;
    font-family: sans-serif;
    line-height: 1.6;
}

.footer-main-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.footer-left {
    flex: 1.2;
    padding-right: 40px;
}

.footer-right {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.footer h3 {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: 5px;
    font-size: 0.95em;
}

.transportation {
    margin-top: 30px;
}

.transportation .note {
    font-size: 0.8em;
    color: #aaa;
    margin-top: 15px;
}

.map-link {
    background-color: #00ff00;
    color: #000;
    font-size: 0.7em;
    padding: 2px 4px;
    margin-left: 5px;
    border-radius: 2px;
    font-weight: bold;
    display: inline-block;
}

.footer-links {
    text-align: left;
}

.footer-links a {
    color: #00ff00;
    text-decoration: none;
    font-size: 0.95em;
    display: block;
    padding: 3px 0;
}

/* ==========================
   SNSアイコン（シンプル版）
   ========================== */
.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    /* 右寄せは flex-end */
    margin-top: 20px;
}

.social-icons .icon {
    display: inline-block;
    width: 36px;
    height: 36px;
}

.social-icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;

    display: block;
    transition: transform 0.15s ease;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

/* コピーライト下部 */
.footer-bottom {
    border-top: 1px solid #333;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.85em;
    color: #aaa;
}

/* ==========================
   固定ボタン
   ========================== */
.fixed-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff0505;
    color: #fff;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.fixed-btn:hover {
    background-color: #e04b4b;
    transform: translateY(-2px);
}

/* ==========================
   レスポンシブ
   ========================== */
@media (max-width: 768px) {
    .nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.818);
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 9999;
    }

    .nav ul li a {
        font-size: 2rem;
        /* 文字を大きく */
        font-weight: bold;
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
    }



    .nav ul.active {
        display: flex;
    }

    .menu-btn {
        position: fixed;
        width: 50px;
        top: 15px;
        right: 30px;
        z-index: 10000;
        /* メニューより上に */
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    /* ハンバーガーメニューのアクティブ状態 */
    .menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(0, 15px);
    }

    .menu-btn.active span:nth-child(2) {
        opacity: 0;
        /* 真ん中の線を消す */
    }

    .menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(0, -15px);
    }

    /* アニメーションを滑らかに */
    .menu-btn span {
        transition: all 0.3s ease;
    }






    .message-grid {
        flex-direction: column;
    }

    .person-card {
        order: 0;
        width: 100%;
    }

    .footer-main-content {
        flex-direction: column;
    }

    .footer-left,
    .footer-right {
        padding: 0;
        margin-bottom: 30px;
    }

    .footer-links {
        margin-top: 40px;
    }

    .social-icons {
        justify-content: flex-start;
    }

}

/* ==========================
   レスポンシブ   .fixed-btn { bottom:15px; right:15px; padding:12px 18px; font-size:0.9rem; }
   ========================== */













/* ========================================================================================================
   プログラム下層ページ（program-page-section）
   ======================================================================================================== */
.program-page-section {
    padding: 100px 20px 80px;
    max-width: 1000px;
    margin: 0 auto;
    color: #fff;
}

/* ページタイトルヘッダー（中央のロゴと「プログラム」テキスト） */
.page-title-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-title-header .logo-small {
    height: 35px;
    /* サイズ調整 */
    margin-bottom: 10px;
}

.page-title-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    /* 「楽しい！」などの装飾がある場合は:
    position: relative; 
    z-index: 1; */
}

/* --------------------------
   プログラムリスト
   -------------------------- */
.program-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    /* 薄い背景 */
    border-radius: 10px;
}

.program-text {
    flex: 1;
    min-width: 0;
}

.program-image {
    flex: 1;
    max-width: 40%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.program-image img {
    width: 100%;
    height: auto;
    display: block;
}

.program-item h3 {
    font-size: 1.6rem;
    color: #ff4500;
    /* メインカラー */
    margin-bottom: 5px;
    border-bottom: 2px solid rgba(255, 69, 0, 0.5);
    padding-bottom: 5px;
}

.program-item .sub-title {
    font-size: 1rem;
    color: #fff;
    font-weight: normal;
    margin-left: 10px;
}

.program-item .description {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-top: 15px;
}

/* --------------------------
   特定の項目（デザインを再現するため、画像とテキストを左右反転させる）
   -------------------------- */
/* 2番目と4番目のアイテム（e-sports と プログラミング）を反転 */
.program-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* --------------------------
   モバイル向けレスポンシブ対応
   -------------------------- */
@media (max-width: 768px) {
    .program-page-section {
        padding: 80px 15px 50px;
    }

    .page-title-header h2 {
        font-size: 2rem;
    }

    .program-item {
        flex-direction: column;
        /* 縦並びに変更 */
        gap: 20px;
        padding: 20px;
        text-align: left;
    }

    /* 左右反転設定を解除して、モバイルではすべて画像が上になるように調整 */
    .program-item,
    .program-item:nth-child(even) {
        flex-direction: column;
    }

    .program-image {
        order: -1;
        /* 画像を常にテキストの上に配置 */
        max-width: 100%;
        width: 100%;
    }

    .program-item h3 {
        font-size: 1.4rem;
    }
}

/* ==========================
   スライダー全体コンテナ
   ========================== */
.slider-container {
    position: relative;
    /* 子要素の絶対配置（矢印ボタン）に対応 */
    width: 100%;
    height: 60vh;
    /* スライダー高さ（画面の60%） */
    overflow: hidden;
    /* 横スクロールのはみ出しを隠す */
}

/* ==========================
   スライダー本体
   ========================== */
.slider {
    display: flex;
    /* 横並びにする */
    overflow-x: scroll;
    /* 横スクロールを有効にする */
    scroll-snap-type: x mandatory;
    /* 横方向スナップ */
    scroll-behavior: smooth;
    /* 滑らかスクロール */
    width: 100%;
    height: 100%;
}

/* ==========================
   各スライド
   ========================== */
.slide {
    flex: 0 0 100%;
    /* スライダー幅いっぱいに表示 */
    scroll-snap-align: start;
    /* スナップ開始位置を先頭に */
    display: flex;
    /* 画像を中央に配置するため */
    justify-content: center;
    align-items: center;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像の縦横比を保ってフィット */
}

/* ==========================
   矢印ボタン
   ========================== */
.slider-btn {
    position: absolute;
    /* スライダー上に重ねる */
    top: 50%;
    /* 上から50%の位置 */
    transform: translateY(-50%);
    /* 真ん中に合わせる */
    background-color: rgba(0, 0, 0, 0.5);
    /* 半透明黒 */
    color: #fff;
    /* 白文字 */
    border: none;
    padding: 10px 20px;
    font-size: 2rem;
    /* 矢印を大きく表示 */
    cursor: pointer;
    z-index: 10;
    /* スライドより前面に表示 */
    border-radius: 5px;
    transition: background-color 0.3s;
    /* ホバーで色を変える */



}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    /* ホバー時に濃くする */
}

/* 左右の位置を調整 */
.slider-btn.prev {
    left: 10px;
}

/* 左矢印 */
.slider-btn.next {
    right: 10px;
}

/* 右矢印 */



/* フォーム */
body {
    /* 背景色を黒、文字色を白、フォントを設定 */
    background-color: #000;
    color: #fff;
    font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.6;
}

/* リンクの色設定 */
a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

/* ヘッダー/ナビゲーション（上部メニュー） */
.header {
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav a {
    color: #fff;
    padding: 5px 10px;
    font-size: 0.9em;
}

/* メインコンテンツのスタイリング */
.main-content {
    padding: 40px 20px;
    max-width: 800px;
    /* フォームの最大幅 */
    margin: 0 auto;
}

/* セクションタイトル */
.section-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: normal;
    margin-bottom: 40px;
    padding-bottom: 10px;
}

/* フォーム上の説明文 */
.intro-text p {
    margin-bottom: 15px;
    font-size: 0.95em;
}

.privacy-link {
    color: #00a854;
    /* 緑色のリンク */
    text-decoration: underline;
}

/* 電話/フォーム問い合わせ情報のボックス */
.contact-info {
    text-align: center;
    margin: 30px 0;
    padding: 20px 0;
}

.phone-contact {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin: 40px 0;
}

.phone-number {
    color: #00a854;
    /* 電話番号を緑色に */
    font-size: 2em;
    font-weight: bold;
    margin: 10px 0;
}

.reception-time {
    font-size: 1.1em;
}

/* フォーム本体のスタイリング */
.contact-form {
    padding-top: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label,
.group-label {
    display: block;
    margin-bottom: 8px;
    font-size: 1em;
    font-weight: bold;
}

/* 必須マークのスタイリング */
.required {
    color: #00a854;
    font-weight: bold;
    margin-left: 5px;
}

/* テキスト/メール/電話番号入力欄、テキストエリア */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    background-color: #ffffff;
    /* 入力欄の背景色 */
    color: #fff;
    font-size: 1em;
    border-radius: 4px;
    /* 枠線は画像通りに角を落としています */
}

/* ラジオボタンのグループ */
.radio-group .radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px;
}

.radio-group label {
    font-weight: normal;
    cursor: pointer;
}

/* 注意書きボックス */
.disclaimer-box {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 25px;
    margin: 40px 0;
    font-size: 0.9em;
}

.disclaimer-box h4 {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #333;
}

/* 送信ボタン */
.submit-btn {
    display: block;
    width: 200px;
    padding: 15px;
    margin: 0 auto;
    background-color: #00a854;
    /* 緑色のボタン */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #007f3e;
}


/* フッターのスタイリング */
.footer {
    border-top: 1px solid #333;
    padding: 30px 20px 10px;
    font-size: 0.85em;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 20px;
    gap: 30px;
    /* モバイル対応のため、flex-wrapを追加 */
    flex-wrap: wrap;
}

.footer-service,
.footer-company {
    flex: 1 1 45%;
    /* 幅の調整 */
    min-width: 300px;
}

.footer h4 {
    color: #00a854;
    margin-bottom: 10px;
    font-size: 1em;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.social-links a {
    margin: 0 10px;
    /* 画像のSNSアイコンは画像で表示されているため、ここでは色のみで表現 */
    color: #00a854;
    font-size: 1.5em;
}

.copyright {
    margin-top: 10px;
    font-size: 0.75em;
    color: #666;
}



h1.section-title {
    margin: 30px auto 10px;
}

/* --- レスポンシブ対応 (最小限) --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2em;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-service,
    .footer-company {
        min-width: 100%;
        text-align: center;
    }
}



/* ==========================
   FAQページ
   ========================== */

.faq-page {
    padding: 120px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.faq-header p {
    font-size: 1rem;
    color: #ccc;
}

/* FAQリスト */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 各質問 */
.faq-item {
    background: rgba(0, 0, 0, 0.501);
    border-radius: 10px;
    padding: 20px 25px;
    cursor: pointer;
}

.faq-item summary {
    font-size: 1.1rem;
    font-weight: bold;
    list-style: none;
    position: relative;
    padding-right: 30px;
}

.faq-item summary::after {
    content: "＋";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.4rem;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    content: "−";
}

/* 回答文 */
.faq-item p {
    margin-top: 15px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #eee;
}

/* モバイル */
@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2rem;
    }
}

/* ==========================
   アクセスページ
   ========================== */

.access-page {
    padding: 120px 20px 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.access-header {
    text-align: center;
    margin-bottom: 50px;
}

.access-header h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.access-header p {
    color: #ccc;
}

/* レイアウト */
.access-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
    /* ← これ重要 */
}

/* 地図 */
.access-map {
    flex: 1;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 情報 */
.access-info {
    flex: 1;
    background: rgba(10, 10, 10, 0.337);
    padding: 30px;
    border-radius: 12px;
}

.access-info h2 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.access-info dl {
    margin-bottom: 30px;
}

.access-info dt {
    font-weight: bold;
    margin-top: 15px;
    color: #00a854;
}

.access-info dd {
    margin-left: 0;
    margin-top: 5px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.access-btn {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .access-content {
        display: block;
        /* or flex + column */
    }

    .access-map {
        height: 500px;
        /* ← ここが肝 */
        margin-bottom: 24px;
    }

    .access-map iframe {
        height: 100%;
    }
}

/* =====================
  お知らせ一覧
===================== */

.news-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px 80px;
}

.news-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0;
}

.news-item time {
    font-size: 0.8rem;
    opacity: 0.7;
    display: block;
    margin-bottom: 6px;
}

.news-item h2 {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* タグ */
.news-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.15);
}

/* 作品別色 */
.news-item.video .news-tag {
    background: rgba(255, 80, 0, 0.85);
}

.news-item.music .news-tag {
    background: rgba(0, 130, 255, 0.85);
}

.news-item.illustration .news-tag {
    background: rgba(0, 170, 90, 0.85);
}

/* =====================
  詳細ページ
===================== */

.news-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.news-detail h1 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.news-detail time {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* 作品表示 */

.work-media {
    margin: 30px 0;
}

/* 動画 */
.work-media.video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
}

/* 音楽 */
.work-media.music audio {
    width: 100%;
}

/* イラスト */
.work-media.illustration img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

.work-description {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* フォントかえてみた*/
.dotgothic16-regular {
    font-family: "DotGothic16", sans-serif;
    font-weight: bold;
    font-style: normal;
}


/* スクロールバー変えた！！ */
.slider {
    overflow-x: auto;
}

/* スクロールバー全体 */
.slider::-webkit-scrollbar {
    height: 8px;
    /* 下のバーの太さ */
}

/* バーの背景（溝） */
.slider::-webkit-scrollbar-track {
    background: #4646468d;
    /* ← ここ */
    border-radius: 4px;
}

/* 動く部分（つまみ） */
.slider::-webkit-scrollbar-thumb {
    background: #00ff40;
    /* ← メインカラー */
    border-radius: 4px;
}

/* ホバー時 */
.slider::-webkit-scrollbar-thumb:hover {
    background: #028322;
}

/* 📱 スマホ用 */
@media screen and (max-width: 768px) {
    .person-card .photo img {
        max-width: 300px;
        /* ← スマホで小さく */
    }
}