/*
Theme Name: Life Event Support (LES) Custom Theme
Version: 1.2.0
Description: White, clean B2B Kintone Plugin style theme
*/

:root {
    --primary-color: #1e293b;
    --accent-color: #212A68;
    /* 藍の里 (Ainosato) Indigo */
    --accent-light: #e8eaef;
    --text-color: #334155;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --font-family: 'Inter', 'Noto Sans JP', sans-serif;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.8;
}

h1,
h2,
h3,
h4 {
    color: var(--primary-color);
    font-weight: 800;
    margin-top: 0;
    line-height: 1.4;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

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

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 8rem 0;
}

.bg-white {
    background: #ffffff;
}

.bg-light {
    background: var(--bg-light);
}

.rounded-image {
    border-radius: var(--border-radius-lg);
    width: 100%;
    height: auto;
    display: block;
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* Typography */
.text-accent {
    color: var(--accent-color);
}

.section-badge {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
    background: var(--accent-light);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    font-weight: 500;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(224, 90, 126, 0.3);
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(224, 90, 126, 0.4);
}

/* Header */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    padding: 1.8rem 5%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    max-height: 180px;
    width: auto;
    mix-blend-mode: multiply;
    margin: -60px 0;
}

.main-navigation ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.main-navigation a:not(.btn-primary):hover {
    color: var(--accent-color);
}

/* Hero (Toyokumo Full-Bleed Style) */
.b2b-hero-full {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-full-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-full-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.1) 60%, transparent 100%);
}

.noren-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content-overlay {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0 5%;
}

.hero-text-box {
    max-width: 800px;
}

.hero-title-highlight {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 0;
    letter-spacing: -1px;
}

.highlight-line {
    background-color: var(--accent-color);
    color: white;
    padding: 0.3rem 1.2rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline-block;
    margin-bottom: 5px;
}

.hero-lead-highlight {
    font-size: 1.3rem;
    margin-bottom: 0;
    line-height: 1.8;
    font-weight: 700;
}

.highlight-line-small {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline-block;
    margin-bottom: 5px;
    border-left: 4px solid var(--accent-color);
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* About / Company */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    border-top: 3px solid var(--accent-color);
    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: white;
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.company-table th {
    width: 30%;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--bg-light);
    border-right: 1px solid white;
}

.company-table td {
    background: white;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-catchphrase {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.check-list-b2b {
    list-style: none;
    padding: 0;
}

.check-list-b2b li {
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
}

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

.b2b-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--accent-color);
}

.b2b-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon-b2b {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-light);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Products Section */
.product-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 2rem;
}

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-row.reverse .product-info {
    order: -1;
}

.product-tag {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.product-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-info p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.product-image img {
    border: 1px solid #e2e8f0;
    transition: transform 0.4s;
}

.product-image img:hover {
    transform: scale(1.02);
}

/* News Section */
.news-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-header {
    text-align: center;
    margin-bottom: 2rem;
}

.news-lead {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    border-top: 1px solid #e2e8f0;
}

.news-item {
    display: flex;
    gap: 2rem;
    align-items: baseline;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    transition: 0.3s;
}

.news-item:hover {
    background-color: var(--bg-light);
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 8px;
    border-bottom-color: transparent;
}

.news-date {
    color: var(--text-light);
    font-weight: 600;
    font-family: monospace;
    font-size: 1.05rem;
    white-space: nowrap;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.news-title a {
    color: var(--primary-color);
}

.news-title a:hover {
    color: var(--accent-color);
}

/* Column Section */
.column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.column-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.column-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.column-thumb {
    overflow: hidden;
    aspect-ratio: 16/9;
}

.column-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    border-radius: 0;
}

.column-card:hover .column-thumb img {
    transform: scale(1.05);
}

.column-content {
    padding: 1.5rem;
}

.column-date {
    display: block;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.column-title {
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.4;
    color: var(--primary-color);
    transition: 0.3s;
}

.column-card:hover .column-title {
    color: var(--accent-color);
}

/* Contact */
.contact-b2b {
    background: linear-gradient(180deg, var(--bg-light) 0%, #e2e8f0 100%);
}

.contact-box-clean {
    max-width: 800px;
    margin: 0 auto;
}

.b2b-form {
    background: white;
    padding: 3rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: #f8fafc;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 3px var(--accent-light);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.b2b-card.reveal {
    transition-delay: calc(var(--animation-order) * 0.15s);
}

@media (max-width: 900px) {
    .hero-full-bg::after {
        background: rgba(255, 255, 255, 0.7);
    }

    .hero-inner,
    .about-grid,
    .product-row,
    .column-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .news-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .product-row.reverse .product-info {
        order: 0;
    }

    .b2b-hero {
        padding-top: 100px;
        text-align: center;
    }

    .hero-cta {
        display: flex;
        justify-content: center;
    }

    .main-navigation ul {
        display: none;
    }
}