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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', sans-serif;
    line-height: 1.2;
    color: #2c3e50;
    background-color: #ffffff;
    font-weight: 400;
}

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

/* ヘッダー */
.header {
    background: rgba(255, 255, 255, 0.98);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(236, 240, 241, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.header-content .logo img {
    width: 100%;
    max-width: 260px;
}

.company-sub {
    font-size: 11px;
    color: #5a6c7d;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.nav-link:hover {
    color: #3498db;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    transition: width 0.3s ease;
}

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

.contact-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1a5490 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.contact-btn:active {
    transform: translateY(0px);
}

.contact-btn::after {
    display: none;
}

.contact-btn i {
    font-size: 14px;
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* メインビジュアル */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,
        rgba(44, 62, 80, 0.9) 0%,
        rgba(44, 62, 80, 0.7) 30%,
        rgba(44, 62, 80, 0.4) 50%,
        rgba(44, 62, 80, 0.2) 70%,
        transparent 100%);
    z-index: 2;
}


.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    padding-right: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.3;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 18px;
    color: #f8f9fa;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.hero-btn.primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1a5490 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
}

.hero-btn.secondary {
    background: white;
    color: #3498db;
    border-color: white;
}

.hero-btn.secondary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
}

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

/* 特徴セクション */
.features {
    padding: 80px 0;
    background: white;
}

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

.feature-item {
    width: 100%;
    max-width: 260px;
    text-align: center;
    padding: 40px 20px;
    margin: 0 auto;
    border-radius: 20px;
    background: white;
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: white;
}

.feature-icon i {
    font-size: 32px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-item p {
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.6;
}

/* 共通セクションスタイル */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 2px;
}

/* 会社案内 */
.about {
    background: #f8fbff;
}

.about-content {
    margin-bottom: 80px;
}

.greeting-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(52, 152, 219, 0.08);
    border: 1px solid rgba(236, 240, 241, 0.5);
}

.greeting-card h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
}

.greeting-card p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #5a6c7d;
}

.president {
    text-align: right;
    padding-top: 30px;
    border-top: 2px solid rgba(52, 152, 219, 0.1);
    margin-top: 30px;
}

.president-name {
    font-weight: 600;
    color: #3498db;
    font-size: 18px;
}

.company-info h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.company-table-wrapper {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(52, 152, 219, 0.08);
    border: 1px solid rgba(236, 240, 241, 0.5);
}

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

.company-table th,
.company-table td {
    padding: 25px 30px;
    text-align: left;
    border-bottom: 1px solid rgba(236, 240, 241, 0.5);
}

.company-table th {
    background: linear-gradient(135deg, #f8fbff 0%, #ecf6fe 100%);
    font-weight: 600;
    color: #2c3e50;
    width: 200px;
    font-size: 15px;
}

.company-table td {
    background: white;
    color: #5a6c7d;
    font-size: 15px;
}

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

/* 事業内容 */
.service {
    background: white;
}

.service-intro {
    text-align: center;
    font-size: 16px;
    color: #5a6c7d;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service-item {
    background: white;
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.1);
    position: relative;
}

.service-item:nth-child(even) {
    background: #f8fbff;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-icon i {
    font-size: 24px;
}

.service-title {
    font-size: 24px;
    color: #2c3e50;
    font-weight: 600;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.service-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #5a6c7d;
}

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

.service-img {
    width: 100%;
    max-width: 350px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}


/* 商品紹介 */
.products {
    background: white;
}

.products-intro {
    text-align: center;
    font-size: 16px;
    color: #5a6c7d;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.product-item {
    background: white;
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.1);
    position: relative;
}

.product-item:nth-child(even) {
    background: #f8fbff;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.product-icon i {
    font-size: 24px;
}

.product-title {
    font-size: 24px;
    color: #2c3e50;
    font-weight: 600;
}

.product-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #5a6c7d;
    margin-bottom: 20px;
}

.product-features {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.product-features li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #5a6c7d;
    line-height: 1.6;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.product-types {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-process {
    margin: 15px 0;
    padding-left: 20px;
    color: #5a6c7d;
}

.product-process li {
    margin-bottom: 8px;
    line-height: 1.6;
}

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

.env-product {
    background: rgba(52, 152, 219, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.env-product h5 {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.env-product p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

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

.product-img {
    width: 100%;
    max-width: 280px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}


/* 施工実績 */
.works {
    background: #f8fbff;
}

.works-intro {
    text-align: center;
    font-size: 16px;
    color: #5a6c7d;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

.works-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.15);
    border: 1px solid rgba(52, 152, 219, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

a.works-item:hover {
    transform: translateY(5px);
    box-shadow: none;
    border: 1px solid rgba(236, 240, 241, 0.5);
    opacity: 0.8;
}

.works-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

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

.works-info {
    position: relative;
    padding: 30px;
}

.works-category {
    display: inline-block;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.works-info h3 {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.4;
}

div.works-item .works-info i {
    display: none;
}

a.works-item .works-info i {
    display: block;
    position: absolute;
    bottom: 20px;
    right: 10px;
    color: #5189ad;
}

/* 電話CTAセクション */
.phone-cta-section {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 100px 0;
}

.phone-cta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.phone-cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.phone-cta-subtitle {
    font-size: 16px;
    margin-bottom: 50px;
    opacity: 0.9;
    line-height: 1.8;
}

.phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

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

.phone-link {
    font-size: 48px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-link:hover {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.phone-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.phone-hours,
.emergency-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    opacity: 0.9;
}

.phone-hours i,
.emergency-notice i {
    font-size: 18px;
}

/* お問い合わせ */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8fbff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 18px;
}

.contact-text strong {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-text p {
    margin: 0;
    color: #5a6c7d;
    font-size: 15px;
    line-height: 1.6;
}

.contact-phone {
    color: #5189ad;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-phone:hover {
    text-decoration: underline;
}

/* Google Map */
.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    border: 1px solid rgba(236, 240, 241, 0.5) !important;
}

.map-address {
    text-align: center;
    font-size: 16px;
    color: #5a6c7d;
    font-weight: 500;
}

/* フッター */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #3498db;
}

.footer-logo p {
    font-size: 12px;
    opacity: 0.7;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-phone:hover {
    color: #3498db;
    transform: translateY(-2px);
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* noimage スタイル */
.noimage {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #ecf6fe 0%, #d5eafc 100%);
    border: 2px dashed rgba(52, 152, 219, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(52, 152, 219, 0.6);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.noimage::before {
    content: 'NO IMAGE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.noimage:hover {
    background: linear-gradient(135deg, #d5eafc 0%, #bdd9f7 100%);
    border-color: rgba(52, 152, 219, 0.5);
}

.hero .noimage {
    height: 400px;
    border-radius: 20px;
}

.about-image .noimage {
    height: 300px;
    max-width: 350px;
}

.service-image .noimage {
    height: 200px;
    max-width: 400px;
}

.works-item .noimage {
    height: 220px;
    border-radius: 0;
    border: none;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-radius: 0 0 20px 20px;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid rgba(236, 240, 241, 0.5);
        width: 100%;
        text-align: center;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .contact-btn {
        margin-top: 10px;
        justify-content: center;
    }

    .hero {
        min-height: 60vh;
        text-align: center;
        padding: 60px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

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

    .greeting-card {
        padding: 30px;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .product-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .product-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-item {
        padding: 30px 20px;
    }

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

    .product-features li {
        padding: 5px 0 5px 25px;
    }

    .phone-number {
        flex-direction: column;
        gap: 20px;
    }

    .phone-link {
        font-size: 36px;
    }

    .phone-info {
        flex-direction: column;
        gap: 20px;
    }

    .works-gallery {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .section-title {
        font-size: 32px;
    }

    section {
        padding: 80px 0;
    }

    .company-table th,
    .company-table td {
        padding: 20px 15px;
        font-size: 14px;
    }

    .company-table th {
        width: 120px;
    }
    .works-item {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

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

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .service-item {
        padding: 30px 20px;
    }

    .greeting-card {
        padding: 25px;
    }

    .phone-cta-title {
        font-size: 28px;
    }

    .phone-link {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-item {
        padding: 30px 15px;
    }

    .contact-item {
        padding: 15px;
    }

    .works-info {
        padding: 15px 30px 15px 15px;
    }
}