/* Oshi-Kai シンプルCSS */

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

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: #2D1B2E;
    background: #FFF8F9;
    line-height: 1.7;
}

h1, h2, h3 { font-family: 'Noto Serif JP', serif; font-weight: 700; line-height: 1.3; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ヘッダー */
.header {
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid #F5E1E8;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, #E91E63, #7B1FA2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-link {
    color: #6B5B6E;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-link:hover { color: #E91E63; background: #FCF0F3; }
.nav-link.active { color: #E91E63; background: #F8BBD0; }

.nav-link.prof {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link.prof img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #F8BBD0;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-align: center;
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    color: white;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(233, 30, 99, 0.3); }

.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-full { width: 100%; }

.btn-outline {
    background: transparent;
    color: #E91E63;
    border: 2px solid #E91E63;
}

.btn-outline:hover {
    background: #E91E63;
    color: white;
}

.btn-disabled {
    background: #E8C5D1;
    color: #9E8EA1;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-zoom {
    background: linear-gradient(135deg, #2D8CFF, #0066CC);
}

/* ヒーロー */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #FFF8F9 0%, #FCF0F3 100%);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(233, 30, 99, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(123, 31, 162, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-main {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #E91E63, #7B1FA2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
}

.hero-text {
    font-size: 1.2rem;
    color: #6B5B6E;
    max-width: 600px;
    margin-bottom: 48px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 16px;
}

/* セクション */
.events-section,
.features {
    padding: 80px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.section-head h2 {
    font-size: 2.5rem;
}

.link-more {
    color: #E91E63;
    font-weight: 600;
}

/* イベントグリッド */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.event-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.08);
    transition: all 0.2s;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(233, 30, 99, 0.16);
}

.event-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #F8BBD0, #E1BEE7);
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.event-no-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F8BBD0, #E1BEE7);
}

.event-date {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.95);
    padding: 8px 16px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.day {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: #E91E63;
    font-family: 'Noto Serif JP', serif;
}

.mon {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6B5B6E;
    text-transform: uppercase;
}

.event-body {
    padding: 24px;
}

.event-body h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: #6B5B6E;
}

.organizer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.organizer img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* 特徴 */
.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
}

.feature {
    background: white;
    padding: 48px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.08);
}

.feature .icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature p {
    color: #6B5B6E;
}

/* フッター */
.footer {
    background: #2D1B2E;
    color: white;
    padding: 80px 0 32px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 24px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.footer-col a:hover {
    color: #F8BBD0;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* 認証ページ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.auth-box {
    background: white;
    border-radius: 24px;
    padding: 64px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 16px 48px rgba(233, 30, 99, 0.2);
    position: relative;
    z-index: 2;
}

.auth-head {
    text-align: center;
    margin-bottom: 48px;
}

.auth-logo {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #E91E63, #7B1FA2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 24px;
}

.auth-head h1 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.auth-head p {
    color: #6B5B6E;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group label {
    font-weight: 600;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #F5E1E8;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #E91E63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.auth-foot {
    text-align: center;
    margin-top: 32px;
    color: #6B5B6E;
}

.auth-foot a {
    color: #E91E63;
    font-weight: 600;
}

/* アラート */
.alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.alert.error {
    background: #FFEBEE;
    color: #F44336;
    border: 1px solid #FFCDD2;
}

.alert.success {
    background: #E8F5E9;
    color: #4CAF50;
    border: 1px solid #C8E6C9;
}

/* イベント詳細 */
.event-detail {
    padding: 80px 0;
}

.event-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 80px;
}

.event-main-img {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(233, 30, 99, 0.16);
    aspect-ratio: 16 / 10;
}

.event-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-info h1 {
    font-size: 2.5rem;
    margin-bottom: 32px;
}

.organizer-card {
    display: flex;
    align-items: start;
    gap: 16px;
    padding: 24px;
    background: #FCF0F3;
    border-radius: 12px;
    margin-bottom: 32px;
}

.organizer-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #F8BBD0;
}

.org-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.org-bio {
    font-size: 0.9rem;
    color: #6B5B6E;
    margin-top: 8px;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: start;
    gap: 16px;
}

.detail-item .label {
    font-weight: 600;
    color: #6B5B6E;
    min-width: 100px;
}

.event-desc {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.08);
    margin-bottom: 80px;
}

.event-desc h2 {
    margin-bottom: 32px;
    font-size: 2rem;
}

.desc-text {
    color: #6B5B6E;
    line-height: 1.8;
}

.plans-section h2 {
    margin-bottom: 32px;
    font-size: 2rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.plan-card {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.12);
    border: 2px solid #F5E1E8;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    border-color: #E91E63;
    transform: translateY(-4px);
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.plan-card .price {
    font-size: 2rem;
    font-weight: 900;
    color: #E91E63;
    font-family: 'Noto Serif JP', serif;
    margin-bottom: 24px;
}

.plan-card .desc {
    color: #6B5B6E;
    margin-bottom: 24px;
    flex-grow: 1;
}

.plan-card .capacity {
    color: #9E8EA1;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 24px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2rem;
    cursor: pointer;
    color: #9E8EA1;
}

.modal-close:hover { color: #2D1B2E; }

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 32px;
}

.summary {
    background: #FCF0F3;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.sum-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.sum-item span:first-child {
    color: #6B5B6E;
    font-weight: 600;
}

#cardElement {
    padding: 16px;
    border: 2px solid #F5E1E8;
    border-radius: 12px;
    margin-bottom: 16px;
}

#cardErrors {
    color: #F44336;
    margin-bottom: 16px;
    min-height: 20px;
}

#processing {
    text-align: center;
    padding: 48px;
}

.spinner {
    border: 4px solid #F5E1E8;
    border-top: 4px solid #E91E63;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

/* イベント一覧ページ */
.events-page {
    padding: 80px 0;
    min-height: calc(100vh - 200px);
}

.events-page h1 {
    font-size: 2.5rem;
    margin-bottom: 48px;
}

.search-form {
    margin-bottom: 32px;
}

.search-box {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.search-box input[type="text"] {
    flex: 1;
    min-width: 300px;
    padding: 12px 20px;
    border: 2px solid #F5E1E8;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.search-box input[type="date"] {
    padding: 12px 16px;
    border: 2px solid #F5E1E8;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.search-box input:focus {
    outline: none;
    border-color: #E91E63;
}

.count {
    margin-bottom: 32px;
    color: #6B5B6E;
    font-weight: 500;
}

/* マイ予約ページ */
.my-page {
    padding: 80px 0;
    min-height: calc(100vh - 200px);
}

.my-page h1 {
    font-size: 2.5rem;
    margin-bottom: 48px;
}

.tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    border-bottom: 2px solid #F5E1E8;
}

.tab {
    padding: 16px 32px;
    background: none;
    border: none;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #6B5B6E;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.tab.active {
    color: #E91E63;
    border-bottom-color: #E91E63;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.res-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.08);
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 32px;
    margin-bottom: 32px;
}

.res-img {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

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

.no-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F8BBD0, #E1BEE7);
}

.res-info h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.res-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #6B5B6E;
}

.zoom-link {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #F5E1E8;
}

.badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge.pending {
    background: #FFF3E0;
    color: #FF9800;
}

.badge.completed {
    background: #E8F5E9;
    color: #4CAF50;
}

.badge.cancelled {
    background: #FFEBEE;
    color: #F44336;
}

.empty {
    text-align: center;
    padding: 80px;
    color: #6B5B6E;
}

.empty p {
    margin-bottom: 32px;
    font-size: 1.1rem;
}

/* アニメーション */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .nav-links { flex-wrap: wrap; }
    .hero-main { font-size: 2.5rem; }
    .hero-sub { font-size: 2rem; }
    .event-header { grid-template-columns: 1fr; }
    .res-card { grid-template-columns: 1fr; }
    .plans-grid { grid-template-columns: 1fr; }
    .search-box { flex-direction: column; align-items: stretch; }
    .search-box input[type="text"] { min-width: 100%; }
}
