/* 全体のスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #0056b3;
    transition: all 0.3s ease;
}

a:hover {
    color: #003d7a;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: #0056b3;
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #003d7a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-small {
    display: inline-block;
    background-color: transparent;
    color: #0056b3;
    padding: 8px 15px;
    border: 1px solid #0056b3;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background-color: #0056b3;
    color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 0.05em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0056b3;
}

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

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

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0056b3;
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: auto;
    min-height: 40vh;
    padding: 40px 0;
    display: flex;
    align-items: center;
    color: #fff;
    margin-top: 70px;
}

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

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    white-space: nowrap;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
    max-width: 700px;
}

/* ミッションセクション */
.mission {
    padding: 80px 0;
    background-color: #f8f9fa;
    margin-bottom: 0;
}

.mission-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-image {
    flex: 0 0 45%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mission-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mission-image-second {
    max-width: 380px !important;
}

.mission-content {
    flex: 1;
    text-align: justify;
    line-height: 1.8;
}

.mission-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-indent: 2em;
}

@media (max-width: 768px) {
    .mission-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .mission-image {
        flex: none;
    }
}

.signature {
    text-align: right;
    margin-top: 40px;
    font-weight: normal;
}

/* サービスプレビューセクション */
.services-preview {
    padding: 80px 0;
}

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

.service-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
}

/* ニュースセクション */
.news {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.news-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.news-date {
    min-width: 100px;
    font-weight: 600;
    color: #0056b3;
}

.news-title {
    flex-grow: 1;
}

.more-link {
    text-align: right;
    margin-top: 30px;
}

.more-link a {
    font-weight: 600;
}

.more-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.more-link a:hover i {
    transform: translateX(5px);
}

/* CTAセクション */
.cta {
    padding: 80px 0;
    background-color: #fff;
}

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

.cta-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.cta-box p {
    margin-bottom: 30px;
    color: #666;
}

/* フッター */
footer {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #333;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-section {
    flex: 1;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.footer-left {
    background-image: url('image/footer-bg-left.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
}

.footer-right {
    background-image: url('image/footer-bg-right.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.footer-logo span {
    font-weight: 300;
}

.footer-logo p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-links-column {
    margin-bottom: 30px;
}

.footer-links-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #0056b3;
}

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

.footer-links-column ul li a {
    color: #555;
}

.footer-links-column ul li a:hover {
    color: #2c5aa0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 0.9rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-date {
        margin-bottom: 5px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        margin-bottom: 20px;
        border-radius: 10px;
        min-height: 150px;
    }
    
    .footer-left, .footer-right {
        border-radius: 10px;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
}