/* --- md-trac.css --- */

/* --- 基本設定 --- */
:root {
    --color-primary: #00529B; /* 高潔さを示す青 */
    --color-secondary: #E0E0E0; /* 抗菌・セキュアなシルバー */
    --color-background: #FFFFFF; /* 清潔感のある白 */
    --color-text: #333333; /* 基本の文字色（黒） */
    --color-accent: #00A0E9; /* アクセントの明るい青 */
    --font-family-base: 'Noto Sans JP', sans-serif;
    --section-padding: 100px 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* 追従ヘッダーの高さを考慮 */
}

body {
    font-family: var(--font-family-base);
    color: var(--color-text);
    background-color: var(--color-background);
    margin: 0;
    line-height: 1.8;
    font-size: 17px; /* 全体的にフォントサイズをアップ */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 30px;
}

/* --- ヘッダーとフッター（仮） --- */
.site-header { background-color: #fff; padding: 15px 0; border-bottom: 1px solid #eee; }
.site-footer { background-color: #333; color: #fff; padding: 30px 0; text-align: center; }
.header-container, .footer-container { max-width: 1120px; margin: 0 auto; padding: 0 30px; }
.header-logo img { height: 40px; }

/* --- ヒーローセクション --- */
.hero {
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 140px 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    max-height: 450px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(0, 82, 155, 0.8), rgba(0, 40, 75, 0.85));
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
    font-size: 8rem; 
    font-weight: 900;
    margin: 0 0 10px;
    letter-spacing: 0.08em;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 3rem; /* サイズアップ */
    font-weight: 700;
    margin: 0 0 25px;
    line-height: 1.4;
}
.hero-description {
    font-size: 2rem; /* サイズアップ */
    line-height: 1.7;
    opacity: 0.9;
}

/* --- 追従ナビゲーション --- */
.sticky-nav {
    background-color: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #ddd;
    z-index: 100;
    transition: all 0.3s ease;
    height: 70px;
    /* JSでfixedクラスを付与して固定化 */
}
.sticky-nav.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-list {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    height: 100%;
}
.nav-list li a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    position: relative;
    transition: color 0.3s ease;
}
.nav-list li a:hover { color: var(--color-primary); }
.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}
.nav-list li a:hover::after { width: 100%; }

/* --- 共通セクションスタイル --- */
.content-section { padding: var(--section-padding); }
.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.4;
}
.section-lead {
    font-size: 1.7rem;
    text-align: center;
    margin-bottom: 80px;
    color: #555;
}
.subsection-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}
.subsection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}
.strong { font-weight: 700; color: var(--color-primary); }
.highlight-blue { color: var(--color-primary); }

.section-title {
 position: relative;
 display: inline-block;  /* 文字幅に限定 */
 margin: 0 auto;         /* センター配置用 */
 text-align: center;     /* 念のため文字も中央 */
}
.section-title::after {
 background: gold;
}
.section-title.silver::after {
 background: silver;
}
.section-title::after {
 content: "";
 position: absolute;
 left: 0;
 bottom: 0.2em;     /* 帯の位置調整 */
 width: 100%;       /* 文字幅いっぱい */
 height: 0.5em;     /* 帯の厚さ */
 background: gold;  /* ゴールド帯 */
 z-index: -1;       /* 背面 */
}
.container {
 text-align: center;
}
.section-title.silver::after {
 background: silver;
}

/* --- 課題提起セクション --- */
.challenge-section { background-color: #f9fafb; }
.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}
.challenge-card {
    background: var(--color-background);
    border: 1px solid #e0e0e0;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.challenge-card:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.challenge-card h4 {
    font-size: 1.9rem;
    margin: 0 0 15px;
    color: var(--color-primary);
}
.solution-message-box {
    background-color: #FFFFEE;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid var(--color-secondary);
    text-align: center;
}
.solution-message-box p { font-size: 1.6rem; max-width: 890px; margin: 0 auto; }

/* --- MD-TraCとはセクション (キービジュアル) --- */
.about-section { background-color: #fff; }
.visual-solution-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    margin: 80px 0;
}
.vs-item {
    flex: 1;
    background-color: #f9fafb;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.vs-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--color-primary);
}
.vs-icon-wrapper img { height: 45px; }
.vs-title { font-size: 1.9rem; font-weight: 900; color: var(--color-primary); margin-bottom: 20px; }
.vs-desc { text-align: left; flex-grow: 1; }
.vs-desc strong { display: block; margin-bottom: 10px; font-weight: 700; }
.vs-desc ul { list-style: none; padding: 0; margin: 0; }
.vs-desc li { padding-left: 1.5em; position: relative; margin-bottom: 8px; }
.vs-desc li::before { content: '?'; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.vs-arrow { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vs-arrow img { height: 24px; opacity: 0.4; }

/* ---   MD-TraCとは   --- */
.features-section { background-color: #f9fafb; }
.feature-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}
.feature-item:last-child { margin-bottom: 0; }
.feature-item.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text h3 {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 20px;
    color: var(--color-primary);
}
.feature-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.feature-image img { display: block; width: 100%; height: auto; }
    }

 

<br clear="both">


/* --- 導入効果セクション --- */
.effects-section {
   background: linear-gradient(135deg, var(--color-primary) 0%, #003a6c 100%);
   color: #fff;
}
section#effects.effects-section {
 background: linear-gradient(135deg, var(--color-primary) 0%, #003a6c 100%) !important;
 color: #fff;
}
.effects-section .section-title {
   color: #fff;
}
.effects-container {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 50px;
}
.effect-box {
   background: rgba(255, 255, 255, 0.1);
   padding: 40px;
   border-radius: 20px;
}
.effect-box .subsection-title {
   color: #fff;
   margin-bottom: 20px;
}
.effect-list {
   list-style: none;
   padding: 0;
   margin: 0;
}
.effect-list li {
   font-size: 1.6rem;
   margin-bottom: 20px;
}
/* === 強調テキスト（数字やゼロなど） === */
.impact-text {
   font-size: 2em;          /* 大きく強調 */
   font-weight: 900;
   color: #ffd700;
   margin: 0 0.2em;
   vertical-align: baseline;  /* 下揃え */
}
.small-text {
   font-size: 0.8em;
   opacity: 0.8;
}

/* --- 選ばれる理由セクション --- */
.reason-section { background-color: #f9fafb; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.reason-card { background: #fff; padding: 20px; border-radius: 3px; border-top: 5px solid var(--color-primary); box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.reason-card h4 { font-size: 1.rem; margin: 0 0 15px; }

/* --- お問い合わせセクション --- */
.contact-section { background-color: #eef5fc; text-align: center; }
.contact-section .section-title { font-size: 3.5rem; }
.contact-buttons { display: flex; justify-content: center; gap: 30px; margin-top: 50px; }
.btn {
    display: inline-block;
    padding: 20px 50px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 3.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 160, 233, 0.4);
}
.btn-primary:hover { background-color: #00baff; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 160, 233, 0.5); }
.btn-secondary { background-color: white; color: var(--color-primary); border-color: var(--color-primary); }
.btn-secondary:hover { background-color: #fff; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 82, 155, 0.2); }
.tel-number { font-size: 1.5em; font-weight: 700; }

.btn {
    display: inline-block;
    padding: 20px 80px; /* 横長に */
    text-decoration: none;
    font-weight: 700;
    font-size: 2.2rem; /* 調整可能 */
    transition: all 0.3s ease;
    border: none; /* 枠線なし */
    border-radius: 50; /* 角をなくす */
}

.btn-blue {
    background-color: #003366; /* 濃い青 */
    color: #ffffff;
}

.btn-blue:hover {
    background-color: #002244; /* さらに濃い青に */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}



/* --- 追従お問い合わせボタン --- */
.sticky-contact {
    position: fixed;
    right: 30px;
    bottom: 100px; /* 少し上に配置 */
    z-index: 200;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
.sticky-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 82, 155, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}
.sticky-contact a:hover {
    background-color: var(--color-accent);
    transform: scale(1.1);
}
.sticky-contact svg {
    width: 40px;
    height: 40px;
}
.sticky-contact span {
    display: none; /* アイコンのみ表示 */
}
.sticky-contact.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5);
}

/* --- アニメーション --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- レスポンシブ対応 --- */
@media (max-width: 1024px) {
    .feature-item, .feature-item.reverse { flex-direction: column; }
    .feature-text { text-align: center; }
    .reason-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    body { font-size: 16px; }
    .container { padding: 0 20px; }
    .hero-title { font-size: 5rem; }
    .hero-subtitle { font-size: 3rem; }
    .hero-description { font-size: 2rem; }
    .section-title { font-size: 2.2rem; }
    .sticky-nav { display: none; } /* SPでは追従ヘッダーを非表示にするか、ハンバーガーメニューに変更 */
    html { scroll-padding-top: 0; }
    .visual-solution-wrapper { flex-direction: column; }
    .vs-arrow { transform: rotate(90deg); margin: 20px 0; }
    .effects-container { grid-template-columns: 1fr; }
    .contact-buttons { flex-direction: column; align-items: center; }
    .sticky-contact { right: 20px; bottom: 80px; }
    .sticky-contact a { width: 60px; height: 60px; }
}