@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Reggae+One&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.0/css/all.min.css');

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fff;
    color: #333;
}

header {
    background-color: #222;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    position: relative;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-section {
    height: 60px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.site-title {
    font-size: 1.2em;
    color: #fff;
    margin: 0;
    font-weight: 700;
    white-space: nowrap;
    font-family: 'Reggae One', serif;
}

.logo-section a:hover {
    text-decoration: none;
}

.logo-section img {
    height: 100%;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
}

nav {
    display: flex;
    gap: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5em;
    cursor: pointer;
    padding: 10px;
}

nav > ul {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

nav > ul > li {
    position: relative;
}

nav > ul > li > a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

nav > ul > li > a:hover {
    background-color: #444;
    text-decoration: none;
}

.dropdown {
    position: relative;
}

.dropdown > ul {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    padding: 0;
    margin: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.dropdown:hover > ul {
    opacity: 1;
    visibility: visible;
}

.dropdown > ul > li > a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.dropdown > ul > li > a:hover {
    background-color: #555;
    text-decoration: none;
}

main {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero img {
    max-width: 100%;
    height: auto;
    display: block;
    width: 100%;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #222;
}

.thanks-image {
    margin: 20px 0;
    text-align: center;
}

.thanks-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    margin-bottom: 30px;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.7),
        -1px -1px 3px rgba(0, 0, 0, 0.9),
        0px 0px 10px rgba(0, 0, 0, 0.6);
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 2.1em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    margin-top: 30px;
    color: #333;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.3em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #444;
}

p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

ul {
    margin-left: 20px;
}

ul li {
    margin-bottom: 8px;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #ff6b35;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e55a2b;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.workshop-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.workshop-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

.footer-content h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #ffd700;
}

.footer-content {
    color: #fff;
}

.footer-content h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #fff;
    font-family: 'Reggae One', serif;
}

.footer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
}

.footer-content p {
    margin: 0;
    font-size: 0.9em;
    color: #fff;
}

.footer-links {
    margin: 15px 0;
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.3em;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        gap: 15px;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #222;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 500px;
    }

    nav > ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    nav > ul > li > a {
        border-bottom: 1px solid #444;
    }

    .dropdown > ul {
        position: static;
        opacity: 0;
        visibility: hidden;
        background-color: #444;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.3s, visibility 0.3s, max-height 0.3s;
    }

    .dropdown > ul.active {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .dropdown:hover > ul {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }
}

/* メンバーページ */
.intro-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #ddd;
}

.intro-section h3 {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #333;
}

.members-section {
    margin-top: 40px;
}

.member-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* PCで左右に並べるペアの設定 */
@media (min-width: 1024px) {
    .members-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        align-items: start;
    }

    .members-section h2 {
        grid-column: 1 / -1;
    }

    /* 1番目（斉名高志）と2番目（清水みき枝）を並べる */
    .member-card:nth-child(2),
    .member-card:nth-child(3) {
        grid-column: auto;
    }

    /* 3番目と4番目を新しい行に */
    .member-card:nth-child(4) {
        grid-column: 1 / -1;
    }

    /* 4番目以降は1列 */
    .member-card:nth-child(n+4) {
        grid-column: 1 / -1;
    }

    /* 4番目（大澤星夏）と5番目（木村麟之輔）を並べる */
    .member-card:nth-child(4),
    .member-card:nth-child(5) {
        grid-column: auto;
    }

    /* 6番目以降は1列 */
    .member-card:nth-child(n+6) {
        grid-column: 1 / -1;
    }
}

.member-header {
    margin-bottom: 20px;
}

.member-header h3 {
    font-size: 1.5em;
    margin-bottom: 5px;
    color: #222;
}

.member-role {
    font-size: 1.1em;
    color: #ff6b35;
    font-weight: 700;
}

.member-image {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.member-images {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
    align-items: flex-start;
}

.member-images .member-image {
    flex: 0 1 calc(50% - 10px);
    height: auto;
    min-width: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.member-info {
    margin-top: 20px;
}

.member-info h4 {
    font-size: 1.1em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
}

.member-info ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.member-info ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.member-info p {
    line-height: 1.8;
    margin-bottom: 15px;
}
/* ページセクションスタイル */
.page-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.page-section:last-child {
    border-bottom: none;
}

.page-section h4 {
    font-size: 1.1em;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #333;
}

/* テーブルスタイル */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-table thead {
    background-color: #ff6b35;
    color: #fff;
}

.pricing-table th,
.pricing-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.pricing-table thead th {
    border-bottom: 2px solid #e55a2b;
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background-color: #fff;
}

/* チラシコンテナ */
.flyer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.flyer-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flyer-container img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* チケットセクション */
.ticket-section {
    background-color: #fff3e0;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

.ticket-section h3 {
    color: #ff6b35;
    margin-top: 0;
}

/* 引用ボックス */
.quote-box {
    background-color: #f0f0f0;
    border-left: 4px solid #ff6b35;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    font-style: italic;
    line-height: 1.8;
}

.quote-box p {
    margin: 10px 0;
    color: #333;
}

/* アクセスマップ */
.access-map {
    margin: 20px 0;
    text-align: center;
}

.access-map img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
/* プログラムテーブル */
.program-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.program-table tbody tr {
    border-bottom: 1px solid #ddd;
}

.program-table tbody tr:last-child {
    border-bottom: none;
}

.program-time {
    background-color: #ffe8cc;
    color: #ff6b35;
    font-weight: 700;
    padding: 12px 15px;
    width: 70px;
    vertical-align: top;
    white-space: nowrap;
}

.program-content {
    padding: 12px 15px;
    color: #333;
}

.program-content strong {
    color: #ff6b35;
}

/* お問い合わせページ */
.contact-form-wrapper {
    background-color: #fff;
    margin-bottom: 60px;
}

.contact-form-wrapper h2 {
    font-size: 1.5em;
    color: #333;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    color: #333;
    font-size: 1em;
}

.form-group .required {
    color: #ff6b35;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1em;
    color: #333;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    align-self: flex-start;
    margin-top: 10px;
}

.contact-info {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    margin-top: 0;
    font-size: 1.5em;
    color: #333;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
}

.info-item {
    margin: 20px 0;
}

.info-item h3 {
    font-size: 1em;
    color: #ff6b35;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-item p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.info-item a {
    color: #0066cc;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.success-message p {
    margin: 0;
    line-height: 1.6;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.error-message p {
    margin: 0;
    line-height: 1.6;
}

.confirmation-message {
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
    color: #1565c0;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.confirmation-message p {
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

.confirmation-review {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
}

.review-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.review-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.review-item label {
    display: block;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.review-item p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    word-break: break-word;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

@media (max-width: 768px) {
    .contact-form-wrapper,
    .contact-info {
        width: 100%;
        margin-bottom: 30px;
    }

    .contact-form-wrapper h2,
    .contact-info h2 {
        font-size: 1.3em;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .confirmation-review {
        padding: 15px;
    }

    .review-item {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .info-item {
        margin: 15px 0;
    }
}

/* 企画公演スペシャルセクション */
.special-concept {
    background-color: #fff3e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.special-concept p {
    margin: 15px 0;
    font-size: 1.05em;
    line-height: 1.8;
}

/* 企画公演の画像 */
.special-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.special-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.special-images img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}