/* ========================================
   安信工業株式会社 統一CSS
   視認性向上版 - 固定カラースキーム
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

/* ----------------------------------------
   カラー変数定義（固定）
   ---------------------------------------- */
:root {
    /* メインカラー（濃い青系） */
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;

    /* アクセントカラー（紫系 - パフォーマックス部用） */
    --accent-color: #7c3aed;
    --accent-light: #a78bfa;
    --accent-dark: #5b21b6;

    /* 背景色 */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;

    /* テキスト色 */
    --text-dark: #1e293b;
    --text-gray: #475569;
    --text-light: #64748b;

    /* ボーダー色 */
    --border-color: #e2e8f0;
    --border-dark: #cbd5e1;

    /* 成功・エラー・警告色 */
    --success-color: #059669;
    --error-color: #dc2626;
    --warning-color: #d97706;
}

/* ----------------------------------------
   リセットと基本スタイル
   ---------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* ----------------------------------------
   ヘッダースタイル
   ---------------------------------------- */
.header-main {
    background-color: var(--primary-color);
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo-main:hover {
    opacity: 0.9;
}

.logo-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

/* ナビゲーション */
.nav-main {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.875rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.25);
}

.nav-link.highlight {
    background-color: var(--accent-color);
}

.nav-link.highlight:hover {
    background-color: var(--accent-light);
}

/* マスコット */
.header-mascot {
    position: absolute;
    top: 4.5rem;
    right: 1rem;
    width: 3rem;
    height: auto;
    z-index: 1001;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: mascot-float 3s ease-in-out infinite;
}

@keyframes mascot-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* ----------------------------------------
   ヒーローセクション（トップページ用）
   ---------------------------------------- */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: white;
    margin-top: 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/会社全体.jpg') center/cover no-repeat;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(30, 64, 175, 0.85) 0%, rgba(30, 58, 138, 0.9) 100%); */
    background: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-mascot {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    width: 7rem;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: mascot-bounce 2s ease-in-out infinite;
}

@keyframes mascot-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ----------------------------------------
   ページヘッダー（各ページ用）
   ---------------------------------------- */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 7rem 1.5rem 3rem;
    margin-top: 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1rem;
    opacity: 0.9;
}

/* パフォーマックス部用ヘッダー */
.page-header.performax {
    background-color: var(--accent-color);
}

/* ----------------------------------------
   メインコンテンツ
   ---------------------------------------- */
.main-content {
    background-color: var(--bg-white);
}

.section {
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title.performax::after {
    background-color: var(--accent-color);
}

.section-desc {
    text-align: center;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.9;
}

/* ----------------------------------------
   カード・ボックススタイル
   ---------------------------------------- */
.card {
    background-color: var(--bg-white);
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-gray);
    line-height: 1.8;
}

/* グリッドレイアウト */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ----------------------------------------
   ボタンスタイル
   ---------------------------------------- */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ----------------------------------------
   テーブルスタイル
   ---------------------------------------- */
.info-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-table th,
.info-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table th {
    background-color: var(--bg-gray);
    font-weight: 600;
    color: var(--text-dark);
    width: 30%;
}

.info-table td {
    color: var(--text-gray);
}

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

/* ----------------------------------------
   フォームスタイル
   ---------------------------------------- */
.form-container {
    background-color: var(--bg-white);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-label .required {
    color: var(--error-color);
    margin-left: 0.25rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--bg-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--primary-color);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.form-submit:disabled {
    background-color: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* モーダル閉じるボタン */
.modal-close-btn {
    background: #1e40af;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: #1e3a8a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.modal-close-btn.accent {
    background: #7c3aed;
}

.modal-close-btn.accent:hover {
    background: #5b21b6;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* ----------------------------------------
   トップページ専用スタイル
   ---------------------------------------- */
.top-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.top-card {
    background-color: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.top-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.top-card-content {
    padding: 1.5rem;
}

.top-card-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.top-card-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* パフォーマックス部バナー */
.performax-banner {
    background-color: var(--accent-color);
    color: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.performax-banner-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #fbbf24;
    color: #1e293b;
    padding: 0.25rem 0.75rem;
    font-weight: bold;
    font-size: 0.75rem;
    border-radius: 0.25rem;
}

.performax-banner h3 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.performax-banner p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.performax-banner .btn {
    background-color: white;
    color: var(--accent-color);
}

.performax-banner .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* ----------------------------------------
   採用情報専用スタイル
   ---------------------------------------- */
.recruit-highlight {
    background-color: var(--success-color);
    color: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    margin-bottom: 3rem;
}

.recruit-highlight h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.recruit-highlight p {
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.mg-training {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
    margin: 2rem 0;
}

.mg-training h4 {
    color: #92400e;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.mg-training p {
    color: #78350f;
}

/* ----------------------------------------
   沿革タイムライン
   ---------------------------------------- */
.timeline {
    position: relative;
    padding-left: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-year {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.timeline-content {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ----------------------------------------
   製品カード
   ---------------------------------------- */
.product-card {
    background-color: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ----------------------------------------
   動画カード
   ---------------------------------------- */
.video-card {
    background-color: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.video-wrapper {
    position: relative;
    background-color: #000;
    aspect-ratio: 16/9;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background-color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.video-desc {
    font-size: 0.875rem;
    color: var(--text-gray);
}

/* ----------------------------------------
   パフォーマックス部専用スタイル
   ---------------------------------------- */
.performax-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

.vision-card {
    background-color: var(--bg-gray);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.vision-card img {
    max-width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* ----------------------------------------
   フッター
   ---------------------------------------- */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ----------------------------------------
   スクロールトップボタン
   ---------------------------------------- */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ----------------------------------------
   サンクスページ
   ---------------------------------------- */
.thanks-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-top: 80px;
}

.thanks-card {
    background-color: var(--bg-white);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.thanks-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.thanks-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.thanks-message {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ----------------------------------------
   レスポンシブ対応
   ---------------------------------------- */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1rem;
    }

    .nav-main {
        width: 100%;
        margin-top: 0.75rem;
    }

    .nav-list {
        width: 100%;
        justify-content: flex-start;
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
    }

    .hero-section {
        min-height: 60vh;
        margin-top: 120px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-header {
        padding: 6rem 1rem 2rem;
        margin-top: 120px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .header-mascot,
    .hero-mascot {
        display: none;
    }

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

    .info-table th {
        border-bottom: none;
        padding-bottom: 0.25rem;
    }

    .info-table td {
        padding-top: 0.25rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .performax-banner {
        padding: 2rem 1.5rem;
    }

    .performax-banner h3 {
        font-size: 1.375rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1rem;
    }

    .timeline-item::before {
        left: -1.5rem;
    }
}

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

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

/* ----------------------------------------
   ユーティリティクラス
   ---------------------------------------- */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.py-2 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-4 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md-show {
        display: block;
    }

    .md-hide {
        display: none;
    }
}