/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラースキーム - 参考デザインに基づく */
    --primary-blue: #1a5fa8;
    --header-teal: #2c8fa3;
    --cta-blue: #0077cc;
    --dark-navy: #1a2332;
    --light-gray: #f5f7fa;
    --border-gray: #e0e4e9;
    --text-dark: #333333;
    --text-gray: #666666;
    --white: #ffffff;
    --red-badge: #e74c3c;
    --green-btn: #27ae60;
    --orange-btn: #f39c12;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

.pc-only {
    display: inline;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-teal);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-top {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #27ae60, #2c8fa3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    color: var(--white);
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.nav-desktop {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-list li a {
    padding: 10px 16px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-list li a:hover {
    background-color: rgba(255,255,255,0.15);
}

.nav-list li a.nav-highlight {
    background-color: var(--cta-blue);
}

.nav-list li a.nav-contact {
    background-color: var(--orange-btn);
}

.header-contact {
    display: flex;
    align-items: center;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.phone-number i {
    font-size: 20px;
}

.phone-info .phone {
    font-size: 20px;
    font-weight: 700;
}

.phone-info .hours {
    font-size: 11px;
    opacity: 0.9;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--border-gray);
}

.mobile-nav-list li a {
    display: block;
    padding: 15px 10px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
}

.mobile-nav-list li a:hover {
    background-color: var(--light-gray);
}

/* ヒーローセクション */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    line-height: 1.8;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.truck-illustration {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(33, 150, 243, 0.3);
    animation: float 3s ease-in-out infinite;
}

.truck-illustration i {
    font-size: 120px;
    color: var(--white);
}

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

/* お知らせセクション */
.news-section {
    background-color: var(--white);
    padding: 50px 0;
}

.news-content {
    background-color: var(--light-gray);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.news-header {
    margin-bottom: 30px;
}

.news-label {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 18px;
}

.news-list {
    margin-bottom: 30px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.news-item:hover {
    background-color: rgba(255,255,255,0.5);
    padding-left: 10px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
    min-width: 100px;
}

.news-title {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.news-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-more-btn:hover {
    background-color: #2a3a52;
    transform: translateX(5px);
}

/* CTAバナー */
.cta-banner {
    background-color: var(--dark-navy);
    padding: 40px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-text {
    flex: 1;
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--cta-blue);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #0066b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 119, 204, 0.3);
}

/* 業務内容セクション */
.service-section {
    padding: 80px 0;
    background-color: var(--white);
}

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

.section-title {
    font-size: 40px;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 95, 168, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--header-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 40px;
    color: var(--white);
}

.service-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* お問い合わせフォームセクション */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: var(--red-badge);
    font-size: 12px;
    margin-left: 5px;
}

.optional {
    color: var(--text-gray);
    font-size: 12px;
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px;
    border: 2px solid var(--border-gray);
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 95, 168, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    text-align: center;
    margin-top: 20px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--cta-blue);
    color: var(--white);
    padding: 16px 60px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #0066b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 119, 204, 0.3);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    display: none;
}

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

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

/* フッター */
.footer {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-info {
    flex: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
}

.footer-logo .logo-text {
    font-size: 16px;
}

.footer-address {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.footer-links {
    flex: 2;
    display: flex;
    gap: 50px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* 右側固定ボタン */
.fixed-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 900;
}

.fixed-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    padding: 15px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.fixed-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.fixed-btn i {
    font-size: 24px;
    margin-bottom: 5px;
}

.estimate-btn {
    background-color: var(--red-badge);
}

.waste-btn {
    background-color: var(--green-btn);
}

.contact-btn {
    background-color: var(--orange-btn);
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff0000;
    color: var(--white);
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 900;
}

/* ページトップボタン */
.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 800;
}

.page-top.visible {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    background-color: #154a85;
    transform: translateY(-5px);
}

/* レスポンシブデザイン */
@media (max-width: 968px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .header-contact .phone-info .phone {
        font-size: 16px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .truck-illustration {
        width: 250px;
        height: 250px;
    }
    
    .truck-illustration i {
        font-size: 100px;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .fixed-buttons {
        right: 10px;
    }
    
    .fixed-btn {
        width: 80px;
        padding: 12px 8px;
        font-size: 11px;
    }
    
    .fixed-btn i {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .pc-only {
        display: none;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .header-contact {
        display: none;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .truck-illustration {
        width: 200px;
        height: 200px;
    }
    
    .truck-illustration i {
        font-size: 80px;
    }
    
    .news-content {
        padding: 30px 20px;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .news-date {
        min-width: auto;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .fixed-buttons {
        flex-direction: row;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        padding: 10px;
        background-color: var(--white);
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    
    .fixed-btn {
        width: 100%;
        padding: 10px;
    }
}
