/* ========================================
   ミライ経営デザイン - 共通スタイル
   ======================================== */

/* --- ベース変数 --- */
:root {
    /* 奈良の墨や藍染をイメージした深い青（信頼・芯） */
    --color-primary: #1a2c42;
    /* 落ち着いたベージュ（寄り添い・土着性） */
    --color-bg: #fdfcf8;
    /* 柔らかいグレー（余白・静けさ） */
    --color-gray: #f4f4f0;
    /* テキスト色 */
    --color-text: #333333;
    --color-text-light: #666666;

    --font-gothic: 'Zen Kaku Gothic New', sans-serif;
    --font-mincho: 'Shippori Mincho', serif;
}

/* --- リセット & 基本設定 --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-gothic);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* --- 共通コンポーネント --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

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

.section-title {
    font-family: var(--font-mincho);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-primary);
    font-weight: 700;
}

.section-title span {
    display: block;
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--color-text-light);
    font-family: var(--font-gothic);
    font-weight: 400;
}

/* --- ヘッダー --- */
header {
    padding: 24px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(253, 252, 248, 0.95);
    z-index: 100;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-mincho);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary);
}

.logo a {
    color: inherit;
}

.nav-list {
    display: flex;
    gap: 32px;
    font-size: 0.9rem;
}

.nav-list a {
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

.nav-list a:hover::after {
    width: 100%;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- パンくずリスト --- */
.breadcrumb {
    padding: 120px 0 40px;
}

.breadcrumb-list {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 8px;
}

.breadcrumb-list a:hover {
    color: var(--color-primary);
}

/* --- ページヘッダー --- */
.page-header {
    text-align: center;
    padding-bottom: 60px;
}

.page-title {
    font-family: var(--font-mincho);
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 700;
}

.page-title span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 16px;
    color: var(--color-text-light);
    font-family: var(--font-gothic);
    font-weight: 400;
    letter-spacing: 0.1em;
}

/* --- ボタン --- */
.btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    padding: 16px 48px;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    position: relative;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #2c4a6e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    opacity: 1;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-small {
    padding: 12px 32px;
    font-size: 0.95rem;
}

/* --- フッター --- */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 24px;
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    font-family: var(--font-mincho);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

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

.copyright {
    text-align: center;
    margin-top: 60px;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* --- カード --- */
.card {
    background: #fff;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border-radius: 4px;
}

/* --- テーブル --- */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.info-table th {
    width: 30%;
    font-weight: 500;
    color: var(--color-primary);
    background-color: var(--color-gray);
}

/* --- アニメーション用クラス --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s, transform 1s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(253, 252, 248, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-list.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }

    .info-table th {
        border-bottom: none;
        padding-bottom: 8px;
    }

    .info-table td {
        padding-top: 8px;
    }
}

@media (max-width: 600px) {
    .section { padding: 40px 0; }
    .btn { padding: 14px 32px; font-size: 1rem; }
}
