/* =============================================
   株式会社ペイントプロ - スタイルシート
   ============================================= */

:root {
    --primary-color: #1a3a5c;
    --primary-light: #2a5a8c;
    --accent-color: #f5a623;
    --accent-light: #ffc857;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a3a5c;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-line {
    background: #06C755;
    color: white;
}

.btn-line:hover {
    background: #05b54c;
}

/* --- Section Styles --- */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-nav {
    background: var(--accent-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 5px;
}

.btn-nav:hover {
    background: var(--accent-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(26, 58, 92, 0.8), rgba(26, 58, 92, 0.9)), url('../images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 100px 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-cta .btn {
    min-width: 220px;
}

.phone-icon {
    margin-right: 10px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.feature-item .check {
    color: var(--accent-color);
    font-weight: bold;
}

/* --- Signs --- */
.signs {
    padding: 100px 0;
    background: var(--bg-light);
}

.signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.sign-card {
    background: white;
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

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

.sign-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.sign-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.sign-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.signs-cta {
    text-align: center;
    background: var(--primary-color);
    padding: 40px;
    border-radius: 10px;
    color: white;
}

.signs-cta p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* --- Services --- */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--primary-color);
    color: white;
}

.service-card:hover h3 {
    color: white;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.95rem;
}

/* --- Reasons --- */
.reasons {
    padding: 100px 0;
    background: var(--primary-color);
    color: white;
}

.reasons .section-title,
.reasons .section-subtitle {
    color: white;
}

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

.reason-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 10px;
    position: relative;
}

.reason-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.reason-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.reason-card p {
    opacity: 0.9;
}

/* --- Paints --- */
.paints {
    padding: 100px 0;
    background: var(--bg-light);
}

.paints-table {
    overflow-x: auto;
}

.paints-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.paints-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.paints-table tr.featured {
    background: #fff8e7;
}

.paints-table .badge {
    background: var(--accent-color);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    margin-left: 10px;
}

/* --- Works --- */
.works {
    padding: 100px 0;
}

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

.work-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.work-image {
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.before-after-images {
    display: flex;
    gap: 2px;
}

.ba-item {
    flex: 1;
    position: relative;
}

.ba-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.ba-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

.work-info {
    padding: 25px;
}

.work-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.work-details {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.work-price {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.work-voice {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- Flow --- */
.flow {
    padding: 100px 0;
    background: var(--bg-light);
}

.flow-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.flow-item {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    position: relative;
}

.flow-item::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    bottom: -30px;
    width: 2px;
    background: var(--border-color);
}

.flow-item:last-child::before {
    display: none;
}

.flow-step {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.flow-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    flex: 1;
    box-shadow: var(--shadow);
}

.flow-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.flow-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- Craftsman --- */
.craftsman {
    padding: 100px 0;
}

.craftsman-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.craftsman-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.craftsman-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.craftsman-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.credential {
    background: var(--bg-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.craftsman-message {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* --- Price --- */
.price {
    padding: 100px 0;
    background: var(--bg-light);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.price-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.price-card.featured {
    border: 3px solid var(--accent-color);
    transform: scale(1.05);
}

.recommend-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price-range {
    margin-bottom: 25px;
}

.price-range .from {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.price-range .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-range .unit {
    font-size: 1rem;
    font-weight: 400;
}

.price-includes {
    list-style: none;
    text-align: left;
}

.price-includes li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.price-includes li:last-child {
    border-bottom: none;
}

.price-includes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.price-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* --- FAQ --- */
.faq {
    padding: 100px 0;
}

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

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
    font-weight: 600;
}

.faq-question .icon {
    color: var(--accent-color);
    transition: var(--transition);
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding-bottom: 25px;
    color: var(--text-light);
}

/* --- Company --- */
.company {
    padding: 100px 0;
    background: var(--bg-light);
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.company-info h2,
.area-info h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.company-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.company-table th {
    background: var(--bg-light);
    width: 30%;
    font-weight: 600;
}

.area-lead {
    margin-bottom: 20px;
    color: var(--text-light);
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.area-tags span {
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.area-note {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--primary-color);
    color: white;
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.contact-method .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-method h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.phone-time {
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-method p {
    margin-bottom: 10px;
    opacity: 0.9;
}

/* --- Footer --- */
footer {
    background: #0d1f2d;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-section p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.8;
}

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

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

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

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

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

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

    .hero p {
        font-size: 1rem;
    }

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

    .craftsman-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .craftsman-image {
        max-width: 250px;
        margin: 0 auto;
    }

    .company-grid {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: none;
    }
}
