/*
Theme Name: モカイルクリーン
Theme URI: https://mocha-yir.jp
Author: SellerBase株式会社
Author URI: https://mocha-yir.jp
Description: モカイルクリーン株式会社のWordPressテーマ
Version: 1.0.0
License: GPL v2 or later
Text Domain: mocha-yir
*/

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero {
    margin-top: 0;
    position: relative;
    height: 800px;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

/* Mobile hero background adjustments */
@media (max-width: 768px) {
    .hero-bg-layer {
        background-position: 50% 50%;
        background-size: cover;
        background-repeat: no-repeat;
    }
}

.hero-bg-layer.active {
    opacity: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    position: relative;
    z-index: 1;
}

.hero-sidebar {
    width: 320px;
    background: white;
    padding: 80px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-logo {
    text-align: center;
    margin-bottom: 10px;
}

.sidebar-logo-img {
    height: 150px;
    width: auto;
    max-width: 100%;
}

.sidebar-logo-text {
    margin-top: 15px;
    font-size: 19px;
    color: #333;
    font-weight: bold;
}

.hero-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-nav-item {
    color: #004ea2;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: color 0.3s;
    display: block;
}

.hero-nav-item:hover {
    color: #00a8e8;
}

.hero-contact-btn {
    background: #ff4444;
    color: white;
    padding: 20px 15px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.6;
    transition: background 0.3s;
    display: block;
}

.hero-contact-btn:hover {
    background: #ff3333;
}

.hero-phone {
    text-align: center;
    color: #000;
    font-size: 24px;
    font-weight: bold;
}

.phone-icon {
    font-size: 24px;
    margin-right: 5px;
}

.phone-hours {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    font-weight: normal;
}

.hero-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}

.hero-content {
    text-align: center;
    padding: 0 40px;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255,255,255,0.6);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    border: 2px solid rgba(255,255,255,0.8);
    transform: scale(1.2);
}

.hero-scroll {
    position: absolute;
    right: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 10px;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: white;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: white;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(50px);
    }
}

/* About Section */
.about {
    padding: 80px 20px;
    text-align: center;
    background: #f8f8f8;
}

/* About Points Styling */
.about-points {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

.about-point {
    flex: 1;
    max-width: 350px;
    text-align: center;
}

.point-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #004ea2;
    color: white;
    font-size: 28px;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
}

.point-content {
    text-align: center;
}

.point-content h3 {
    font-size: 22px;
    color: #004ea2;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.point-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: left;
}

.section-title {
    font-size: 36px;
    color: #00a8e8;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
}

.about-logo {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo-img {
    width: 100%;
    height: auto;
}

.about-text {
    font-size: 18px;
    margin: 0 auto;
    line-height: 2;
}

/* Service Section */
.service {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.service-grid {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.service-item {
    display: flex;
    gap: 60px;
    align-items: center;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image {
    width: 400px;
    height: 300px;
    background: #ddd;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
}

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

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 28px;
    color: #004ea2;
    margin-bottom: 20px;
    font-weight: bold;
}

.service-content p {
    color: #333;
    font-size: 16px;
    line-height: 2;
}

/* Message Section */
.message {
    background: #004ea2;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
}

.message h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: left;
    margin-top: 70px;
}

.message p {
    line-height: 2;
    margin-bottom: 20px;
    text-align: left;
}

.signature {
    text-align: right;
    margin-top: 30px;
    font-size: 14px;
}
.signature p {
    font-size: 16px;
    color: #fff;
    text-align: right;
}

.signature-image {
    max-width: 300px;
    height: auto;
    display: inline-block;
}

/* Company Section */
.company {
    padding: 80px 20px;
    background: #f8f8f8;
}

.company-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.company-table {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* When inside service-detail-container */
.service-detail-container .company-table {
    max-width: 100%;
    margin: 30px 0;
}

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

.company-table tr {
    border-bottom: 1px solid #eee;
}

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

.company-table th {
    text-align: left;
    padding: 15px;
    width: 30%;
    font-weight: normal;
    color: #666;
}

.company-table td {
    padding: 15px;
    color: #333;
}

/* Phone number link styling */
.phone-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.phone-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Utility class for PC only display */
.pc-only {
    display: inline;
}

@media (max-width: 768px) {
    .pc-only {
        display: none;
    }
}

/* Two Column Layout for Map and Access Info */
.company-access-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 60px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 500px;
    border: 0;
}

.access-info {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.access-title {
    font-size: 24px;
    color: #004ea2;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.access-section {
    margin-bottom: 30px;
}

.access-subtitle {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.access-icon {
    width: 24px;
    height: 24px;
    color: #004ea2;
}

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

.access-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.8;
}

.access-list li:before {
    content: "▸";
    position: absolute;
    left: 8px;
    color: #004ea2;
}

.access-button-container {
    text-align: center;
    margin-top: 25px;
}

.access-button {
    display: inline-block;
    color: #00a8e8;
    background: transparent;
    padding: 18px 36px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    min-width: 250px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 50px;
    border: 3px solid #00a8e8;
    box-sizing: border-box;
}

.access-button:hover {
    background: #00a8e8;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.3);
}

/* Company Page Specific Styles */
.area-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.area-map-column img {
    width: 100%;
    height: auto;
    display: block;
}

.area-map-placeholder {
    width: 100%;
    height: 400px;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #999;
    font-size: 18px;
}

.area-text-column {
    padding-top: 20px;
}

.area-subtitle {
    font-size: 20px;
    color: #004ea2;
    margin-bottom: 25px;
    font-weight: bold;
}

.area-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.area-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: #004ea2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

/* Responsive Design for Area Section */
@media (max-width: 768px) {
    .area-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .area-text-column {
        padding-top: 0;
    }
}

/* Ensure company access wrapper follows service-detail width */
.service-detail-container .company-access-wrapper {
    margin-top: 30px;
}

/* Responsive Design for Company Access */
@media (max-width: 768px) {
    .company-access-wrapper {
        grid-template-columns: 1fr;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

/* Fade In Animation */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Initial Animation */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 48px;
    animation: heroFadeIn 1s ease-out 0.3s both;
}

/* PC: 改行表示 */
.hero-line1::after {
    content: "\A";
    white-space: pre;
}

/* Hero text image for mobile */
.hero-text-mobile {
    display: none;
    width: 100%;
    height: auto;
}

.hero-text-desktop {
    display: block;
}

/* スマホ: 改行なし */
@media (max-width: 768px) {
    .hero-line1::after {
        content: "";
    }
    
    /* Hide desktop text, show mobile image */
    .hero-text-desktop {
        display: none;
    }
    
    .hero-text-mobile {
        display: block;
        width: 100%;
        height: auto;
    }
    
    /* Remove padding for full width image */
    .hero-content {
        padding: 0;
    }
    
    .hero-content h1 {
        white-space: normal;
        font-size: 24px;
        line-height: 1.5;
    }
    
    .hero-line1,
    .hero-line2 {
        font-size: 22px;
        display: block;
        margin-bottom: 8px;
    }
}

.hero-dots {
    animation: heroFadeIn 1s ease-out 0.5s both;
}

.hero-scroll {
    animation: heroFadeIn 1s ease-out 0.7s both;
}

/* Different animation delays for staggered effect */
.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

/* Footer */
footer {
    background: #555555;
    color: white;
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: white;
}

.footer-description {
    margin-bottom: 30px;
    color: white;
}

.phone-hours-footer {
    font-size: 12px;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    margin-top: -15px;
    font-weight: 300;
}

.footer-address {
    font-size: 12px;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    display: block;
}

.footer-contact {
    background: #ff4444;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    margin: 20px 0;
    transition: background 0.3s;
}

.footer-contact:hover {
    background: #ff3333;
}

.footer-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-phone {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* Before/After Container for Cleaning Section */
.cleaning-categories {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* 単一画像グループのスタイル */
.single-image-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    grid-column: span 2;
}

.single-image-group .cleaning-category.single-item {
    margin: 0;
}

/* 全幅表示のカテゴリー */
.cleaning-category.full-width-category {
    grid-column: span 2;
}

.cleaning-category.full-width-category .before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cleaning-category.full-width-category .before-after-item {
    width: 100%;
}

.cleaning-category.full-width-category .before-after-item img {
    width: 100%;
    height: auto;
    max-width: none;
}

@media (max-width: 768px) {
    .single-image-group {
        grid-template-columns: 1fr;
        gap: 20px;
        grid-column: span 1;
    }
    
    .cleaning-category.full-width-category {
        grid-column: span 1;
    }
    
    .cleaning-category.full-width-category .before-after-container {
        grid-template-columns: 1fr;
    }
}

/* 4-column layout for categories with only single images */
.cleaning-categories.four-column-layout {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
}

.cleaning-categories.four-column-layout .cleaning-category {
    display: flex;
    flex-direction: column;
}

.cleaning-categories.four-column-layout .cleaning-category h4 {
    font-size: 20px;
    margin-bottom: 15px;
    min-height: 40px;
    display: flex;
    align-items: center;
    color: #333;
    border-left: 4px solid #004ea2;
    padding-left: 15px;
}

.cleaning-categories.four-column-layout .before-after-container.single-image {
    margin-bottom: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cleaning-categories.four-column-layout .before-after-container.single-image .before-after-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cleaning-categories.four-column-layout .before-after-container.single-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.cleaning-category {
    margin-bottom: 0;
}

.cleaning-category h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-left: 4px solid #004ea2;
    padding-left: 15px;
}

.cleaning-category h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    border-left: 4px solid #004ea2;
    padding-left: 15px;
}

.cleaning-excerpt {
    background: #f0f4f8;
    padding: 10px 15px;
    border-radius: 4px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: inline-block;
}

.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.before-after-container.single-image {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 20px auto;
}

.before-after-item {
    position: relative;
}

.before-after-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.image-caption {
    padding-top: 10px;
    background: #fff;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    border-top: 1px solid #e0e0e0;
    text-align: left;
}

.before-image-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #5e5e5e;
    color: white;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
}

.after-image-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #004ea2;
    color: white;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
}

@media (max-width: 768px) {
    .cleaning-categories {
        grid-template-columns: 1fr;
    }
    
    .cleaning-categories.four-column-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Keep before/after images in 2 columns on mobile */
    .before-after-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px;
    }
    
    /* Single image remains single column */
    .before-after-container.single-image {
        grid-template-columns: 1fr !important;
    }
    
    /* Adjust image size on mobile */
    .before-after-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .cleaning-categories.four-column-layout {
        grid-template-columns: 1fr;
    }
}

/* Page Content Container */
.page-content {
    background: white;
    padding: 80px 20px;
}

.page-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-content-inner {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #333;
}

/* WordPress Content Styling */
.page-content-inner h1 {
    font-size: 32px;
    margin: 60px 0 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #004ea2;
    color: #004ea2;
}

.page-content-inner h2 {
    font-size: 28px;
    margin: 50px 0 25px;
    padding-left: 15px;
    border-left: 4px solid #004ea2;
    color: #333;
}

.page-content-inner h3 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: #333;
    position: relative;
    padding-left: 25px;
}

.page-content-inner h3::before {
    content: '■';
    color: #004ea2;
    position: absolute;
    left: 0;
}

.page-content-inner h4 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: #333;
}

.page-content-inner p {
    line-height: 2;
    font-size: 16px;
}

.page-content-inner ul,
.page-content-inner ol {
    margin: 20px 0;
    padding-left: 40px;
}

.page-content-inner li {
    margin: 10px 0;
    line-height: 1.8;
}

.page-content-inner ul li {
    list-style-type: disc;
}

.page-content-inner ol li {
    list-style-type: decimal;
}

.page-content-inner strong {
    font-weight: bold;
    color: #004ea2;
}

.page-content-inner blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: #f8f8f8;
    border-left: 4px solid #004ea2;
    font-style: italic;
}

.page-content-inner table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
}

.page-content-inner table th,
.page-content-inner table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.page-content-inner table th {
    background: #f0f4f8;
    font-weight: bold;
}

.page-content-inner a {
    color: #004ea2;
    text-decoration: underline;
}

.page-content-inner a:hover {
    text-decoration: none;
}

/* Responsive for page content */
@media (max-width: 768px) {
    .page-content {
        padding: 60px 20px;
    }
    
    .page-content-inner h1 {
        font-size: 26px;
    }
    
    .page-content-inner h2 {
        font-size: 22px;
    }
    
    .page-content-inner h3 {
        font-size: 20px;
    }
    
    .page-content-inner {
        padding: 0 15px;
    }
}

/* Contact Form 7 Styles */
.wpcf7 {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: white;
}

.wpcf7-form {
    font-size: 16px;
}

.wpcf7-form p {
    align-items: flex-start;
    margin-bottom: 15px;
}

.wpcf7-form p strong {
    font-weight: bold;
    color: #333;
    font-size: 16px;
    min-width: 180px;
    flex-shrink: 0;
    text-align: right;
    padding-top: 12px;
}

.wpcf7-form p.submit-button-wrapper {
    display: block;
    text-align: center;
}

.wpcf7-form .wpcf7-form-control-wrap,
.wpcf7-form .phone-number-group {
    display: block;
    flex: 1;
    min-width: 0;
}

/* Text inputs */
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
}

.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-select:focus {
    outline: none;
    background: #e8e8e8;
}

/* Textarea */
.wpcf7-textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 16px;
    min-height: 200px;
    resize: vertical;
    transition: all 0.3s;
}

.wpcf7-textarea:focus {
    outline: none;
    background: #e8e8e8;
}

/* Radio buttons and Checkboxes */
.wpcf7-radio,
.wpcf7-checkbox {
    display: flex !important;
    flex-wrap: wrap;
    gap: 15px;
    visibility: visible !important;
    align-items: flex-start;
}

.wpcf7-list-item {
    margin: 0 !important;
    display: inline-block;
    padding: 12px 20px;
    background: #f5f5f5;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.wpcf7-list-item:hover {
    background: #e8e8e8;
}

.wpcf7-list-item input[type="radio"],
.wpcf7-list-item input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wpcf7-list-item input[type="radio"]:checked,
.wpcf7-list-item input[type="checkbox"]:checked {
    accent-color: #4a90e2;
}

.wpcf7-list-item-label {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

/* Phone number field - single input */
.phone-number-group {
    display: block !important;
}

.phone-number-group input[type="tel"] {
    width: 100% !important;
    padding: 12px 15px;
    border: none;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
}

.phone-number-group input[type="tel"]:focus {
    outline: none;
    background: #e8e8e8;
}

.phone-separator {
    display: none !important;
}

/* Submit button */
.wpcf7-submit {
    display: block;
    width: 300px;
    margin: 40px auto 0;
    padding: 18px 40px;
    background: #000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.wpcf7-submit:hover {
    background: #333;
    transform: translateY(-2px);
}

.wpcf7-submit::after {
    content: '>';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

/* バリデーションエラー表示を無効化 */
.wpcf7-not-valid-tip {
    display: none !important;
}

.wpcf7-not-valid {
    border: none !important;
}

.wpcf7-response-output {
    margin: 30px 0;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked,
.wpcf7-validation-errors {
    display: none !important;
}

/* Spinner */
.wpcf7-spinner {
    margin-left: 10px;
}

/* テキストエリアの場合 */
.wpcf7-form p:has(textarea) strong {
    padding-top: 12px;
}

/* ラジオボタン・チェックボックスの場合 */
.wpcf7-form p:has(.wpcf7-radio) strong,
.wpcf7-form p:has(.wpcf7-checkbox) strong {
    padding-top: 12px;
}

/* 電話番号フィールドの場合 */
.wpcf7-form p:has(.phone-number-group) {
    align-items: center;
}

.wpcf7-form p:has(.phone-number-group) strong {
    padding-top: 0;
}

/* 通常のテキスト入力フィールドの場合 */
.wpcf7-form p:has(.wpcf7-text) strong,
.wpcf7-form p:has(.wpcf7-email) strong {
    padding-top: 0;
    align-self: center;
}

/* 追加のラジオボタン表示強制ルール */
input[type="radio"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    margin-right: 8px !important;
}

/* Contact Form 7のラジオボタン専用 */
.wpcf7-form input[type="radio"] {
    -webkit-appearance: radio !important;
    -moz-appearance: radio !important;
    appearance: radio !important;
}

/* ショートコードが処理されていない場合の緊急対応 */
.wpcf7-form-control-wrap {
    display: block !important;
    visibility: visible !important;
}

/* ラジオボタンが含まれる要素全体の強制表示 */
span[data-name="customertype"],
span[data-name="reply-type"] {
    display: block !important;
    visibility: visible !important;
}

/* お客様区分の緊急表示ルール */
.wpcf7-form-control-wrap[data-name="customertype"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 50px !important;
}

/* お客様区分内のコンテンツを強制表示 */
.wpcf7-form-control-wrap[data-name="customertype"] * {
    display: inherit !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* お客様区分と返信タイプの完全統一スタイル */
.wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-radio,
.wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-radio {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-list-item,
.wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-list-item {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #f5f5f5 !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    border: none !important;
}

.wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-list-item:hover,
.wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-list-item:hover {
    background: #e8e8e8 !important;
}

.wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-list-item label,
.wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-list-item label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-list-item input[type="radio"],
.wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-list-item input[type="radio"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-right: 8px !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: #4a90e2 !important;
    cursor: pointer !important;
}

.wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-list-item-label,
.wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-list-item-label {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer !important;
    user-select: none !important;
    white-space: nowrap !important;
}

/* 非常に強力なラジオボタン表示ルール */
.wpcf7-radio {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.wpcf7-list-item {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #f5f5f5 !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.wpcf7-list-item:hover {
    background: #e8e8e8 !important;
}

.wpcf7-list-item label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    visibility: visible !important;
}

.wpcf7-list-item input[type="radio"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 8px !important;
    cursor: pointer !important;
    accent-color: #4a90e2 !important;
}

.wpcf7-list-item-label {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer !important;
    user-select: none !important;
    white-space: nowrap !important;
}

/* 特定のお客様区分フィールドの強制表示 */
.wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-radio,
.wpcf7-form-control-wrap[data-name="customertype"] input[type="radio"],
.wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-radio,
.wpcf7-form-control-wrap[data-name="reply-type"] input[type="radio"] {
    display: block !important;
    visibility: visible !important;
}

/* 緊急時のラジオボタン表示保証 */
span[data-name="customertype"] .wpcf7-radio,
span[data-name="reply-type"] .wpcf7-radio {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 緊急時のリストアイテム表示保証 */
span[data-name="customertype"] .wpcf7-list-item,
span[data-name="reply-type"] .wpcf7-list-item {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #f5f5f5 !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* 標準のContact Form 7ラジオボタンを美しいスタイルに変換 */
span[data-name="reply-type"] .wpcf7-list-item,
span[data-name="customertype"] .wpcf7-list-item {
    display: inline-block !important;
    background: #f5f5f5 !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 7.5px 7.5px 0 !important;
}

span[data-name="reply-type"] .wpcf7-list-item:hover,
span[data-name="customertype"] .wpcf7-list-item:hover {
    background: #e8e8e8 !important;
}

span[data-name="reply-type"] .wpcf7-list-item label,
span[data-name="customertype"] .wpcf7-list-item label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    margin: 0 !important;
}

span[data-name="reply-type"] .wpcf7-list-item input[type="radio"],
span[data-name="customertype"] .wpcf7-list-item input[type="radio"] {
    margin-right: 8px !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: #4a90e2 !important;
}

span[data-name="reply-type"] .wpcf7-list-item-label,
span[data-name="customertype"] .wpcf7-list-item-label {
    cursor: pointer !important;
    user-select: none !important;
    white-space: nowrap !important;
}

/* さらに強力なセレクター - Contact Form 7の標準出力にも対応 */
.wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-list-item,
.wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-list-item {
    display: inline-block !important;
    background: #f5f5f5 !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 7.5px 7.5px 0 !important;
    border: none !important;
}

.wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-list-item:hover,
.wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-list-item:hover {
    background: #e8e8e8 !important;
}

.wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-list-item label,
.wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-list-item label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-list-item input[type="radio"],
.wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-list-item input[type="radio"] {
    margin-right: 8px !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: #4a90e2 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-list-item-label,
.wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-list-item-label {
    cursor: pointer !important;
    user-select: none !important;
    white-space: nowrap !important;
    display: inline !important;
}

/* 最強セレクター - あらゆる状況に対応 */
.wpcf7-form .wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-radio .wpcf7-list-item,
.wpcf7-form .wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-radio .wpcf7-list-item {
    display: inline-block !important;
    background: #f5f5f5 !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 7.5px 7.5px 0 !important;
    border: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wpcf7-form .wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-radio .wpcf7-list-item:hover,
.wpcf7-form .wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-radio .wpcf7-list-item:hover {
    background: #e8e8e8 !important;
}

/* 最強のラジオボタンセレクター */
.wpcf7-form .wpcf7-form-control-wrap[data-name="reply-type"] input[type="radio"],
.wpcf7-form .wpcf7-form-control-wrap[data-name="customertype"] input[type="radio"] {
    margin-right: 8px !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: #4a90e2 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

/* 究極のセレクター - お客様区分専用 */
span[data-name="customertype"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* お客様区分のショートコードを隠して、美しいラジオボタンを表示 */
.wpcf7-form-control-wrap[data-name="customertype"] {
    position: relative !important;
    min-height: 50px !important;
}

/* ショートコードテキストを完全に隠す */
.wpcf7-form-control-wrap[data-name="customertype"]:not(:has(.wpcf7-radio)) {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
}

/* お客様区分のラジオボタンが存在しない場合、CSSで代替表示 */
.wpcf7-form-control-wrap[data-name="customertype"]:not(:has(.wpcf7-radio))::after {
    content: '🔘 現調査依頼  🔘 概算見積  🔘 ご相談';
    display: block !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: #333 !important;
    background: #f0f0f0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    text-align: center !important;
    border: 2px dashed #ccc !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10 !important;
}

/* お客様区分が標準ラジオボタンで表示された場合の強制変換 */
.wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-radio .wpcf7-list-item {
    display: inline-block !important;
    background: #f5f5f5 !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 7.5px 7.5px 0 !important;
    border: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* list-item全体のクリック可能性を強調 */
.wpcf7-form .wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-list-item,
.wpcf7-form .wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-list-item {
    cursor: pointer !important;
    user-select: none !important;
    position: relative !important;
}

.wpcf7-form .wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-list-item label,
.wpcf7-form .wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-list-item label {
    cursor: pointer !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* アクティブ状態の視覚的フィードバック */
.wpcf7-form .wpcf7-form-control-wrap[data-name="reply-type"] .wpcf7-list-item:active,
.wpcf7-form .wpcf7-form-control-wrap[data-name="customertype"] .wpcf7-list-item:active {
    transform: translateY(1px) !important;
    background: #d0d0d0 !important;
}

/* 選択されたラジオボタンのスタイル */
.wpcf7-list-item.selected,
.wpcf7-list-item:has(input[type="radio"]:checked) {
    background: #4a90e2 !important;
}

/* reCAPTCHA Badge Styles */
.grecaptcha-badge {
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    bottom: 14px !important;
    right: 14px !important;
    z-index: 9999 !important;
}

/* Contact Form reCAPTCHA */
.recaptcha-wrapper {
    margin: 20px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .wpcf7 {
        padding: 0;
    }
    
    .wpcf7-form p {
        display: block !important;
        flex-direction: column !important;
        gap: 10px;
    }
    
    .wpcf7-form p strong {
        text-align: left !important;
        padding-top: 0 !important;
        display: block !important;
        margin-bottom: 8px !important;
        min-width: auto !important;
        align-self: auto !important;
    }
    
    .wpcf7-radio,
    .wpcf7-checkbox {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .wpcf7-list-item {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .wpcf7-submit {
        width: 100%;
    }
    
    .phone-number-group {
        display: block !important;
    }
    
    .phone-number-group input[type="tel"] {
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    
    .phone-separator {
        display: none !important;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #00a8e8;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.contact-detail {
    padding: 80px 20px;
    background: white;
}

.contact-detail-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-detail-title {
    font-size: 32px;
    color: #004ea2;
    text-align: center;
    margin-bottom: 40px;
}


.back-to-top:hover {
    background: #0077be;
    transform: translateY(-3px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-arrow {
    display: block;
    line-height: 1;
    font-weight: bold;
}

/* Mobile Menu Button */
.mobile-menu-toggle,
.header-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
}

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

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}

/* Animation for span elements */
.header-menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px) !important;
}

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

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

/* Mobile Menu Overlay */
@media (max-width: 768px) {
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.3);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    body.menu-open.overlay-visible::before {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-container {
        flex-direction: column;
        position: relative;
    }
    
    .hero {
        flex-direction: column;
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        z-index: 1001;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 60px 30px 30px;
    }
    
    .hero-sidebar.mobile-menu-open {
        left: 0;
    }
    
    .hero-main {
        width: 100%;
        height: 100%;
        order: 1;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-dots {
        bottom: 20px;
        left: 0;
        right: 0;
        transform: none;
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0;
    }
    
    /* About Section Mobile */
    .about {
        padding: 60px 20px;
    }

    .about-points {
        flex-direction: column;
        gap: 50px;
    }

    .about-point {
        max-width: 100%;
    }

    .about-logo {
        width: 150px;
        height: 150px;
    }
    
    /* Service Section Mobile */
    .service {
        padding: 60px 20px;
    }
    
    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    
    .service-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .service-content h3 {
        font-size: 24px;
        margin-top: 20px;
    }
    
    /* Message Section Mobile */
    .message {
        padding: 60px 20px;
    }
    
    .message h2 {
        font-size: 24px;
        margin-top: 40px;
    }
    
    .signature-image {
        max-width: 200px;
    }
    
    /* Company Section Mobile */
    .company {
        padding: 60px 20px;
    }
    
    .company-table {
        padding: 20px;
    }
    
    .company-table th,
    .company-table td {
        padding: 10px;
        font-size: 14px;
    }
    
    .company-table th {
        width: 35%;
    }
    
    /* Footer Mobile */
    footer {
        padding: 30px 15px 15px;
    }
    
    .footer-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .footer-description {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-top: 30px;
        padding-top: 15px;
    }
    
    .footer-phone {
        text-align: center;
        font-size: 20px;
    }
    
    .phone-hours-footer {
        text-align: center;
        font-size: 11px;
        margin-top: 5px;
    }
    
    .footer-address {
        text-align: center;
        font-size: 11px;
        margin-top: 5px;
    }
    
    .footer-contact {
        padding: 10px 25px;
        font-size: 14px;
        margin: 15px 0;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        padding: 0;
        margin: 0;
    }
    
    .footer-links a {
        font-size: 11px;
    }
    
    .copyright {
        margin-top: 15px;
        font-size: 10px;
        line-height: 1.4;
    }
    
    .access-button {
        padding: 14px 24px;
        font-size: 14px;
        width: 200px;
    }
    
    .access-button-container {
        margin-top: 60px;
    }
    
    /* Back to Top Button Mobile */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Page Header */
.page-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1010;
    padding: 15px 0;
}

/* Hide header on home/front page for PC only */
@media (min-width: 769px) {
    body.home .page-header,
    body.page-template-front-page .page-header {
        display: none;
    }
}

/* Drawer Menu Customization */
.drawer-nav {
    position: fixed;
    top: 0;
    right: -280px !important; /* Force initial position */
    width: 280px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
    visibility: hidden; /* Initially hidden */
}

/* Show drawer nav when body has drawer-open class */
body.drawer-open .drawer-nav {
    right: 0 !important;
    visibility: visible;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

.drawer-menu {
    list-style: none;
    padding: 80px 0 20px; /* Increased top padding to avoid header */
    margin: 0;
}

/* Mobile specific drawer menu spacing */
@media (max-width: 768px) {
    .drawer-menu {
        padding: 100px 0 20px; /* More space on mobile */
    }
}

.drawer-menu li {
    border-bottom: 1px solid #eee;
}

.drawer-menu li a {
    display: block;
    padding: 20px 30px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s ease;
}

.drawer-menu li a:hover {
    background: #f5f5f5;
}

/* Drawer Footer Styles */
.drawer-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid #1e88a8;
    padding: 20px;
    text-align: center;
}

.drawer-contact-btn {
    display: inline-block;
    background: #1e88a8;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
    transition: background 0.3s ease;
}

.drawer-contact-btn:hover {
    background: #1a6d8a;
}

.drawer-phone {
    text-align: center;
}

.drawer-phone-link {
    display: inline-flex;
    align-items: center;
    color: #1e88a8 !important;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.drawer-phone-link .phone-icon {
    margin-right: 8px;
    font-size: 20px;
}

.drawer-phone-hours {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Adjust drawer-nav padding to accommodate footer */
.drawer-nav {
    padding-bottom: 180px; /* Space for footer */
}

/* Hide drawer on desktop */
@media (min-width: 769px) {
    .drawer-nav,
    .drawer-overlay,
    .drawer-toggle {
        display: none !important;
    }
    
    body.drawer {
        overflow: visible !important;
    }
}

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

.page-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.company-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.page-logo-link {
    text-decoration: none;
}

/* Hide mobile nav elements on desktop */
.mobile-nav-logo,
.mobile-nav-items,
.mobile-nav-contact-btn,
.mobile-nav-phone {
    display: none;
}

/* Desktop navigation styles */
.desktop-nav-items ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.desktop-nav-items a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

.desktop-nav-items a:hover {
    color: #004ea2;
}

.desktop-nav-items a::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 3px;
    background: #004ea2;
    transition: width 0.3s;
}

.desktop-nav-items a:hover::after {
    width: 100%;
}

/* Page Title Section */
.page-title-section {
    margin-top: 80px;
    background: linear-gradient(135deg, #004ea2, #0066cc);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-title-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
}

/* Staff Training Section */
.staff-training-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #004ea2 0%, #1e88a8 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
}

.staff-training-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
}

.staff-training-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.training-badge {
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.training-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: #004ea2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 78, 162, 0.3);
}

.training-icon i {
    font-size: 48px;
    color: white;
}

.training-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.training-percentage {
    font-size: 72px;
    font-weight: 900;
    color: #004ea2;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.training-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .staff-training-section {
        padding: 60px 15px;
    }
    
    .training-badge {
        padding: 40px 20px;
    }
    
    .training-icon {
        width: 80px;
        height: 80px;
    }
    
    .training-icon i {
        font-size: 36px;
    }
    
    .training-title {
        font-size: 22px;
    }
    
    .training-percentage {
        font-size: 56px;
    }
    
    .training-description {
        font-size: 14px;
    }
}

/* Page Content Area for Works Page */
.page-content-area {
    padding: 40px 20px;
    background: #f8f8f8;
}

.page-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-content-inner {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-content-inner h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #004ea2;
    padding-bottom: 10px;
}

.page-content-inner h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #333;
}

.page-content-inner p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.page-content-inner ul,
.page-content-inner ol {
    margin: 20px 0;
    padding-left: 30px;
}

.page-content-inner li {
    line-height: 1.8;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .page-content-area {
        padding: 30px 15px;
    }
    
    .page-content-inner {
        padding: 20px;
    }
    
    .page-content-inner h2 {
        font-size: 22px;
    }
    
    .page-content-inner h3 {
        font-size: 18px;
    }
}

/* Service Categories */
.service-categories {
    padding: 60px 20px;
    background: white;
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 20px;
}

/* Company page with 3 categories - center on PC */
.company-page-categories {
    grid-template-columns: repeat(3, 300px);
    justify-content: center;
}

.category-card {
    background: #004ea2;
    color: white;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    text-decoration: none;
    border-radius: 4px;
}

.category-card:hover {
    background: #003d7a;
}

.category-card h3 {
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

/* Responsive for categories */
@media (max-width: 1024px) {
    .categories-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .company-page-categories {
        grid-template-columns: repeat(3, 1fr);
        justify-content: stretch;
    }
}

@media (max-width: 768px) {
    .categories-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .category-card {
        min-height: 80px;
        padding: 15px 10px;
    }
    
    .category-card h3 {
        font-size: 14px;
        word-break: keep-all;
    }
}

@media (max-width: 480px) {
    .categories-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-card {
        min-height: 70px;
        padding: 12px 10px;
    }
    
    .category-card h3 {
        font-size: 12px;
    }
}

/* Service Detail Section */
.service-detail {
    padding: 80px 20px;
    background: white;
}

.service-detail.alt-bg {
    background: #f8f8f8;
}

.service-detail-container {
    max-width: 1000px;
    margin: 0 auto;
}

.service-detail-title {
    font-size: 32px;
    color: #004ea2;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.service-detail-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #004ea2;
}

.service-detail-text {
    font-size: 16px;
    line-height: 2;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

/* コンサルタント業務セクションのアイコンスタイル */
.consultant-services {
    grid-template-columns: repeat(2, 1fr) !important;
}

.consultant-services .service-image-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.consultant-services .service-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.consultant-services .service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #004ea2;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.consultant-services .service-icon i {
    font-size: 36px;
    color: white;
    display: block;
}

.consultant-services .service-image-item:hover .service-icon {
    background: #1e88a8;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(30, 136, 168, 0.3);
}

.consultant-services .service-image-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

.consultant-services .service-image-item p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* 5つのアイテムがある場合の逆台形レイアウト */
.service-images:has(.service-image-item:nth-child(5):last-child) {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(1),
.service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(2),
.service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(3) {
    grid-column: span 2;
}

.service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(4) {
    grid-column: 2 / span 2;
}

.service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(5) {
    grid-column: 4 / span 2;
}

/* Maintenance Categories Styling */
.maintenance-categories {
    margin: 60px 0;
}

.maintenance-category {
    margin-bottom: 50px;
}

.maintenance-category h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #004ea2;
    position: relative;
}

.category-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #004ea2;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50%;
    margin-right: 10px;
}

.maintenance-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.maintenance-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
    text-align: left;
}

.maintenance-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #004ea2;
    font-weight: bold;
    font-size: 12px;
}

/* Maintenance Gallery */
.maintenance-gallery {
    margin-top: 80px;
}

.gallery-title {
    font-size: 24px;
    color: #004ea2;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.service-image-item {
    text-align: center;
}

.service-image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

.service-image-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.service-image-item h3 {
    color: #004ea2;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .categories-container {
        flex-direction: column;
    }
    
    .service-images {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* タブレットでの5アイテムレイアウト */
    .service-images:has(.service-image-item:nth-child(5):last-child) {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(1),
    .service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(2) {
        grid-column: span 2;
    }
    
    .service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(3) {
        grid-column: 2 / span 2;
    }
    
    .service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(4) {
        grid-column: 1 / span 2;
    }
    
    .service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(5) {
        grid-column: 3 / span 2;
    }
}

@media (max-width: 768px) {
    .header-menu-toggle {
        display: flex !important;
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: none;
        box-shadow: none;
        border-radius: 0;
        z-index: 1003;
    }
    
    .header-menu-toggle span {
        display: block !important;
        width: 25px !important;
        height: 2px !important;
        background: #333 !important;
        transition: all 0.3s ease !important;
        margin: 2px 0;
    }
    
    /* Mobile specific animations */
    .header-menu-toggle.is-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    
    .header-menu-toggle.is-active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .header-menu-toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }
    
    
    .page-header-container {
        flex-direction: row;
        justify-content: space-between;
        position: relative;
    }
    
    .page-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 1001;
        padding: 80px 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 40px;
    }
    
    .page-nav.mobile-menu-open {
        left: 0;
    }
    
    /* Mobile Nav Logo */
    .mobile-nav-logo {
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .mobile-nav-logo-img {
        height: 100px;
        width: auto;
        max-width: 100%;
    }
    
    .mobile-nav-logo-text {
        margin-top: 15px;
        font-size: 20px;
        color: #333;
        font-weight: bold;
    }
    
    /* Mobile Nav Items */
    .mobile-nav-items {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .mobile-nav-item {
        color: #004ea2;
        text-decoration: none;
        font-size: 16px;
        text-align: center;
        font-weight: bold;
        padding: 20px 0;
        border-bottom: 1px solid #eee;
        transition: color 0.3s;
        display: block;
    }
    
    .mobile-nav-item:hover {
        color: #00a8e8;
    }
    
    /* Mobile Contact Button */
    .mobile-nav-contact-btn {
        display: block;
        background: #ff4444;
        color: white;
        padding: 20px 15px;
        text-align: center;
        text-decoration: none;
        border-radius: 8px;
        font-size: 20px;
        font-weight: bold;
        line-height: 1.6;
        transition: background 0.3s;
    }
    
    .mobile-nav-contact-btn:hover {
        background: #ff3333;
    }
    
    /* Mobile Phone */
    .mobile-nav-phone {
        display: block;
        text-align: center;
        color: #000;
        font-size: 24px;
        font-weight: bold;
    }
    
    .mobile-nav-phone-hours {
        font-size: 12px;
        color: #666;
        margin-top: 8px;
        font-weight: normal;
    }
    
    /* Hide desktop nav on mobile */
    .desktop-nav-items {
        display: none;
    }
    
    .page-nav ul {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    .page-nav a::after {
        display: none;
    }
    
    .page-title {
        font-size: 28px;
    }
    

    
    .category-card {
        padding: 30px 20px;
    }
    
    .service-detail-title {
        font-size: 24px;
    }
    
    .service-images {
        grid-template-columns: 1fr;
    }
    
    /* コンサルタント業務セクションもモバイルでは1列に */
    .consultant-services {
        grid-template-columns: 1fr !important;
    }
    
    .consultant-services .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .consultant-services .service-icon i {
        font-size: 28px;
    }
    
    /* モバイルでは全て1列に */
    .service-images:has(.service-image-item:nth-child(5):last-child) {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item {
        grid-column: 1 !important;
    }
    
    .service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(1),
    .service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(2),
    .service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(3),
    .service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(4),
    .service-images:has(.service-image-item:nth-child(5):last-child) .service-image-item:nth-child(5) {
        grid-column: 1 !important;
    }
    
    .service-detail-text {
        font-size: 14px;
        text-align: left;
    }
}

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

.recruit-container-regular {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    background: #f8f8f8;
}

.recruit-categories {
    padding: 60px 20px;
    background: white;
}

.recruit-section {
    margin-top: 80px;
    margin-bottom: 100px;
}

.recruit-section-regular {
    margin-bottom: 100px;
    background: #f8f8f8;
}

.recruit-section-title {
    font-size: 28px;
    color: #004ea2;
    text-align: center;
    margin-bottom: 60px;
    font-weight: bold;
}

.recruit-item {
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    cursor: pointer;
}

.recruit-item-white {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    cursor: pointer;
}

.recruit-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.recruit-item-white:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.recruit-item-white:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.recruit-image {
    width: 200px;
    height: 150px;
    background: #ddd;
    flex-shrink: 0;
}

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

.recruit-content {
    flex: 1;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recruit-content-white {
    flex: 1;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.recruit-title {
    font-size: 20px;
    color: #004ea2;
    font-weight: bold;
}

.recruit-link {
    width: 50px;
    height: 50px;
    border: 2px solid #004ea2;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.recruit-link::after {
    content: '↗';
    color: #004ea2;
    font-size: 24px;
}

.recruit-item:hover .recruit-link {
    background: #004ea2;
}

.recruit-item:hover .recruit-link::after {
    color: white;
}

.recruit-item-white:hover .recruit-link {
    background: #004ea2;
}

.recruit-item-white:hover .recruit-link::after {
    color: white;
}

/* Introduction Section */
.recruit-intro {
    text-align: center;
}

.recruit-intro h1 {
    font-size: 28px;
    color: #004ea2;
    margin-bottom: 30px;
}

.recruit-intro p {
    font-size: 16px;
    line-height: 2;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

/* Recruitment Detail Page Styles */
.recruit-detail-content {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.recruit-detail-content .page-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.recruit-detail-content .page-content {
    background: #fff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.recruitment-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.recruitment-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.recruitment-header {
    padding: 20px 30px;
    cursor: pointer;
    background: #fff;
    color: #004ea2;
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid #004ea2;
    border-bottom: 1px solid #e5e5e5;
}

.recruitment-header:hover {
    background: #f8f9fa;
}

.recruitment-header.active {
    background: #f0f4f8;
    border-left-color: #0066cc;
}

.recruitment-title {
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #004ea2;
    font-weight: 600;
}

.toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    display: inline-block;
    color: #004ea2;
}

.recruitment-header.active .toggle-icon {
    transform: rotate(180deg);
}

.recruitment-excerpt-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
}

.recruitment-summary {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.recruitment-summary span {
    background: #f0f4f8;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #004ea2;
    border: 1px solid #d1d9e0;
}

.recruitment-excerpt {
    font-size: 0.95rem;
    color: #555;
    display: inline-block;
}

.recruitment-summary .recruitment-tag {
    background: #e3f2fd;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.recruitment-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease;
}

.recruitment-detail.show {
    max-height: none;
    overflow: visible;
}

.recruitment-detail-inner {
    padding: 30px;
}

.recruitment-thumbnail {
    margin-bottom: 20px;
    text-align: center;
}

.recruitment-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.recruitment-description {
    margin-bottom: 30px;
    line-height: 1.8;
    color: #555;
}

.recruitment-info {
    margin-bottom: 30px;
}

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

.recruitment-table th,
.recruitment-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.recruitment-table th {
    width: 30%;
    background: #f8f9fa;
    font-weight: 600;
    color: #004ea2;
}

.recruitment-table td {
    color: #555;
}

.recruitment-table tr:last-child th,
.recruitment-table tr:last-child td {
    border-bottom: none;
}

.recruitment-action {
    text-align: center;
    margin-top: 30px;
}

.recruitment-action .btn {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #004ea2;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #004ea2;
}

.recruitment-action .btn:hover {
    background: #004ea2;
    color: #fff;
    transform: translateY(-2px);
}

.no-recruitment {
    background: #fff;
    padding: 60px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.no-recruitment p {
    font-size: 16px;
    color: #777;
}

@media (max-width: 768px) {
    .recruit-item,
    .recruit-item-white {
        flex-direction: column;
    }
    
    .recruit-image {
        width: 100%;
        height: 200px;
    }
    
    .recruit-content,
    .recruit-content-white {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .recruit-title {
        font-size: 18px;
    }
    
    .recruit-link {
        margin: 0 auto;
    }
    
    /* Recruitment Detail Page Mobile */
    .recruit-detail-content {
        padding: 40px 15px;
    }
    
    .recruit-detail-content .page-content {
        padding: 20px;
    }
    
    .recruitment-header {
        padding: 15px 20px;
    }
    
    .recruitment-title {
        font-size: 1.2rem;
    }
    
    .recruitment-summary {
        gap: 10px;
    }
    
    .recruitment-summary span {
        font-size: 0.8rem;
        padding: 3px 8px;
    }
    
    .recruitment-detail-inner {
        padding: 20px;
    }
    
    .recruitment-table th,
    .recruitment-table td {
        padding: 10px;
        font-size: 0.9rem;
        display: block;
        width: 100%;
        text-align: left;
    }
    
    .recruitment-table th {
        width: 100%;
        background: #f8f9fa;
        border-bottom: none;
        padding-bottom: 5px;
        margin-top: 15px;
    }
    
    .recruitment-table td {
        padding-top: 5px;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .recruitment-table tr:first-child th {
        margin-top: 0;
    }
    
    .recruitment-action .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}