/*
 * Components CSS - PDF Design Match
 * cafe-bloom38
 */

/* ==========================================================================
 * Header
 * ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    height: 60px;
}
.site-header.is-scrolled {
    background: rgba(255,255,255,0.99);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}
.site-branding { flex-shrink: 0; }
.site-title-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.site-title-sub {
    font-size: 9px;
    font-weight: 400;
    color: #888;
    letter-spacing: 0.05em;
}
.site-title-main {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.05em;
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
}
.site-title-link:hover .site-title-main { color: #2c5545; }
.site-description { display: none !important; }
.menu-toggle { display: none !important; }
.main-navigation { display: block !important; }
.main-navigation .primary-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}
.main-navigation .primary-menu li { margin: 0; padding: 0; }
.main-navigation .primary-menu > li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 2px;
    padding: 4px 0;
    transition: color 0.2s;
    color: #333;
    border-bottom: none !important;
}
.main-navigation .primary-menu > li > a:hover { color: #2c5545; }
.nav-en {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
}
.nav-jp {
    font-size: 8px;
    color: #888;
    letter-spacing: 0.05em;
    line-height: 1;
    white-space: nowrap;
}
.nav-instagram a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}
.nav-instagram a:hover { color: #2c5545; }
.primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    list-style: none;
    padding: 0;
    margin: 0;
}
.primary-menu li { position: relative; }
.primary-menu li:hover > .sub-menu { display: block; }

/* ==========================================================================
 * Hero Carousel - FULL WIDTH FULLSCREEN
 * ========================================================================== */
.hero-carousel {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: calc(100vh - 60px);
    min-height: 500px;
    overflow: hidden;
    margin-top: 0;
}
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.carousel-track {
    display: flex;
    width: 100%;
    height: calc(100vh - 60px);
    min-height: 500px;
    transition: transform 0.6s ease;
}
.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    height: calc(100vh - 60px);
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.35) 100%);
}
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.55);
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    border-radius: 0;
}
.carousel-nav:hover { background: rgba(255,255,255,0.35); }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.2s;
}
.carousel-dot.is-active { background: white; }

/* ==========================================================================
 * Section Base
 * ========================================================================== */
.section { padding: 72px 0; }
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}
.section-header { margin-bottom: 40px; }
.en-title {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
    display: block;
    color: inherit;
    margin: 0 0 4px;
}
.section-subtitle {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.2em;
    display: block;
    margin-top: 4px;
}

/* ==========================================================================
 * MISSION Section
 * ========================================================================== */
.section-mission {
    background: #ffffff;
    padding: 72px 0;
}
.mission-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.mission-content { padding-top: 8px; }
.mission-lead {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 20px;
    color: #333;
}
.mission-body-text {
    font-size: 13px;
    line-height: 2;
    color: #555;
    margin-bottom: 16px;
}
.mission-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
}
.mission-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.mission-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f0ede8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ==========================================================================
 * PROJECT Section
 * ========================================================================== */
.section-project {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.project-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.project-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15,25,40,0.65);
}
.project-bg-default {
    background: linear-gradient(135deg, #1a2d40 0%, #0d2030 40%, #1a2d20 70%, #0a1a10 100%);
}
.project-content {
    position: relative;
    z-index: 2;
    padding: 80px 40px;
    color: white;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}
.project-en-title {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
    line-height: 1;
    display: block;
}
.project-jp-subtitle {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 20px;
    margin-top: 4px;
}
.project-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.project-heading {
    font-size: 24px;
    font-weight: 700;
    color: white;
    line-height: 1.5;
    margin-bottom: 28px;
}
.project-text { max-width: 500px; }
.project-text p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 2;
    margin-bottom: 12px;
}

/* ==========================================================================
 * COMPANY / DATA Section
 * ========================================================================== */
.section-company {
    background: #1a2340;
    padding: 0;
}
.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
}
.data-block {
    padding: 64px 60px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.campany-block { padding: 64px 60px; }
.data-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
    display: block;
}
.data-subtitle {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.15em;
    margin-bottom: 28px;
    display: block;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table tr { border-bottom: 1px solid rgba(255,255,255,0.08); }
.data-table td {
    padding: 10px 0;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    vertical-align: top;
}
.data-table td:first-child {
    color: rgba(255,255,255,0.45);
    width: 80px;
    padding-right: 16px;
    white-space: nowrap;
}
.data-table a { color: rgba(255,255,255,0.75); }
.campany-en-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
    line-height: 1;
    display: block;
    margin-bottom: 4px;
}
.campany-jp-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.15em;
    margin-bottom: 32px;
    display: block;
}
.campany-name {
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1.6;
}

/* ==========================================================================
 * INFORMATION Section
 * ========================================================================== */
.section-information {
    background: #ffffff;
    padding: 72px 0;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.news-card:hover { opacity: 0.85; }
.news-thumb-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f5f2ee;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-thumb-placeholder {
    background: #f5f2ee;
    width: 100%;
    height: 100%;
}
.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.news-category {
    font-size: 10px;
    padding: 3px 10px;
    border: 1px dashed #bbb;
    background: #f5f0ea;
    letter-spacing: 0.05em;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}
.news-date {
    font-size: 11px;
    color: #888;
    white-space: nowrap;
}
.news-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
}

/* ==========================================================================
 * SUPPORTERS Section
 * ========================================================================== */
.section-supporters {
    background: #0f1520;
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}
.supporters-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}
.supporters-en-title {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
    line-height: 1;
    display: block;
}
.supporters-jp-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 36px;
    margin-top: 4px;
}
.puzzle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex-shrink: 0;
}
.puzzle-piece {
    width: 130px;
    height: 95px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}
.puzzle-piece:hover { transform: scale(1.05); }
.puzzle-piece.outdoor { background: #4fc3f7; }
.puzzle-piece.art { background: #f06292; }
.puzzle-piece.gourmet { background: #aed581; }
.puzzle-piece.therapy { background: #81c784; }
.puzzle-en {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.05em;
}
.puzzle-jp {
    font-size: 11px;
    color: rgba(255,255,255,0.9);
}
.supporters-text { color: rgba(255,255,255,0.85); }
.supporters-tagline {
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1.6;
    margin-bottom: 16px;
}
.supporters-desc {
    font-size: 13px;
    line-height: 2;
    color: rgba(255,255,255,0.7);
}

/* ==========================================================================
 * CONTACT Section
 * ========================================================================== */
.section-contact-fp {
    min-height: 320px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #1a2a3a 0%, #2a3a1a 55%, #f5a050 100%);
}
.section-contact-fp::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 40% at 50% 90%, rgba(255,160,50,0.45) 0%, transparent 60%);
    pointer-events: none;
}
.contact-fp-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 0;
    width: 100%;
}
.contact-fp-en {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
    display: block;
    line-height: 1;
}
.contact-fp-jp {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 32px;
    margin-top: 6px;
}
.contact-fp-lead {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    line-height: 1.8;
}
.contact-fp-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 32px;
    border: 2px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.1);
    transition: all 0.2s;
}
.contact-fp-email:hover {
    background: rgba(255,255,255,0.25);
    color: white;
}

/* ==========================================================================
 * Footer
 * ========================================================================== */
.site-footer {
    background: #0f1520;
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.footer-logo {
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.1em;
}
.footer-copy {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
}

/* ==========================================================================
 * Responsive
 * ========================================================================== */
@media (max-width: 900px) {
    .header-inner { padding: 0 20px; }
    .main-navigation .primary-menu { gap: 10px !important; }
    .nav-jp { display: none; }
    .nav-en { font-size: 9px; }
    .mission-layout { grid-template-columns: 1fr; }
    .company-grid { grid-template-columns: 1fr; }
    .data-block {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 40px 24px;
    }
    .campany-block { padding: 40px 24px; }
    .news-grid { grid-template-columns: 1fr; }
    .supporters-layout { flex-direction: column; align-items: flex-start; }
    .section { padding: 48px 0; }
    .container { padding: 0 20px; }
    .project-content { padding: 48px 20px; }
    .footer-inner { flex-direction: column; gap: 12px; padding: 24px; }
}
@media (max-width: 600px) {
    .main-navigation { display: none !important; }
    .menu-toggle { display: flex !important; }
}