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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #0066cc;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav li {
    font-weight: 500;
}

.btn-contact {
    background-color: #0066cc;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-contact:hover {
    background-color: #0055aa;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/nagoya-tower.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    z-index: 1;
}

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

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background-color: #ff6600;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 18px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #e55c00;
}

/* セクション共通 */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #0066cc;
    margin: 15px auto 0;
}

/* 特徴セクション */
.features {
    background-color: #f9f9f9;
}

.feature-card {
    display: flex;
    margin-bottom: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.feature-icon {
    font-size: 36px;
    padding: 30px;
    background-color: #0066cc;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-content {
    padding: 30px;
    flex: 1;
}

.feature-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0066cc;
}

/* エリアセクション */
.area-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.area-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.area-image img {
    width: 100%;
    height: auto;
    display: block;
}

.area-text {
    flex: 1;
}

.area-text p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* 案件情報セクション */
.projects {
    background-color: #f9f9f9;
}

.project-types {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.project-type {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-type h3 {
    font-size: 22px;
    color: #0066cc;
    margin-bottom: 15px;
}

.project-type ul {
    margin-top: 15px;
    padding-left: 20px;
}

.project-type li {
    list-style-type: disc;
    margin-bottom: 8px;
}

/* お客様の声セクション */
.testimonial-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 60px;
    color: #0066cc;
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
}

.testimonial-author {
    text-align: right;
    font-weight: 700;
}

/* よくある質問セクション */
.faq {
    background-color: #f9f9f9;
}

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

.faq-item {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0066cc;
}

/* お問い合わせセクション */
.contact {
    background: linear-gradient(rgba(0, 102, 204, 0.9), rgba(0, 102, 204, 0.9)), url('images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.contact .section-title:after {
    background-color: white;
}

.contact-lead {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.contact-method {
    text-align: center;
    padding: 20px;
}

.contact-method h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-info {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-group input {
    width: auto;
    margin-right: 5px;
}

.contact-form .btn-primary {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* フッター */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 2;
    min-width: 200px;
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
}

.footer-links h3:after,
.footer-contact h3:after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #0066cc;
    margin-top: 8px;
}

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

.footer-links ul li a:hover {
    color: #0066cc;
}

.footer-contact p {
    margin-bottom: 8px;
}

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

/* レスポンシブデザイン */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 10px;
    }
    
    .logo-container {
        max-width: 200px;
        margin-bottom: 10px;
    }
    
    nav ul {
        margin-top: 10px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        font-size: 14px;
    }
    
    .btn-contact {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .hero {
        padding: 180px 0 60px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .feature-card {
        flex-direction: column;
    }
    
    .area-content {
        flex-direction: column;
    }
    
    .project-type,
    .testimonial-card {
        min-width: 100%;
    }
    
    .contact-methods {
        flex-direction: column;
    }
    
    .contact-form {
        padding: 20px;
    }
}

/* ロゴスタイルの修正 */
.logo-container {
    max-width: 300px;
}

.logo-image {
    width: 100%;
    height: auto;
}

/* フッターロゴ用 */
.footer-logo img {
    max-width: 200px;
    margin-bottom: 15px;
}

/* メンテナンス中の注意書き用スタイル */
.maintenance-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
}

.maintenance-icon {
    font-size: 20px;
    margin-right: 8px;
}

/* お問い合わせフォームを薄く表示 */
.maintenance-notice + .contact-form {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.maintenance-notice + .contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1;
    border-radius: 8px;
}

/* 運営会社情報のスタイル */
.company-info {
    text-align: center;
    margin-bottom: 20px;
}

.company-info a {
    color: #4db1ff;
    transition: color 0.3s;
}

.company-info a:hover {
    color: #ffffff;
    text-decoration: underline;
} 