/* --- SES Page Styles --- */

.page-ses {
    background-color: #fff;
}

/* --- Section General --- */
.career-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

.career-section.l-bg-light {
    background-color: #f7f7f2;
}

.career-section.l-bg-beige {
    background-color: #f5f2ed;
}

.career-section.has-texture {
    background-image: url('../images/career_bg_texture.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.career-section.has-texture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.career-section.has-watermark::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 600px;
    height: 600px;
    background-image: url('../images/logo_f.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

/* --- Background Text (Consistent with Career Produce Refined) --- */
.cp-bg-text {
    position: absolute;
    top: 60px;
    right: 5vw;
    left: auto;
    font-size: clamp(60px, 8vw, 100px);
    font-family: var(--font-eng);
    color: #F5F4F3;
    z-index: 1;
    pointer-events: none;
    line-height: 0.85;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.9;
    text-align: right;
}

.cp-overview .cp-bg-text {
    top: 40px;
}

.cp-content {
    position: relative;
    z-index: 2;
}

/* --- Header & Typography --- */
.section-heading {
    margin-bottom: 50px;
}

.section-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    color: var(--color-accent);
    letter-spacing: 0.3em;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 36px);
    color: var(--color-text);
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

/* Centered Style (Large English, Small Japanese) */
.section-heading.is-centered {
    margin-bottom: 60px;
}

.section-heading.is-centered .section-label {
    font-family: var(--font-eng);
    font-size: clamp(48px, 12vw, 95px);
    color: #ae915c;
    margin-bottom: 4px;
    letter-spacing: 0.08em;
    font-weight: 400;
    line-height: 1;
}

.section-heading.is-centered .section-title {
    font-size: 15px;
    color: var(--color-sub-text);
    letter-spacing: 0.15em;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Grid Layouts --- */
.cp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.cp-overview-grid {
    grid-template-columns: 1fr 1fr;
}

/* --- Visuals --- */
.cp-visual {
    width: 100%;
}

.cp-visual img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    opacity: 1 !important;
}

/* --- Combined Full-Width Section --- */
.cp-full-inner {
    padding: 0 5vw;
    width: 100%;
}

.cp-combined-grid {
    display: flex;
    flex-direction: column;
}

.cp-combined-item {
    position: relative;
    padding: 30px 0;
}

.cp-combined-item .cp-content {
    max-width: 1400px;
    margin: 0 auto;
}

/* --- SES Specific Approach Grid --- */
.ses-approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.ses-approach-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #f0f0f0;
    /* transition removed to stop hover animation */
}

/* Hover effect removed as per user request */

.ses-approach-title {
    font-family: var(--font-eng);
    font-size: 21px;
    /* Further increased */
    font-weight: 700;
    /* Bold */
    color: var(--color-accent);
    display: block;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

/* --- Typography --- */
.cp-concept-header {
    margin-bottom: 50px;
}

.cp-concept-header .section-label {
    margin-bottom: 12px;
}

.cp-title-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cp-title-row .section-title {
    margin-bottom: 15px;
    flex-shrink: 0;
}

.cp-title-row .cp-lead {
    margin: 0;
    font-size: clamp(18px, 2.3vw, 26px);
    line-height: 1.8;
}

.cp-lead {
    font-family: var(--font-serif);
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 25px;
    /* User refined to 25px */
    letter-spacing: 0.02em;
}

.cp-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-sub-text);
}

/* --- TYPE Cards (FOR YOU) --- */
.cp-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.cp-type-card {
    background: #fff;
    padding: 60px 50px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.cp-type-header {
    margin-bottom: 25px;
}

.cp-type-label {
    display: block;
    color: var(--color-accent);
    font-family: var(--font-eng);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.cp-type-title {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0;
    font-weight: 600;
}

.cp-type-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-sub-text);
    margin: 0;
}

/* --- CONTACT Section --- */
.cp-contact-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cp-contact-heading {
    font-family: var(--font-serif);
    font-size: clamp(20px, 2.5vw, 26px);
    color: var(--color-text);
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.cp-contact-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-sub-text);
    margin-bottom: 60px;
    text-align: center;
}

.cp-contact-cta {
    display: flex;
    justify-content: center;
    width: 100%;
}


/* --- Animations --- */
.career-section .cp-content {
    opacity: 0;
    transform: translateY(20px);
    animation: cpFadeIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

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

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .career-section {
        padding: 70px 0;
    }

    .cp-grid,
    .cp-overview-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .ses-approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cp-full-inner {
        padding: 0 var(--spacing-sm);
    }

    .cp-combined-item {
        padding: 60px 0;
    }

    .cp-type-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cp-type-card {
        padding: 40px 30px;
    }

    .career-section.has-texture {
        background-attachment: scroll;
    }

    .cp-bg-text {
        position: relative;
        top: 0;
        right: 0;
        font-size: 60px;
        text-align: left;
        margin-bottom: 20px;
        line-height: 1.1;
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    .ses-approach-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   SES BUSINESS PAGE SPECIFIC STYLES
============================================================ */

/* --- Hero --- */
.ses-biz-hero {
    padding: 260px 0 180px;
}

.ses-biz-main-copy {
    font-family: var(--font-eng);
    font-size: clamp(26px, 6vw, 90px);
    white-space: nowrap;
    color: #ae915c;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.15;
    margin: 20px 0 28px;
}

.ses-biz-ja-title {
    font-family: var(--font-serif);
    font-size: 13px;
    color: var(--color-sub-text);
    letter-spacing: 0.2em;
    font-weight: 500;
    margin: 12px 0 20px;
}

.ses-biz-sub-copy {
    font-family: var(--font-serif);
    font-size: clamp(15px, 2vw, 20px);
    color: var(--color-text);
    letter-spacing: 0.06em;
    font-weight: 500;
    line-height: 1.7;
}

/* --- Mission Statement --- */
.ses-mission-header {
    max-width: 820px;
    margin: 0 auto 70px;
    text-align: center;
}

.ses-mission-catch {
    font-family: var(--font-serif);
    font-size: clamp(22px, 3.5vw, 34px);
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.6;
    margin: 12px 0 30px;
}

.ses-mission-lead {
    font-size: 16px;
    line-height: 2;
    color: var(--color-sub-text);
}

.ses-mission-areas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.ses-mission-area {
    background: #fff;
    padding: 36px 28px;
    border: 1px solid #f0f0f0;
    border-top: 3px solid var(--color-accent);
}

.ses-mission-area-icon {
    font-size: 26px;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.ses-mission-area-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.5;
    margin: 0 0 10px;
}

.ses-mission-area-text {
    font-size: 13px;
    color: var(--color-sub-text);
    line-height: 1.7;
    margin: 0;
}

/* --- Achievement --- */
.ses-achievement .section-heading.is-centered .section-title {
    font-size: 18px;
    letter-spacing: 0.12em;
}

.ses-achievement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.ses-achievement-card {
    background: #fff;
    border: 1px solid var(--color-line);
    padding: 40px;
    position: relative;
}

.ses-achievement-header {
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--color-line);
}

.ses-achievement-industry {
    font-size: 11px;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.ses-achievement-name {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.5;
    margin: 0;
}

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

.ses-spec-table tr {
    border-bottom: 1px solid #f5f5f5;
}

.ses-spec-table tr:last-child {
    border-bottom: none;
}

.ses-spec-table th {
    width: 100px;
    text-align: left;
    padding: 12px 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.08em;
    vertical-align: top;
    white-space: nowrap;
}

.ses-spec-table td {
    padding: 12px 0 12px 12px;
    font-size: 14px;
    color: var(--color-sub-text);
    line-height: 1.8;
}

.ses-spec-tag {
    display: inline-block;
    background: #f5f5f5;
    color: var(--color-text);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 2px;
    margin: 2px 4px 2px 0;
    letter-spacing: 0.02em;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .ses-biz-hero {
        padding: 180px 0 120px;
    }

    .ses-mission-areas {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ses-achievement-grid {
        grid-template-columns: 1fr;
    }

    .ses-mission-header {
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .ses-biz-hero {
        padding: 150px 0 80px;
    }

    .ses-mission-areas {
        grid-template-columns: 1fr;
    }

    .ses-achievement-card {
        padding: 28px 20px;
    }

    .ses-spec-table th {
        width: 80px;
        font-size: 10px;
    }

    .ses-spec-table td {
        font-size: 13px;
    }
}


/* ============================================================
   SES BUSINESS — v2 REVISED CONTENT
============================================================ */

/* Hero */
.ses-biz-eyebrow {
    display: block;
    font-family: var(--font-eng);
    font-size: 12px;
    color: var(--color-accent);
    letter-spacing: 0.4em;
    font-weight: 400;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.ses-biz-hero .ses-biz-main-copy {
    white-space: normal;
    line-height: 1.08;
}

/* Lead section */
.ses-lead-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.ses-lead-catch {
    font-family: var(--font-serif);
    font-size: clamp(22px, 2.8vw, 30px);
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.65;
    margin: 16px 0 36px;
}

.ses-lead-list {
    list-style: none;
    padding: 0 0 0 20px;
    margin: 20px 0 30px;
    border-left: 3px solid var(--color-accent);
}

.ses-lead-list li {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--color-text);
    padding: 8px 0;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.ses-lead-list li::before {
    content: '— ';
    color: var(--color-accent);
}

/* Circle diagram */
.ses-lead-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}

.ses-circle-diagram {
    position: relative;
    width: 620px;
    height: 620px;
    max-width: 100%;
    aspect-ratio: 1;
}

.ses-circle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 8px 30px rgba(197, 160, 89, 0.35);
}

.ses-circle-center > span {
    font-family: var(--font-eng);
    font-size: 18px;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.12em;
}

.ses-ci {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 155px;
    height: 155px;
    margin: -77px 0 0 -77px;
}

.ses-ci-1 { transform: rotate(-90deg) translateX(225px) rotate(90deg); }
.ses-ci-2 { transform: rotate(-30deg) translateX(225px) rotate(30deg); }
.ses-ci-3 { transform: rotate(30deg)  translateX(225px) rotate(-30deg); }
.ses-ci-4 { transform: rotate(90deg)  translateX(225px) rotate(-90deg); }
.ses-ci-5 { transform: rotate(150deg) translateX(225px) rotate(-150deg); }
.ses-ci-6 { transform: rotate(210deg) translateX(225px) rotate(-210deg); }

.ses-circle-node {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e4ddd3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.ses-circle-node > span {
    font-size: 15px;
    font-family: var(--font-eng);
    color: var(--color-text);
    text-align: center;
    line-height: 1.7;
    letter-spacing: 0.05em;
}

/* Achievement (v2) */
.ses-ach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}

.ses-ach-card {
    background: #fff;
    border: 1px solid var(--color-line);
    border-top: 3px solid var(--color-accent);
    padding: 48px 38px;
}

.ses-ach-num {
    font-family: var(--font-eng);
    font-size: 52px;
    color: #f0ece5;
    font-weight: 400;
    line-height: 1;
    margin: 0 0 8px;
    letter-spacing: 0.04em;
}

.ses-ach-cat {
    font-family: var(--font-eng);
    font-size: 11px;
    color: var(--color-accent);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0 0 18px;
    font-weight: 400;
}

.ses-ach-ind {
    display: inline-block;
    font-size: 14px;
    color: var(--color-sub-text);
    letter-spacing: 0.1em;
    font-weight: 600;
    border: 1px solid var(--color-line);
    padding: 3px 10px;
    margin: 0 0 16px;
}

.ses-ach-proj {
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.55;
    margin: 0 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-line);
}

.ses-ach-body {
    font-size: 14px;
    color: var(--color-sub-text);
    line-height: 1.95;
    margin: 0;
}

/* Partner & Career */
.ses-pc-section {
    width: 100%;
}

.ses-pc-grid {
    display: flex;
    flex-direction: column;
}

.ses-pc-panel {
    padding: 120px 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.ses-pc-content {
    width: 100%;
    max-width: 900px;
    animation: none;
    opacity: 1;
    transform: none;
}

.ses-pc-content {
    width: 100%;
    max-width: 560px;
    animation: none;
    opacity: 1;
    transform: none;
}

/* Career Opportunity section */
.ses-career-opp {
    background-color: #f5f2ed;
}

.ses-career-label {
    color: var(--color-text) !important;
}

.ses-career-checklist {
    list-style: none;
    padding: 0;
    margin: 0 auto 50px;
    max-width: 500px;
    border-top: 1px solid var(--color-line);
}

.ses-career-checklist li {
    font-family: var(--font-serif);
    font-size: 17px;
    color: var(--color-text);
    padding: 18px 0;
    border-bottom: 1px solid var(--color-line);
    text-align: center;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
    .ses-lead-grid {
        gap: 60px;
    }

    .ses-circle-diagram {
        width: 500px;
        height: 500px;
    }

    .ses-ci-1 { transform: rotate(-90deg) translateX(185px) rotate(90deg); }
    .ses-ci-2 { transform: rotate(-30deg) translateX(185px) rotate(30deg); }
    .ses-ci-3 { transform: rotate(30deg)  translateX(185px) rotate(-30deg); }
    .ses-ci-4 { transform: rotate(90deg)  translateX(185px) rotate(-90deg); }
    .ses-ci-5 { transform: rotate(150deg) translateX(185px) rotate(-150deg); }
    .ses-ci-6 { transform: rotate(210deg) translateX(185px) rotate(-210deg); }

    .ses-pc-panel {
        padding: 100px 60px;
    }
}

@media (max-width: 991px) {
    .ses-lead-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .ses-lead-diagram {
        order: -1;
    }

    .ses-circle-diagram {
        width: 420px;
        height: 420px;
    }

    .ses-ci {
        width: 130px;
        height: 130px;
        margin: -65px 0 0 -65px;
    }

    .ses-ci-1 { transform: rotate(-90deg) translateX(155px) rotate(90deg); }
    .ses-ci-2 { transform: rotate(-30deg) translateX(155px) rotate(30deg); }
    .ses-ci-3 { transform: rotate(30deg)  translateX(155px) rotate(-30deg); }
    .ses-ci-4 { transform: rotate(90deg)  translateX(155px) rotate(-90deg); }
    .ses-ci-5 { transform: rotate(150deg) translateX(155px) rotate(-150deg); }
    .ses-ci-6 { transform: rotate(210deg) translateX(155px) rotate(-210deg); }

    .ses-ach-grid {
        grid-template-columns: 1fr;
    }

    .ses-pc-panel {
        padding: 80px 40px;
    }
}

@media (max-width: 480px) {
    .ses-circle-diagram {
        width: 340px;
        height: 340px;
    }

    .ses-circle-center {
        width: 78px;
        height: 78px;
        margin: -39px 0 0 -39px;
    }

    .ses-circle-center > span {
        font-size: 14px;
    }

    .ses-ci {
        width: 104px;
        height: 104px;
        margin: -52px 0 0 -52px;
    }

    .ses-ci-1 { transform: rotate(-90deg) translateX(118px) rotate(90deg); }
    .ses-ci-2 { transform: rotate(-30deg) translateX(118px) rotate(30deg); }
    .ses-ci-3 { transform: rotate(30deg)  translateX(118px) rotate(-30deg); }
    .ses-ci-4 { transform: rotate(90deg)  translateX(118px) rotate(-90deg); }
    .ses-ci-5 { transform: rotate(150deg) translateX(118px) rotate(-150deg); }
    .ses-ci-6 { transform: rotate(210deg) translateX(118px) rotate(-210deg); }

    .ses-circle-node > span {
        font-size: 8px;
    }

    .ses-ach-card {
        padding: 36px 24px;
    }

    .ses-pc-panel {
        padding: 64px 24px;
    }

    .ses-pc-btn--light {
        width: 100%;
    }
}


/* ============================================================
   SP 追加スタイル
============================================================ */

/* PC専用改行ヘルパー */
br.pc-br {
    display: block;
}

@media (max-width: 600px) {

    br.pc-br {
        display: none;
    }

    /* Hero */
    .ses-biz-hero {
        text-align: left;
    }

    .ses-biz-main-copy {
        font-size: clamp(38px, 11vw, 52px);
        line-height: 1.12;
        margin-bottom: 20px;
    }

    .ses-biz-sub-copy {
        font-size: 14px;
        line-height: 1.8;
    }

    /* Lead */
    .ses-lead-catch {
        font-size: 24px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .ses-lead-list li {
        font-size: 15px;
    }

    /* Achievement */
    .ses-achievement .section-heading.is-centered .section-label {
        font-size: clamp(36px, 10vw, 60px);
    }

    .ses-ach-num {
        font-size: 38px;
    }

    .ses-ach-cat {
        font-size: 10px;
    }

    .ses-ach-proj {
        font-size: 20px;
    }

    /* Contact sections — 2-line title on SP */
    .cp-contact .page-hero-title,
    .ses-career-opp .page-hero-title {
        display: block;
        font-size: clamp(40px, 11vw, 56px);
        letter-spacing: 0.04em;
        line-height: 1;
        text-align: center;
    }

    .cp-contact .page-hero-title .js-stagger-title,
    .ses-career-opp .page-hero-title .js-stagger-title {
        display: block;
        line-height: 1;
        margin: 0;
    }

    /* PC用スペーサー・br をSPで非表示 */
    .ses-title-spacer {
        display: none;
    }

    .cp-contact .page-hero-title br.sp-br,
    .ses-career-opp .page-hero-title br.sp-br {
        display: none;
    }

    .cp-contact-heading {
        font-size: 18px;
        text-align: center;
    }

    .cp-contact-text {
        font-size: 15px;
        text-align: left;
    }

    /* Career checklist */
    .ses-career-checklist li {
        font-size: 15px;
        padding: 14px 0;
    }

}

