/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    color: #333;
    background-color: #f8f8f8;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.header-content h1 {
    font-size: 2.4rem;
    font-weight: 500;
}

.header-content h1 a {
    text-decoration: none;
    color: inherit;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.main-nav ul {
    display: flex;
    gap: 3rem;
}

.main-nav a {
    padding: 1rem;
    position: relative;
    font-size: 1.6rem;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

/* Company Info Section */
.company-info-detail {
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.company-philosophy {
    text-align: center;
    margin-bottom: 6rem;
    padding: 4rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.company-philosophy h3 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.company-philosophy p {
    font-size: 1.8rem;
    line-height: 2;
    color: #666;
}

.company-table {
    background: #fff;
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 6rem;
}

.company-table h3 {
    font-size: 2.4rem;
    margin-bottom: 3rem;
    font-weight: 500;
    text-align: center;
}

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

.company-table th,
.company-table td {
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

.company-table th {
    width: 25%;
    text-align: left;
    font-weight: 500;
    color: #333;
    background: #f8f9fa;
}

.company-table td {
    color: #666;
}

.company-table td ul {
    list-style: none;
    padding: 0;
}

.company-table td ul li {
    margin-bottom: 1rem;
}

.company-table td ul li:last-child {
    margin-bottom: 0;
}

.company-access {
    background: #fff;
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.company-access h3 {
    font-size: 2.4rem;
    margin-bottom: 3rem;
    font-weight: 500;
    text-align: center;
}

.access-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.access-map {
    width: 100%;
    height: 450px;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.access-detail h4 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.access-detail ul {
    list-style: none;
    padding: 0;
}

.access-detail li {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.6rem;
    padding-left: 2.5rem;
    position: relative;
}

.access-detail li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 8px;
    height: 8px;
    background: #2c5282;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero-slider {
    height: 100%;
}

.slide {
    position: relative;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.3;
}

.slide-content p {
    font-size: 2rem;
    line-height: 1.6;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1613545325278-f24b0cae1224?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    margin-top: 70px;
    padding: 0 2rem;
}

.page-header h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.page-header p {
    font-size: 1.8rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 10rem 2rem;
    background: #fff;
    text-align: center;
}

.services h2,
.works h2 {
    text-align: center;
    font-size: 3.6rem;
    margin-bottom: 6rem;
    font-weight: 500;
    line-height: 1.3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.services-grid article {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.services-grid article:hover {
    transform: translateY(-5px);
}

.services-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.services-grid h3 {
    font-size: 2.4rem;
    margin: 2rem;
    font-weight: 500;
}

.services-grid p {
    margin: 0 2rem 2rem;
    color: #666;
    line-height: 1.6;
}

/* Works Section */
.works-section {
    display: none;
}

.works {
    padding: 10rem 2rem;
    background: #f8f8f8;
    text-align: center;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.works-grid article {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.works-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.works-grid article:hover img {
    transform: scale(1.1);
}

.works-grid article:hover .work-info {
    transform: translateY(0);
}

.work-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.work-info p {
    font-size: 1.4rem;
    opacity: 0.9;
}

/* Special Works Section Styles */
.special-works {
    background: #f8f9fa;
    padding: 8rem 0;
}

.special-works .service-card {
    background: white;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.special-works .service-card:hover {
    border-color: #3498db;
    transform: translateY(-5px);
}

.special-works .service-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.special-works .service-card.featured img {
    height: 100%;
    object-fit: cover;
}

.special-works .service-description {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.8;
    margin: 1.5rem 0;
}

.special-works .feature-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.special-works .feature-list {
    display: grid;
    gap: 1.5rem;
}

.special-works .feature-list li {
    display: flex;
    align-items: flex-start;
    font-size: 1.5rem;
    color: #2c3e50;
}

.special-works .feature-icon {
    color: #2ecc71;
    margin-right: 1rem;
    font-weight: bold;
}

.special-works .technology-badge {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.special-works .specs-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.special-works .specs-container h4 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.special-works .specs-container p {
    font-size: 1.5rem;
    color: #666;
}

@media (max-width: 992px) {
    .special-works .service-card.featured {
        grid-template-columns: 1fr;
    }
    
    .special-works .service-card.featured img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .special-works {
        padding: 6rem 0;
    }
    
    .special-works .service-card {
        margin-bottom: 3rem;
    }
    
    .special-works .feature-list li {
        font-size: 1.4rem;
    }
    
    .special-works .service-description {
        font-size: 1.5rem;
    }
}

/* News Section */
.news-section {
    padding: 8rem 2rem;
    background: #fff;
}

.news-section h2 {
    font-size: 3.6rem;
    text-align: center;
    margin-bottom: 6rem;
    font-weight: 500;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: flex-start;
    padding: 2.5rem 0;
    border-bottom: 1px solid #eee;
}

.news-date {
    min-width: 120px;
    color: #666;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.news-category-label {
    min-width: 120px;
    margin-right: 2rem;
}

.news-category-label span {
    display: inline-block;
    padding: 0.4rem 1.5rem;
    border-radius: 30px;
    font-size: 1.4rem;
    font-weight: 500;
}

.category-notice {
    background: #e3f2fd;
    color: #1976d2;
}

.category-recruit {
    background: #f3e5f5;
    color: #7b1fa2;
}

.category-update {
    background: #e8f5e9;
    color: #388e3c;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.news-content p {
    color: #666;
    font-size: 1.4rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: #333;
    color: #fff;
    border-radius: 6px;
    font-size: 1.6rem;
    transition: background-color 0.3s ease;
    margin-top: 4rem;
}

.btn:hover {
    background: #555;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 6rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.footer-content h2 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.footer-content address {
    font-style: normal;
    line-height: 1.8;
}

.footer-nav ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-nav a:hover {
    color: #ccc;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    font-size: 1.4rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-card.special {
        grid-column: span 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-card,
    .contact-form-card {
        max-width: 800px;
        margin: 0 auto;
    }

    .phone-number {
        font-size: 3.2rem;
    }

    .access-info {
        grid-template-columns: 1fr;
    }

    .access-map {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .slide-content h2 {
        font-size: 3.6rem;
    }

    .slide-content p {
        font-size: 1.8rem;
    }

    .page-header {
        height: 300px;
    }

    .page-header h2 {
        font-size: 3.2rem;
    }

    .services h2,
    .works h2 {
        font-size: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
        gap: 1rem;
    }

    .news-date,
    .news-category-label {
        min-width: auto;
        margin-right: 0;
    }

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

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

    .company-philosophy,
    .company-table,
    .company-access {
        padding: 3rem 2rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 1.5rem;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .slide-content h2 {
        font-size: 2.8rem;
    }

    .slide-content p {
        font-size: 1.6rem;
    }

    .page-header h2 {
        font-size: 2.8rem;
    }

    .services,
    .works {
        padding: 6rem 1.5rem;
    }

    .services h2,
    .works h2,
    .news-section h2 {
        font-size: 2.6rem;
        margin-bottom: 4rem;
    }

    .company-philosophy h3 {
        font-size: 2.4rem;
    }

    .company-philosophy p {
        font-size: 1.6rem;
    }

    .company-table th,
    .company-table td {
        padding: 1.5rem;
    }

    .access-detail h4 {
        font-size: 1.8rem;
    }
}

/* Additional company page fixes */
.company-table td br {
    display: block;
    content: "";
    margin-bottom: 0.5rem;
}

.company-philosophy br {
    display: block;
    content: "";
    margin-bottom: 1rem;
}

/* PMP-II Feature Section Styles */
.highlight-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 8rem 0;
    margin: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.highlight-title {
    font-size: 3.6rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.technology-badge {
    display: inline-block;
    background: #2c3e50;
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.technology-name {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.technology-description {
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.feature-container {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-list.highlight {
    display: grid;
    gap: 2rem;
}

.feature-list.highlight li {
    display: flex;
    align-items: flex-start;
    font-size: 1.6rem;
    color: #2c3e50;
}

.feature-icon {
    color: #2ecc71;
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.8rem;
}

.technology-specs {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.technology-specs h4 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.technology-specs p {
    font-size: 1.6rem;
    color: #666;
}

.highlight-image {
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Service Card Special Styles */
.service-card.special {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-content.highlight {
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .highlight-title {
        font-size: 2.8rem;
    }

    .technology-name {
        font-size: 2.4rem;
    }

    .feature-container {
        padding: 2rem;
    }

    .feature-list.highlight {
        gap: 1.5rem;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 6rem 0;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 6rem;
}

.contact-intro p {
    font-size: 1.8rem;
    color: #666;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info-card,
.contact-form-card {
    background: white;
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-content h3 {
    font-size: 2.4rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 600;
}

.phone-number {
    font-size: 3.2rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 3rem;
}

.business-hours,
.contact-address {
    margin-bottom: 3rem;
}

.business-hours h4,
.contact-address h4 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.business-hours ul {
    list-style: none;
    padding: 0;
}

.business-hours li,
.contact-address p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.8;
}

.contact-map {
    margin-top: 3rem;
    border-radius: 8px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 250px;
    border: none;
}

/* Contact Form Styles */
.contact-form-card h3 {
    font-size: 2.4rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.required {
    color: #e74c3c;
    margin-left: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1.6rem;
    color: #2c3e50;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.privacy-group {
    margin: 3rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 1rem;
}

.checkbox-text {
    font-size: 1.6rem;
    color: #666;
}

.checkbox-text a {
    color: #3498db;
    text-decoration: underline;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 1.6rem;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #34495e;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 3rem;
    }

    .phone-number {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .contact-intro p {
        font-size: 1.6rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 2rem;
    }
}

/* Services Page Styles */
.services-intro {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.8;
    color: #2c3e50;
}

.services-category {
    padding: 8rem 0;
    background: white;
}

.services-category:nth-child(even) {
    background: #f8f9fa;
}

.category-title {
    text-align: center;
    font-size: 3.2rem;
    color: #2c3e50;
    margin-bottom: 5rem;
    font-weight: 700;
    position: relative;
}

.category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #3498db;
    margin: 2rem auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 3rem;
}

.service-content h3 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-content p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Special Service Card Styles */
.service-card.special {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    padding: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-card.special .highlight-image {
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 12px 0 0 12px;
}

.service-card.special .service-content {
    padding: 4rem;
}

.service-card.special .technology-description {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.service-card.special .feature-container {
    margin: 3rem 0;
}

.service-card.special .technology-specs {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.contact-cta {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 8rem 0;
    text-align: center;
}

.contact-cta h2 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-cta p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1.6rem 4rem;
    background: white;
    color: #2c3e50;
    border-radius: 6px;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-card.special {
        grid-template-columns: 1fr;
    }

    .service-card.special .highlight-image {
        border-radius: 12px 12px 0 0;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .services-intro,
    .services-category {
        padding: 6rem 0;
    }

    .category-title {
        font-size: 2.8rem;
    }

    .services-grid {
        gap: 3rem;
    }

    .service-content {
        padding: 2rem;
    }

    .contact-cta {
        padding: 6rem 0;
    }

    .contact-cta h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .intro-text {
        font-size: 1.6rem;
    }

    .service-card img {
        height: 200px;
    }

    .service-content h3 {
        font-size: 2rem;
    }
}

/* 会社案内ページのスタイル */
.business-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-category {
    margin-bottom: 1.5rem;
}

.business-category h4 {
    color: #1a73e8;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    border-left: 4px solid #1a73e8;
    padding-left: 0.5rem;
}

.business-category ul {
    list-style: none;
    padding-left: 1rem;
    margin: 0;
}

.business-category ul li {
    margin: 0.3rem 0;
    position: relative;
    padding-left: 1rem;
}

.business-category ul li::before {
    content: "•";
    color: #1a73e8;
    position: absolute;
    left: 0;
}

/* 企業理念のスタイル改善 */
.company-philosophy {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    text-align: center;
}

.company-philosophy h3 {
    color: #1a73e8;
    margin-bottom: 1rem;
}

.company-philosophy p {
    line-height: 1.8;
    margin: 0;
}

/* 会社概要テーブルの改善 */
.company-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.company-table th {
    width: 25%;
    background-color: #f8f9fa;
    padding: 1rem;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

.company-table td {
    padding: 1rem;
    border: 1px solid #dee2e6;
}

@media (max-width: 768px) {
    .company-table th {
        width: 35%;
    }
}

/* お問い合わせページのスタイル改善 */
.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.contact-intro p {
    line-height: 1.8;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info-card, .contact-form-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.contact-info-content {
    margin-bottom: 2rem;
}

.contact-info-content h3 {
    color: #1a73e8;
    margin-bottom: 1rem;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a73e8;
    margin: 1rem 0;
}

.business-hours h4, .contact-address h4 {
    color: #333;
    margin: 1.5rem 0 0.5rem;
    font-size: 1.1rem;
}

.business-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-hours li {
    margin: 0.3rem 0;
}

/* フォームのスタイル改善 */
.contact-form-card h3 {
    color: #1a73e8;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L2 5h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select optgroup {
    font-weight: bold;
    color: #1a73e8;
}

.form-group select option {
    font-weight: normal;
    color: #333;
    padding: 0.5rem;
}

.required {
    color: #dc3545;
    margin-left: 0.2rem;
}

.privacy-group {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.submit-btn {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 1rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1557b0;
}

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

    .contact-info-card, .contact-form-card {
        padding: 1.5rem;
    }

    .phone-number {
        font-size: 1.3rem;
    }
}

/* 準備中の表示用スタイル */
.coming-soon {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 2rem 0;
}

.coming-soon h2 {
    color: #1a73e8;
    margin-bottom: 1rem;
}

.coming-soon p {
    color: #666;
    margin: 0;
}

/* 施工事例セクションを非表示 */
.works-section {
    display: none;
}

/* ナビゲーションの施工事例リンクを非表示 */
.main-nav a[href="works.html"] {
    display: none;
}

/* お問い合わせフォームのメッセージ表示 */
.message-status {
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    text-align: center;
}

.message-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}