:root {
    --color-bg: #FFFFFF;
    --color-text: #111111;
    --color-accent: #00FFFF;
    /* Cyan/Electric Blue */
    --color-gray-light: #F5F5F5;
    --color-gray-border: #E0E0E0;

    --font-main: 'Inter', 'Noto Sans JP', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for sticky header if needed, or just visual breathing room */
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
        /* Increased side padding for mobile readability */
    }
}

/* Header */
#header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--color-gray-border);
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 2.4rem;
    letter-spacing: -0.02em;
    color: var(--color-text);
    line-height: 1;
}

.logo:hover {
    opacity: 0.7;
    text-decoration: none;
}

/* Logo img styles removed */

.nav-list {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    text-align: center;
}

.nav-list a .en {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.nav-list a .jp {
    font-size: 0.65rem;
    font-weight: 500;
    margin-top: 2px;
    opacity: 0.8;
}

.nav-highlight {
    position: relative;
}

.nav-highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    /* Adjusted for taller item */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333333;
}

.mobile-menu-btn {
    display: none;
}

/* Hero Section */
.hero {
    height: calc(100vh - var(--header-height));
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg);
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center 107%;
    /* Push beyond bottom */
}

/* Overlay to ensure text readability if image is busy */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    /* Light overlay to keep "White" theme */
    z-index: 1;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--spacing-md);
    /* animation: fadeInUp 1s ease-out forwards; Removed on user request */
}

.hero-company-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.hero-slogan {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 43px;
    letter-spacing: 0.05em;
}

.hero-bg-decoration {
    display: none;
    /* Hide the SVG decoration as we have an image now */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 0;
    /* Sharp edges for cool look, or slight radius */
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-text);
    color: var(--color-bg);
    border: 2px solid var(--color-text);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-text);
    border-color: var(--color-accent);
    opacity: 1;
}

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

.btn-service-list {
    background-color: var(--color-text);
    color: var(--color-bg);
    border: 2px solid var(--color-text);
    font-size: 0.8rem;
    padding: 1rem 2.5rem;
}

.btn-service-list:hover {
    background-color: var(--color-bg);
    color: var(--color-text);
    border-color: var(--color-text);
    opacity: 1;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    letter-spacing: 0.1em;
}

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

.card {
    border: 2px solid var(--color-text);
    padding: 32px var(--spacing-md) var(--spacing-md) var(--spacing-md);
    background-color: var(--color-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    /* Ensure card fills the anchor wrapper */
}

/* Removed direct .card:hover since wrapper handles it now, or keep for fallback */
/* .card:hover { transform... } - managed by .card-link:hover .card above */

.card-icon {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
    display: flex;
    justify-content: center;
}

.icon-value {
    width: 170px;
    height: 170px;
    background-size: cover;
    /* Fill */
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    margin: 0 auto;
}

.icon-value-community {
    background-image: url('assets/icon-community.png');
}

.icon-value-digital {
    background-image: url('assets/icon-digital.png');
    /* Removed 85% scale */
}

.icon-value-ai {
    background-image: url('assets/icon-ai.png');
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.card-sub {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.8;
}

.card-quote {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
    line-height: 1.5;
}

.card p {
    line-height: 1.8;
    margin-bottom: 0;
}

.card-footer-text {
    font-size: 0.8rem;
    color: #999;
    margin-top: 1.5rem;
    margin-top: 1.5rem;
    line-height: 1.5;
    border-top: 1px solid var(--color-gray-border);
    padding-top: 1rem;
}

/* Service Section New Styles */
.service-icon {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 1.5rem auto;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    /* For full card clickable area if grid items stretch */
}

/* Ensure hover effect applies to the card when link is hovered */
.card-link:hover .card {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.1);
}

.service-intro {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.service-item {
    margin-bottom: 80px;
    border-bottom: 1px solid var(--color-gray-border);
    padding-bottom: 60px;
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-header {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.service-sub {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-text);
    opacity: 0.9;
}

.service-desc {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-list {
    list-style: disc;
    padding-left: 20px;
    margin-left: 1rem;
}

.service-list li {
    margin-bottom: 1rem;
    /* Increased spacing */
    line-height: 1.8;
    /* Increased line-height */
}

/* Company Section Styles */
.profile-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 100px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.profile-left {
    position: relative;
    /* Anchor for absolute book */
    width: 240px;
    height: 240px;
    /* Ensure height matches img so book anchor is correct relative to img */
    flex-shrink: 0;
    /* Removed margin-right as gap handles spacing */
}

/* On mobile, profile-left might need different margin or centering */

.profile-img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.profile-book {
    position: absolute;
    bottom: -10px;
    right: -6px;
    transform: scale(0.70);
    transform-origin: bottom right;
    height: 156px;
    width: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    z-index: 10;
}

.profile-book:hover {
    transform: scale(0.75);
}

.profile-text {
    flex: 1;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.profile-role {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    display: block;
}

.profile-catch {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.profile-desc {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.company-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 100px auto;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 24px 20px;
    border-bottom: 1px solid #E5E5E5;
    text-align: left;
    font-size: 1rem;
}

.company-table th {
    width: 30%;
    font-weight: 700;
    color: var(--color-text);
}

.contact-container {
    text-align: center;
    margin-bottom: 40px;
}

.btn-contact {
    background-color: #000;
    color: white;
    padding: 1.2rem 0;
    width: 320px;
    /* PC Width */
    max-width: 100%;
    border-radius: 10px;
    /* Rounded 8-12px */
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    border: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-contact:hover {
    transform: translateY(-3px);
    background-color: #222;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

/* Footer */
.footer {
    background-color: #fff;
    padding: 40px 0;
    text-align: center;
    color: #555;
    font-size: 12px;
}

.footer-link {
    color: #555;
    text-decoration: none;
    display: block;
    margin-top: 10px;
}

.footer-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
    }

    .profile-text {
        text-align: left;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 12px 10px;
    }

    .company-table th {
        border-bottom: none;
        padding-bottom: 4px;
        color: #666;
        font-size: 0.9rem;
    }
}

/* LP Induction */
.lp-induction {
    background-color: var(--color-text);
    color: var(--color-bg);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.lp-induction h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.4;
}

.lp-induction .btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text);
    border-color: var(--color-accent);
}

.lp-induction .btn-primary:hover {
    background-color: var(--color-bg);
    color: var(--color-text);
    border-color: var(--color-bg);
}

/* Company Section */
.company-container {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.company-image {
    flex: 1;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 1px solid var(--color-gray-border);
}

.company-info {
    flex: 1;
}

.message-text {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.company-profile dt {
    font-weight: 700;
    margin-top: var(--spacing-sm);
    float: left;
    clear: left;
    width: 100px;
}

.company-profile dd {
    margin-top: var(--spacing-sm);
    margin-left: 100px;
}

/* Footer */
footer {
    background-color: var(--color-gray-light);
    padding: var(--spacing-lg) 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --header-height: 60px;
    }

    .hero-slogan {
        font-size: 2.5rem;
    }

    .company-container {
        flex-direction: column;
    }

    .nav-list {
        display: none;
        /* Implement mobile menu later */
    }

    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--color-text);
        position: absolute;
        left: 0;
    }

    .mobile-menu-btn span:nth-child(1) {
        top: 0;
    }

    .mobile-menu-btn span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu-btn span:nth-child(3) {
        bottom: 0;
    }
}

/* Why Section */
.why-slogan-container {
    text-align: center;
    margin-bottom: 80px;
}

.why-slogan {
    font-size: 2.5rem;
    /* Matched OUR VALUE header size or slightly larger */
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.why-sub-text {
    font-size: 1rem;
    color: var(--color-text);
    opacity: 0.8;
}

.why-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 16px;
    border-bottom: 1px solid #E0E0E0;
    width: fit-content;
    min-width: 200px;
}

.why-title {
    font-size: 2.2rem;
    /* Matched OUR VALUE (2.5rem) approx */
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    font-family: var(--font-main);
}

.why-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

.why-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    /* Reduced from 100px to bring slogan very close */
    /* Added bottom margin */
}

/* Updated to match OUR VALUE card style exactly if possible, or refined based on instructions */
.why-card {
    background-color: #fff;
    border: 2px solid var(--color-text);
    /* Matches OUR VALUE card */
    padding: 32px;
    /* Uniform padding */
    width: calc(33.333% - 22px);
    min-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content for number */
    text-align: center;
    /* Center everything initially */
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.1);
}

/* Number Circle */
.why-number {
    width: 48px;
    height: 48px;
    background-color: #F1F1F1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 16px;
}

.why-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.6;
    border-bottom: none;
    padding-bottom: 0;
    width: 100%;
    text-align: center;
    /* Let's center title too based on number being center */
}

.why-card-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text);
    text-align: left;
    /* Left align text as per usual readability */
    width: 100%;
}

/* Integrated Message Block */
.why-message-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px auto;
}

.why-message-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}


/* Voice Section */
.voice-section {
    background-color: #f9f9f9;
    /* final bg spec */
    padding-top: 80px;
    padding-bottom: 80px;
}

.voice-header {
    text-align: center;
    margin-bottom: 60px;
}

.voice-title {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-main);
    margin-bottom: 0;
}

.voice-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 16px;
}

.voice-line {
    width: 40px;
    height: 1px;
    background-color: #ddd;
    margin: 0 auto;
}

.voice-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    /* 40px gap */
    max-width: 1000px;
    margin: 0 auto;
}

.voice-card {
    background-color: #fff;
    border-radius: 24px;
    /* 24px radius */
    padding: 40px;
    /* 40px padding */
    flex: 1;
    min-width: 300px;
    border: none;
    box-shadow: none;
}

.voice-catch {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--color-text);
}

.voice-meta {
    margin-bottom: 24px;
    line-height: 1.5;
}

.voice-type {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.voice-support {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.voice-text {
    font-size: 16px;
    /* Approx standard */
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 24px;
}

/* User asked for bolding in content but HTML replacement removed <strong> tags to follow "copy paste" content which didn't have <strong> tags in the final prompt text. 
   Wait, the user's final PROMPT had "本文（段落ごと）... 圧倒的な実行力で..." without explicit <strong> tags in the code block provided in the prompt?
   Actually, looking closely at the prompt: 
   "本文（段落ごと）
   4年前から“いつかやりたい”と話していたライフワークが..."
   It does NOT explicitly show markdown bolding like **text** or <strong>text</strong> in the final block. 
   However, the previous prompt had <strong>. 
   The FINAL user prompt says "✅ ▼ここから下は実際に入れる文章（そのままコピペOK）" and the text there DOES NOT have <strong> tags.
   I will trust the "Copy Paste OK" text which implies plain text unless I see specific bolding instructions in the text BLOCK itself (which I don't, unrelated to the previous request).
   So Voice text will be plain as per the latest copy-paste block.
*/

.voice-note {
    font-size: 11px;
    color: #999;
    text-align: left;
    margin-top: auto;
    line-height: 1.4;
}

/* Tablet / Mobile adjustments */
@media (max-width: 768px) {
    .voice-grid {
        flex-direction: column;
        align-items: center;
    }

    .voice-card {
        width: 100%;
        max-width: 500px;
        /* Limit width on mobile */
    }
}

.why-message-text {
    font-size: 1rem;
    line-height: 2;
}

/* Ideal Customer Block */
.why-ideal-customer {
    background-color: #F8F8F8;
    /* Specific light gray */
    border-radius: 12px;
    padding: 90px 40px;
    /* Increased padding 80-100px */
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.ideal-title {
    font-size: 20px;
    /* 18-20px */
    font-weight: 700;
    margin-bottom: 32px;
}

.ideal-intro {
    font-size: 16px;
    /* 15-16px */
    line-height: 2;
    margin-bottom: 32px;
}

.ideal-list-container {
    margin-bottom: 32px;
    display: inline-block;
    text-align: left;
}

.ideal-item {
    font-size: 16px;
    /* 16px */
    font-weight: 700;
    line-height: 2;
    margin-bottom: 0;
    padding-left: 1em;
    text-indent: -1em;
}

.ideal-footer {
    font-size: 16px;
    /* 15-16px */
    font-weight: 500;
    margin-top: 32px;
}

/* Tablet / Mobile adjustments */
@media (max-width: 900px) {
    .why-card {
        width: calc(50% - 16px);
        /* 2 columns */
    }
}

@media (max-width: 768px) {
    .voice-grid {
        flex-direction: column;
        align-items: center;
    }

    .voice-card {
        width: 100%;
        max-width: 500px;
        /* Limit width on mobile */
    }
}

@media (max-width: 600px) {
    .why-card {
        width: 100%;
        /* 1 column */
    }

    .why-slogan {
        font-size: 1.8rem;
    }

    .why-ideal-customer {
        padding: 40px 20px;
    }
}

/* ================================
   Smartphone adjustments (max 768px)
   ================================ */
@media (max-width: 768px) {

    :root {
        /* 余白とヘッダー高さを少しコンパクトに */
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 4rem;
        --header-height: 60px;
    }

    body {
        font-size: 15px;
    }

    #header {
        height: var(--header-height);
    }

    /* HERO：余白＆画像の見え方 */
    .hero {
        height: auto;
        min-height: calc(100vh - var(--header-height));
        padding: 72px 0 56px;
        align-items: flex-start;
        text-align: left;
    }

    .hero::before {
        /* 画像を少しだけ濃く見せる */
        background-color: rgba(255, 255, 255, 0.55);
    }

    .hero-content {
        max-width: 100%;
        padding: 0 1.5rem;
    }

    .hero-company-name {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .hero-slogan {
        font-size: 2.2rem;
        line-height: 1.35;
        margin-bottom: 32px;
    }

    .btn-large {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    /* セクション共通：上下余白を整理 */
    .section {
        padding: 72px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    /* OUR VALUE / SERVICE のカード周り */
    .card-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 28px 1.25rem;
    }

    .card-icon {
        margin-bottom: 1.25rem;
    }

    .icon-value {
        width: 140px;
        height: 140px;
    }

    .service-item {
        margin-bottom: 56px;
        padding-bottom: 40px;
    }

    /* テキストの読みやすさ（行間＆サイズ） */
    .card p,
    .service-desc,
    .service-list li,
    .profile-desc,
    .why-card-text,
    .voice-text,
    .ideal-intro,
    .ideal-footer {
        font-size: 0.95rem;
        line-height: 1.8;
        /* Ensure 1.8 for text */
    }

    /* Paragraph specific line-height */
    p {
        line-height: 1.8;
    }

    /* COMPANY：プロフィール画像＆書影調整 */
    .profile-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
        margin-bottom: 72px;
    }

    .profile-left {
        width: 200px;
        height: 200px;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .profile-book {
        height: 130px;
        bottom: -4px;
        right: -4px;
    }

    .profile-text {
        text-align: left;
    }

    .company-table {
        margin-bottom: 72px;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 10px 4px;
        font-size: 0.9rem;
    }

    .company-table th {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Why msakai：カード幅・余白 */
    .why-slogan-container {
        margin-bottom: 56px;
    }

    .why-slogan {
        font-size: 1.8rem;
    }

    .why-grid {
        margin-bottom: 24px;
        /* Reduced from 72px for mobile */
    }

    .why-card {
        width: 100%;
        max-width: 480px;
        padding: 42px 1.8rem;
        /* 1.5x padding */
    }

    .why-card-title {
        font-size: 1.3rem;
        /* Slightly larger */
        line-height: 1.75;
        /* 1.7 - 1.8 */
    }

    /* VOICE：カードを少しコンパクトに */
    .voice-section {
        padding: 64px 0;
    }

    .voice-grid {
        flex-direction: column;
        gap: 24px;
    }

    .voice-card {
        padding: 24px 20px;
        border-radius: 16px;
        max-width: 520px;
        margin: 0 auto;
    }

    .voice-note {
        font-size: 10px;
    }

    /* LP誘導・お問い合わせボタン */
    .lp-induction {
        padding: 64px 0;
    }

    .btn-contact {
        width: 100%;
        max-width: 320px;
    }
}

/* さらに狭い端末向けの微調整 */
@media (max-width: 600px) {
    .hero-slogan {
        font-size: 2rem;
    }

    .why-ideal-customer {
        padding: 40px 20px;
    }
}

/* ================================================
   控えめな CATALOG ボタン（SERVICEセクション専用）
   ================================================ */

.catalog-btn {
    display: inline-block;
    padding: 8px 18px;
    font-size: 0.85rem;
    color: #555;
    /* 控えめグレー */
    border: 1px solid #ccc;
    /* 薄い枠線 */
    border-radius: 6px;
    text-decoration: none;
    background-color: #fff;
    transition: all 0.25s ease;
    margin-top: 20px;
}

.catalog-btn:hover {
    color: #222;
    border-color: #999;
    background-color: #f7f7f7;
}

/* スマホは少しだけ大きくして押しやすく */
@media (max-width: 768px) {
    .catalog-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* Hero新H1用スタイル */
.hero-title-seo {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .hero-title-seo {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }
}

/* リクエスト対応：HEROサブコピー調整（旧スローガン） */
h2.hero-slogan {
    font-size: 1.4rem;
    /* 元の極大サイズから縮小 */
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.5;
}

@media (max-width: 768px) {
    h2.hero-slogan {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
}

/* リクエスト対応：Whyセクションへのスローガン移動 */
.why-moved-slogan {
    font-size: 28px;
    /* Increased from 24px to 28px */
    font-weight: 600;
    /* SemiBold */
    text-align: center;
    margin-top: 0;
    /* Removed top margin entirely as gap is handled by grid's bottom margin */
    margin-bottom: 40px;
    /* 40px remains the same */
    line-height: 1.6;
    letter-spacing: 0.05em;
    max-width: 700px;
    /* Restrict width for better readability */
    width: 90%;
    /* Responsive width */
    margin-left: auto;
    margin-right: auto;
    animation: none;
    /* Static display */
}

@media (max-width: 768px) {
    .why-moved-slogan {
        font-size: 20px;
        /* Increased from 18px */
        margin-top: 0;
        margin-bottom: 32px;
        /* SP: 32px */
    }

    .why-moved-slogan {
        font-size: 22px;
        /* 20px + 10% */
        margin-top: 20px;
        /* 0 + 20px */
        margin-bottom: 52px;
        /* 32px + 20px */
    }

    .service-header {
        font-size: 1.4rem;
        /* 1 step smaller from 1.8rem */
        padding-bottom: 0.5rem;
        /* Use spacing for hierarchy */
    }
}

/* リクエスト対応：HERO H1のサイズアップと位置調整 */
.hero-title-seo {
    font-size: 3.5rem;
    /* サイズアップ */
    margin-bottom: 30px;
    margin-top: -30px;
    /* 位置を上に調整 */
}

@media (max-width: 768px) {
    .hero-title-seo {
        font-size: 2.2rem;
        margin-top: -20px;
        margin-bottom: 24px;
    }
}

/* リクエスト対応：HERO H1の3行化と位置調整 */
.hero-title-seo {
    margin-top: -60px;
    /* さらに上に */
    margin-bottom: 20px;
    /* msakai合同会社との距離を縮める */
    text-align: center;
    line-height: 1.3;
}

/* スマホ調整 */
@media (max-width: 768px) {
    .hero-title-seo {
        margin-top: -40px;
        margin-bottom: 16px;
        font-size: 2rem;
    }
}

/* リクエスト対応（最終調整）：HERO H1の位置引き上げ・行間詰め */
.hero-title-seo {
    margin-top: -100px;
    /* さらに上へ（元の-60pxから強化） */
    line-height: 1.15;
    /* 行間を詰める（元の1.3から縮小） */
}

/* スマホ用調整 */
@media (max-width: 768px) {
    .hero-title-seo {
        margin-top: -60px;
        line-height: 1.2;
    }
}

/* リクエスト対応：スマホ用 HERO H1調整 & ボタン中央寄せ */
@media (max-width: 768px) {
    .hero-title-seo {
        font-size: 26px;
        /* 24-28pxの範囲 */
        line-height: 1.25;
        /* 行間を少し詰める */
        margin-top: 40px;
        /* ヘッダーとの距離確保 */
        padding-top: 20px;
    }

    .hero-content {
        text-align: center;
        /* ボタン含むコンテンツを中央寄せ */
        padding-top: 0;
        /* 既存の余白調整 */
    }

    .hero .btn-service-list {
        margin: 0 auto;
        /* ボタン中央配置 */
        display: inline-block;
    }
}

/* リクエスト対応：TopページSEOセクション */
.section-intro {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
}

.intro-lead {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.intro-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 32px;
    line-height: 1.4;
}

.intro-text {
    font-size: 1rem;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .section-intro {
        padding: 40px 0;
    }

    .intro-lead {
        font-size: 0.9rem;
    }

    .intro-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .intro-text {
        text-align: justify;
        /* スマホでは両端揃え等、読みやすく */
        text-align-last: left;
        font-size: 0.95rem;
    }
}

/* PCのみ改行用クラス */
@media (max-width: 768px) {
    .pc-only {
        display: none;
    }
}

/* リクエスト対応：Introセクションの余白短縮・H2調整 */
/* PC上でHEROとの距離を縮める */
@media (min-width: 769px) {
    .section-intro {
        padding-top: 30px;
        /* 元の60pxから半減 */
        padding-bottom: 40px;
    }
}

.intro-title {
    margin-bottom: 20px;
    /* 余白削減 */
    line-height: 1.25;
    /* 行間詰め */
    margin-top: 0;
    /* 上余白リセット（念のため） */
}

/* New Subtitle Style */
.intro-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .intro-subtitle {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }
}

.intro-lead {
    margin-bottom: 10px;
    /* 上のラベルとの距離も詰める */
}

/* スマホ用最適化 */
@media (max-width: 768px) {
    .section-intro {
        padding-top: 24px;
        padding-bottom: 32px;
    }

    .intro-title {
        font-size: 1.4rem;
        margin-bottom: 16px;
    }
}

/* リクエスト対応：PC版 HERO下の余白短縮 */
@media (min-width: 769px) {
    .hero {
        height: auto !important;
        /* 全画面から自動調整へ変更 */
        min-height: 580px !important;
        /* 高さを少し短くして下の余白を詰める */
        padding-bottom: 20px !important;
        /* 下部のパディングを最小限に */
    }

    /* HERO高さ変更に伴い、H1の上位置も微調整（上がりすぎ防止） */
    .hero-title-seo {
        margin-top: -40px !important;
    }
}

/* リクエスト対応：HERO背景画像の復元と余白調整 */
@media (min-width: 769px) {

    /* HEROを元の高さと背景位置に戻す */
    .hero {
        height: 85vh !important;
        /* 元の全画面に近いが少しだけ高さを抑える */
        min-height: 700px !important;
        background-position: center 90% !important;
        /* スマホが見える位置に調整 */
        padding-bottom: 0 !important;
        margin-bottom: -40px !important;
        /* ネガティブマージンで下のセクションを引き寄せる */
    }

    /* H1位置を元の-100pxに戻す */
    .hero-title-seo {
        margin-top: -100px !important;
    }

    /* 下のIntroセクションの上余白をほぼゼロにして引き上げる */
    .section-intro {
        padding-top: 0 !important;
        position: relative;
        z-index: 10;
        /* 背景が重なっても文字が隠れないように */
        background-color: transparent !important;
        /* 背景色で隠さない場合（必要なら白にする） */
    }

    /* Introセクションの背景が白だとHERO下部にかぶさるため、白背景を明示 */
    .section-intro {
        background-color: #fff !important;
    }
}

/* リクエスト対応：Top画像のIMGタグ化・スタイル定義 */
.hero {
    background-image: none !important;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 107%;
    /* デフォルト（スマホ等） */
    z-index: -1;
}

@media (min-width: 769px) {
    .hero-bg-img {
        object-position: center 90% !important;
        /* PC版調整 */
    }
}

/* リクエスト対応：HERO画像の表示復活（z-index調整） */
.hero {
    background-color: transparent !important;
    /* 背景色で画像を隠さない */
}

/* 画像をコンテンツの後ろ、かつ背景より手前に */
.hero-bg-img {
    z-index: 0 !important;
}

/* テキスト等のコンテンツをオーバーレイより手前に */
.hero-content {
    position: relative;
    z-index: 2 !important;
}

/* オーバーレイを画像の前面に配置して視認性確保 */
.hero::before {
    z-index: 1 !important;
    display: block !important;
}

/* リクエスト対応：スローガンの見た目を強調（Hero内配置用） */
.hero-slogan {
    display: block;
    /* Hero内ではブロック要素として配置 */
    font-size: 22px;
    /* PC: 20-22px */
    font-weight: 700;
    margin-top: 24px;
    /* H1との距離: やや広め */
    margin-bottom: 30px;
    /* CTA/Companyとの距離: 少し詰める (40px -> 30px) */
    letter-spacing: 0.05em;
    line-height: 1.4;
    /* 行間調整 */

    opacity: 0;
    transform: translateY(32px);
    animation: fadeInUpSlogan 0.9s ease-out 0.4s forwards;
}

/* Remove animation from H1 so it shows instantly */
.hero-title-seo {
    opacity: 1;
    transform: none;
    animation: none;
    margin-bottom: 0 !important;
    /* Slogan側のmargin-topで制御するためリセット */
}

@keyframes fadeInUpSlogan {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

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

/* スマホでは少しだけサイズ調整 */
@media (max-width: 768px) {
    .hero-slogan {
        font-size: 20px;
        /* スマホ: 18px -> 20px (+10-15%) */
        margin-top: 36px;
        /* 16px + 20px */
        margin-bottom: 42px;
        /* 22px + 20px */
        line-height: 1.7;
        /* 1.6 - 1.8 */
    }
}

/* Further reduce gap between Hero and Intro */
@media (min-width: 769px) {
    .hero {
        margin-bottom: -40px !important;
        /* Adjusted to balance with button margin */
        padding-bottom: 0 !important;
    }

    .hero .btn-service-list {
        margin-bottom: 0;
        /* Reset button margin inside hero as layout changed */
    }

    .section-intro {
        padding-top: 60px !important;
        /* Restore padding for Intro section as slogan is gone from it */
        position: relative;
        z-index: 10;
        background-color: #fff !important;
    }
}