@charset "UTF-8";

/* ==========================================================================
   Hero Section (トップページ用)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0b0f19;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #0b0f19;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    transform: scale(1.02);
}

.hero-video.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(11, 15, 25, 0.4) 0%, rgba(11, 15, 25, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    color: #fff;
    text-align: center;
    z-index: 2;
    padding: 0 1.2rem;
    max-width: 860px;
}

.hero-title {
    font-size: clamp(2.1rem, 5.5vw, 3.4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.12em;
    line-height: 1.25;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.65);
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Cards & Layout Components
   ========================================================================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    padding: 2.4rem 1.8rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(168, 43, 43, 0.2);
}

.card-icon {
    font-size: 2.6rem;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.introduce-card,
.place-wrapper {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    max-width: 840px;
    margin: 0 auto;
    position: relative;
}

.lead-text {
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    line-height: 1.85;
}

/* ==========================================================================
   Blog & Post Detail
   ========================================================================== */
.badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--primary-light);
    color: var(--primary-color);
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif;
    font-size: 0.75rem;
    padding: 0.2rem 0.7rem;
    border-radius: 9999px;
    font-weight: 600;
    border: 1px solid rgba(168, 43, 43, 0.15);
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    background: #fff;
    padding: 1.8rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(168, 43, 43, 0.25);
}

.blog-card h3 {
    font-size: 1.15rem;
    color: var(--secondary-color);
    line-height: 1.5;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 840px;
    margin: 0 auto;
}

.blog-list-item {
    padding: 1.8rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-list-item h2 a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: clamp(1.2rem, 3vw, 1.45rem);
    line-height: 1.4;
}

.meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif;
    flex-wrap: wrap;
}

.post-detail {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.post-detail h1 {
    margin: 0.8rem 0 1.8rem;
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    line-height: 1.35;
    color: var(--secondary-color);
}

.post-body {
    line-height: 2.05;
    font-size: 1.05rem;
    color: #334155;
    word-break: break-word;
    overflow-wrap: break-word;
}

.post-eyecatch {
    width: 100% !important;
    max-height: 380px !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    margin: 1.5rem auto 2.2rem auto !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
    background: #0f172a;
}

.post-eyecatch img {
    width: 100% !important;
    height: 380px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.post-content img,
.ql-editor img {
    display: block !important;
    width: auto !important;
    max-width: 80% !important;
    max-height: 500px !important;
    height: auto !important;
    margin: 2rem auto !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    object-fit: contain !important;
}

.post-content video,
.ql-editor video {
    display: block !important;
    width: 85% !important;
    max-width: 85% !important;
    max-height: 460px !important;
    height: auto !important;
    margin: 2rem auto !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    background: #000;
}

.post-body figure {
    margin: 2rem auto;
    text-align: center;
}

.post-body figcaption {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

/* ==========================================================================
   Table Styles
   ========================================================================== */
.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.info-table th,
.info-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-size: 0.95rem;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.info-table th {
    background-color: var(--bg-light);
    width: 25%;
    font-weight: 700;
    color: var(--secondary-color);
    border-right: 1px solid var(--border-color);
}

/* ==========================================================================
   Forms & Inputs (お問い合わせ等)
   ========================================================================== */
.max-w-600 {
    max-width: 600px;
    margin: 0 auto;
}

.form-card {
    background: #fff;
    padding: 2.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    min-height: 44px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    background: #ffffff;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(168, 43, 43, 0.12);
}

/* チェックボックス欄 */
.form-group.checkbox-group {
    margin-top: 1.5rem;
    margin-bottom: 1.8rem;
}

.form-group.checkbox-group label {
    display: inline-block !important;
    text-align: left !important;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.7;
    cursor: pointer;
    color: var(--text-color);
}

.form-group.checkbox-group input[type="checkbox"] {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 0.5rem 0 0 !important;
    vertical-align: -2px !important;
    cursor: pointer;
    accent-color: var(--primary-color) !important;
}

.form-group.checkbox-group a {
    color: var(--primary-color);
    text-decoration: underline;
    display: inline !important;
}

.form-group.checkbox-group a:hover {
    color: var(--primary-hover);
}

.form-group.checkbox-group .req {
    margin-left: 0.2rem;
    display: inline !important;
}

.badge-optional {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    margin-left: 0.35rem;
    vertical-align: middle;
}

.req {
    color: var(--primary-color);
}

.alert {
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   Calendar Widgets
   ========================================================================== */
.calendar-wrapper,
.calendar-embed-wrapper {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   各UI用 Mobile Responsive (768px以下)
   ========================================================================== */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 440px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .introduce-card,
    .place-wrapper,
    .form-card,
    .post-detail {
        padding: 1.8rem 1.2rem;
        border-radius: var(--radius-sm);
    }

    .post-content img,
    .ql-editor img,
    .post-content video,
    .ql-editor video {
        max-width: 100% !important;
        width: 100% !important;
        max-height: 300px !important;
        margin: 1.2rem 0 !important;
        border-radius: 6px !important;
    }

    .post-eyecatch,
    .post-eyecatch img {
        height: 200px !important;
        max-height: 200px !important;
        margin-bottom: 1.5rem !important;
    }

    .info-table {
        border: 1px solid var(--border-color);
    }

    .info-table tr {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid var(--border-color);
    }

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

    .info-table th,
    .info-table td {
        width: 100% !important;
        border: none !important;
        padding: 0.75rem 1rem !important;
    }

    .info-table th {
        background: var(--bg-light);
        padding-bottom: 0.3rem !important;
        font-size: 0.85rem;
    }

    .info-table td {
        padding-top: 0.2rem !important;
        font-size: 0.95rem;
    }

    .blog-list-item {
        padding: 1.4rem 1.2rem;
    }
}