@charset "UTF-8";
/* style.css */

/* リセットCSS */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    font-display: swap;
    line-height: 1.6;
    color: #333;
}

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

/* CSS変数 */
:root {
    --primary: #d0021b;
    --accent: #ffd700;
    --text: #333;
    --text-light: #666;
    --bg: #fff;
    --bg-light: #f8f9fa;
    --border: #e1e5e9;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --max-width: 1280px;
}

/* ヘッダー */
.header {
    background: var(--bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}

.header__logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.header__nav {
    display: flex;
    gap: 1.5rem;
}

.header__nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.header__nav-link:hover {
    color: var(--primary);
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero__content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero__text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__cta-contact, .hero__cta-line {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s;
    cursor: pointer;
    border: none;
}

.hero__cta-contact {
    background: var(--primary);
    color: white;
}

.hero__cta-line {
    background: #06c755;
    color: white;
}

.hero__cta-contact:hover, .hero__cta-line:hover {
    transform: translateY(-2px);
}

/* サービス */
.service {
    padding: 4rem 0;
    background: var(--bg-light);
}

.service__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.service__title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

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

.service__item {
    background: var(--bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.service__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service__item-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service__item-text {
    color: var(--text-light);
}

/* 料金 */
.price {
    padding: 4rem 0;
}

.price__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.price__title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.price__table {
    margin-bottom: 3rem;
    overflow-x: auto;
}

.price__table-content {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.price__table-content th,
.price__table-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.price__table-content th {
    background: var(--primary);
    color: white;
    font-weight: bold;
}

.price__table-content tbody tr:hover {
    background: var(--bg-light);
}

.price__subtitle {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

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

.price__business-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--primary);
}

.price__business-item h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.price__business-item p {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text);
}

/* 工事の流れ */
.flow {
    padding: 4rem 0;
    background: var(--bg-light);
}

.flow__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.flow__title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

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

.flow__step {
    background: var(--bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.flow__step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.flow__step-icon {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.flow__step-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.flow__step-text {
    color: var(--text-light);
}

/* 回収 */
.disposal {
    padding: 4rem 0;
}

.disposal__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.disposal__title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.disposal__badge {
    display: inline-block;
    background: var(--accent);
    color: var(--text);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.disposal__list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.disposal__list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.disposal__list li:before {
    content: "✓ ";
    color: var(--primary);
    font-weight: bold;
}

.disposal__link {
    color: var(--primary);
    text-decoration: underline;
}

/* 施工事例 */
.case {
    padding: 4rem 0;
    background: var(--bg-light);
}

.case__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.case__title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

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

.case__item {
    background: var(--bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.case__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.case__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case__text {
    padding: 1rem;
    text-align: center;
    font-weight: bold;
}

/* お客様の声 */
.testimonials {
    padding: 4rem 0;
}

.testimonials__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonials__title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.testimonials__slider {
    display: flex;
    gap: 2rem;
    animation: slide 15s infinite linear;
}

.testimonials__slide {
    min-width: 100%;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonials__quote {
    font-style: normal;
}

.testimonials__quote p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonials__quote cite {
    display: block;
    text-align: right;
    color: var(--primary);
    font-weight: bold;
}

@keyframes slide {
    0% { transform: translateX(0); }
    33.33% { transform: translateX(-100%); }
    66.66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}

/* FAQ */
.faq {
    padding: 4rem 0;
    background: var(--bg-light);
}

.faq__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.faq__title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

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

.faq__item {
    background: var(--bg);
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq__question {
    padding: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__answer {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* CTA */
.cta {
    padding: 4rem 0;
    background: var(--primary);
    color: white;
    text-align: center;
}

.cta__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.cta__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta__text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta__button {
    display: inline-block;
    padding: 1.5rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s;
    min-width: 200px;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.cta__button--contact {
    background: white;
    color: var(--primary);
}

.cta__button--line {
    background: #06c755;
    color: white;
}

.cta__button--form {
    background: var(--accent);
    color: var(--text);
}

.cta__button:hover {
    transform: translateY(-3px);
}

.cta__button small {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
    margin-top: 0.5rem;
}

/* メール関連 */
.email-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.email-modal.active {
    display: flex;
}

.email-modal__content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.email-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.email-modal__title {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.email-modal__text {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.email-address {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid var(--border);
    margin-bottom: 1rem;
    font-family: monospace;
    font-size: 1.1rem;
    word-break: break-all;
}

.copy-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.copy-button:hover {
    background: #a0011a;
}

.copy-button.copied {
    background: #27ae60;
}

/* フッター */
.footer {
    background: var(--text);
    color: white;
    padding: 2rem 0;
}

.footer__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.footer__company {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer__address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.footer__copyright {
    font-size: 0.9rem;
    color: #ccc;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header__nav {
        display: none;
    }
    
    .hero__cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__cta-contact, .hero__cta-line {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .service__grid {
        grid-template-columns: 1fr;
    }
    
    .flow__steps {
        grid-template-columns: 1fr;
    }
    
    .case__gallery {
        grid-template-columns: 1fr;
    }
    
    .testimonials__slider {
        flex-direction: column;
        animation: none;
    }
    
    .testimonials__slide {
        min-width: auto;
    }
    
    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .price__business {
        grid-template-columns: 1fr;
    }

    .email-modal__content {
        margin: 1rem;
        width: auto;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }
    
    .service__title,
    .price__title,
    .flow__title,
    .case__title,
    .testimonials__title,
    .faq__title,
    .cta__title {
        font-size: 2rem;
    }
    
    .disposal__title {
        font-size: 2rem;
    }
}