@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
    --font-base: 'Noto Sans JP', sans-serif;
    --font-head: 'Noto Sans JP', sans-serif;

    --c-txt: #333333;
    --c-txt-muted: #666666;
    --c-bg: #ffffff;
    --c-bg-alt: #f8f8f8;
    /* Light Gray */
    --c-primary: #7cb342;
    /* Grass Green */
    --c-accent: #c0ca33;
    /* Lime Green */
    --c-accent-vivid: #d4e157;
    /* Bright Lime */
    --c-white: #ffffff;
    --c-black: #1e2626;

    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    --shadow-pop: 0 6px 15px rgba(124, 179, 66, 0.15);

    --w-container: 1080px;
    --gutter: 20px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-base);
    color: var(--c-txt);
    background: var(--c-bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    padding-top: 0;
    /* Ensure no unexpected padding */
}

.strategy-bar {
    background: var(--c-bg-alt);
    color: var(--c-txt);
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    position: relative;
    z-index: 2000;
    border-bottom: 1px solid #eee;
}

.strategy-bar strong {
    font-weight: 700;
}


a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

/* Utility */
.container {
    max-width: var(--w-container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.section {
    padding: 100px 0;
}

.section.alt {
    background: var(--c-bg-alt);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    line-height: 1.4;
}

.kicker {
    display: block;
    font-family: var(--font-base);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--c-accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 3.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 2rem;
    font-weight: 500;
    color: var(--c-txt);
    letter-spacing: 0.1em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--c-primary);
    border-radius: 2px;
}

p {
    margin-bottom: 1.5rem;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: var(--radius);
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--c-primary);
    color: #fff;
    border: 2px solid var(--c-primary);
}

.btn-primary:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--c-primary);
    border: 2px solid var(--c-primary);
}

.btn-ghost:hover {
    background: var(--c-primary);
    color: #fff;
}

/* Hero specific ghost button */
.btn-ghost-hero {
    color: #fff;
    border-color: #fff;
}

.btn-ghost-hero:hover {
    background: #fff;
    color: var(--c-primary);
    border-color: #fff;
}

.badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--c-bg-alt);
    color: var(--c-txt);
    border: 1px solid #ddd;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius);
    margin-right: 8px;
    margin-bottom: 8px;
    font-family: var(--font-base);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header / Nav */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

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

.logo {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--c-primary);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--c-txt);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--c-accent);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--c-primary);
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--c-white);
        flex-direction: column;
        padding: 80px 40px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.05);
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 999;
        display: flex;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links .btn {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Hero */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--c-accent-vivid);
    box-shadow: 0 12px 30px rgba(124, 179, 66, 0.1);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--c-primary);
    font-weight: 500;
}

/* About Section Icons */
.about-card {
    text-align: center;
    padding-top: 50px;
}

.about-icon {
    width: 80px;
    height: 80px;
    background: var(--c-bg-alt);
    color: var(--c-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow);
}

.about-card:hover .about-icon {
    background: var(--c-primary);
    color: var(--c-white);
    transform: rotate(15deg) scale(1.1);
}

.about-icon svg {
    width: 32px;
    height: 32px;
}

/* Product Section */
.product-card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--c-accent-vivid);
    box-shadow: 0 12px 30px rgba(124, 179, 66, 0.1);
}

.product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--c-bg-alt);
}

.product-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-body h3 {
    font-size: 1.2rem;
    color: var(--c-primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.product-meta {
    font-size: 0.85rem;
    color: var(--c-txt-muted);
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid var(--c-bg-alt);
}

/* Media Intro */
.media-intro {
    margin-top: 80px;
    text-align: center;
}

.media-intro-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-txt-muted);
    margin-bottom: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.media-intro-title span {
    flex-shrink: 0;
}

.media-intro-title::before,
.media-intro-title::after {
    content: '';
    height: 1px;
    background: #e0e0e0;
    flex: 1;
    max-width: 100px;
}

.media-banner-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.media-banner {
    display: block;
    background: #fff;
    border: 2px solid #7cb342;
    padding: 25px 40px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    max-width: 360px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-banner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--c-primary);
}

.media-banner img {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.media-banner:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .media-intro {
        margin-top: 50px;
    }

    .media-intro-title {
        font-size: 0.8rem;
    }

    .media-intro-title::before,
    .media-intro-title::after {
        max-width: 60px;
    }

    .media-banner {
        max-width: 200px;
        padding: 20px 30px;
    }

    .media-banner img {
        max-height: 40px;
    }
}

/* FAQ Updated */
#faq .container {
    max-width: 800px;
}

details {
    margin-bottom: 20px;
    background: var(--c-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

details:hover {
    border-color: var(--c-accent-vivid);
    background: #fafff5;
}

details[open] {
    border-color: var(--c-primary);
}

summary {
    cursor: pointer;
    padding: 1.2rem 1.5rem;
    padding-right: 3rem;
    font-weight: 700;
    position: relative;
    list-style: none;
    font-family: var(--font-base);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: 'Q';
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: var(--c-primary);
    color: #fff;
    border-radius: 4px;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
}

summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--c-accent);
    transition: transform 0.3s;
}

details[open] summary::after {
    transform: rotate(45deg);
    color: var(--c-txt-muted);
}

details .content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--c-txt);
    display: flex;
    gap: 15px;
    line-height: 1.7;
}

details .content::before {
    content: 'A';
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: #666;
    color: #fff;
    border-radius: 4px;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 4px;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 80px 0 40px;
    font-size: 0.9rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.footer .logo {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-address {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-contact p {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
    color: #fff;
    font-weight: 500;
}

.footer-nav-title {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: #fff;
}

.footer-links {
    flex-direction: column;
    gap: 12px;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.footer a:hover {
    color: #fff;
}

@media(max-width:768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Contact Form Placeholder Styling */
.contact-zone {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

textarea.form-input {
    min-height: 120px;
}

/* Purpose Section */
#purpose {
    padding: 40px 0;
    background: var(--c-bg, #f9f9f9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#purpose .text-center>p {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.card ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--c-txt-muted);
}

/* Header Phone Button */
.nav-links .btn-primary {
    padding: 8px 20px;
    font-size: 0.8rem;
    border: none;
}

.nav-links .btn-primary .phone-icon {
    font-size: 1.1em;
}

.nav-links .btn-ghost {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Hero Section */
.hero .kicker {
    color: #fff;
    opacity: 0.9;
}

.hero-buttons {
    gap: 15px;
    flex-wrap: wrap;
}

.btn-phone-hero {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-phone-hero .phone-icon {
    font-size: 1.2em;
}

.btn-ghost-hero {
    color: #fff;
    border-color: #fff;
}

/* About Section */
#about .text-center>p {
    max-width: 700px;
    margin: 0 auto 3rem;
}

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

.grid-auto-fit .card p {
    color: var(--c-txt-muted);
}

/* Strength Section */
#strength .grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.row-wrap {
    flex-wrap: wrap;
}

/* Featured Product Section */
.featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.featured-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.featured-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.featured-note {
    font-size: 0.9rem;
}

.btn-featured {
    margin-top: 20px;
}

/* Products Section */
.product-placeholder {
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.product-body p {
    font-size: 0.9rem;
    color: #555;
}

.products-footer {
    margin-top: 40px;
}

/* Flow Section Updated */
.flow-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    position: relative;
    border-bottom: 2px solid var(--c-bg-alt);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.flow-tab {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 1rem;
    color: var(--c-txt-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.flow-tab.active {
    color: var(--c-primary);
}

.flow-tab-glider {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 4px;
    width: 50%;
    background: var(--c-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    border-radius: 2px;
}

.flow-container {
    position: relative;
    min-height: 300px;
}

.flow-panel {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.flow-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flow-section {
    background: var(--c-white);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}

.flow-type-title {
    font-size: 1.5rem;
    color: var(--c-primary);
    margin-bottom: 5px;
    text-align: center;
}

.flow-type-desc {
    text-align: center;
    color: var(--c-txt-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.flow-grid-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.flow-item-simple {
    text-align: center;
    position: relative;
    padding-top: 20px;
}

.flow-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--c-primary);
    color: #fff;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 500;
}

.flow-item-simple h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.flow-item-simple p {
    font-size: 0.85rem;
    color: var(--c-txt-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .flow-grid-simple {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .flow-section {
        padding: 30px 20px;
    }
}

/* FAQ Section */
#faq .container {
    max-width: 800px;
}

/* Company Section */
.company-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.greeting-box {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 30px;
    background: var(--c-bg-alt);
    border-radius: var(--radius);
}

.greeting-box h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--c-primary);
    font-weight: 700;
}

.greeting-box p {
    line-height: 1.8;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.greeting-box p:last-child {
    margin-bottom: 0;
}

/* Company Section Layout */
.company-info-box {
    margin-bottom: 80px;
}

.company-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.media-intro {
    margin: 100px 0;
    text-align: center;
}

.contact-zone {
    margin-top: 80px;
}

.company-dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 15px 0;
    line-height: 1.6;
}

.company-dl dt {
    font-weight: bold;
    color: var(--c-primary);
}

/* Contact Section */
.contact-zone h2 {
    margin-bottom: 20px;
}

.phone-box {
    background: var(--c-bg-alt);
    border-left: 6px solid var(--c-primary);
    padding: 20px 30px;
    margin-bottom: 25px;
    border-radius: var(--radius);
}

.phone-box p {
    font-size: 0.9rem;
    margin: 0 0 10px 0;
    font-weight: bold;
    color: #333;
}

.phone-link {
    font-size: 2rem;
    font-weight: 900;
    color: var(--c-primary);
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
}

.phone-hours {
    font-size: 0.85rem;
    color: #666;
    margin: 5px 0 0 0;
}

.contact-zone>p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.btn-submit {
    width: 100%;
}

/* Footer */
/* Obsolete footer styles removed */

.footer-copyright {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero {
        height: auto;
        padding: 120px 0 80px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .company-flex {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .company-grid {
        display: block;
    }

    .flow-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-phone-hero,
    .btn-ghost-hero {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }

    .flow-tabs {
        flex-direction: column;
        gap: 10px;
        border-bottom: none;
    }

    .flow-tab-glider {
        display: none;
    }

    .flow-tab {
        border: 1px solid #eee;
        border-radius: var(--radius);
        padding: 12px;
    }

    .flow-tab.active {
        background: var(--c-primary);
        color: #fff;
        border-color: var(--c-primary);
    }
}