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

/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #1B4B8C;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 25%, #90CAF9 50%, #64B5F6 75%, #42A5F5 100%);
    min-height: 100vh;
}

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

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

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.logo .subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

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

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #87CEEB;
}

/* ヒーローセクション */
.hero {
    margin-top: 80px;
    padding: 4rem 0;
    background: linear-gradient(135deg, #E1F5FE 0%, #B3E5FC 25%, #81D4FA 50%, #4FC3F7 75%, #29B6F6 100%);
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero-content {
    flex: 1;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #235BC8;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #1B4B8C;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: #235BC8;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(35, 91, 200, 0.3);
}

.cta-button:hover {
    background-color: #1E4FA0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(35, 91, 200, 0.4);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* セクション共通 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #235BC8;
    margin-bottom: 3rem;
}

/* サービスセクション */
.services {
    padding: 5rem 0;
    background-color: white;
}

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

.service-card {
    background: linear-gradient(135deg, #F3F9FF 0%, #E8F4FD 50%, #DDF0FB 100%);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #235BC8;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: #1B4B8C;
    line-height: 1.6;
}

/* 特徴セクション */
.features {
    padding: 5rem 0;
    background: linear-gradient(135deg, #E1F5FE 0%, #B3E5FC 25%, #81D4FA 50%, #4FC3F7 75%, #29B6F6 100%);
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

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

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #235BC8;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #1B4B8C;
    line-height: 1.6;
}

/* 会社概要セクション */
.about {
    padding: 5rem 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

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

.company-info th,
.company-info td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
}

.company-info th {
    background-color: #F1F8E9;
    font-weight: 600;
    color: #2E7D32;
    width: 30%;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2E7D32;
    margin-bottom: 1rem;
}

.about-text p {
    line-height: 1.8;
    color: #1B5E20;
}

/* お問い合わせセクション */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #E1F5FE 0%, #B3E5FC 25%, #81D4FA 50%, #4FC3F7 75%, #29B6F6 100%);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #235BC8;
    margin-bottom: 1rem;
}

.phone-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: #235BC8;
    margin-bottom: 0.5rem;
}

.business-hours {
    color: #666;
    font-size: 0.9rem;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #235BC8;
}

.required {
    color: #f44336;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.submit-button {
    background-color: #235BC8;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #1E4FA0;
    transform: translateY(-2px);
}

/* フッター */
.footer {
    background-color: #5DADE2;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-info p {
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

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

.footer-nav a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        gap: 1rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-nav ul {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* サービスリンクのスタイル */
.service-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #235BC8;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.service-link:hover {
    background-color: #1E4FA0;
}

/* サービス詳細セクションのスタイル */
.service-detail {
    padding: 4rem 0;
    background-color: #f8f9fa;
    margin: 2rem 0;
}

.service-detail h2 {
    color: #235BC8;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid #235BC8;
    padding-bottom: 1rem;
}

.service-overview {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-overview p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: center;
}

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

.detail-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.detail-item h3 {
    color: #235BC8;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-left: 4px solid #235BC8;
    padding-left: 1rem;
}

.detail-item p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .service-detail h2 {
        font-size: 2rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .service-overview,
    .detail-item {
        padding: 1.5rem;
    }
}


/* サービスカテゴリーのスタイル */
.service-category {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 50%, #F0F6FF 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-header {
    text-align: center;
    margin-bottom: 2rem;
}

.category-header img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.category-header h3 {
    color: #235BC8;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.category-header p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

.sub-service-item {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #235BC8;
    transition: background-color 0.3s ease;
}

.sub-service-item:hover {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.sub-service-item h4 {
    color: #235BC8;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.sub-service-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* サービスグリッドの調整 */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

/* レスポンシブデザインの調整 */
@media (max-width: 768px) {
    .service-category {
        padding: 1.5rem;
    }
    
    .category-header h3 {
        font-size: 1.5rem;
    }
    
    .sub-services {
        grid-template-columns: 1fr;
    }
    
    .category-header img {
        height: 150px;
    }
}


/* 事業内容の段組み整理 */
.business-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.business-item {
    color: #235BC8;
    font-weight: 500;
    padding: 0.3rem 0;
    border-left: 3px solid #235BC8;
    padding-left: 0.8rem;
    background: linear-gradient(135deg, #F8FBFF 0%, #F0F6FF 100%);
    border-radius: 4px;
}

/* 会社概要の文字色統一 */
.about-table th {
    color: #235BC8 !important;
    font-weight: 600;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
    padding: 1rem;
    border-radius: 8px;
}

.about-table td {
    color: #333 !important;
}

.about-text h3 {
    color: #235BC8 !important;
}

.about-text p {
    color: #333 !important;
}

/* 会社概要セクション全体の文字色統一 */
.about {
    color: #333;
}

.about .section-title {
    color: #235BC8 !important;
}