@charset "UTF-8";

/* =========================================
   ベーススタイル・変数定義
   ========================================= */
:root {
    --primary-color: #0047AB; 
    --accent-color: #007BFF;  
    --bg-light: #FFFFFF;
    --bg-gray: #F4FAFF;       /* ★ここをくすんだグレーから、非常に明るいクリアブルーに変更 */
    --text-color: #2D3748;    
    --border-color: #E2E8F0;
    --shadow-soft: 0 10px 30px rgba(0, 123, 255, 0.15); /* ★影も少し青みと明るさを足しました */
}

body {
    font-family: 'Noto Sans JP', "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

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

.bg-gray {
    background-color: var(--bg-gray);
}

.text-accent {
    color: var(--accent-color);
}

.text-small {
    font-size: 0.85rem;
    color: #718096;
}

/* =========================================
   ヘッダー
   ========================================= */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--accent-color);
}

.btn-contact {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

/* =========================================
   メインビジュアル（ヒーローセクション）
   ========================================= */
.hero {
    position: relative;
    /* ★背景グラデーションをより明るく爽やかに */
    background: linear-gradient(135deg, #EBF5FF 0%, #FFFFFF 100%);
    padding: 100px 20px;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background-color: #FFFFFF;
    transform: rotate(-15deg);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.hero-text p {
    font-size: 1.15rem;
    color: #4A5568;
}

.hero-image {
    flex: 0 0 40%;
    text-align: center;
}

.mascot-img {
    max-width: 100%;
    border-radius: 24px;
    /* ★画像に白い太枠をつけてポップで明るい印象に */
    border: 6px solid #FFFFFF; 
    box-shadow: var(--shadow-soft);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.mascot-img:hover {
    transform: rotate(0deg) scale(1.02);
}

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

.section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.section-desc {
    text-align: center;
    margin-bottom: 50px;
    color: #718096;
}

/* =========================================
   事業内容セクション
   ========================================= */
.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.service-tag {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
}

.service-tag:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--bg-light);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 71, 171, 0.2);
}

/* =========================================
   会社概要セクション
   ========================================= */
.table-wrapper {
    background-color: var(--bg-light);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 30px;
}

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

.company-table th, .company-table td {
    border-bottom: 1px dashed var(--border-color);
    padding: 20px 15px;
    text-align: left;
}

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

.company-table th {
    color: var(--primary-color);
    width: 25%;
    font-weight: 700;
}

.qualification-list {
    margin: 0;
    padding-left: 20px;
}

/* =========================================
   フッター
   ========================================= */
footer {
    background-color: #1A202C;
    color: var(--bg-light);
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

.footer-credit {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.6;
}

footer a {
    color: var(--bg-light);
    text-decoration: none;
    border-bottom: 1px dotted var(--bg-light);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* =========================================
   レスポンシブ対応 (スマホ向け)
   ========================================= */
@media (max-width: 768px) {
    /* ★スマホ用ヘッダーの修正（レイアウト崩れ防止） */
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }
    
    nav ul {
        flex-wrap: wrap; /* 折り返しを許可 */
        justify-content: center;
        gap: 12px 20px; /* 上下左右の余白を調整 */
    }

    nav a {
        font-size: 0.85rem; /* スマホでは文字を少し小さく */
    }

    .btn-contact {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 60px 20px; /* スマホでは上下の余白を少し減らす */
    }

    .hero-bg-shape {
        transform: rotate(0deg);
        width: 100%;
        height: 50%;
        top: 50%;
        right: 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.1rem; /* スマホに合わせた文字サイズ */
    }

    .mascot-img {
        transform: rotate(0deg);
    }

    .company-table th, .company-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .company-table th {
        padding-bottom: 5px;
        border-bottom: none;
    }
}