:root {
    --primary-color: #222222;
    /* Black - replacing Deep Purple */
    --secondary-color: #D4AF37;
    /* Gold - keeping for luxury accents */
    --accent-color: #f4eedc;
    /* Cream as accent */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-alt: #f9f9f9;
    --bg-dark: #111111;
    --nav-height: 80px;
    --brand-cream: #f4eedc;
    --header-bg: #eeeeee;
    /* Light gray from reference image */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    /* Use new header bg variable */
    backdrop-filter: blur(10px);
    box-shadow: none;
    /* Removed shadow to match flat look in image */
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.navbar {
    width: 100%;
    /* Full width */
    padding: 0 2rem;
    /* Add padding to sides */
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    /* Black/Dark text */
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
    /* Prevent wrapping */
}

.logo-img {
    height: 50px;
    width: auto;
}

/* ========================================
   Menu Toggle Button (右上)
   ======================================== */
.menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    gap: 4px;
    user-select: none;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30px;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

/* ========================================
   Menu Overlay (Full Screen)
   ======================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: var(--nav-height);
    border-bottom: 1px solid #eee;
}

.menu-overlay-header .logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.menu-close {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    gap: 4px;
    user-select: none;
}

.close-icon {
    position: relative;
    width: 28px;
    height: 20px;
}

.close-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    position: absolute;
    top: 50%;
    left: 0;
}

.close-icon span:first-child {
    transform: rotate(45deg);
}

.close-icon span:last-child {
    transform: rotate(-45deg);
}

/* Menu List */
.menu-list {
    list-style: none;
    padding: 2rem 3rem;
    margin: 0;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.menu-list li {
    border-bottom: 1px solid #eee;
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list li a {
    display: block;
    padding: 1.2rem 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.menu-list li a:hover {
    color: var(--secondary-color);
    padding-left: 1.5rem;
}

/* Stagger animation for menu items */
.menu-overlay.active .menu-list li {
    opacity: 0;
    transform: translateY(10px);
    animation: menuItemFadeIn 0.4s ease-out forwards;
}

.menu-overlay.active .menu-list li:nth-child(1) {
    animation-delay: 0.05s;
}

.menu-overlay.active .menu-list li:nth-child(2) {
    animation-delay: 0.08s;
}

.menu-overlay.active .menu-list li:nth-child(3) {
    animation-delay: 0.11s;
}

.menu-overlay.active .menu-list li:nth-child(4) {
    animation-delay: 0.14s;
}

.menu-overlay.active .menu-list li:nth-child(5) {
    animation-delay: 0.17s;
}

.menu-overlay.active .menu-list li:nth-child(6) {
    animation-delay: 0.20s;
}

.menu-overlay.active .menu-list li:nth-child(7) {
    animation-delay: 0.23s;
}

.menu-overlay.active .menu-list li:nth-child(8) {
    animation-delay: 0.26s;
}

.menu-overlay.active .menu-list li:nth-child(9) {
    animation-delay: 0.29s;
}

.menu-overlay.active .menu-list li:nth-child(10) {
    animation-delay: 0.32s;
}

.menu-overlay.active .menu-list li:nth-child(11) {
    animation-delay: 0.35s;
}

.menu-overlay.active .menu-list li:nth-child(12) {
    animation-delay: 0.38s;
}

@keyframes menuItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide old hamburger (no longer used) */
.hamburger {
    display: none !important;
}

.btn-primary {
    background: var(--brand-cream);
    color: #222 !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: #e0d8c0;
    color: #000 !important;
    transform: translateY(-2px);
}



/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: #000;
    /* Loading placeholder color */
    /* Prevent video overflow */
}

/* Video Styling */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.section-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark Overlay for Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darkens the video by 40% */
    z-index: 1;
}

.hero-content {
    z-index: 2;
    /* Ensures content is above the overlay */
    position: relative;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-hero {
    display: inline-block;
    padding: 1rem 3rem;
    background: white;
    color: var(--text-color);
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
}

/* Sections General */
section {
    padding: 5rem 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
    /* Reduced from default inherited large margin */
    line-height: 1.8;
}

/* About Section */
.about-section {
    background-color: var(--bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    /* Darker text */
    font-size: 1.15rem;
    /* Larger font */
    line-height: 1.9;
}

/* Market Text (Unified Style) */
.market-text p {
    font-size: 1.3rem;
    /* Larger text */
    font-weight: 600;
    /* Bolder */
    color: var(--text-color);
    /* Darker */
    text-align: center;
    margin-bottom: 3rem;
    margin-top: -1rem;
    /* Pull up closer to title */
    line-height: 1.8;
}

.about-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.about-text ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.about-text ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.about-image {
    width: 100%;
    height: 400px;
    background: #ddd;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Slightly stronger shadow for depth */
}

/* Specific styling for videos inside content sections */
.section-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    background: #e0e0e0;
}

/* Menu Section */
.menu-section {
    background-color: var(--bg-color);
}

.menu-category-title {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.menu-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 1.5rem;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-image-placeholder {
    height: 200px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.menu-item h4 {
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 0 1rem;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--bg-alt);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item-placeholder {
    height: 250px;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #666;
    transition: opacity 0.3s;
}

.gallery-item-placeholder:hover {
    opacity: 0.8;
}

/* Shop List */
.shop-list-section {
    background-color: var(--bg-color);
    text-align: center;
}

.shop-list-content {
    background: var(--bg-alt);
    padding: 3rem;
    border-radius: 20px;
    display: inline-block;
    width: 100%;
    max-width: 800px;
}

.shop-list-content h3 {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.shop-locations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.shop-locations li {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Market Section */
.market-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.market-graph-container {
    width: 100%;
    max-width: 800px;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.market-graph-container h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.graph-placeholder {
    height: 300px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.bar-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    width: 100%;
    height: 100%;
}

.bar {
    width: 40px;
    background: linear-gradient(to top, var(--primary-color), var(--accent-color));
    border-radius: 5px 5px 0 0;
    position: relative;
    transition: height 1s ease-out;
}

.bar::after {
    content: attr(data-year);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Record Section */
.record-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.record-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.record-item h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.record-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
}

.record-value .unit {
    font-size: 1rem;
    margin-left: 5px;
    color: var(--text-color);
}

/* Uber Achievement */
.achievement-wrapper {
    margin-top: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.achievement-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.achievement-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.gold-highlight {
    color: var(--secondary-color);
    font-size: 1.8rem;
    padding: 0 0.5rem;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
}

.note {
    font-size: 0.8rem;
    color: #999;
    margin-top: 1rem;
    text-align: center;
}

.divider {
    font-size: 1.2rem;
    color: #ccc;
    margin: 0 0.5rem;
}

.achievement-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.achievement-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

/* Profit Structure */
.profit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.profit-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.profit-card:hover {
    transform: translateY(-10px);
}

.profit-image-box {
    margin-bottom: 0.5rem;
    /* Space between image and text */
    height: 300px;
    width: 300px;
}

.profit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.profit-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    line-height: 1.4;
    margin-top: 1.5rem;
    /* Add margin after image */
}

/* Features List (Philosophy) */
.features-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.feature-item h4 {
    margin: 0;
    font-size: 1.1rem;
}

.feature-item span {
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Night Strategy & Operation */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-box {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #eee;
}

.operation-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.2);
    /* Gold, transparent */
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}

.step-card h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Night Strategy compact layout */
.night-compact .feature-box {
    padding: 1.5rem 1rem;
}

.night-compact .feature-box h3 {
    margin-bottom: 0.5rem;
}

.night-compact .feature-box p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-light);
}

/* Step detail list (ingredient sourcing) */
.step-detail-list {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0;
    text-align: left;
}

.step-detail-list li {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 0.3rem 0;
    border-top: 1px solid #f0f0f0;
    line-height: 1.5;
}

.step-detail-list li:first-child {
    border-top: none;
}

/* Voice Section */
.voice-section {
    background: white;
    /* Different background for contrast */
}

.voice-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.voice-summary-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    /* Reduced gap */
}

.voice-item {
    background: var(--bg-alt);
    padding: 1rem;
    /* Reduced padding */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #eee;
}

.voice-image-placeholder {
    width: 100%;
    height: 180px;
    /* Reduced height from 250px */
    background: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-bottom: 0;
    color: #888;
    position: relative;
    overflow: hidden;
}

.voice-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
}

/* Investment Table */
.investment-table-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.investment-table {
    width: 100%;
    border-collapse: collapse;
}

.investment-table th,
.investment-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.investment-table th {
    color: var(--primary-color);
    font-weight: 600;
    width: 40%;
}

.investment-table tr:last-child th,
.investment-table tr:last-child td {
    border-bottom: none;
}

/* Flow */
.flow-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.flow-step {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 50px;
    /* Pill shape */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 5px solid var(--primary-color);
}

.step-label {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* QA */
.qa-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.qa-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.question {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.question::before {
    content: 'Q.';
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.answer {
    padding-left: 2.5rem;
    color: var(--text-light);
}

/* Contact Form */
.contact-section {
    background: var(--brand-cream);
    padding: 5rem 0;
}

.contact-section .section-title,
.contact-section .section-desc,
.contact-section .section-subtitle {
    color: #333;
    /* Black text */
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

/* About / Message Section */
.about-message-section {
    padding: 5rem 0;
    background: #fff;
}

.message-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.message-content {
    line-height: 2.2;
    color: var(--text-color);
    font-size: 1.05rem;
    text-align: center;
    /* Centered as requested */
}

.message-content p {
    margin-bottom: 2rem;
}

.lead-text {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 3rem !important;
}

.highlight-text {
    background: linear-gradient(transparent 60%, var(--brand-cream) 60%);
    font-weight: 700;
    padding: 0 5px;
}

.message-highlight-box {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--bg-alt);
    text-align: center;
    border-radius: 20px;
    position: relative;
}

.message-highlight-box p:first-child {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.message-highlight-box .small-text {
    font-size: 1rem;
    margin-bottom: 0;
}

.signature-block {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.rep-image-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--brand-cream);
}

.rep-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-signature {
    text-align: left;
    margin-top: 0;
    border-top: none;
    padding-top: 0;
    width: auto;
}

/* Representative Image with Overlay */
.rep-full-image-section {
    position: relative;
    width: 100%;
    max-width: 350px;
    /* Reduced from 1000px/700px/450px */
    margin: 4rem auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rep-full-img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 250px;
    object-fit: cover;
}

.rep-overlay-card {
    position: absolute;
    bottom: 20px;
    right: 0;
    background: rgba(34, 34, 34, 0.9);
    color: white;
    padding: 1rem 1.5rem;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    min-width: auto;
    backdrop-filter: blur(5px);
}

.company-name-overlay {
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
    opacity: 0.9;
}

.rep-title-overlay {
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
}

.rep-name-overlay {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
}


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit button {
    cursor: pointer;
    font-size: 1.1rem;
    padding: 1rem 4rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animation Classes */
.fade-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered child animations */
.fade-section.visible .record-item,
.fade-section.visible .profit-card,
.fade-section.visible .step-card,
.fade-section.visible .feature-box,
.fade-section.visible .flow-step,
.fade-section.visible .qa-item,
.fade-section.visible .voice-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-section.visible .record-item:nth-child(1),
.fade-section.visible .profit-card:nth-child(1),
.fade-section.visible .step-card:nth-child(1),
.fade-section.visible .feature-box:nth-child(1),
.fade-section.visible .flow-step:nth-child(1),
.fade-section.visible .qa-item:nth-child(1),
.fade-section.visible .voice-item:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-section.visible .record-item:nth-child(2),
.fade-section.visible .profit-card:nth-child(2),
.fade-section.visible .step-card:nth-child(2),
.fade-section.visible .feature-box:nth-child(2),
.fade-section.visible .flow-step:nth-child(2),
.fade-section.visible .qa-item:nth-child(2),
.fade-section.visible .voice-item:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-section.visible .record-item:nth-child(3),
.fade-section.visible .profit-card:nth-child(3),
.fade-section.visible .step-card:nth-child(3),
.fade-section.visible .feature-box:nth-child(3),
.fade-section.visible .flow-step:nth-child(3),
.fade-section.visible .qa-item:nth-child(3),
.fade-section.visible .voice-item:nth-child(3) {
    animation-delay: 0.3s;
}

.fade-section.visible .record-item:nth-child(4),
.fade-section.visible .profit-card:nth-child(4),
.fade-section.visible .step-card:nth-child(4),
.fade-section.visible .flow-step:nth-child(4),
.fade-section.visible .qa-item:nth-child(4),
.fade-section.visible .voice-item:nth-child(4) {
    animation-delay: 0.4s;
}

.fade-section.visible .flow-step:nth-child(5) {
    animation-delay: 0.5s;
}

.fade-section.visible .flow-step:nth-child(6) {
    animation-delay: 0.6s;
}

.fade-section.visible .flow-step:nth-child(7) {
    animation-delay: 0.7s;
}

.fade-section.visible .voice-item:nth-child(5) {
    animation-delay: 0.5s;
}

.fade-section.visible .voice-item:nth-child(6) {
    animation-delay: 0.6s;
}

.fade-section.visible .qa-item:nth-child(5) {
    animation-delay: 0.5s;
}

.fade-section.visible .qa-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Section header animation */
.fade-section.visible .section-header {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
}

/* ========================================
   MOBILE RESPONSIVE (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {

    /* --- Navigation --- */
    .navbar {
        padding: 0 1rem;
    }

    .logo a {
        font-size: 1.1rem;
        gap: 0.5rem;
        letter-spacing: 1px;
    }

    .logo-img {
        height: 35px;
    }

    /* Menu Overlay Mobile */
    .menu-overlay-header {
        padding: 0 1rem;
    }

    .menu-overlay-header .logo a {
        font-size: 1.1rem;
        gap: 0.5rem;
    }

    .menu-list {
        padding: 1.5rem 2rem;
    }

    .menu-list li a {
        font-size: 1rem;
        padding: 1rem 0.5rem;
    }

    /* --- Hero Section --- */
    .hero-section {
        height: 100vh;
        height: 100dvh;
        /* For modern mobile browsers */
        min-height: 600px;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Force cover to remove black bars */
        object-position: center;
    }

    .section-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Cover for section video too */
    }

    .hero-content {
        padding: 1rem;
        max-width: 100%;
    }

    .hero-content>div:first-child img {
        height: 80px !important;
    }

    .hero-content .subtitle {
        font-size: 1.2rem !important;
        letter-spacing: 2px !important;
    }

    .title {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .btn-hero {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    /* --- Section General --- */
    section {
        padding: 3rem 0;
    }

    .container {
        width: 92%;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-desc {
        font-size: 0.9rem;
    }

    /* --- About / Philosophy --- */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text p {
        text-align: left;
        font-size: 0.95rem;
        line-height: 2;
    }

    .about-image {
        height: 250px;
    }

    /* --- Market --- */
    .market-graph-container {
        padding: 1.5rem;
    }

    .market-graph-container h3 {
        font-size: 1.2rem;
    }

    .graph-placeholder {
        height: 200px;
    }

    .bar {
        width: 30px;
    }

    /* --- Record --- */
    .record-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .record-item {
        padding: 1.5rem 1rem;
    }

    .record-value {
        font-size: 2rem;
    }

    /* Achievement */
    .achievement-wrapper {
        padding: 1.5rem;
    }

    .achievement-title {
        font-size: 1.3rem;
    }

    .achievement-subtitle {
        font-size: 1.1rem;
    }

    .gold-highlight {
        font-size: 1.3rem;
    }

    /* --- Profit --- */
    .profit-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .profit-card {
        padding: 2rem 1.5rem;
    }

    .profit-image-box {
        max-width: 250px;
        margin: 0 auto;
    }

    /* --- Message Section (Mobile Readability) --- */
    .message-content {
        text-align: left;
        padding: 0 0.5rem;
    }

    .message-content .lead-text {
        text-align: center;
        font-size: 0.95rem;
    }

    .message-content .lead-text br {
        display: inline;
    }

    .message-content p {
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
        line-height: 2;
    }

    .message-content br {
        display: none;
    }

    .message-highlight-box {
        text-align: center;
        padding: 2rem 1rem;
    }

    .message-highlight-box p {
        text-align: center;
    }

    .message-highlight-box br {
        display: inline;
    }

    /* --- Voice --- */
    .voice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .voice-item {
        padding: 0.5rem;
    }

    .voice-summary-text {
        font-size: 0.95rem;
    }

    /* --- Night Strategy & Features --- */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-box {
        padding: 1.5rem;
    }

    /* --- Operation --- */
    .operation-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .step-card {
        padding: 1.5rem 1rem;
    }

    .step-number {
        font-size: 2.5rem;
    }

    .step-card h3 {
        font-size: 1rem;
    }

    /* --- Investment --- */
    .investment-table-container {
        padding: 1.5rem;
    }

    .investment-table th,
    .investment-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }

    /* --- Flow --- */
    .flow-container {
        gap: 1rem;
    }

    .flow-step {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem 1.5rem;
    }

    /* --- Q&A --- */
    .qa-item {
        padding: 1.5rem;
    }

    .question {
        font-size: 1rem;
    }

    .answer {
        padding-left: 1.5rem;
        font-size: 0.9rem;
    }

    /* --- About / Representative Message --- */
    .about-message-section {
        padding: 3rem 0;
    }

    .message-container {
        padding: 1rem;
    }

    .message-content {
        font-size: 0.95rem;
        line-height: 2;
    }

    .lead-text {
        font-size: 1rem !important;
    }

    .message-highlight-box {
        margin: 2rem 0;
        padding: 2rem 1.5rem;
    }

    .message-highlight-box p:first-child {
        font-size: 1.4rem;
    }

    /* Representative Image */
    .rep-full-image-section {
        max-width: 280px;
        margin: 2rem auto 0;
    }

    .rep-full-img {
        min-height: 200px;
    }

    .rep-overlay-card {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        border-radius: 0 0 20px 20px;
        text-align: center;
        padding: 1rem;
    }

    /* --- Contact Form --- */
    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-submit button {
        padding: 0.8rem 2.5rem;
        font-size: 1rem;
    }

    /* --- Footer --- */
    .footer-logo {
        font-size: 1.2rem;
    }

    /* --- Gallery --- */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   EXTRA SMALL SCREENS (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    .title {
        font-size: 1.5rem;
    }

    .hero-content>div:first-child img {
        height: 60px !important;
    }

    .hero-content .subtitle {
        font-size: 1rem !important;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .record-grid {
        grid-template-columns: 1fr;
    }

    .voice-grid {
        grid-template-columns: 1fr;
    }

    .operation-steps {
        grid-template-columns: 1fr;
    }

    .achievement-subtitle {
        font-size: 0.95rem;
    }

    .gold-highlight {
        font-size: 1.1rem;
        display: block;
        margin: 0.3rem 0;
    }

    .divider {
        display: none;
    }
}

/* ========================================
   Responsive Line Breaks
   ======================================== */
.pc-only-br {
    display: block;
    /* 改行として機能させるためblock, contentに依存せず */
    margin-bottom: 0;
}

.sp-only-br {
    display: none;
}

@media (max-width: 768px) {
    .pc-only-br {
        display: none;
    }

    .sp-only-br {
        display: block;
    }
}