/*
Theme Name: Tensho Bus
Author: Tensho International
Description: WordPress theme for 天祥国際株式会社 TENSHO BUS.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tensho-bus
*/

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background-color: #FEFCF8;
    color: #1E2A2F;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    line-height: 1.5;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #e9e7e2;
}

::-webkit-scrollbar-thumb {
    background: #C49A6C;
    border-radius: 10px;
}

.container {
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 40px;
}

.navbar {
    backdrop-filter: blur(8px);
    background: rgba(255, 252, 245, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    background: linear-gradient(135deg, #B87333 0%, #8B5A2B 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
}

.logo span {
    background: none;
    color: #6b5a4e;
    font-size: 1rem;
    font-weight: 400;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #2C3A3F;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #B87333;
}

.nav-links a::after {
    background: #B87333;
    bottom: -6px;
    content: '';
    height: 2px;
    left: 0;
    position: absolute;
    transition: 0.3s;
    width: 0;
}

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

.hero {
    background: linear-gradient(107deg, #1E2A2F 0%, #2F3E44 100%);
    color: white;
    overflow: hidden;
    padding: 120px 0 140px;
    position: relative;
}

.hero::before {
    background-image: url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-position: center 30%;
    background-size: cover;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.22;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 i {
    color: #D9A066;
    font-size: 3rem;
    font-weight: 400;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-gold {
    background: #B87333;
    border: none;
    border-radius: 40px;
    box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.2);
    color: white;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 38px;
    text-decoration: none;
    transition: 0.25s;
}

.btn-gold:hover {
    background: #9E5E28;
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.3);
    color: white;
    transform: translateY(-3px);
}

.btn-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 240, 0.7);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

section {
    padding: 90px 0;
}

.section-title {
    color: #1E2A2F;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-sub {
    color: #7B6B5E;
    font-size: 1.1rem;
    margin: 0 auto 3rem;
    max-width: 720px;
    text-align: center;
}

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

.vehicle-card {
    background: #FFFFFF;
    border: 1px solid #f0ede8;
    border-radius: 32px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.2, 0, 0, 1);
}

.vehicle-card:hover {
    border-color: #E4D5C0;
    box-shadow: 0 30px 45px -15px rgba(0, 0, 0, 0.15);
    transform: translateY(-12px);
}

.vehicle-img {
    background: #F0EBE2;
    display: block;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
    width: 100%;
}

.vehicle-card:hover .vehicle-img {
    transform: scale(1.02);
}

.vehicle-card h3 {
    color: #2C3A3F;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 1rem 0 0.2rem;
    text-align: center;
}

.vehicle-card .sub {
    color: #B87333;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-align: center;
}

.card-content {
    padding: 0 24px 28px;
}

.feature-list {
    list-style: none;
    margin: 20px 0;
}

.feature-list li {
    align-items: center;
    color: #3A4A4F;
    display: flex;
    font-size: 0.9rem;
    gap: 10px;
    margin-bottom: 10px;
}

.feature-list li i {
    color: #C49A6C;
    font-size: 0.9rem;
    width: 22px;
}

.badge {
    background: #F4E9DD;
    border-radius: 40px;
    color: #8B5A2B;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 10px;
    padding: 5px 14px;
}

.advantages {
    background: #F9F5EF;
}

.advantages-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 20px;
}

.adv-item {
    background: white;
    border-radius: 28px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: 0.2s;
}

.adv-item i {
    color: #B87333;
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.adv-item h4 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.adv-item p {
    color: #5F6C6E;
    font-size: 0.9rem;
}

.service-area-note {
    margin-top: 2rem;
    text-align: center;
}

.service-area-note p {
    color: #5f6e72;
}

.service-area-note i {
    color: #B87333;
}

.cta {
    background: linear-gradient(135deg, #1E2A2F 0%, #2F3E44 100%);
    color: white;
    padding: 70px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta p {
    margin: 0 auto 2rem;
    max-width: 600px;
    opacity: 0.85;
}

.btn-light,
.btn-light:hover {
    box-shadow: none;
}

.btn-light {
    background: white;
    color: #B87333;
}

.btn-light:hover {
    background: #FCF6EC;
    color: #9E5E28;
}

.contact-line {
    font-size: 0.9rem;
    margin-top: 2rem;
}

footer {
    background: #1A2327;
    color: #CFD5D8;
    font-size: 0.9rem;
    padding: 48px 0 32px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.footer-brand h3 {
    color: #E9DBCB;
}

.footer-brand p {
    color: #ADB7BA;
    font-size: 0.85rem;
    margin-top: 12px;
    max-width: 260px;
}

.footer-links h4,
.footer-contact h4 {
    color: #E9DBCB;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-links li,
.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #CFD5D8;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #C49A6C;
}

.social-icons i {
    color: #CFD5D8;
    cursor: pointer;
    font-size: 1.3rem;
    margin-right: 18px;
    transition: 0.2s;
}

.social-icons i:hover {
    color: #C49A6C;
    transform: translateY(-2px);
}

.copyright {
    border-top: 1px solid #2F3A3F;
    color: #8F9EA3;
    font-size: 0.8rem;
    padding-top: 28px;
    text-align: center;
}

.modal-overlay {
    align-items: center;
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    transition: 0.2s;
    visibility: hidden;
    width: 100%;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #fff;
    border-radius: 36px;
    max-width: 520px;
    padding: 2rem;
    position: relative;
    transform: scale(0.97);
    transition: transform 0.2s;
    width: 90%;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-container h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-container .modal-sub {
    border-left: 3px solid #B87333;
    color: #6b5a4e;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    padding-left: 12px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #FEFCF8;
    border: 1px solid #E2DCD2;
    border-radius: 28px;
    font-family: inherit;
    outline: none;
    padding: 10px 15px;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #B87333;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.modal-buttons button {
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    padding: 8px 24px;
}

.btn-send {
    background: #B87333;
    color: white;
}

.btn-send:hover {
    background: #9E5E28;
}

.btn-cancel {
    background: #EFEBE4;
    color: #4F5B5F;
}

.close-icon {
    background: transparent;
    border: none;
    color: #A49F96;
    cursor: pointer;
    font-size: 1.3rem;
    position: absolute;
    right: 22px;
    top: 18px;
}

.close-icon:hover {
    color: #B87333;
}

.modal-note {
    font-size: 0.7rem;
    margin-top: 16px;
    text-align: center;
}

.simple-page {
    padding: 40px 0 80px;
}

.simple-container {
    max-width: 1000px;
}

.back-link {
    color: #B87333;
    display: inline-block;
    font-weight: 500;
    margin-bottom: 20px;
    text-decoration: none;
}

.simple-header {
    border-bottom: 1px solid #E2DCD2;
    margin-bottom: 40px;
    padding-bottom: 20px;
    text-align: center;
}

.simple-header h1,
.document-title h1 {
    color: #B87333;
    font-size: 2rem;
}

.info-card,
.document-card {
    background: white;
    border: 1px solid #f0ede8;
    border-radius: 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    padding: 30px;
}

.info-card h1 {
    color: #B87333;
    margin-bottom: 16px;
}

.info-card h2,
.document-card h2 {
    border-left: 4px solid #B87333;
    font-size: 1.6rem;
    margin-bottom: 20px;
    padding-left: 16px;
}

.document-card h2 {
    font-size: 1.35rem;
    margin: 28px 0 12px;
}

.document-card h3 {
    color: #2C3A3F;
    font-size: 1.05rem;
    margin: 18px 0 8px;
}

.document-card p {
    color: #3a4a4f;
    margin-bottom: 0.9em;
}

.document-card ul,
.document-card ol {
    margin: 1em 0 1.5em 2em;
}

.document-card li {
    margin-bottom: 0.3em;
}

.info-grid {
    display: grid;
    gap: 12px 16px;
    grid-template-columns: 120px 1fr;
    margin-bottom: 20px;
}

.info-label {
    color: #6B5A4E;
    font-weight: 600;
}

.section-heading-spaced {
    margin-top: 24px;
}

.stat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.stat-box {
    background: #FEFAF4;
    border-radius: 24px;
    flex: 1;
    min-width: 100px;
    padding: 16px;
    text-align: center;
}

.stat-number {
    color: #B87333;
    font-size: 2rem;
    font-weight: 800;
}

.card-last-text {
    margin-top: 24px;
}

.document-title {
    margin-bottom: 30px;
    text-align: center;
}

.title-rule {
    border-bottom: 2px solid #B87333;
    display: inline-block;
    width: 160px;
}

.document-date {
    color: #7B6B5E;
    font-size: 0.9rem;
    text-align: right;
}

.date-note {
    border-top: 1px solid #eee;
    color: #7B6B5E;
    font-size: 0.85rem;
    margin-top: 32px;
    padding-top: 24px;
    text-align: right;
}

.note {
    background: #F9F5EF;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 20px 0;
    padding: 12px 18px;
}

.entry-content {
    color: #3a4a4f;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
    margin-bottom: 1em;
}

@media (max-width: 900px) {
    .container {
        padding: 0 24px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

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

    .nav-links {
        gap: 1.2rem;
        justify-content: center;
    }

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

    .fleet-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .document-card,
    .info-card {
        padding: 20px;
    }

    .document-title h1,
    .simple-header h1 {
        font-size: 1.4rem;
    }

    .document-card h2,
    .info-card h2 {
        font-size: 1.2rem;
    }

    .info-grid {
        gap: 6px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .btn-gold,
    .btn-outline-light {
        font-size: 0.85rem;
        padding: 10px 20px;
    }

    .vehicle-card h3 {
        font-size: 1.5rem;
    }

    .vehicle-img {
        height: 170px;
    }
}
