@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Permanent+Marker&family=Share+Tech+Mono&family=Oswald:wght@700&display=swap');

@font-face {
    font-family: 'Drowner';
    src: url('fonts/Drowner-Free.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* ==========================================================================
   背景
   ========================================================================== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: #ffffff;
    background-color: #1a1a1a;
    background-image: 
        radial-gradient(rgba(255,255,255,0.05) 1px, transparent 0),
        radial-gradient(rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
}

/* ==========================================================================
   ヘッダー＆ハンバーガーメニュー
   ========================================================================== */
header {
    background-color: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 2px solid #333333;
}

.header-logo {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}
.logo-link:hover .header-logo {
    transform: scale(1.05);
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu ul li a:hover {
    color: #ff007f;
}

.menu-checkbox, .menu-btn {
    display: none;
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .header-logo {
        height: 40px;
    }

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 110;
        position: relative;
    }

    .menu-btn span,
    .menu-btn span::before,
    .menu-btn span::after {
        content: '';
        display: block;
        height: 3px;
        width: 28px;
        border-radius: 3px;
        background-color: #ffffff;
        position: absolute;
        transition: all 0.3s ease;
    }
    .menu-btn span::before { top: -9px; }
    .menu-btn span::after { top: 9px; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        z-index: 105;
        transition: all 0.4s ease;
        
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 35px;
        text-align: center;
    }

    .nav-menu ul li a {
        font-size: 1.4rem;
        letter-spacing: 1px;
        display: block;
        padding: 10px 40px;
    }

    .menu-checkbox:checked ~ .nav-menu {
        right: 0;
    }

    .menu-checkbox:checked ~ .menu-btn span {
        background-color: transparent;
    }
    .menu-checkbox:checked ~ .menu-btn span::before {
        transform: rotate(45deg);
        top: 0;
        background-color: #ff007f;
    }
    .menu-checkbox:checked ~ .menu-btn span::after {
        transform: rotate(-45deg);
        top: 0;
        background-color: #ff007f;
    }
}
/* ==========================================================================
   背景スライド
   ========================================================================== */
.hero {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 5px solid #ff007f;
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    
    animation: fade-slideshow-7elements 28s infinite ease-in-out;
}

.slide1 {
    background-image: url('images/bg1.jpg');
    animation-delay: 0s;
}
.slide2 {
    background-image: url('images/bg2.jpg');
    animation-delay: 4s;
}
.slide3 {
    background-image: url('images/bg3.jpg');
    animation-delay: 8s;
}
.slide4 {
    background-image: url('images/bg4.jpg');
    animation-delay: 12s;
}
.slide5 {
    background-image: url('images/bg5.jpg');
    animation-delay: 16s;
}
.slide6 {
    background-image: url('images/bg6.jpg');
    animation-delay: 20s;
}
.slide7 {
    background-image: url('images/bg7.jpg');
    animation-delay: 24s;
}

/* 7枚フェードタイミング */
@keyframes fade-slideshow-7elements {
    0% { opacity: 0; }
    3.5% { opacity: 1; }
    14.3% { opacity: 1; }
    17.8% { opacity: 0; }
    96.4% { opacity: 0; }
    100% { opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(2px);
    
}

.hero h1 {
    font-family: 'Drowner', monospace;
    font-size: 4rem;
    letter-spacing: 2px;
    color: #ffffff;
    letter-spacing: 2px;
    display: inline-block;
    text-shadow: 
        3px 3px 0px #ff007f, 
        6px 6px 0px #1ABFDE, 
        10px 10px 20px rgba(0, 0, 0, 0.8);
    transform: rotate(-5deg);
    margin: 15px 0;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.hero h1:hover {
    transform: rotate(-3deg) scale(1.05);
    text-shadow: 
        4px 4px 0px #ff007f, 
        8px 8px 0px #1ABFDE, 
        12px 12px 25px rgba(255, 0, 127, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #ffffff;
}
/* ==========================================================================
   無料体験レッスンボタン
   ========================================================================== */
.btn-trial {
    display: inline-block;
    padding: 15px 40px;
    color: #ffffff;
    background-color: transparent;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border: 3px solid #1ABFDE;
    border-radius: 50px;
    box-shadow: 0 0 15px #1ABFDE;
    transition: all 0.3s;
}

.btn-trial:hover {
    background-color: #1ABFDE;
    color: #1a1a1a;
    box-shadow: 0 0 30px #1ABFDE, 0 0 50px #1ABFDE;
    transform: scale(1.05);
}

/* ==========================================================================
   スタジオの特徴エリア
   ========================================================================== */
#about {
    padding: 80px 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#about h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 3rem;
    color: #ff007f;
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
    margin-bottom: 30px;
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ==========================================================================
   クラスカード
   ========================================================================== */
#class-intro {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
}

.section-sub {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 50px;
}

.class-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.class-card {
    background: #262626;
    border: 2px solid #333333;
    border-radius: 15px;
    padding: 35px 25px;
    width: 300px;
    text-align: left;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.class-card:hover {
    transform: translateY(-10px);
    border-color: #ff007f;
    box-shadow: 0 15px 30px rgba(255, 0, 127, 0.2);
}

.class-card h3 {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.8rem;
    color: #1ABFDE;
    margin: 0 0 10px 0;
}

.class-card .age {
    font-size: 0.9rem;
    color: #1ABFDE;
    font-weight: bold;
    background: rgba(26, 191, 222, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 20px;
}

.class-card .desc {
    font-size: 0.95rem;
    color: #dddddd;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 110px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.level-tag {
    font-size: 0.8rem;
    font-weight: bold;
    padding: 3px 12px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.level-tag.level-entry {
    background: rgba(0, 255, 127, 0.1);
    border: 1px solid #00ff7f;
    color: #00ff7f;
    box-shadow: 0 0 8px rgba(0, 255, 127, 0.2);
}

.level-tag.level-basic {
    background: rgba(238, 255, 0, 0.1);
    border: 1px solid #eeff00;
    color: #eeff00;
    box-shadow: 0 0 8px rgba(238, 255, 0, 0.2);
}

.instructor-box {
    font-size: 0.9rem;
    color: #aaaaaa;
    text-align: right;
    margin: 0;
}

.instructor-box {
    border-top: 1px solid #444444;
    padding-top: 15px;
    text-align: right;
    font-size: 0.85rem;
    color: #1ABFDE;
    font-weight: bold;
    letter-spacing: 1px;
}

.card-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #ff007f;
    color: #ffffff;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 0 10px #ff007f;
}

.card-badge.bg-blue {
    background: #1ABFDE;
    box-shadow: 0 0 10px #1ABFDE;
}

.inst-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.schedule-row .level-tag {
    font-size: 0.75rem;
    padding: 2px 10px;
    display: inline-block;
    text-align: center;
}

@media (max-width: 600px) {
    .inst-box {
        align-items: flex-start;
        margin-top: 5px;
    }
}

/* ==========================================================================
   スケジュールエリア
   ========================================================================== */
#schedule {
    padding: 80px 20px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4);
}

.tab-container input[type="radio"] {
    display: none;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tab-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #262626;
    border: 2px solid #444444;
    color: #aaaaaa;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #ffffff;
    border-color: #1ABFDE;
}

.tab-content {
    display: none;
    background: #262626;
    border: 2px solid #333333;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    text-align: left;
    animation: fadeIn 0.5s ease;
}

#tab-ota:checked ~ .tab-buttons label[for="tab-ota"],
#tab-missmo:checked ~ .tab-buttons label[for="tab-missmo"],
#tab-maeda:checked ~ .tab-buttons label[for="tab-maeda"],
#tab-sunsun:checked ~ .tab-buttons label[for="tab-sunsun"] {
    background: #1ABFDE;
    color: #1a1a1a;
    border-color: #1ABFDE;
    box-shadow: 0 0 15px rgba(26, 191, 222, 0.4);
}

#tab-ota:checked ~ .content-ota,
#tab-missmo:checked ~ .content-missmo,
#tab-maeda:checked ~ .content-maeda,
#tab-sunsun:checked ~ .content-sunsun {
    display: block;
}

.schedule-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 15px;
    border-bottom: 1px solid #444444;
    flex-wrap: wrap;
}

.schedule-row:last-child {
    border-bottom: none;
}

.day-badge {
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    min-width: 45px;
    text-align: center;
}
.day-badge.wed { background: #3366ff; color: #fff; }
.day-badge.thu { background: #e67e22; color: #fff; }
.day-badge.fri { background: #9b59b6; color: #fff; }
.day-badge.sat { background: #ff007f; color: #fff; box-shadow: 0 0 8px #ff007f; }

.time {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    letter-spacing: 1px;
    min-width: 120px;
}

.class-name {
    font-size: 1.1rem;
    font-weight: bold;
    flex-grow: 1;
}

.class-name .target {
    font-size: 0.9rem;
    color: #aaaaaa;
    font-weight: normal;
    margin-left: 5px;
}

.class-name .note {
    display: block;
    font-size: 0.85rem;
    color: #ff3333;
    margin-top: 5px;
}

.class-name .note-beginning {
    display: block;
    font-size: 0.85rem;
    color: #33cfff;
    margin-top: 5px;
}

.class-name.highlight {
    color: #ff007f;
    text-shadow: 0 0 5px rgba(255, 0, 127, 0.3);
}

.schedule-row .inst {
    font-size: 0.9rem;
    color: #1ABFDE;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .schedule-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .tab-buttons {
        flex-direction: column;
        width: 100%;
    }
    .tab-btn {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   アクセスエリア
   ========================================================================== */
#access {
    padding: 80px 20px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

#access-ota:checked ~ .tab-buttons label[for="access-ota"],
#access-missmo:checked ~ .tab-buttons label[for="access-missmo"],
#access-maeda:checked ~ .tab-buttons label[for="access-maeda"],
#access-sunsun:checked ~ .tab-buttons label[for="access-sunsun"] {
    background: #1ABFDE;
    color: #1a1a1a;
    border-color: #1ABFDE;
    box-shadow: 0 0 15px rgba(26, 191, 222, 0.4);
}

#access-ota:checked ~ .access-ota,
#access-missmo:checked ~ .access-missmo,
#access-maeda:checked ~ .access-maeda,
#access-sunsun:checked ~ .access-sunsun {
    display: block;
}

.access-box {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.access-info {
    flex: 1;
    background: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #444444;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.access-info h3 {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    color: #1ABFDE;
}

.access-info .address {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 15px;
}

.access-info .access-note {
    font-size: 0.85rem;
    color: #aaaaaa;
}

.map-wrapper {
    min-height: 300px;
    min-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #333333;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .access-box {
        flex-direction: column;
        gap: 15px;
    }

    .access-info {
        width: 100%;
        box-sizing: border-box;
    }

    .map-wrapper {
        width: 100%;
        height: 350px;
        min-height: 350px;
        min-width: 200px;
    }
}

/* ==========================================================================
   料金案内エリア
   ========================================================================== */
#price {
    padding: 80px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 100px;
    background: rgba(0, 0, 0, 0.4);
}

.price-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: stretch;
    margin-top: 40px;
}

.price-box-card {
    flex: 1;
    background: #262626;
    border: 2px solid #333333;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: left;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.price-box-card.highlight-card {
    border-color: #1ABFDE;
    box-shadow: 0 0 20px rgba(26, 191, 222, 0.15);
}

.price-box-card h3 {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.8rem;
    color: #ffffff;
    margin: 0 0 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-box-card h3 .jp-sub {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    color: #aaaaaa;
    font-weight: normal;
}

.price-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.item-name {
    font-size: 1.05rem;
    font-weight: bold;
}

.item-name .note-inline {
    font-size: 0.8rem;
    color: #aaaaaa;
    font-weight: normal;
    display: block;
    margin-top: 2px;
}

.item-cost {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: #ff007f;
}

.item-cost-total {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: #1ABFDE;
    text-shadow: 0 0 10px rgba(26, 191, 222, 0.3);
}

.unit-text {
    font-size: 0.9rem;
    color: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
}

.price-breakdown {
    font-size: 0.85rem;
    color: #cccccc;
    margin: -10px 0 25px 0;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 5px;
}

.price-divider {
    border: none;
    border-top: 1px dashed #444444;
    margin: 25px 0;
}

.price-notice-box {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #444444;
}

.price-box-card.highlight-card .price-notice-box {
    border-left-color: #1ABFDE;
}

.price-notice-box p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #aaaaaa;
    margin: 0 0 8px 0;
}

.price-notice-box p:last-child {
    margin-bottom: 0;
}

.price-notice-box strong {
    color: #ffffff;
}

@media (max-width: 768px) {
    .price-container {
        flex-direction: column;
        gap: 30px;
    }
    .price-box-card {
        padding: 30px 20px;
    }
}

.price-box-card.challenged-card {
    border-color: #ff007f;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.15);
}

.price-box-card.challenged-card .price-notice-box {
    border-left-color: #ff007f;
}

.item-cost-total.pink-text {
    color: #ff007f;
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.card-badge2 {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #1ABFDE;
    color: #111111;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 15px;
    border-radius: 20px;
}

.card-badge2.pink-badge {
    background: #ff007f;
    color: #ffffff;
}

/* ==========================================================================
   申し込みモーダル
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#contact-modal-top:target,
#contact-modal-bottom:target {
    display: flex;
}

.modal-window {
    background: #1a1a1a;
    border: 2px solid #1ABFDE;
    box-shadow: 0 0 30px rgba(26, 191, 222, 0.3);
    border-radius: 15px;
    width: 90%;
    max-width: 650px;
    padding: 35px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.2s;
}
.modal-close:hover { color: #ff007f; }

.modal-window h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 2rem;
    color: #ffffff;
    margin: 0 0 5px 0;
    text-align: center;
}
.modal-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: #1ABFDE;
    margin-bottom: 30px;
}

.modal-section {
    margin-bottom: 25px;
    text-align: left;
}
.modal-label {
    display: block;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.modal-radio-group {
    display: flex;
    gap: 15px;
}
.modal-radio-group input[type="radio"] {
    display: none;
}
.modal-radio-group label {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: #262626;
    border: 1px solid #444444;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: bold;
    transition: all 0.2s;
}
.modal-radio-group input[type="radio"]:checked + label {
    background: #ff007f;
    border-color: #ff007f;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.4);
}

.modal-select {
    width: 100%;
    padding: 12px;
    background: #262626;
    border: 1px solid #444444;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
}
.modal-select:focus {
    border-color: #1ABFDE;
}

.contact-methods {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    text-align: left;
}
.contact-box {
    flex: 1;
    background: #262626;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #333333;
}
.contact-box h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}
.contact-desc {
    font-size: 0.85rem;
    color: #aaaaaa;
    line-height: 1.5;
    margin-bottom: 15px;
}

.template-textarea {
    width: 100%;
    height: 100px;
    background: #1a1a1a;
    border: 1px solid #444444;
    color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    resize: none;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.line-connect-btn, .phone-number-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s;
}
.line-connect-btn { background: #06C755; color: #ffffff; }
.phone-number-btn { background: #1ABFDE; color: #1a1a1a; font-family: 'Oswald', sans-serif; font-size: 1.3rem; }

.line-connect-btn:hover, .phone-number-btn:hover {
    transform: translateY(-2px);
}

.phone-guide {
    font-size: 0.8rem;
    color: #1ABFDE;
    background: rgba(26, 191, 222, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    line-height: 1.5;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 650px) {
    .contact-methods { flex-direction: column; }
    .modal-window { padding: 20px; }
}

.bottom-cta-area {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(26, 191, 222, 0.1) 100%);
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 80px;
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 25px;
}

.btn.bottom-btn {
    display: inline-block;
    box-shadow: 0 0 20px rgba(26, 191, 222, 0.4);
}
.btn.bottom-btn:hover {
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.6);
}

/* ==========================================================================
   インストラクターエリア
   ========================================================================== */
#instructor {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.instructor-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    margin-top: 40px;
}

.instructor-card {
    flex: 1;
    background: #262626;
    border: 1px solid #333333;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.instructor-card:hover {
    transform: translateY(-5px);
    border-color: #1ABFDE;
    box-shadow: 0 0 15px rgba(26, 191, 222, 0.2);
}

.inst-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid #333333;
}

.instructor-card:hover .inst-img-wrapper {
    border-color: #ff007f;
}

.inst-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inst-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.inst-role {
    font-size: 0.8rem;
    color: #1ABFDE;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instructor-card h3.graffiti-title {
    font-size: 1.8rem;
    margin: 5px 0 10px 0;
    color: #ffffff;
}

.inst-genres {
    font-size: 0.85rem;
    color: #ff007f;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 1px dashed #444444;
    padding-bottom: 8px;
}

.inst-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cccccc;
    margin: 0;
}

@media (max-width: 768px) {
    .instructor-container {
        flex-direction: column;
        gap: 25px;
    }
    
    .instructor-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   トップに戻るボタン
   ========================================================================== */
#page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #262626;
    border: 2px solid #ff007f;
    color: #ff007f;
    border-radius: 50%;
    
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    text-decoration: none;
    z-index: 99;
    
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px);
    
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#page-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

#page-top:active {
    transform: scale(0.9);
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.9);
    transition: transform 0.1s ease;
}

@media (hover: hover) {
    #page-top.show:hover {
        background-color: #ff007f;
        color: #ffffff;
        border-color: #1ABFDE;
        box-shadow: 0 0 25px rgba(255, 0, 127, 0.5), 0 0 10px rgba(26, 191, 222, 0.5);
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    #page-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   フッター
   ========================================================================== */
footer {
    background-color: #111111;
    border-top: 3px solid #ff007f;
    padding: 60px 20px 20px 20px;
    color: #ffffff;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #222222;
}

.footer-info {
    flex: 1;
    text-align: left;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

.footer-catch {
    font-size: 0.9rem;
    color: #ff007f;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-detail {
    font-size: 0.85rem;
    color: #aaaaaa;
    line-height: 1.6;
}

.footer-nav {
    text-align: left;
}

.footer-nav h4 {
    font-family: 'Oswald', sans-serif;
    color: #1ABFDE;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #ff007f;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
}

.footer-copyright p {
    font-size: 0.75rem;
    color: #666666;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-info, .footer-nav {
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 15px auto;
    }
}

.new-badge {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #ff007f;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 0;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   テンプレコピーボタン
   ========================================================================== */
.copy-btn-wrap {
    margin-top: 15px;
    text-align: center;
    position: relative;
}

.copy-btn {
    background-color: #1a1a1a;
    border: 2px solid #1ABFDE;
    color: #1ABFDE;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 300px;
    display: inline-block;
}

.copy-btn:hover, .copy-btn:active {
    background-color: #1ABFDE;
    color: #111111;
    box-shadow: 0 0 15px rgba(26, 191, 222, 0.6);
    transform: scale(1.03);
}

.copy-message {
    display: block;
    font-size: 0.85rem;
    color: #ff007f;
    font-weight: bold;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.copy-message.show {
    opacity: 1;
    transform: translateY(0);
}