:root {
    --primary-color: #245fb3;
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --border-color: #E6E6E6;
    --font-family: 'Noto Sans JP', sans-serif;
    --radius-large: 60px;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    background-color: #FFFFFF;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-large {
    max-width: 1200px;
}

.container-small {
    max-width: 700px;
    margin: 0 auto;
}

/* Typography elements */
.section-subtitle {
    display: block;
    color: #245fb3;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 40px;
}

.case-title-break {
    display: none;
}

.service-title-break {
    display: none;
}

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

.d-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #FFF;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #1d4f95;
}

.btn-outline {
    background-color: #FFF;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--bg-light);
}


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

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo img {
    display: block;
}

.header-nav ul {
    display: flex;
    gap: 24px;
}

.header-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
    transform-origin: left;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    width: 100%;
    background:
        radial-gradient(circle at 12% 14%, rgba(208, 227, 255, 0.55), transparent 24%),
        radial-gradient(circle at 88% 18%, rgba(208, 231, 255, 0.45), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    overflow: hidden;
    padding: 36px 0 24px;
}

.hero-inner {
    width: min(1360px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(360px, 540px) minmax(420px, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 72px);
}

.hero-copy {
    max-width: 540px;
}

.hero-eyebrow {
    margin: 0 0 18px;
    color: #5f7799;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    color: #163661;
    font-size: clamp(48px, 6vw, 84px);
    line-height: 1.02;
    font-weight: 800;
}

.hero-line {
    display: block;
}

.hero-lead {
    margin: 28px 0 0;
    color: #3a587b;
    font-size: clamp(18px, 1.55vw, 24px);
    line-height: 1.95;
    font-weight: 700;
}

.hero-lead-line {
    display: block;
}

.hero-lead-line-spaced {
    margin-top: 14px;
}

.hero-chips {
    list-style: none;
    margin: 34px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-chips li {
    padding: 12px 18px;
    border-radius: 999px;
    background: #dff0ff;
    color: #315f99;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 10px 20px rgba(180, 212, 246, 0.24);
}

.hero-art {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 620px;
}

.hero-art img {
    display: block;
    width: min(100%, 660px);
    height: auto;
    filter: drop-shadow(0 28px 60px rgba(168, 213, 255, 0.28));
}


/* Section Common */
.section {
    padding: 100px 0;
}

.bg-rounded {
    background-color: var(--bg-light);
    position: relative;
    z-index: 10;
    padding: 100px 0;
}

/* Services */
.services .section-header {
    margin-bottom: 56px;
}

.services .section-title {
    margin-bottom: 0;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-card {
    display: flex;
    align-items: stretch;
    background: #FFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    padding-right: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card.no-arrow {
    padding-right: 0;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-img {
    width: 430px;
    min-height: 360px;
    flex-shrink: 0;
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.service-body {
    padding: 56px;
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.45;
    text-wrap: balance;
}

.service-heading-line {
    display: block;
}

.service-body p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.tags {
    display: flex;
    gap: 12px;
}

.tags li {
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 20px;
}


/* Case Studies (Strength) */
.case-carousel {
    position: relative;
    margin-top: 12px;
    padding: 12px 0 28px;
}

.case-viewport {
    overflow: hidden;
    padding: 12px 0 20px;
}

.case-track {
    display: flex;
    align-items: stretch;
    gap: 28px;
    will-change: transform;
}

.strength-card {
    background: #FFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.case-slide {
    flex: 0 0 min(68vw, 660px);
    opacity: 0.5;
    transform: scale(0.92);
    transform-origin: center center;
    transition: transform 420ms ease, opacity 420ms ease, box-shadow 420ms ease;
}

.case-slide.is-active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 18px 40px rgba(124, 167, 214, 0.14);
}

.strength-card img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    background: #f8fbff;
    padding: 18px;
}

.strength-card-body {
    padding: 24px;
}

.strength-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.strength-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.case-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    box-shadow: 0 10px 24px rgba(125, 169, 214, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.case-arrow i {
    font-size: 22px;
}

.case-arrow-prev {
    left: -10px;
}

.case-arrow-next {
    right: -10px;
}

.case-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.case-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(78, 121, 166, 0.18);
    cursor: pointer;
}

.case-dot.is-active {
    background: var(--primary-color);
}

/* News */
.news {
    background-color: #FFF; 
    position: relative;
    z-index: 11;
}

.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s;
}

.news-item:hover {
    background-color: var(--bg-light);
}

.news-item.no-arrow {
    padding: 24px 20px;
}

.news-body {
    flex-grow: 1;
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.news-date {
    color: var(--text-light);
}

.news-category {
    font-weight: 500;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 500;
}

/* About */
.about-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #FFF;
}

.about-table th, .about-table td {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
}

.about-table th {
    width: 15%;
    font-weight: 500;
    color: var(--text-light);
}

.about-table td {
    width: 35%;
}

/* Members */
.members {
    background: #ffffff;
    padding: 68px 0;
}

.members .section-header {
    max-width: 860px;
    margin-bottom: 30px;
}

.members .section-title {
    margin-bottom: 14px;
}

.members-intro {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.85;
    max-width: 860px;
}

.member-carousel {
    position: relative;
    margin-top: 4px;
    padding: 0 0 16px;
}

.member-viewport {
    overflow: hidden;
    padding: 10px 0 18px;
}

.member-track {
    display: flex;
    align-items: stretch;
    gap: 28px;
    will-change: transform;
}

.member-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    align-items: stretch;
    min-height: 100%;
}

.member-slide {
    flex: 0 0 min(58vw, 500px);
    opacity: 0.5;
    transform: scale(0.92);
    transform-origin: center center;
    transition: transform 420ms ease, opacity 420ms ease, box-shadow 420ms ease;
}

.member-slide.is-active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 18px 40px rgba(124, 167, 214, 0.14);
}

.member-card-human {
    padding: 24px 22px;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    border-color: #cfe0f5;
    box-shadow: 0 18px 36px rgba(36, 95, 179, 0.08);
}

.member-photo-wrap {
    width: 100%;
    aspect-ratio: 1.18 / 1;
    border-radius: 8px;
    background: #f5f8fc;
    overflow: hidden;
    border: 1px solid #e3ebf4;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-photo-wrap-human {
    aspect-ratio: auto;
    min-height: 210px;
    background: linear-gradient(180deg, #eef5ff 0%, #f8fbff 100%);
    border-color: #cfe0f5;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.member-card-human .member-photo {
    object-position: center center;
}

.member-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.member-role {
    color: #245fb3;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    line-height: 1.6;
}

.member-card-human .member-role {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 8px;
    background: #e8f1fe;
}

.member-meta h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.member-card-human .member-meta h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.member-copy {
    color: var(--text-light);
    font-size: 0.84rem;
    line-height: 1.7;
    text-wrap: pretty;
}

.member-card-human .member-copy {
    font-size: 0.88rem;
    line-height: 1.75;
}

.member-dots {
    margin-top: 22px;
}


/* Contact */
.contact {
    background: linear-gradient(180deg, #f5f9ff 0%, #edf5ff 100%);
}

.border-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #FFF;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.border-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(36,95,179,0.12);
}

.contact-card-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.border-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.border-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: background-color 0.3s, color 0.3s;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.border-card:hover .contact-arrow {
    background-color: var(--primary-color);
    color: #FFF;
}

/* Footer */
.footer {
    background-color: var(--bg-light);
    color: var(--text-main);
    padding: 80px 0 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}


.footer-address {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-light);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 40px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-light);
    font-size: 0.8rem;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Responsive (Basic) */
@media (max-width: 768px) {
    .header {
        height: 72px;
        padding: 0 24px;
    }

    .container {
        padding: 0 24px;
    }

    .services .section-header {
        margin-bottom: 32px;
    }

    .case-title-break {
        display: inline;
    }

    .service-title-break {
        display: inline;
    }

    .service-body h3 {
        text-wrap: wrap;
    }

    .hero {
        margin-top: 72px;
        padding: 44px 0 36px;
    }

    .hero-inner {
        width: min(100%, calc(100% - 40px));
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-copy h1 {
        font-size: clamp(38px, 12vw, 62px);
        line-height: 1.02;
    }

    .hero-eyebrow {
        margin-bottom: 12px;
        font-size: 12px;
    }

    .hero-lead {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.8;
    }

    .hero-lead-line-spaced {
        margin-top: 10px;
    }

    .hero-chips {
        gap: 8px;
        margin-top: 22px;
    }

    .hero-chips li {
        padding: 10px 14px;
        font-size: 14px;
    }

    .hero-art {
        display: none;
    }

    .hamburger {
        display: flex;
    }
    
    .header-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .header-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .header-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .header-actions {
        flex-direction: column;
        align-items: center;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .service-card {
        flex-direction: column;
        align-items: stretch;
    }
    
    .service-img {
        width: 100%;
        height: 240px;
    }
    
    .service-body {
        padding: 24px;
    }
    
    .case-carousel {
        padding-bottom: 16px;
    }

    .case-track {
        gap: 14px;
    }

    .case-slide {
        flex-basis: min(72vw, 360px);
        opacity: 0.8;
        transform: scale(0.97);
    }

    .strength-card img {
        height: 240px;
        padding: 14px;
    }

    .case-arrow {
        display: flex;
        width: 40px;
        height: 40px;
        margin-top: 0;
        top: auto;
        bottom: 6px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 8px 18px rgba(125, 169, 214, 0.22);
    }

    .case-arrow-prev {
        left: 4px;
    }

    .case-arrow-next {
        right: 4px;
    }
    
    .about-table th, .about-table td {
        display: block;
        width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }

    .about-table th {
        background: #f3f7fd;
        font-weight: 700;
        color: #35557d;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .about-table td {
        background: #ffffff;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .member-track {
        gap: 14px;
    }

    .member-card {
        padding: 20px 16px;
    }

    .member-slide {
        flex-basis: min(70vw, 340px);
        opacity: 0.8;
        transform: scale(0.97);
    }

    .member-card-human {
        padding: 24px 18px;
    }

    .members-intro {
        font-size: 0.9rem;
        line-height: 1.8;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, max-content);
        gap: 16px 44px;
    }

    .footer-links a {
        word-break: keep-all;
        white-space: nowrap;
    }
}
