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

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background-color: #f7f0e6; /* ごく薄い茶色（白に近い） */
    overflow-x: hidden;
    position: relative;
    border-top: 2px solid #5c4033; /* 焦げ茶色の2px横線を上端に */
}

/* ヘッダー */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 60px;
    background-color: transparent;
    border-bottom: none;
    position: relative;
    z-index: 10;
}

.header-left {
    flex: 0 0 auto;
    position: relative;
    z-index: 20;
    padding-left: 130px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    height: 170px;
    width: auto;
}

.logo-subtitle {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.header-center {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding-top: 30px;
    position: relative;
    z-index: 20;
}

.header-center-left {
    flex: 4;
    display: flex;
    flex-direction: column;
}

.header-center-right {
    flex: 6;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
    position: relative;
}

.vertical-line {
    width: 1px;
    height: 70%;
    background-color: #333;
    flex-shrink: 0;
}

.right-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    flex: 1;
}

.main-heading {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 0;
}

.lesson-flow-btn {
    background-color: #ffd700;
    color: #333;
    border: none;
    padding: 6px 16px;
    border-radius: 18px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lesson-flow-btn:hover {
    background-color: #ffed4e;
}

.school-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.school-title {
    font-size: 18px;
    font-weight: normal;
    color: #333;
    text-align: center;
}

.access-map-btn {
    background-color: transparent;
    border: none;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    color: #daa520;
    cursor: pointer;
    transition: color 0.3s;
}

.access-map-btn:hover {
    color: #b8860b;
}

.contact-info {
    text-align: center;
}

.contact-label {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

.header-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    padding-right: 130px;
}

.schedule-buttons {
    display: flex;
    gap: 0;
    position: relative;
    z-index: 20;
    margin-top: 0;
}

.schedule-btn {
    background-color: #8b4513;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.schedule-btn:first-child {
    border-radius: 0 0 0 15px;
}

.schedule-btn:last-child {
    border-radius: 0 0 15px 0;
}

.schedule-btn:hover {
    background-color: #a0522d;
}

.action-buttons {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 20;
    margin-top: 15px;
}

.inquiry-btn,
.trial-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: transform 0.3s;
    color: #333;
}

.trial-btn span {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
}

.inquiry-btn {
    background-color: #d2b48c;
}

.trial-btn {
    background-color: #ffd700;
}

.inquiry-btn:hover,
.trial-btn:hover {
    transform: scale(1.05);
}

.arrow {
    font-size: 16px;
}

/* メインコンテンツ */
.main-content {
    width: 100%;
    position: relative;
    margin-top: -80px; /* 薄茶色部分の縦幅を広げる */
    background-color: #ffffff; /* main-content は元の白色に */
    padding-bottom: 80px;
}

.video-container {
    width: 80%;
    margin: 0 auto;      /* 左右中央ぞろえ */
    position: relative;
}

.background-video {
    width: 100%;         /* コンテナに対して100% */
    height: auto;        /* アスペクト比を保って縮小／拡大 */
    display: block;
}


/* フッターナビゲーション */
.footer-nav {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #e0e0e0;
    padding: 15px 0;
    position: relative;
}

.footer-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background: linear-gradient(to bottom, rgba(200, 200, 200, 0.3), transparent);
}

.nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 5px 10px;
    transition: color 0.3s;
}

.nav-item:hover {
    color: #ffd700;
}

.nav-icon {
    font-size: 16px;
}

.nav-divider {
    color: #ccc;
    font-size: 14px;
}

/* レッスン対象者セクション */
.lesson-target-section {
    width: 100%;
    background-color: #f5f0e8;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.02) 2px, rgba(0, 0, 0, 0.02) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, 0.02) 2px, rgba(0, 0, 0, 0.02) 4px);
    background-size: 20px 20px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-heading {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 20px;
    color: #ffbf00;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 500;
}

.target-cards {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
}

.target-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
}

.circle-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
}

.circle-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}


.yellow-circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    background-color: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.target-card:nth-child(1) .yellow-circle,
.target-card:nth-child(2) .yellow-circle {
    left: -20px;
    right: auto;
}

.mallet-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    opacity: 1;
    position: relative;
    z-index: 3;
    display: block;
}

.target-label {
    position: absolute;
    font-size: 16px;
    color: #333;
    text-align: center;
    margin: 0;
    font-weight: 500;
    z-index: 4;
    pointer-events: none;
    white-space: nowrap;
}

.target-card:nth-child(1) .target-label,
.target-card:nth-child(2) .target-label {
    top: -20px;
    left: -20px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.target-card:nth-child(3) .target-label {
    top: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.target-card:nth-child(4) .target-label {
    top: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    line-height: 1.3;
}

/* コンテンツセクション */
.content-section {
    width: 100%;
    background-color: #ffffff;
    padding: 2px 0;
    max-height: 255px;
    overflow: hidden;
}

.content-section:first-child {
    background-color: #f5f0e8 !important;
}

.content-section:first-child .content-wrapper {
    background-color: #f5f0e8;
}

.content-section:first-child .content-text {
    justify-content: center;
    height: 100%;
    align-items: center;
}

.content-wrapper {
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    height: 251px;
}

.content-wrapper-single {
    flex-direction: column;
    height: auto;
    align-items: center;
    position: relative;
}

.content-wrapper-single .content-text {
    padding: 40px 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    align-self: center;
}

.content-wrapper-three {
    position: relative;
    height: 251px;
}

.content-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    gap: 0;
    z-index: 0;
}

.content-images-three {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 0;
}

.content-images-single {
    width: 100%;
    justify-content: center;
    position: relative;
}

.content-image {
    height: 251px;
    object-fit: cover;
    object-position: center;
}

.content-image-left {
    width: auto;
    max-width: 45%;
    position: relative;
}

.content-wrapper:not(.content-wrapper-three) .content-image-left {
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent);
    mask-image: linear-gradient(to right, black 50%, transparent);
}

.content-image-right {
    width: auto;
    max-width: 45%;
    margin-left: auto;
    position: relative;
}

.content-wrapper:not(.content-wrapper-three) .content-image-right {
    -webkit-mask-image: linear-gradient(to left, black 50%, transparent);
    mask-image: linear-gradient(to left, black 50%, transparent);
}

.content-images-three .content-image-left,
.content-images-three .content-image-right {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    height: 251px;
}

.content-images-three .content-text {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    position: relative;
    z-index: 1;
}

.content-image-single {
    max-width: 800px;
    width: 100%;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%);
}

.content-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    text-align: center;
}

.content-title {
    font-size: 36px;
    font-weight: bold;
    color: #4D3B30;
    margin: 0;
}

.content-description {
    font-size: 16px;
    color: #4D3B30;
    line-height: 1.8;
    margin: 0;
}

.content-button {
    background-color: #4D3B30;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: center;
}

.content-button:hover {
    background-color: #5a4a3f;
}

.button-arrow {
    color: #ffd700;
    margin-left: 5px;
}

/* NEWSセクション */
.news-section {
    width: 100%;
    background-color: #ffffff;
    padding: 60px 10%;
}

.news-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.news-left,
.news-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-section-title {
    font-size: 32px;
    font-weight: bold;
    color: #4D3B30;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #4D3B30;
}

.instagram-embed {
    width: 100%;
    min-height: 400px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.instagram-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
}

.instagram-posts blockquote {
    margin: 0 !important;
    max-width: 100% !important;
}

.instagram-placeholder-text {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin: 0;
    padding: 40px 20px;
}

.instagram-instruction {
    color: #999;
    font-size: 12px;
    text-align: center;
    margin: 0;
    padding: 0 20px 20px;
}

.lightwidget-widget {
    width: 100% !important;
    border: 0 !important;
    overflow: hidden !important;
}

.instagram-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    z-index: 1;
}

.instagram-fallback p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.instagram-fallback a {
    color: #4D3B30;
    text-decoration: underline;
}

.concert-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.concert-item {
    background-color: #f9f9f9;
    padding: 20px 25px;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.concert-date {
    font-size: 18px;
    font-weight: bold;
    color: #4D3B30;
    flex-shrink: 0;
    min-width: 80px;
}

.concert-name {
    font-size: 20px;
    font-weight: 600;
    color: #4D3B30;
    flex: 1;
}

.concert-button {
    background-color: #4D3B30;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-shrink: 0;
    font-weight: 500;
}

.concert-button:hover {
    background-color: #5a4a3f;
}

/* フッター */
.main-footer {
    width: 100%;
    background-color: #4D3B30;
    color: #fff;
    padding: 60px 40px 40px;
    position: relative;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-nav-columns {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column {
    flex: 1;
}

.footer-column-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-column-horizontal {
    flex: 2;
}

.footer-links-horizontal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.footer-links-horizontal li {
    margin: 0;
}

.footer-links-horizontal a {
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-links-horizontal a:hover {
    opacity: 0.7;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-company-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.footer-logo-small {
    width: 30px;
    height: 30px;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-company-name {
    font-size: 14px;
    color: #fff;
}

.footer-link {
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-main-logo {
    height: 60px;
    width: auto;
}

.footer-tagline {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.page-top-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background-color: #5a4a3f;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-top-button:hover {
    background-color: #6b5a4f;
    transform: translateY(-3px);
}

.page-top-icon {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

.page-top-text {
    font-size: 11px;
    font-weight: 500;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .header-left,
    .header-center,
    .header-right {
        width: 100%;
        align-items: center;
    }
    
    .school-info {
        justify-content: center;
    }
    
    .action-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-bar {
        font-size: 12px;
    }
    
    .nav-item {
        font-size: 12px;
        padding: 3px 5px;
    }
}

