/* --- ベーススタイル --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333333;
    line-height: 1.7;
    background-color: #ffffff;
}

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

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

/* --- レイアウト用共通クラス --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.max-w-md {
    max-width: 700px !important;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: #f7fafc;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: #1a365d;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -20px auto 40px;
    color: #4a5568;
}

.center-text {
    text-align: center;
    margin-bottom: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-2-reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* レスポンシブで画像を上にするための設定 */
@media (max-width: 768px) {
    .grid-2, .grid-2-reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .grid-2-reverse .text-block {
        order: 2;
    }
    .grid-2-reverse .img-block {
        order: 1;
    }
}

/* --- ヘッダー --- */
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;
    padding: 15px 5%;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

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

nav ul li a {
    font-weight: 600;
    font-size: 0.95rem;
    color: #4a5568;
}

nav ul li a:hover {
    color: #1a365d;
}

.btn-nav {
    background-color: #1a365d;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: #2b6cb0;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 5px 10px;
    }
}

/* --- メインビジュアル（ヒーロー） --- */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('https://placeholder.com') no-repeat center center/cover;
    height: 70vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    color: #ffffff;
    text-align: center;
}

.hero-content {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}

/* --- ボタン共通 --- */
.btn-main, .btn-sub, .btn-submit {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-main {
    background-color: #d69e2e; /* ゴールド系アクセント */
    color: #ffffff;
}

.btn-main:hover {
    background-color: #b7791f;
}

.btn-sub {
    background-color: #1a365d;
    color: #ffffff;
    margin-top: 20px;
}

.btn-sub:hover {
    background-color: #2b6cb0;
}

/* --- コンテンツスタイル詳細 --- */
.text-block h3 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 20px;
    line-height: 1.4;
}

.accent-list {
    list-style: none;
    margin-top: 20px;
}

.accent-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}

.accent-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d69e2e;
    font-weight: bold;
}

/* カード型（コンサルティング用） */
.mt-40 { margin-top: 40px; }

.card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-top: 4px solid #1a365d;
}

.card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.25rem;
    color: #1a365d;
    margin-bottom: 15px;
}

/* --- 会社概要（テーブル） --- */
.table-container {
    max-width: 800px;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #ffffff;
}

.profile-table th, .profile-table td {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.profile-table th {
    width: 25%;
    text-align: left;
    color: #1a365d;
    font-weight: 600;
    background-color: #edf2f7;
}

@media (max-width: 600px) {
    .profile-table th, .profile-table td {
        display: block;
        width: 100%;
    }
    .profile-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }
}

/* --- お問い合わせフォーム --- */
.contact-form {
    background-color: #f7fafc;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
}

.required {
    color: #e53e3e;
    font-size: 0.8rem;
    vertical-align: middle;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 1rem;
}

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

.btn-submit {
    background-color: #1a365d;
    color: #ffffff;
    width: 100%;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background-color: #2b6cb0;
}

/* --- フッター --- */
footer {
    background-color: #1a365d;
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}
