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

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN', 'Yu Gothic', 'メイリオ', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* ヘッダー */
header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.8rem;
    color: #3498db;
}

.tagline {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-top: 0.2rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #34495e;
}

/* メインコンテンツ */
main {
    margin-top: 80px;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* ボタン */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #667eea;
}

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

section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* サービスセクション */
.services {
    background-color: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.service-card li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.service-story {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.service-story h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.service-story p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* ご挨拶セクション */
.greeting {
    background-color: #ffffff;
}

.greeting-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.representative-photo {
    text-align: center;
}

.photo-placeholder {
    width: 200px;
    height: 250px;
    background-color: #f8f9fa;
    border: 2px dashed #bdc3c7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.representative-photo h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.representative-message {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.representative-message h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.representative-message p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    text-align: justify;
}

.signature {
    text-align: right;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.signature p {
    margin-bottom: 0;
    color: #2c3e50;
}

.representative-profile {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.representative-profile h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

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

.profile-section h4 {
    color: #34495e;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 4px;
}

.profile-section ul {
    list-style: none;
    padding-left: 0;
}

.profile-section li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.profile-section li:before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 0.8rem;
}

.profile-section li:last-child {
    border-bottom: none;
}

/* 会社情報セクション */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.company-info h3,
.service-area h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

.company-info td {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
}

.company-info td:first-child {
    background-color: #f8f9fa;
    font-weight: 600;
    width: 30%;
}

.service-area ul {
    list-style: none;
    padding-left: 0;
}

.service-area li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-area li:before {
    content: "📍";
    position: absolute;
    left: 0;
}

/* お問い合わせセクション */
.contact {
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3,
.contact-form h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-method h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.phone, .email {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.hours, .response-time {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* フォーム */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* フッター */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-nav a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 200px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .greeting-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-nav ul {
        justify-content: center;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h2 {
        font-size: 1.7rem;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ホバーエフェクト */
.service-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.contact-method:hover {
    transform: translateY(-2px);
    transition: transform 0.3s;
}