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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #fff;
    overflow-x: hidden;
}

.hero {
    min-height: 100vh;
    background: #FF6B2B;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 105, 180, 0.1),
        rgba(65, 105, 225, 0.1));
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.header-band {
    background: #fff;
    padding: 15px 0;
    position: relative;
    margin-bottom: 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.main-title {
    font-size: 36px;
    font-weight: 900;
    color: #FF6B2B;
    text-align: center;
    margin: 0;
    padding: 10px 20px;
    line-height: 1.4;
}

.subtitle {
    font-size: 24px;
    color: #FF6B2B;
    text-align: center;
    margin-top: 10px;
    font-weight: 700;
}

.sub-theme {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-top: 15px;
    font-style: italic;
    letter-spacing: 1px;
}

.english-text {
    font-size: 16px;
    color: #666;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 主催者カードのスタイル調整 */
.member-card.organizer {
    grid-column: span 2;
}

.member-card.organizer .member-image {
    height: 400px;
}

.member-card.organizer .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center -100px;  /* -250pxから-100pxに変更して位置を調整 */
}

/* 一般メンバーとアドバイザーのカードの基本スタイル */
.member-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.member-card:nth-child(1) { z-index: 1; }
.member-card:nth-child(2) { z-index: 2; }
.member-card:nth-child(3) { z-index: 3; }
.member-card:nth-child(4) { z-index: 4; }
.member-card:nth-child(5) { z-index: 5; }
.member-card:nth-child(6) { z-index: 6; }

/* アドバイザー用の帯 */
.member-card.advisor::before {
    content: 'アドバイザー';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #FF6B2B;
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: bold;
    z-index: 3;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.member-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 107, 43, 0.2),
        rgba(255, 107, 43, 0.4)
    );
    mix-blend-mode: multiply;
}

.bottom-text {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.7), transparent);
    text-align: center;
    margin-top: 40px;
}

.bottom-text h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.event-info {
    color: #fff;
    margin-top: 20px;
}

.event-date {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.event-place {
    font-size: 18px;
    margin: 10px 0;
}

.event-capacity {
    font-size: 18px;
    margin: 10px 0;
}

.event-fee {
    font-size: 18px;
    margin: 10px 0;
}

.event-note {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.apply-button {
    display: inline-block;
    padding: 20px 40px;
    background: #FF6B2B;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 43, 0.3);
    text-align: center;
    max-width: 600px;
    margin: 20px auto;
    line-height: 1.4;
}

.button-note {
    display: block;
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.9;
}

.member-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
    z-index: 2;
}

.member-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.member-role {
    font-size: 14px;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.member-card:hover {
    transform: skew(-5deg) translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.member-card:hover .member-image img {
    transform: scale(1.1);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .member-card.organizer {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .member-card.organizer {
        grid-column: 1 / -1;
    }
    
    .member-card.organizer .member-image {
        height: 350px;
    }
    
    .member-card.organizer .member-image img {
        object-position: center -80px;  /* モバイルでも適切な位置に */
    }
}

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

    .member-card.organizer {
        grid-column: 1 / -1;
        height: 350px;
    }

    .member-card.advisor::before {
        right: -20px;
        padding: 3px 20px;
        font-size: 12px;
    }
}

/* テーマ関連のスタイルを更新 */
.theme {
    font-size: 24px;
    color: #FF6B2B;
    text-align: center;
    margin-top: 20px;
    font-weight: 900;
    letter-spacing: 2px;
}

.theme-text {
    font-size: 18px;
    color: #fff;
    opacity: 0.9;
    margin-bottom: 5px;
}

.theme-title {
    font-size: 42px;
    font-weight: 900;
    color: #FF6B2B;
    margin: 30px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    display: inline-block;
}

.theme-title::before,
.theme-title::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: #FF6B2B;
    top: 50%;
    transform: translateY(-50%);
}

.theme-title::before {
    left: -40px;
}

.theme-title::after {
    right: -40px;
}

.event-type {
    font-size: 20px;
    color: #fff;
    margin: 15px 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* イベント情報のスタイルを更新 */
.event-info {
    color: #fff;
    margin-top: 30px;
    position: relative;
}

.event-description {
    color: #fff;
    text-align: left;
    margin: 30px 0;
    max-width: 800px;
    margin: 30px auto;
    line-height: 1.8;
}

.event-description p {
    margin-bottom: 20px;
    font-size: 16px;
    opacity: 0.9;
}

.event-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

/* レスポンシブ対応を更新 */
@media (max-width: 768px) {
    .theme {
        font-size: 20px;
    }

    .theme-title {
        font-size: 36px;
    }

    .event-type {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .theme {
        font-size: 18px;
    }

    .theme-title {
        font-size: 32px;
    }

    .event-type {
        font-size: 16px;
    }

    .theme-text {
        font-size: 16px;
    }
}

/* 円満と申し込みフォームの間のハイライトセクション */
.highlight-section {
    padding: 60px 0;
    background-color: #f9f7f4;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    background-color: #FF6B2B;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 20px;
}

.highlight-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.highlight-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* 参加者の声セクション */
.testimonials {
    margin: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial-item {
    flex: 0 0 calc(50% - 15px);
    scroll-snap-align: start;
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    font-size: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author p {
    margin: 0;
    font-weight: 600;
    color: #333;
}

/* CTA バナー */
.cta-banner {
    background: linear-gradient(135deg, #FF6B2B, #FF8F6B);
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
}

.cta-banner h3 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #FF6B2B;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .highlight-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
    
    .testimonial-item {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    
    .cta-banner {
        padding: 30px 20px;
    }
    
    .cta-banner h3 {
        font-size: 24px;
    }
    
    .cta-banner p {
        font-size: 16px;
    }
}

.testimonials-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.member-card.advisor .member-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
}

/* メンバー自己紹介モーダル */
.member-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.member-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

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

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

.modal-name {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.modal-role {
    color: #FF6B2B;
    text-align: center;
    margin-bottom: 20px;
}

.modal-description {
    line-height: 1.8;
    color: #333;
}

/* 主催者ラベルのスタイル */
.organizer-label {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    background: #FF6B2B;
    display: inline-block;
    padding: 3px 15px;
    border-radius: 15px;
    margin-bottom: 8px;
    text-shadow: none;
}

/* モバイル対応 */
@media (max-width: 480px) {
    .organizer-label {
        font-size: 14px;
        padding: 2px 12px;
    }
}

.special-message {
    background: rgba(255, 107, 43, 0.05);
    border-left: 3px solid #FF6B2B;
}

.special-message .testimonial-content {
    font-style: italic;
}

.special-message .testimonial-author {
    color: #FF6B2B;
}

/* Q&Aセクションのスタイル */
.qa-section {
    padding: 60px 0;
    background: #f9f7f4;
}

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

.qa-item {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.question h3 {
    color: #FF6B2B;
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.question h3::before {
    content: "Q";
    background: #FF6B2B;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 16px;
}

.answer {
    padding-left: 38px;
    color: #333;
    line-height: 1.6;
}

/* モバイル対応 */
@media (max-width: 480px) {
    .qa-item {
        padding: 15px;
    }
    
    .question h3 {
        font-size: 16px;
    }
    
    .answer {
        font-size: 14px;
    }
}

/* いとうめいかさんの画像位置調整 */
.member-card[data-member="meika"] .member-image img {
    object-position: center -50px;  /* 上からの位置を-50pxに調整 */
}

/* モバイル対応 */
@media (max-width: 768px) {
    .member-card[data-member="meika"] .member-image img {
        object-position: center -30px;  /* モバイルでの位置調整 */
    }
}

/* 注意事項ボックスのスタイル */
.notice-box {
    background: rgba(255, 107, 43, 0.1);
    border-left: 4px solid #FF6B2B;
    padding: 20px;
    margin: 40px 0;
    border-radius: 5px;
}

.notice-box h3 {
    color: #FF6B2B;
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.notice-box h3 i {
    margin-right: 10px;
}

.notice-box p {
    color: #333;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .notice-box {
        padding: 15px;
        margin: 30px 0;
    }
    
    .notice-box h3 {
        font-size: 16px;
    }
} 