:root {
    --bg-dark: #ffffff;
    --bg-card: #f5f7fa;
    --bg-card-hover: #ffffff;
    --primary: #00a3cc;
    --secondary: #d4af37;
    --accent: #ff0055;
    --text-main: #333333;
    --text-sub: #666666;
    --border: rgba(0, 0, 0, 0.1);
    --font-en: 'Montserrat', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-jp);
    line-height: 1.8;
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    opacity: 1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-en);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: rgba(5, 10, 20, 0.8);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

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

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

.logo img {
    height: 70px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-sub);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
}

.contact-btn:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.contact-btn::after {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #e0f7fa 0%, var(--bg-dark) 70%);
    z-index: -1;
}

/* Abstract Rail Lines */
.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    height: 2px;
    width: 100%;
    opacity: 0.3;
    transform: scaleX(0);
    animation: lineFlow 3s infinite ease-in-out;
}

.line-1 {
    top: 30%;
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    animation-delay: 1s;
}

.line-3 {
    top: 70%;
    animation-delay: 2s;
}

@keyframes lineFlow {
    0% {
        transform: translateX(-100%) scaleX(0.5);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateX(100%) scaleX(0.5);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: var(--font-jp);
}

.reveal-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 1s forwards;
}

.reveal-text:nth-child(1) {
    animation-delay: 0.2s;
}

.reveal-text:nth-child(3) {
    animation-delay: 0.4s;
}

/* <br> counts as child 2 */
.reveal-text:nth-child(5) {
    animation-delay: 0.6s;
}

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

.hero-subtitle {
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s forwards 1.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.scroll-indicator span {
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.mouse {
    width: 20px;
    height: 35px;
    border: 2px solid var(--text-main);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 5px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

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

.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #333, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--primary);
    font-size: 1rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Concept Section */
.concept-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.concept-text .lead {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
}

.concept-text p {
    color: var(--text-sub);
    margin-bottom: 20px;
}

.rail-graphic {
    position: relative;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.node {
    width: 20px;
    height: 20px;
    background-color: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px rgba(0, 163, 204, 0.5);
}

.rail {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.rail-1 {
    top: 20px;
    height: calc(50% - 40px);
}

.rail-2 {
    bottom: 20px;
    height: calc(50% - 40px);
}

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

.about-image-wrapper {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transition: var(--transition);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-family: var(--font-jp);
}

.about-text p {
    color: var(--text-sub);
    margin-bottom: 20px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    background-color: var(--bg-card-hover);
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--font-en);
}

.service-desc {
    color: var(--text-sub);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.service-list {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.service-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.8rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-sub);
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-sub);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: #f5f7fa;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    font-family: var(--font-jp);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
}

.btn-submit {
    background-color: var(--primary);
    color: var(--bg-dark);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background-color: #fff;
    transform: scale(1.05);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    margin-top: 80px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .concept-content,
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .nav-list {
        display: none;
        /* Simple hide for now, or implement hamburger menu logic */
    }

    .hamburger {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
    }

    .hamburger span {
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--text-main);
        transition: var(--transition);
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

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

    .hamburger span:nth-child(3) {
        bottom: 0;
    }

    .contact-wrapper {
        padding: 30px;
    }
}

/* Page Specific Styles */
.page-hero {
    height: 40vh;
    min-height: 300px;
    background: radial-gradient(circle at center, #e0f7fa 0%, var(--bg-dark) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
    /* Header height */
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-family: var(--font-en);
    background: linear-gradient(to right, #333, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    color: var(--primary);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.page-content {
    padding: 80px 0;
}

.content-block {
    margin-bottom: 60px;
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary);
    padding-left: 20px;
}

.content-block p {
    margin-bottom: 20px;
    color: var(--text-sub);
    line-height: 1.8;
}

.download-area {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    margin-top: 60px;
}

.download-area h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-download:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 0, 85, 0.3);
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    color: var(--text-sub);
    font-size: 0.9rem;
}

.back-link:hover {
    color: var(--primary);
}

/* Presentation Slides */
.presentation-area {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    margin-top: 60px;
}

.presentation-area h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.presentation-area p {
    margin-bottom: 40px;
    color: var(--text-sub);
}

.slide-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.slide-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

/* Service Detail Section */
.service-detail-section {
    margin-top: 60px;
}

.detail-block {
    margin-bottom: 80px;
    background-color: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.detail-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-main);
    font-family: var(--font-jp);
}

.detail-desc {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.feature-box {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary);
}

.feature-box h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-box h4 i {
    color: var(--primary);
}

.process-list {
    list-style: none;
    counter-reset: process-counter;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.process-list li {
    position: relative;
    padding-left: 40px;
}

.process-list li::before {
    counter-increment: process-counter;
    content: counter(process-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
    font-weight: bold;
    font-size: 0.9rem;
}

.merit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.merit-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border-top: 4px solid var(--accent);
}

.merit-card h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
}

.merit-card ul {
    list-style: none;
}

.merit-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.merit-card ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

@media (max-width: 768px) {
    .merit-grid {
        grid-template-columns: 1fr;
    }
}

/* TONOSAMA Specific Styles */
.tonosama-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.tonosama-logo {
    width: 80px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tonosama-visual {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.tonosama-overview-img {
    width: 100%;
    height: auto;
    display: block;
}

.tonosama-block .detail-title {
    margin-bottom: 0;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #d4af37, #f0e68c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Feature Images */
.feature-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}
/* Sales Support Page Styles */
.market-section, .problem-section, .solution-section, .curriculum-section {
    margin-bottom: 80px;
}

.market-section h3, .problem-section h3, .solution-section h3, .curriculum-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-main);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.problem-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.problem-card h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}

.problem-card ul {
    list-style: none;
}

.problem-card ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.problem-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-sub);
}

.fatal-problems {
    text-align: center;
    background: #fff0f0;
    padding: 40px;
    border-radius: 20px;
}

.fatal-problems h4 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #d32f2f;
}

.problem-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.p-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.p-icon-box i {
    font-size: 3rem;
    color: #d32f2f;
}

.p-icon-box span {
    font-weight: bold;
    font-size: 1.1rem;
}

.features-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.f-icon i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.feature-item p {
    font-size: 0.8rem;
    color: var(--text-sub);
}

.curriculum-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.curriculum-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border-top: 5px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.curriculum-card h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
    background: var(--bg-dark);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
}

.curriculum-card ul {
    list-style: none;
}

.curriculum-card ul li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 0.95rem;
}

.curriculum-card ul li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .comparison-grid, .curriculum-container {
        grid-template-columns: 1fr;
    }
}

/* Curriculum Summary */
.curriculum-summary {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

/* Footer Logo Update */
.footer-logo img {
    height: 100px; /* Increased from 50px */
    width: auto;
    transition: transform 0.3s;
}

.footer-logo-link {
    display: inline-block;
    cursor: pointer;
}

.footer-logo-link:hover .footer-logo img {
    transform: scale(1.1);
}

/* Recruit Page Styles */
.recruit-section {
    margin-bottom: 60px;
}

.recruit-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-main);
}

.job-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    transition: var(--transition);
}

.job-card:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.job-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.recruit-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.recruit-table th, .recruit-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.recruit-table th {
    background: var(--bg-card);
    width: 30%;
    font-weight: 700;
    color: var(--text-main);
}

.entry-area {
    text-align: center;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    margin-top: 60px;
}

.entry-area h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Blog Page Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: var(--text-sub);
}

.blog-category {
    color: var(--primary);
    font-weight: 600;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 10px;
}

@media (max-width: 768px) {
    .recruit-table th, .recruit-table td {
        display: block;
        width: 100%;
    }
    .recruit-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }
    .recruit-table td {
        padding-top: 5px;
    }
}

/* Company Section */
.company-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.company-info {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.company-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.company-item {
    display: flex;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.company-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.company-item dt {
    width: 120px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.company-item dd {
    color: var(--text-main);
}

.company-map {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 300px;
}

/* Footer SNS */
.footer-sns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.sns-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-card);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.sns-link:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .company-wrapper {
        grid-template-columns: 1fr;
    }
    
    .company-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .company-map {
        height: 300px;
    }
}

/* Blog Detail Styles */
.blog-detail {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-title {
    font-size: 2rem;
    margin: 20px 0;
    line-height: 1.4;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
}

.article-body h2 {
    font-size: 1.6rem;
    margin: 40px 0 20px;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
}

.article-body h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--primary);
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body blockquote {
    background: #f9f9f9;
    border-left: 5px solid #ccc;
    padding: 15px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-sub);
}

.article-footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.share-buttons span {
    font-weight: bold;
    color: var(--text-sub);
}

.share-buttons a {
    color: var(--text-main);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.share-buttons a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .blog-detail {
        padding: 20px;
    }
    .article-title {
        font-size: 1.5rem;
    }
}
