/* =========================================
   GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --white: #ffffff;
    --off-white: #f5f8f9;
    --cream: #fafcfc;
    --gray-50: #f0f4f5;
    --gray-100: #e4eaec;
    --gray-200: #cdd6d9;
    --gray-300: #a8b8bd;
    --gray-400: #7a909a;
    --gray-500: #566d77;
    --gray-600: #425660;
    --gray-700: #2f3f47;
    --gray-800: #1c2a31;
    --gray-900: #0c1519;

    /* Brand Colors */
    --turquoise: #0099ad;
    --turquoise-dark: #007a8a;
    --turquoise-light: #e8f6f8;
    --turquoise-pale: #f2fafb;
    --turquoise-transparent: rgba(0, 153, 173, 0.06);
    
    /* Section Backgrounds */
    --bg-section-primary: var(--white);
    --bg-section-secondary: var(--gray-50);
    --bg-section-accent: var(--turquoise);

    /* Semantic Colors */
    --text-main: var(--gray-900);
    --text-body: var(--gray-700);
    --text-muted: var(--gray-500);
    --text-on-dark: var(--white);
    --bg-body: var(--white);
    --bg-subtle: var(--off-white);
    --border-light: var(--gray-200);

    /* Typography */
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

    /* Type Scale */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 2rem;       /* 32px */
    --text-4xl: 3rem;       /* 48px */

    /* Font Weights */
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-bold: 600;

    /* Spacing Scale */
    --space-xs: 0.5rem;   /* 8px */
    --space-sm: 1rem;     /* 16px */
    --space-md: 1.5rem;   /* 24px */
    --space-lg: 2rem;     /* 32px */
    --space-xl: 3rem;     /* 48px */
    --space-2xl: 4rem;    /* 64px */
    --space-3xl: 6rem;    /* 96px */
    --space-4xl: 8rem;    /* 128px */
    
    /* Layout Defaults */
    --container-width: 1200px;
    --container-padding: 4rem;
    --section-padding: var(--space-2xl);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    background: var(--bg-body);
    color: var(--text-body);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "palt";
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: var(--fw-regular);
    line-height: 1.4;
    color: var(--text-main);
    letter-spacing: 0.02em;
    margin-bottom: var(--space-md);
}

p {
    line-height: 1.8;
    color: var(--text-body);
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
    letter-spacing: 0.04em;
    text-align: justify;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-base);
}

strong {
    font-weight: var(--fw-bold);
    color: var(--text-main);
}

small {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* Ampersand styling */
.amp {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-style: normal;
    font-weight: var(--fw-light);
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--space-3xl) 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Section Specific Padding */
#services, #identity, #portfolio, #who-we-are { padding: var(--space-4xl) 0; }
#news, #company { padding: var(--space-2xl) 0; }

/* Section Headers */
.section-header {
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    text-align: left;
}

.section-label {
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--turquoise);
    margin-bottom: var(--space-sm);
    display: block;
}

.section-label-decorated {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.section-label-decorated::before,
.section-label-decorated::after {
    content: '';
    width: 20px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--fw-regular);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-main);
}

/* =========================================
   HEADER
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    height: 64px;
    display: flex;
    align-items: center;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-subtle);
    height: 56px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: var(--fw-bold);
    color: var(--text-main);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.logo-subtext {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: var(--fw-medium);
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav ul {
    display: flex;
    gap: 0.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--text-body);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    text-align: center;
}

nav a .nav-en {
    font-size: 0.8rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

nav a .nav-ja {
    font-size: 0.65rem;
    font-weight: var(--fw-medium);
    color: var(--gray-400);
    transition: color 0.2s ease;
}

nav a:hover .nav-ja {
    color: var(--turquoise-dark);
}

nav a:hover {
    color: var(--turquoise-dark);
    background-color: var(--turquoise-light);
    font-weight: var(--fw-bold);
    transform: translateY(-1px);
}

nav a.active {
    color: var(--turquoise);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: var(--fw-bold);
    margin-left: 0.5rem;
    border-left: 1px solid var(--gray-200);
    padding-left: 1rem;
    opacity: 1;
}

.lang-link {
    text-decoration: none;
    color: var(--gray-400);
    transition: color 0.2s ease;
    padding: 0 !important;
    background: none !important;
}

.lang-link.active,
.lang-link:hover {
    color: var(--turquoise);
    transform: none !important;
}

.lang-sep {
    display: none;
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =========================================
   HERO
   ========================================= */
.hero {
    min-height: 100vh;
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 2rem 6rem;
    background-image: url('images/philosophy_image.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(1px);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.hero-brand-sub {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--turquoise);
    margin-bottom: 0.25rem;
    display: block;
    opacity: 0.9;
}

.hero-brand-sub::before, .hero-brand-sub::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--turquoise);
    vertical-align: middle;
    margin: 0 12px;
    opacity: 0.4;
}

.hero-brand-main {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 7vw, 4.2rem);
    font-weight: var(--fw-bold);
    letter-spacing: 0.08em;
    color: var(--text-main);
    line-height: 1.1;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-brand .logo-subtext {
    font-family: var(--font-serif);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-main);
    opacity: 0.7;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
    display: block;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: var(--fw-regular);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.1em;
    line-height: 2;
    color: var(--text-body);
    font-feature-settings: "palt";
}

.hero-intro {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--text-body);
    font-weight: var(--fw-regular);
    margin-bottom: var(--space-lg);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.hero-tag {
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--turquoise-dark);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--turquoise-light);
    padding: 0.5em 1em;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.pc-br { display: block; }

/* =========================================
   SECTIONS & COMPONENTS
   ========================================= */
#news, .news-section { background: var(--bg-section-primary); }
#who-we-are { background: var(--bg-section-secondary); }
#services { background: var(--bg-section-primary); color: var(--text-body); }
#audience, .audience-section { background: var(--bg-section-secondary); padding: var(--space-xl) 0; }
#support { background: var(--bg-section-secondary); }
#portfolio { background: var(--bg-section-primary); }
#company, .company-section { background: var(--bg-section-secondary); padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
#identity, .identity-section { background: var(--bg-section-primary); color: var(--text-body); }
#team { background: var(--bg-section-primary); }
#instagram, .instagram-section { background: var(--bg-section-primary); }
#contact, .contact-section { background: var(--bg-section-secondary); position: relative; }

/* Identity Section */
#identity .identity-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-subtle);
}
#identity .identity-number { color: var(--turquoise-dark); }
#identity .identity-title { color: var(--text-main); }
#identity .identity-subtitle { color: var(--text-muted); }
#identity .identity-text { color: var(--text-body); }
#identity .identity-text strong { color: var(--text-main); }
#identity .identity-values { border-top-color: var(--gray-100); }
#identity .value-label { color: var(--turquoise); }
#identity .value-desc { color: var(--text-muted); }

/* Contact Section Decoration */
#contact::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--turquoise) 0%, var(--turquoise-dark) 100%);
}

/* Contact Section - Simple Button Design */
.contact-header {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.contact-intro {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: var(--space-xl);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 800px;
    margin: 0 auto;
}

.contact-btn {
    display: block;
    padding: var(--space-lg);
    background: var(--turquoise);
    border: none;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 153, 173, 0.2);
}

.contact-btn:hover {
    background: var(--turquoise-dark);
    box-shadow: 0 6px 16px rgba(0, 153, 173, 0.3);
    transform: translateY(-2px);
}

.contact-info h3 {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--white);
    margin-bottom: var(--space-xs);
    font-family: var(--font-serif);
}

.contact-info p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.contact-btn > span {
    display: none;
}

/* Footer */
.site-footer { background: var(--turquoise); color: var(--white); font-size: 0.9375rem; }

/* Philosophy */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
    align-items: flex-start;
    max-width: 1000px;
    margin: 0;
}

.philosophy-visual { text-align: left; position: sticky; top: 120px; }
.philosophy-content { font-size: var(--text-base); line-height: 2; color: var(--text-body); }
.philosophy-text strong { color: var(--turquoise); font-weight: var(--fw-semibold); }

.brand-name {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--turquoise);
    margin-bottom: 0.5rem;
}

.brand-meaning {
    font-size: var(--text-sm);
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-serif);
}

.meaning-item { font-weight: var(--fw-medium); color: var(--text-body); }
.meaning-plus { color: var(--turquoise); font-weight: var(--fw-bold); }

/* Audience */
.audience-intro {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: var(--space-xl);
    text-align: left;
    max-width: 800px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.audience-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-subtle);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.audience-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.audience-card-title { font-size: var(--text-base); font-weight: var(--fw-semibold); color: var(--turquoise); margin-bottom: var(--space-xs); }
.audience-desc { font-size: var(--text-sm); line-height: 1.6; color: var(--text-body); margin: 0; }

/* Value Proposition */
.value-prop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.value-prop-item { padding: var(--space-md) 0; border-bottom: 1px solid var(--gray-200); }
.value-prop-item:last-child { border-bottom: none; }
.value-prop-title {
    font-size: 1.25rem;
    font-weight: var(--fw-regular);
    color: var(--text-main);
    margin-bottom: var(--space-xs);
    font-family: var(--font-serif);
}
.value-prop-title::before {
    content: ''; display: inline-block; width: 3px; height: 1.25rem;
    background: var(--turquoise); margin-right: var(--space-sm); vertical-align: middle;
}
.value-prop-desc { font-size: var(--text-base); line-height: 1.75; color: var(--text-body); }
.value-prop-list { list-style: none; margin-top: var(--space-sm); padding: 0; }
.value-prop-list li {
    font-size: var(--text-sm); line-height: 1.75; color: var(--text-body);
    padding: var(--space-xs) 0; padding-left: var(--space-md); position: relative;
}
.value-prop-list li::before {
    content: '•'; position: absolute; left: 0; color: var(--turquoise);
    font-weight: var(--fw-bold); font-size: var(--text-base);
}

/* Services (Competence) */
.competence-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; margin-top: var(--space-xl); }
.competence-item { display: flex; flex-direction: column; transition: transform var(--transition-smooth); }
.competence-item:hover { transform: translateY(-4px); }
.competence-img-wrapper {
    margin-bottom: 2rem; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-card); aspect-ratio: 16/10; transition: box-shadow var(--transition-smooth);
}
.competence-item:hover .competence-img-wrapper { box-shadow: var(--shadow-medium); }
.competence-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.competence-tag {
    font-size: var(--text-xs); font-weight: var(--fw-bold); color: var(--turquoise);
    text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--space-sm);
}
.competence-title { font-size: var(--text-2xl); margin-bottom: var(--space-md); color: var(--text-main); line-height: 1.3; }
.competence-desc { font-size: var(--text-sm); line-height: 1.9; margin-bottom: var(--space-lg); flex-grow: 1; color: var(--text-body); }

/* Portfolio */
.portfolio-intro { max-width: 800px; margin: 0 0 var(--space-xl) 0; text-align: left; }
.portfolio-intro p { font-size: var(--text-lg); line-height: 2; color: var(--text-body); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.portfolio-card {
    background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card); transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    display: flex; flex-direction: column; overflow: hidden;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.portfolio-card-image {
    position: relative; width: 100%; height: 180px; overflow: hidden;
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--turquoise-dark) 100%);
}
.portfolio-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-card-image-placeholder {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--turquoise-dark) 100%); opacity: 0.9;
}
.portfolio-card-image img + .portfolio-card-image-placeholder,
.portfolio-card-image img[src]:not([src=""]) + .portfolio-card-image-placeholder { display: none; }
.portfolio-card-image img:not([src]) + .portfolio-card-image-placeholder,
.portfolio-card-image img[src=""] + .portfolio-card-image-placeholder { display: flex; }
.portfolio-card-image-placeholder span {
    font-family: var(--font-serif); font-size: var(--text-lg); font-weight: var(--fw-bold);
    color: var(--white); letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.8;
}
.portfolio-card-content { padding: var(--space-md); display: flex; flex-direction: column; flex-grow: 1; }
.portfolio-card-category { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.category-tag {
    font-size: var(--text-xs); font-weight: var(--fw-semibold); padding: 0.35em 0.8em;
    border-radius: var(--radius-full); letter-spacing: 0.02em;
}
.category-tag.product { background: var(--turquoise); color: var(--white); }
.category-tag.plant { background: var(--gray-700); color: var(--white); }
.category-tag.future { background: var(--gray-400); color: var(--white); }
.category-target { font-size: var(--text-xs); color: var(--text-muted); }
.portfolio-card-title {
    font-family: var(--font-serif); font-size: var(--text-xl); font-weight: var(--fw-bold);
    color: var(--text-main); margin-bottom: var(--space-xs); line-height: 1.4;
}
.portfolio-card-desc { font-size: var(--text-sm); line-height: 1.75; color: var(--text-body); margin-bottom: var(--space-md); flex-grow: 1; }
.portfolio-card-tags { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: auto; }
.portfolio-card-tags span { font-size: var(--text-xs); padding: 0.25em 0.6em; border-radius: var(--radius-sm); }
.portfolio-card-tags .tag-target { color: var(--white); background: var(--turquoise); }
.portfolio-card-tags .tag-service { color: var(--gray-600); background: var(--white); border: 1px solid var(--gray-300); }
.portfolio-card-cta { margin-top: auto; }
.portfolio-card-cta a {
    display: inline-flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm);
    font-weight: var(--fw-bold); color: var(--turquoise); transition: all 0.3s ease; padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
}
.portfolio-card-cta a:hover { color: var(--turquoise-dark); transform: translateX(4px); border-bottom-color: var(--turquoise-dark); }

/* Team */
.team-list { display: grid; gap: 4rem; }
.member-item { padding-bottom: 3rem; border-bottom: 1px solid var(--gray-200); }
.member-item:last-child { border-bottom: none; padding-bottom: 0; }
.member-role { font-size: var(--text-xs); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.1em; color: var(--turquoise); margin-bottom: 0.75rem; }
.member-name { font-size: var(--text-3xl); font-weight: var(--fw-medium); margin-bottom: 0.5rem; color: var(--text-main); }
.member-title { font-size: var(--text-base); font-weight: var(--fw-bold); color: var(--text-muted); margin-bottom: 2rem; }
.member-profile { font-size: var(--text-sm); line-height: 1.8; color: var(--text-body); }

/* Company Info */
.company-map { margin-top: var(--space-3xl); width: 100%; height: 350px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.company-map iframe { width: 100%; height: 100%; border: 0; }
.company-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); max-width: 900px; margin: 0 auto; }
.company-info-item { padding: var(--space-md) 0; border-bottom: 1px solid var(--gray-100); }
.company-info-item:last-child { border-bottom: none; }
.company-info-item-full { grid-column: 1 / -1; }
.company-info-label { font-size: var(--text-xs); font-weight: var(--fw-bold); color: var(--turquoise); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-sm); }
.company-info-value { font-size: var(--text-base); line-height: 1.75; color: var(--text-body); }

/* Identity */
.identity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); max-width: 1000px; margin: 0 auto; }
.identity-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-xl); box-shadow: var(--shadow-card); position: relative; transition: transform var(--transition-smooth), box-shadow var(--transition-smooth); }
.identity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.identity-card-large { grid-column: 1 / -1; }
.identity-number { font-family: var(--font-serif); font-size: var(--text-xs); font-weight: var(--fw-bold); color: var(--turquoise); margin-bottom: var(--space-md); letter-spacing: 0.1em; }
.identity-title { font-family: var(--font-serif); font-size: var(--text-2xl); font-weight: var(--fw-bold); color: var(--text-main); margin-bottom: var(--space-xs); letter-spacing: -0.01em; }
.identity-subtitle { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: var(--space-md); }
.identity-text { font-size: var(--text-base); line-height: 1.8; color: var(--text-body); }
.identity-text strong { color: var(--text-main); font-weight: var(--fw-semibold); }
.identity-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--gray-100); }
.identity-value-item { display: flex; flex-direction: column; gap: var(--space-xs); }
.value-label { font-family: var(--font-serif); font-size: var(--text-sm); font-weight: var(--fw-bold); color: var(--turquoise); letter-spacing: 0.02em; }
.value-desc { font-size: var(--text-sm); color: var(--text-body); line-height: 1.6; }

/* News List */
.news-list { margin-bottom: var(--space-xl); border-top: 1px solid var(--gray-100); }
.news-list-item { display: flex; align-items: baseline; padding: var(--space-md) 0; border-bottom: 1px solid var(--gray-100); text-decoration: none; color: var(--text-main); transition: color var(--transition-base); flex-wrap: wrap; gap: var(--space-md); }
.news-list-item:hover { color: var(--turquoise); }
.news-list-date { font-family: var(--font-sans); font-size: 0.8125rem; color: var(--text-muted); width: 100px; flex-shrink: 0; }
.news-list-title { font-size: 0.9375rem; font-weight: var(--fw-regular); flex-grow: 1; display: inline-block; transition: transform var(--transition-base); }
.news-list-item:hover .news-list-title { transform: scale(1.05); }
.news-list-arrow { color: var(--turquoise); opacity: 0.5; transition: opacity var(--transition-base); }
.news-list-item:hover .news-list-arrow { opacity: 1; }
.news-more-link { display: inline-block; font-size: 0.9375rem; font-weight: var(--fw-bold); color: var(--turquoise); text-decoration: none; letter-spacing: 0.05em; transition: all var(--transition-base); }

/* Footer Layout */
.footer-top { padding: var(--space-3xl) 0 var(--space-xl); border-top: 1px solid rgba(255, 255, 255, 0.15); display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-xl); }
.footer-main { padding: var(--space-2xl) 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-xl); }
.footer-brand .footer-logo-text { font-family: var(--font-serif); font-size: 1.5rem; font-weight: var(--fw-bold); color: var(--white); margin-bottom: var(--space-xs); display: block; text-decoration: none; }
.footer-brand .footer-tagline { font-size: 0.75rem; color: rgba(255, 255, 255, 0.8); letter-spacing: 0.05em; text-transform: uppercase; }
.footer-nav { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.footer-nav a { color: rgba(255, 255, 255, 0.9); text-decoration: none; font-size: 0.875rem; transition: color var(--transition-base); }
.footer-nav a:hover { color: var(--white); }
.footer-column h4 { font-family: var(--font-sans); font-size: 0.6875rem; font-weight: var(--fw-bold); color: var(--white); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-md); opacity: 0.9; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--space-sm); }
.footer-links a { color: rgba(255, 255, 255, 0.9); text-decoration: none; transition: color var(--transition-base); font-size: 0.875rem; display: inline-flex; align-items: center; gap: var(--space-xs); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding: var(--space-lg) 0; border-top: 1px solid rgba(255, 255, 255, 0.2); display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.9); }
.footer-legal { display: flex; gap: var(--space-lg); }
.footer-legal a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color var(--transition-base); }
.footer-legal a:hover { color: var(--white); }

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

/* 1024px - Tablet Navigation Adjustment */
@media (max-width: 1024px) {
    :root {
        --container-padding: 2rem;
    }
    nav { gap: 1rem; }
    nav ul { gap: 0.5rem; }
    nav a { padding: 0.4rem 0.6rem; }
    nav a .nav-en { font-size: 0.7rem; }
    nav a .nav-ja { font-size: 0.6rem; }
}

/* 960px */
@media (max-width: 960px) {
    :root {
        --container-padding: 2rem;
        --section-padding: 4rem;
        --space-3xl: 4rem;
        --space-4xl: 5rem;
    }
    .hero h1 { font-size: 3rem; }
    .section-title { font-size: 2.25rem; }
}

/* 900px - Logo Text Wrap */
@media (max-width: 900px) {
    .logo-text {
        white-space: normal;
        max-width: 90px;
        line-height: 1.3;
        font-size: 0.9rem;
    }
    .logo-subtext { font-size: 0.55rem; }
}

/* 768px - Mobile Navigation & Layout */
@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
        --section-padding: 3rem;
    }
    
    .pc-br { display: none; }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle { display: flex !important; }

    /* Navigation (Mobile) */
    header nav {
        position: fixed;
        top: 0; right: -100%; width: 100%; height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: none;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        padding-top: 0;
        display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
    }
    header nav.active { right: 0; }
    header nav ul { flex-direction: column; gap: 2rem; padding: 0; width: 100%; align-items: center; }
    header nav ul li { width: auto; }
    header nav ul li a {
        display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0;
        font-size: 1.5rem; color: var(--text-main); text-align: center;
    }
    header nav ul li a .nav-en { font-size: 1.8rem; }
    header nav ul li a .nav-ja { font-size: 0.9rem; opacity: 0.8; }
    header nav ul li a:hover { background: none; color: var(--turquoise); }
    
    .lang-switch { margin: 0; border: none; padding: 0; font-size: 1.2rem; margin-top: 1rem; justify-content: center; }

    /* Layout Changes */
    .audience-grid, .value-prop-grid, .competence-grid, .contact-grid, .company-info-grid, .footer-top {
        grid-template-columns: 1fr; gap: 2rem;
    }
    
    /* Identity Section - 1 Column on 768px */
    .identity-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    .identity-card-large { grid-column: span 1; }
    .identity-values { grid-template-columns: 1fr; }

    /* Other Sections */
    .section-header { margin-bottom: var(--space-lg); max-width: 100%; }
    .philosophy-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    .philosophy-visual { position: static; margin-bottom: var(--space-md); }
    .philosophy-brand-row { flex-direction: column; align-items: flex-start; gap: var(--space-xs); }
    .hero-actions { flex-direction: column; gap: var(--space-sm); width: 100%; max-width: 320px; margin: 0 auto; }
    
    /* News List */
    .news-list-item { flex-direction: column; align-items: flex-start; gap: var(--space-xs); padding: var(--space-md); }
    .news-list-arrow { display: none; }
    
    /* Footer */
    .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
    .instagram-visual-grid { grid-template-columns: repeat(2, 1fr); }
    .instagram-action { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
    
    /* Contact Form */
    .contact-form-wrapper { padding: var(--space-lg); }
    .form-row { grid-template-columns: 1fr; }
}

/* 640px */
@media (max-width: 640px) {
    .logo-text { font-size: 0.85rem; max-width: 80px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-card-image { height: 160px; }
    .portfolio-card-content { padding: var(--space-lg); }
    .management-table { font-size: var(--text-sm); }
    .management-table th, .management-table td { padding: var(--space-sm) var(--space-md); }
    .article-content blockquote { padding: var(--space-md) var(--space-lg); font-size: var(--text-sm); }
    .footer-main { flex-direction: column; text-align: center; gap: var(--space-lg); }
    .footer-nav { justify-content: center; }
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-actions { width: 100%; justify-content: center; }
}

/* =========================================
   OTHER PAGE STYLES
   ========================================= */
   
/* News Page */
.news-page-section, .news-article-section {
    padding-top: calc(80px + var(--space-xl));
    padding-bottom: var(--section-padding);
    background: var(--white);
}

.news-list-full { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--gray-200); max-width: 900px; margin: 0 auto; }
.news-list-item-full { display: flex; align-items: baseline; padding: 1.5rem 0; background: transparent; border-radius: 0; border-bottom: 1px solid var(--gray-200); transition: all var(--transition-base); position: relative; gap: 2rem; }
.news-list-item-full:hover { background: transparent; transform: none; }
.news-item-meta { display: flex; align-items: center; gap: var(--space-md); margin-bottom: 0; flex-shrink: 0; width: 140px; }
.news-item-date { font-size: 0.9rem; color: var(--text-muted); font-family: var(--font-sans); letter-spacing: 0.05em; }
.news-item-category { font-size: 0.7rem; font-weight: var(--fw-semibold); color: var(--turquoise); border: 1px solid var(--turquoise-light); padding: 0.15em 0.6em; border-radius: var(--radius-full); }
.news-item-title { font-family: var(--font-serif); font-size: 1.1rem; font-weight: var(--fw-regular); color: var(--text-main); margin-bottom: 0; line-height: 1.6; flex-grow: 1; transition: color 0.2s ease; }
.news-list-item-full:hover .news-item-title { color: var(--turquoise); }
.news-list-item-full .news-item-arrow { position: static; transform: none; font-size: 1rem; color: var(--turquoise); opacity: 0; transition: all 0.3s ease; }
.news-list-item-full:hover .news-item-arrow { opacity: 1; transform: translateX(5px); right: auto; }

@media (max-width: 768px) {
    .news-page-section, .news-article-section { padding-top: calc(80px + var(--space-lg)); padding-bottom: var(--space-lg); }
    .news-list-item-full { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1.25rem 0; }
    .news-item-meta { width: auto; margin-bottom: 0.25rem; }
    .news-list-item-full:hover .news-item-arrow { display: none; }
    .article-title { font-size: 1.75rem; }
    .article-header { margin-bottom: var(--space-lg); padding-bottom: var(--space-lg); }
    .article-content h2 { margin-top: var(--space-xl); font-size: 1.5rem; }
}

/* Article Details */
.article-header { margin-bottom: var(--space-3xl); padding-bottom: var(--space-2xl); border-bottom: 1px solid var(--gray-100); }
.article-meta { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-md); }
.article-content { max-width: 800px; }
.article-content p { font-size: var(--text-base); line-height: 2; color: var(--text-body); margin-bottom: var(--space-lg); }
.article-content h2 { font-family: var(--font-serif); font-size: var(--text-xl); font-weight: var(--fw-bold); color: var(--text-main); margin-top: var(--space-3xl); margin-bottom: var(--space-md); padding-bottom: var(--space-sm); border-bottom: 2px solid var(--turquoise); }
.article-content h3 { font-family: var(--font-serif); font-size: var(--text-lg); font-weight: var(--fw-semibold); color: var(--turquoise); margin-top: var(--space-2xl); margin-bottom: var(--space-sm); }
.article-content ul, .article-content ol { margin-bottom: var(--space-lg); padding-left: var(--space-xl); }
.article-content li { font-size: var(--text-base); line-height: 2; color: var(--text-body); margin-bottom: var(--space-sm); }
.article-signature { margin-top: var(--space-3xl); padding: var(--space-xl); background: var(--gray-50); border-radius: var(--radius-md); }
.article-contact { margin-top: var(--space-3xl); padding: var(--space-xl); background: var(--turquoise-pale); border-radius: var(--radius-md); border-left: 4px solid var(--turquoise); }
.article-footer { margin-top: var(--space-4xl); padding-top: var(--space-2xl); border-top: 1px solid var(--gray-100); }

/* Back to Top */
#back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background-color: var(--turquoise); color: var(--white); border: none; border-radius: 50%;
    font-size: 24px; cursor: pointer; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s ease;
    z-index: 1000; display: flex; align-items: center; justify-content: center;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background-color: var(--turquoise-dark); transform: translateY(-5px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); }

@media (max-width: 768px) {
    #back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; font-size: 20px; }
}

/* Contact Page */
.contact-page-section { padding-top: calc(80px + var(--space-2xl)); padding-bottom: var(--space-2xl); background: var(--bg-section-secondary); min-height: 100vh; }
.contact-page-intro { text-align: left; font-size: var(--text-lg); color: var(--text-body); margin-bottom: var(--space-xl); line-height: 1.8; }
.contact-form-wrapper { max-width: 700px; margin: 0 auto; background: var(--white); padding: var(--space-xl); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-md); }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: var(--text-sm); font-weight: var(--fw-medium); color: var(--text-main); }
.form-group label .required { color: #e53935; }
.form-group label .optional { color: var(--text-muted); font-weight: var(--fw-regular); }
.form-group input, .form-group select, .form-group textarea {
    padding: 0.875rem 1rem; border: 1px solid var(--gray-200); border-radius: var(--radius-md);
    font-size: var(--text-base); font-family: var(--font-sans); background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 3px var(--turquoise-transparent); }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23566d77' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.submit-btn {
    width: 100%; padding: 1rem 2rem; background: var(--turquoise); color: var(--white);
    border: none; border-radius: var(--radius-md); font-size: var(--text-lg); font-weight: var(--fw-medium);
    cursor: pointer; transition: background 0.3s ease, transform 0.2s ease; margin-top: var(--space-sm);
}
.submit-btn:hover { background: var(--turquoise-dark); transform: translateY(-2px); }
.form-note { font-size: var(--text-sm); color: var(--text-muted); text-align: center; margin-top: var(--space-sm); }

/* Form Error Display */
.form-errors {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    color: #856404;
}

.form-errors ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.form-errors li {
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-xs);
}

.form-errors li:last-child {
    margin-bottom: 0;
}

.form-errors li::before {
    content: '⚠ ';
    font-weight: var(--fw-bold);
}
.form-success { text-align: center; padding: var(--space-2xl) var(--space-lg); }
.form-success .success-icon { font-size: 64px; color: var(--turquoise); margin-bottom: var(--space-lg); animation: checkmark 0.8s ease; }
.form-success .success-title { font-size: var(--text-2xl); color: var(--text-main); margin-bottom: var(--space-md); font-weight: var(--fw-regular); }
.form-success .success-message { font-size: var(--text-base); color: var(--text-body); line-height: 1.8; margin-bottom: var(--space-xl); }
.form-success .success-back { display: inline-block; padding: 1rem 2.5rem; background: var(--turquoise); color: var(--white); text-decoration: none; border-radius: var(--radius-md); transition: all 0.3s ease; }
.form-success .success-back:hover { background: var(--turquoise-dark); transform: translateY(-2px); }

/* Legal Pages */
.legal-page-section { padding-top: calc(80px + var(--space-2xl)); padding-bottom: var(--space-3xl); background: var(--white); min-height: 100vh; }
.legal-intro { font-size: var(--text-lg); color: var(--text-body); margin-bottom: var(--space-2xl); line-height: 1.8; }
.legal-content h2 { font-family: var(--font-serif); font-size: var(--text-lg); font-weight: var(--fw-bold); color: var(--text-main); margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.legal-content p, .legal-content li { font-size: var(--text-base); line-height: 1.9; color: var(--text-body); margin-bottom: var(--space-md); }
.legal-contact { margin-top: var(--space-2xl); padding: var(--space-xl); background: var(--gray-50); border-radius: var(--radius-md); }
.legal-date { margin-top: var(--space-2xl); font-size: var(--text-sm); color: var(--gray-400); }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--gray-900); color: var(--white); padding: var(--space-lg) var(--space-xl); z-index: 9999; transform: translateY(100%); transition: transform 0.4s ease; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-content { max-width: var(--container-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); flex-wrap: wrap; }
.cookie-content p { margin: 0; font-size: var(--text-sm); line-height: 1.6; color: rgba(255, 255, 255, 0.9); flex: 1; min-width: 280px; }
.cookie-content a { color: var(--turquoise-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--space-sm); flex-shrink: 0; }
.cookie-btn { padding: var(--space-sm) var(--space-lg); border: none; border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: var(--fw-medium); cursor: pointer; transition: all var(--transition-base); }
.cookie-btn-accept { background: var(--turquoise); color: var(--white); }
.cookie-btn-accept:hover { background: var(--turquoise-dark); }
.cookie-btn-decline { background: transparent; color: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.3); }
.cookie-btn-decline:hover { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
