/* ==========================================================
   共通の基本設定
   ========================================================== */
* {
    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.8;
    color: #333333;
    background-color: #fcfcfc;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクションタイトル */
.section-title {
    font-size: 2rem;
    text-align: center;
    color: #3f1b85; /* ロゴに合わせた深みのある紫 */
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 60px;
}

.section-subtitle {
    text-align: center;
    color: #6a42bf; /* 明るめのアクセントパープル */
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 40px;
}

/* ボタン共通 */
.btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: #4a229d; /* ロゴに近い紫色 */
    color: #ffffff;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #351774;
    transform: translateY(-2px);
}

/* ==========================================================
   ヘッダー（ナビゲーション）
   ========================================================== */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center; 
    gap: 15px; 
}

.company-logo {
    height: 55px; 
    width: auto;  
}

.company-name {
    font-size: 1.5rem;
    color: #3f1b85; 
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0; 
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: #6a42bf;
}

/* お問い合わせボタン（ナビ内） */
nav ul li a.btn-nav {
    background-color: #3f1b85;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 4px;
}

nav ul li a.btn-nav:hover {
    background-color: #6a42bf;
}

/* ==========================================================
   メインビジュアル (Hero) - 真ん中配置＆洗練デザイン
   ========================================================== */
.hero {
    /* 背景画像を少し明るく見せつつ、文字の読みやすさをあげるオーバーレイ */
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4)), 
                url('https://images.unsplash.com/photo-1544197150-b99a580bb7a8?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    height: 65vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center; /* 左右の真ん中に配置 */
    text-align: center;      /* 文字を中央揃え */
    padding: 0 20px;
}

.hero-content {
    max-width: 1000px; /* 一行で収まりやすいように横幅の上限を広げました */
    padding: 20px;
    position: relative;
}

/* 装飾：中央の文字を引き締める上下の細いデザインライン */
.hero-content::before,
.hero-content::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3f1b85;
    margin: 0 auto;
}
.hero-content::before { margin-bottom: 25px; }
.hero-content::after { margin-top: 30px; }

/* キャッチコピー */
.hero-content h2 {
    font-size: 3.2rem; 
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.4;
    letter-spacing: 0.15em; 
    color: #1a1a1a; 
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9), -2px -2px 4px rgba(255, 255, 255, 0.9);
}

/* 説明文（改行せずに表示する設定を追加） */
.hero-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #2c2c2c; 
    font-weight: 600;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9), -1px -1px 3px rgba(255, 255, 255, 0.9);
    
    /* 改行させないための設定 */
    white-space: nowrap; 
}

/* スマートフォンなどの画面幅が狭い端末では、文字がはみ出さないように自動で改行を許可 */
@media (max-width: 768px) {
    .hero-content p {
        white-space: normal;
        font-size: 1.1rem;
    }
    .hero-content h2 {
        font-size: 2.2rem;
    }
}

/* ==========================================================
   事業内容 (Services)
   ========================================================== */
.services-section {
    background-color: #f5f3fa; 
    padding: 40px 0 80px;
}

.services-grid {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-top: 20px;
}

.service-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    flex: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.3rem;
    color: #3f1b85;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #6a42bf; 
}

.service-card p {
    color: #666666;
    font-size: 0.95rem;
}

/* ==========================================================
   会社概要 (Company)
   ========================================================== */
.company-section {
    padding: 40px 0 80px;
}

.company-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #ffffff;
}

.company-table th, .company-table td {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.company-table th {
    width: 25%;
    text-align: left;
    color: #3f1b85;
    font-weight: 700;
    background-color: #f7f5fc; 
}

.company-table td {
    color: #4a5568;
}

/* ==========================================================
   お問い合わせ & フッター
   ========================================================== */
.contact-section {
    background-color: #3f1b85; 
    color: #ffffff;
    text-align: center;
    padding: 60px 0;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.contact-section p {
    margin-bottom: 30px;
    opacity: 0.8;
}

.btn-contact {
    background-color: #ffffff;
    color: #3f1b85;
}

.btn-contact:hover {
    background-color: #f5f3fa;
    color: #3f1b85;
}

footer {
    background-color: #260f54; 
    color: #b2a4cc;
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
}