/*
Theme Name: Mion オリジナルLPテーマ
Theme URI: http://mion-online.com/
Author: Mion Online
Author URI: http://mion-online.com/
Description: Custom theme for Mion Online music school
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mion-theme
*/

/* Reset & Base Styles */
:root {
    --primary-color: #007bff;
    --primary-color-rgb: 0, 123, 255;
    --secondary-color: #6c757d;
    --secondary-color-rgb: 108, 117, 125;
    --accent-color: #ff6b6b;
    --accent-color-rgb: 255, 107, 107;

/* MV Slider Styles */
.mv-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.mv-swiper {
    width: 100%;
    height: 100vh;
    max-height: 800px;
}

.mv-swiper .swiper-wrapper {
    height: 100%;
}

.mv-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.mv-swiper .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.mv-swiper .swiper-button-prev.swiper-button-disabled,
.mv-swiper .swiper-button-next.swiper-button-disabled,
.mv-swiper .swiper-pagination.swiper-pagination-disabled {
    display: none;
}

/* Testimonials Slider Styles */
.testimonials-slider {
    position: relative;
    width: 92%;
    overflow: hidden;
    margin: 40px 0;
}

.testimonials-swiper {
    width: 100%;
    height: auto;
}

.testimonials-swiper .swiper-wrapper {
    height: auto !important;
}

.testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.testimonial-card {
    max-width: 400px;
    margin: 0 15px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    height: 100%;
}

.testimonial-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

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

.testimonial-content {
    text-align: center;
}

.testimonial-text {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 20px;
}

.testimonial-author {
    margin-top: 15px;
}

.testimonial-name {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.testimonial-title {
    color: #666;
    font-size: 0.9em;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--primary-color);
}

.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --transition: all 0.3s ease;
}

/* Primary color */
.btn-primary,
.bg-primary {
    background-color: var(--primary-color, #007bff);
}

.text-primary {
    color: var(--primary-color, #007bff);
}

/* Secondary color */
.btn-secondary,
.bg-secondary {
    background-color: var(--secondary-color, #6c757d);
}

.text-secondary {
    color: var(--secondary-color, #6c757d);
}

/* Accent color */
.btn-accent,
.bg-accent {
    background-color: var(--accent-color, #ff6b6b);
}

.text-accent {
    color: var(--accent-color, #ff6b6b);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    background-image: url('assets/images/logo_bg.png')!important;
    background-repeat: repeat;
    background-position: center;
    background-attachment: fixed;
}

@media screen and (min-width: 769px) {
    body {
        font-size: 18px;
    }
    .section p{
        font-size: 20px;
    }
}
a.img:hover{
    text-decoration: none;
    opacity: 0.8!important;
}
.container{
    max-width: 1200px !important;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    background-color: transparent;
}
.container_plus {
    max-width: 1200px !important;
    margin: 0 auto;
    padding-left: 1.5rem; /* px-6 の代わり */
    padding-right: 1.5rem; /* px-6 の代わり */
}

/* 必要に応じてブレークポイントでの調整も考慮 */
@media (min-width: 768px) {
    .container_plus {
        padding-left: Xrem; /* md:px-Y の代わり */
        padding-right: Xrem;
    }
}

/* 白背景が必要なセクションのコンテナ */
#campaign .container,
#features .container,
#case .container,
#courses .container,
#flow .container,
#testimonials .container,
#company .container,
#faq .container {
    background-color: rgba(255, 255, 255, 1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
footer .container{
    background-color: transparent;
}

/* スクロールトップボタン */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

/* FAQアコーディオン */
.faq-accordion {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background: #f9f9f9;
    padding: .8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
}

.faq-icon {
    font-weight: bold;
    margin-right: 1rem;
    color: #333;
    font-size: 1.2rem;
}

.question-text {
    flex: 1;
    font-size: 1.2rem;
}

.toggle-icon {
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    display: flex;
}

.faq-answer .faq-icon {
    padding: .8rem;
    color: #666;
}

.answer-text {
    padding: .8rem 1rem 1rem 0;
    flex: 1;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: .8rem 0;
}

/* Header */
.site-header {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

/* 管理バー表示時のヘッダー位置調整 */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

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

.site-header.scrolled-down {
    transform: translateY(-100%);
}

.site-header.scrolled-up {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
}

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

.site-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.title-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: bold;
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.site-logo {
    width: 200px;
    height: auto;
    display: block;
    margin-bottom: -2em;
}

.tagline {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: relative;
    z-index: 100;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.primary-menu {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.primary-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.primary-menu a:hover::after {
    width: 100%;
}

/* セクション共通 */
.section {
    padding: 80px 0;
}

/* お客様の声スライダー */
.testimonials-slider {
    margin-top: 40px;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.testimonials-swiper {
    overflow: hidden;
    position: relative;
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.testimonial-content {
    margin-top: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #666;
    flex-grow: 1;
}

.testimonial-author {
    margin-top: auto;
}

.testimonial-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.testimonial-title {
    font-size: 14px;
    color: #666;
}

/* Swiperカスタマイズ */
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-primary);
    width: 40px;
    height: 40px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 24px;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px;
}

.swiper-pagination-bullet-active {
    background: var(--color-primary);
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .testimonials-slider {
        padding: 0 30px;
    }

    .testimonial-card {
        padding: 15px;
    }

    .testimonial-image {
        width: 80px;
        height: 80px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .testimonial-name {
        font-size: 16px;
    }

    .testimonial-title {
        font-size: 12px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 18px;
    }
}

/* セクション背景色 */
section {
    margin: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 40px 0;
}

/* ヘッダー分の余白 */
section:first-of-type {
    margin-top: 80px;
}

.admin-bar section:first-of-type {
    margin-top: 112px; /* 80px + 32px */
}

@media screen and (max-width: 782px) {
    .admin-bar section:first-of-type {
        margin-top: 126px; /* 80px + 46px */
    }
}
section#mv {
    padding: 0 !important;
    margin: 0 !important;
}
section#mv {
    width: 100%;
    max-width: 100%;
}

section#mv {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

section#mv .swiper {
    width: 100%;
    max-width: 100%;
}

section#mv .swiper-slide {
    width: 100% !important;
    height: auto;
}

section#mv .swiper-slide figure {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

section#mv img {
    width: 100% !important;
    max-width: 100%;
    display: block;
    height: auto;
}

@media screen and (max-width: 768px) {
    .site-header {
        position: relative !important;
    }
    section#mv .swiper {
        height: auto !important;
    }
    section#mv .swiper-slide {
        height: auto !important;
    }
    section#mv .swiper-slide figure {
        height: auto;
    }
    section#mv img {
        aspect-ratio: 16/9;
        object-fit: cover;
    }
}
section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    display: block;
    text-align: center;
    margin: 0 auto 30px;
}

section h2::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 3px;
    left: 30%;
    bottom: -10px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}
/*
.campaign-section {
    background-color: #fff5f5;
}

.features-section {
    background-color: rgba(240, 247, 255, 0.9);
}

.courses-section {
    background-color: rgba(255, 247, 240, 0.9);
}

.faq-section {
    background-color: rgba(var(--primary-color-rgb), 0.03);
}
*/
.cta-section {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}
.cta-button img{
    width: 100%;
    max-width: 400px;
    display: inline-block;
    height: auto;
}
.cta-button:hover{
    opacity: 0.8;
}
/* セクション内のコンテンツ幅 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 92%;
}

.site-title a:hover {
    color: var(--primary-color);
}

/* Campaign Section */
.campaign-section {
    padding: 40px 0;
}

.campaign-points {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.campaign-points li {
    margin: 15px 0;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.campaign-points li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Course Section Header Image */
.section-header-image-wrapper {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
}

.section-header-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* MV */
#mv {
    margin-bottom: 2rem;
}

#mv figure {
    margin: 0;
    line-height: 0;
}

#mv img {
    width: 100% !important;
    height: auto !important;
}

/* MVスライダー */
.mv-swiper {
    position: relative;
}

.mv-swiper .swiper-slide {
    height: auto;
}

.mv-swiper .swiper-button-prev,
.mv-swiper .swiper-button-next {
    color: #fff;
}

.mv-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.mv-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* Course Section */
.courses-section{
    padding: 40px 0;
    margin: 0;
    font-size: 1.2em;
}

.course-item {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.course-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.course-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.course-item p {
    color: var(--secondary-color);
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 40px 0;
}

.faq-item {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.faq-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section .button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
}

.cta-section .button:hover {
    transform: translateY(-2px);
}
.footer-menu ul{
    display: flex;
    justify-content: center;
}
.footer-menu ul li{
    margin: 0 10px;
    list-style: none;
}
.footer-menu ul li a{
    color: #ddd;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}
.footer-menu ul li a::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -10px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}
.footer-menu ul li a:hover::after{
    width: 100%;
}
.site-info{
    text-align: right;
}
/* Teachers List */
.teachers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.teacher-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);
}

.teacher-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

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

.teacher-info {
    padding: 1.5rem;
}

.teacher-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 0 0.5rem;
    color: #333;
}

.teacher-instruments {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.teacher-profile {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

.no-teachers {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .teachers-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
        margin: 1.5rem 0;
    }

    .teacher-info {
        padding: 1rem;
    }

    .teacher-name {
        font-size: 1.1rem;
    }
}

/* Footer */
.site-footer {
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 25px 0 15px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 86, 179, 0.1) 100%);
    pointer-events: none;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-title {
    display: block;
    font-size: 1.1rem;
    color: #fff;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none!important;
}

.footer-menu a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-info {
    text-align: center;
    padding: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* スクロールトップボタン */
.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.scroll-top-icon {
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }

    .phone-block, .line-block {
        width: 100%;
    }

    .footer-brand {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-menu ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
/* Responsive Design */
@media screen and (min-width: 769px) {
.mobile-menu-toggle{
	display: none !important;
}
.question-text {
    font-weight: 500;
}
}
@media screen and (max-width: 768px) {
    #campaign .container,
    #features .container,
    #case .container,
    #courses .container,
    #flow .container,
    #testimonials .container,
    #company .container,
    #faq .container {
        background-color: rgba(255, 255, 255, 1);
        padding: 22px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    img.site-logo{
        display: none!important;
    }
    .container{
        width: auto !important;
    }
    .site-branding {
        align-items: center;
        text-align: center;
    }

    .title-logo-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .site-logo {
        width: 160px;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .menu-toggle {
        display: block;
        z-index: 1000;
        margin-left: auto;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        padding: 50px 20px 20px;
        transition: .3s ease-in-out;
        z-index: 999;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        visibility: hidden;
    }

    .main-navigation.active {
        right: 0;
        visibility: visible;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: .3s ease-in-out;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    body.menu-open {
        overflow: hidden;
    }

    .primary-menu {
        flex-direction: column;
        align-items: center;
        gap: .5rem 1rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .primary-menu li {
        margin: 0;
    }

    .primary-menu a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        text-align: center;
    }
    .testimonials-slider {
        padding: 0 10px;
    }

    .campaign-section h2 {
        font-size: 1.8rem;
    }
    
    .course-item {
        padding: 15px;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    .phone-block, .line-block {
        flex: 1;
        padding: .8rem !important;
}
}
/* Contact Info */
.contact-section {
    padding: 40px 0;
    background-color: rgba(50, 50, 50, 0.9);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.3) 0%, rgba(0, 61, 127, 0.3) 100%);
    pointer-events: none;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.phone-block, .line-block {
    flex: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.phone-block:hover, .line-block:hover {
    transform: translateY(-5px);
}

.phone-label, .line-label {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.phone-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1rem 0;
    color: white;
}

.phone-hours {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.line-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.line-button:hover {
    transform: scale(1.05);
}

.line-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info .line img {
    margin: 0;
}

/* Campaign Status */
.campaign-status {
    margin: 40px 0;
    text-align: center;
}

.campaign-status p {
    margin: 10px 0;
}

.campaign-status .note {
    font-size: 0.9em;
    color: var(--secondary-color);
}

/* Video Container */
.video-container {
    margin: 40px 0;
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

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

/* Refund Guarantee */
.refund-guarantee {
    margin: 40px 0;
    padding: 30px;
    background: rgba(var(--primary-color-rgb), 0.05);
    border-radius: 10px;
}

.refund-guarantee ol {
    margin: 0;
    padding-left: 25px;
}

.refund-guarantee li {
    margin: 15px 0;
    line-height: 1.6;
}

.refund-guarantee blockquote {
    margin: 20px 0 0;
    padding: 15px;
    background: rgba(var(--accent-color-rgb), 0.1);
    border-left: 4px solid var(--accent-color);
    font-style: italic;
}

/* Images */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Section Header Image */
.section-header-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 2rem;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.button:hover {
    background: #0056b3;
}

/* FAQ Section */
.faq-section {
    padding: 40px 0;
}

.faq-section strong {
    color: #007bff;
}
.wrapp-800{
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}
.wrapp-500{
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}
/* 動画 Section */
.video_container{
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 6px 6px rgba(0,0,0,0.1);
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 2rem;
}
.video_container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    margin-left: auto;
}

.menu-toggle .hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    transition: .3s ease-in-out;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu-toggle .hamburger-line:nth-child(1) {
    top: 15px;
}

.menu-toggle .hamburger-line:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.menu-toggle .hamburger-line:nth-child(3) {
    bottom: 15px;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* モバイルナビゲーション */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        height: 100vh;
        background-color: #fff;
        padding: 30px 10px;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .main-navigation ul li {
        margin: 10px 0;
        width: 100%;
    }

    .main-navigation ul li a {
        display: block;
        padding: 10px 0;
        color: #333;
        text-decoration: none;
        font-size: 16px;
    }
    .teachers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 2fr));
    gap:.8rem;
    margin: 2rem 0;
}

}
