@charset "utf-8";
/* CSS Document */
/* ==========================================================================
   1. 変数定義・基本設定 (index.phpに合わせたカラーテーマ)
   ========================================================================== */
:root {
    --primary: #8a0194;          /* メインカラー (紫) */
    --primary-dark: #6a0172;     /* メインカラーの濃い色 */
    --primary-light: #f7e6f8;    /* メインカラーの薄い色 (背景等) */
    --accent: #f97316;           /* アクセントカラー (オレンジ) */
    --accent-light: #fff7ed;     /* アクセントカラーの薄い色 */
    
    --text-main: #1e293b;        /* メインテキスト色 (濃いグレー) */
    --text-muted: #64748b;       /* 補助テキスト色 (薄いグレー) */
    --bg-body: #faf5fa;          /* ページ全体の背景色 */
    --bg-card: #ffffff;          /* カード要素の背景色 (白) */
    
    --border-color: #f0e2f0;     /* 枠線の色 */
    --shadow: 0 10px 15px -3px rgba(138, 1, 148, 0.12); /* 共通の影 */
    --radius: 20px;              /* 角丸の共通サイズ */
}

/* 全要素のリセット */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.8; /* テキストが多いページなので行間を少し広めに */
}

/* ==========================================================================
   2. ヘッダー
   ========================================================================== */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.container {
    max-width: 800px; /* 特商法ページはテキストメインのため少し広めに設定 */
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: center; /* 中央寄せ */
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
    text-decoration: none;
}

/* ==========================================================================
   3. メインコンテンツ (特商法テーブル)
   ========================================================================== */
.law-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px 32px;
    margin-top: 32px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

/* テーブルの外枠 */
.table-wrapper {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden; /* 角丸を適用するため */
}

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

.law-table th, .law-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

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

.law-table th {
    background-color: #f8fafc; /* 少しグレーがかった背景 */
    width: 280px;
    text-align: left;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.law-table td {
    color: var(--text-main);
    font-size: 0.95rem;
}

/* 注意書き用ボックス (index.phpのデザインを踏襲) */
.note-box {
    margin-top: 16px;
    padding: 16px;
    background-color: #f8fafc;
    border-left: 4px solid var(--text-muted);
    border-radius: 4px 12px 12px 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* スマホ向けレスポンシブ (縦並びテーブル) */
@media (max-width: 600px) {
    .law-section {
        padding: 24px 16px;
    }
    .page-title {
        font-size: 1.2rem;
    }
    .law-table th, .law-table td {
        display: block;
        width: 100%;
    }
    .law-table th {
        background-color: var(--primary-light);
        color: var(--primary-dark);
        padding: 12px 16px 8px;
        border-bottom: none;
    }
    .law-table td {
        padding: 8px 16px 20px;
    }
    .law-table tr:not(:last-child) td {
        border-bottom: 1px dashed var(--border-color);
    }
}

/* ==========================================================================
   4. フッター・操作ボタン
   ========================================================================== */
.action-area {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.back-btn {
    background: #fff;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 0 24px;
    height: 48px;
    border-radius: 24px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.back-btn:hover {
    background: #f8fafc;
    border-color: var(--text-muted);
    color: var(--text-main);
    transform: translateY(-2px);
}

footer {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 40px;
}



/* ==========================================================================
   5. 会社案内ページ独自の微調整用スタイル
   ========================================================================== */
/* アクセスのリスト用スタイル */
.company-map {
	padding-left: 20px;
	margin-bottom: 24px;
}
.company-map li {
	margin-bottom: 8px;
	font-size: 0.95rem;
	color: var(--text-main);
	line-height: 1.6;
}

/* Googleマップの埋め込み枠を角丸にする */
.map-iframe-wrapper {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--border-color);
	background: #f8fafc;
}
.map-iframe-wrapper iframe {
	display: block; /* iframeの下にできる隙間をなくす */
}

/* リンクテキストの装飾 */
.external-link {
	color: var(--primary);
	text-decoration: none;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: color 0.2s;
}
.external-link:hover {
	color: var(--primary-dark);
	text-decoration: underline;
}

