/* === MISSING IN main.css (copied from full.css) === */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.page-hero {
    position: relative;
    margin-top: var(--header-h-m);
    background: linear-gradient(135deg, #1b5daa 0%, #14478a 50%, #0e3566 100%);
    padding: 48px 0 40px;
    overflow: hidden;
    text-align: center;
}

.page-hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
}

.page-hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ph-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.ph-s1 {
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    top: -60px;
    right: -40px;
}

.ph-s2 {
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.03);
    bottom: -30px;
    left: -30px;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.page-hero-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.sub-nav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--header-h-m);
    z-index: 99;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sub-nav::-webkit-scrollbar {
    display: none;
}

.sub-nav-inner {
    display: flex;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

.sub-nav a {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 14px 18px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
}

.sub-nav a:hover {
    color: var(--primary);
}

.sub-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.greeting-section {
    padding: 48px 0 56px;
    background: var(--bg-white);
}

.greeting-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.greeting-philosophy {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    line-height: 2;
    margin-bottom: 32px;
    padding: 28px 24px;
    background: var(--primary-lightest);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.greeting-body {
    max-width: 800px;
    margin: 0 auto;
}

.greeting-body p {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 2;
    margin-bottom: 20px;
    text-align: justify;
}

.greeting-body p:last-child {
    margin-bottom: 0;
}

.greeting-signature {
    text-align: right;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.greeting-sig-company {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.greeting-sig-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.greeting-sig-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.five-s-section {
    background: var(--bg-light);
    padding: 56px 0 64px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
}

.five-s-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.five-s-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.five-s-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.five-s-letter {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.five-s-content {
    flex: 1;
}

.five-s-word {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.five-s-meaning {
    font-size: 14px;
    color: var(--text-secondary);
}

.principles-section {
    padding: 56px 0 64px;
    background: var(--bg-white);
}

.principles-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.principle-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.principle-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.principle-num {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.principle-text {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.8;
}

.steps-section {
    background: var(--bg-light);
    padding: 56px 0 64px;
}

.steps-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
    position: relative;
}

.step-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 60px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.step-number span {
    display: block;
    text-align: center;
}

.step-number .num {
    font-size: 20px;
    display: block;
}

.step-label {
    font-size: 11px;
    margin-top: 4px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.step-content {
    flex: 1;
    padding-top: 4px;
}

.step-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }

    .five-s-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: none;
    }

    .five-s-grid .five-s-card:last-child {
        grid-column: 1/-1;
        max-width: 400px;
        justify-self: center;
        width: 100%;
    }

    .section-title {
        font-size: 28px;
    }

    .page-hero-title {
        font-size: 34px;
    }

    .greeting-philosophy {
        font-size: 19px;
    }

    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .header {
        height: var(--header-h-d);
    }

    .header-inner {
        padding: 0 24px;
    }

    .page-hero {
        margin-top: var(--header-h-d);
        padding: 64px 0 52px;
    }

    .sub-nav {
        top: var(--header-h-d);
    }

    .hamburger {
        display: none;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 28px;
        margin-left: 40px;
    }

    .btn-header-open {
        display: inline-flex;
    }

    .logo-mobile {
        display: none;
    }

    .logo-desktop {
        display: block;
        height: 32px;
        width: auto;
    }

    .header-risk-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 12px;
        font-weight: 500;
        color: #8b6914;
        background: #fff8e1;
        padding: 4px 12px;
        border-radius: 3px;
        text-decoration: none;
        margin-right: 4px;
        white-space: nowrap;
        border: 1px solid #f0e4b8;
    }

    .header-risk-link:hover {
        background: #fff0c4;
        color: #6b5010;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .step-item {
        border-bottom: none !important;
        padding: 24px;
        background: var(--bg-white);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
    }

    .greeting-section {
        padding: 64px 0 72px;
    }

    .five-s-section {
        padding: 72px 0 80px;
    }

    .principles-section {
        padding: 72px 0 80px;
    }

    .steps-section {
        padding: 72px 0 80px;
    }

    .section-title {
        font-size: 30px;
    }

    .page-hero-title {
        font-size: 38px;
    }

    .sub-nav-inner {
        padding: 0 24px;
    }
}

@media (min-width: 1280px) {
    .container {
        padding: 0 40px;
    }
}

/* === DIFFERENT IN main.css (replace with full.css versions below) === */

:root {
    --primary: #1b5daa;
    --primary-dark: #14478a;
    --primary-deeper: #0e3566;
    --primary-light: #e8f0fa;
    --primary-lightest: #f2f7fc;
    --accent: #d4a853;
    --text-primary: #1a1a1a;
    --text-secondary: #5c6370;
    --text-tertiary: #8b9199;
    --bg-white: #ffffff;
    --bg-light: #f7f8fa;
    --border: #e2e6ea;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-full: 50%;
    --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Hiragino Sans", Meiryo, sans-serif;
    --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
    --header-h-m: 60px;
    --header-h-d: 76px;
    --max-w: 1200px;
}