/* --- 変数・リセット --- */
:root {
    --primary-color: #0a2540;
    --accent-color: #00d4ff;
    --text-color: #333;
    --text-muted: #666;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --transition: all 0.3s ease;
    --header-height: 75px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.8;
    margin: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- ユーティリティ --- */
.u-text-center { text-align: center; }
.u-mb-40 { margin-bottom: 40px; }
.u-primary { color: var(--primary-color); }

/* --- ヘッダー・ロゴ・ドロップダウン --- */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    height: var(--header-height);
}

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

header h1 { margin: 0; font-size: 1.25rem; letter-spacing: 1px; }
header h1 a.logo { text-decoration: none; color: var(--primary-color); transition: var(--transition); }
header h1 a.logo:hover { opacity: 0.7; }

nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
nav ul li { margin-left: 25px; }
nav ul li a { text-decoration: none; color: var(--primary-color); font-weight: bold; font-size: 0.9rem; }
nav ul li a:hover { color: var(--accent-color); }

.dropdown { position: relative; }
.dropdown-content {
    display: none; position: absolute; top: 100%; left: 0;
    min-width: 260px; padding-top: 15px; z-index: 1100;
}
.dropdown-content-inner {
    background: #fff; box-shadow: 0px 8px 24px rgba(0,0,0,0.12);
    border-radius: 12px; padding: 10px 0; border: 1px solid #eee;
}
.dropdown-content a {
    color: var(--primary-color) !important; padding: 12px 20px !important;
    display: block; font-size: 0.85rem; text-decoration: none !important;
}
.dropdown:hover .dropdown-content { display: block; }

/* --- ヒーローエリア --- */
.hero, .service-hero {
    background: linear-gradient(135deg, #0a2540 0%, #064663 100%);
    color: #fff; padding: 120px 0; text-align: center;
}
.service-hero.mini { padding: 100px 0 60px; }
.dx-bg { background: linear-gradient(135deg, #0a2540 0%, #064663 100%); }
.infra-bg { background: linear-gradient(135deg, #0a2540 0%, #b89a5b 150%); }
.identity-bg { background: linear-gradient(135deg, #0a2540 0%, #4facfe 100%); }
.contact-bg { background: linear-gradient(135deg, #0a2540 0%, #1a3a5a 100%); }

.service-category {
    display: inline-block; background: rgba(255, 255, 255, 0.2);
    padding: 4px 16px; border-radius: 20px; font-size: 0.75rem;
    margin-bottom: 15px; letter-spacing: 1px;
}

/* --- セクション・レイアウト --- */
.section { padding: 100px 0; }
.section-compact { padding: 40px 0 80px; }
.section-title { text-align: center; font-size: 1.8rem; margin-bottom: 50px; color: var(--primary-color); }
.section-title::after {
    content: ""; display: block; width: 40px; height: 3px;
    background: var(--accent-color); margin: 15px auto;
}
.detail-wrapper { max-width: 900px; margin: 0 auto; }
.sub-title-center { text-align: center; font-size: 1.4rem; color: var(--primary-color); margin: 60px 0 30px; }

/* --- グリッド & カード --- */
.grid, .results-compact-grid, .strength-grid, .grid-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* カード共通の「箱」設定 */
.card, .res-card, .strength-item, .card-mini, .about-profile-card, .profile-container {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
}

.card, .res-card, .strength-item {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card:hover, .res-card:hover, .strength-item:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }

/* 絵文字（アイコン）の設定 */
.res-icon, .strength-item .icon { font-size: 2.5rem; display: block; margin-bottom: 15px; }

/* --- サービス詳細ページ用パーツ --- */
.top-split-grid {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px;
    background: #fff; padding: 40px; border-radius: 16px; margin-bottom: 40px;
}

.res-card p { font-size: 0.85rem; flex-grow: 1; margin-bottom: 20px; }
.res-effect {
    font-size: 0.75rem; font-weight: bold; color: var(--primary-color);
    background: var(--accent-color); padding: 4px 12px; border-radius: 20px;
}

/* 料金カプセル */
.price-row {
    display: flex; background: var(--primary-color); padding: 25px;
    border-radius: 60px; align-items: center; margin-top: 40px;
}
.price-item { flex: 1; text-align: center; color: #fff; border-right: 1px solid rgba(255,255,255,0.15); }
.price-item:last-child { border-right: none; }
.price-item.featured { background: rgba(255,255,255,0.1); padding: 15px 0; border-radius: 40px; margin: 0 10px; border-right: none; }
.p-label { display: block; font-size: 0.6rem; opacity: 0.6; text-transform: uppercase; margin-bottom: 4px; }
.p-name { display: block; font-size: 0.9rem; font-weight: bold; }
.p-value { display: block; font-size: 1.1rem; color: var(--accent-color); font-weight: bold; }
.p-value span { font-size: 0.7rem; color: #fff; opacity: 0.8; }

/* --- お問い合わせ・ボタン --- */
.contact-form-container { background: #fff; padding: 60px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 25px; text-align: left; }
.form-group label { display: block; font-weight: bold; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem;
}

/* ボタンの中央揃えを保証 */
.u-text-center .btn, .contact-form .btn { margin: 0 auto; display: block; }

.btn {
    display: inline-block; background: var(--primary-color); color: #fff !important;
    padding: 18px 50px; border-radius: 50px; text-decoration: none;
    font-weight: bold; transition: var(--transition); border: none;
    cursor: pointer; max-width: 400px; width: 100%; text-align: center;
}
.btn:hover { background: var(--accent-color); color: var(--primary-color) !important; transform: translateY(-2px); }

/* --- フッター --- */
footer { text-align: center; padding: 60px 0; background: var(--primary-color); color: rgba(255,255,255,0.6); font-size: 0.8rem; }

/* --- レスポンシブ --- */
@media (max-width: 850px) {
    header { height: auto; padding: 10px 0; }
    header .container { flex-direction: column; gap: 15px; }
    nav ul li { margin: 0 10px; }
    .top-split-grid, .grid, .results-compact-grid, .strength-grid, .grid-vision { grid-template-columns: 1fr; }
    .price-row { flex-direction: column; border-radius: 20px; gap: 20px; }
    .price-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; width: 100%; }
    .price-item:last-child { border-bottom: none; }
    .contact-form-container { padding: 40px 20px; }
    .card, .res-card { padding: 30px 20px; }
}

/* --- 変数・リセット --- */
:root {
    --primary-color: #0a2540;
    --accent-color: #00d4ff;
    --text-color: #333;
    --text-muted: #666;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --transition: all 0.3s ease;
    --header-height: 75px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height); /* 固定ヘッダーの被り防止 */
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.8;
    margin: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- ユーティリティクラス --- */
.u-text-center { text-align: center; }
.u-mb-20 { margin-bottom: 20px; }
.u-mb-40 { margin-bottom: 40px; }
.u-primary { color: var(--primary-color); }

/* --- ヘッダー --- */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
    height: var(--header-height);
}

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

header h1 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: 1px;
}

header h1 a.logo {
    text-decoration: none;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li { margin-left: 25px; }
nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* --- ヒーローエリア --- */
.hero {
    background: linear-gradient(135deg, #0a2540 0%, #064663 100%);
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --- セクション共通 --- */
.section { padding: 100px 0; }
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto;
}

/* --- Visionセクション --- */
.grid-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card-mini {
    padding: 25px; 
    text-align: center; 
    background: rgba(0,212,255,0.05); 
    border-radius: 12px;
}

.card-mini h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* --- Profileセクション --- */
.profile-container {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.profile-basic h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-color);
}

.profile-details p { margin-bottom: 12px; }

.profile-qualifications {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed #ddd;
}

.profile-qualifications h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.profile-qualifications p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 2;
}

/* --- Services (Grid) --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.meta-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    flex-grow: 1; /* ここで余白を埋め、footerを下に押し下げる */
}

.meta-block h4 {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-block p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.card-footer {
    margin-top: 30px;
    text-align: right;
}

.btn-detail {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-detail:hover { color: var(--accent-color); }

/* --- Contact / Button --- */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- フッター --- */
footer {
    text-align: center;
    padding: 60px 0;
    background: var(--primary-color);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

/* --- ドロップダウン --- */
.dropdown { position: relative; }

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding-top: 15px; /* マウス移動用の遊び */
    z-index: 1000;
}

.dropdown-content-inner {
    background-color: #ffffff;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 10px 0;
    border: 1px solid #eee;
}

.dropdown-content a {
    color: var(--primary-color) !important;
    padding: 12px 20px !important;
    margin-left: 0 !important;
    display: block;
    font-size: 0.85rem;
    font-weight: normal;
}

.dropdown-content a:hover {
    background-color: rgba(0,212,255,0.05);
    color: var(--accent-color) !important;
}

.dropdown:hover .dropdown-content { display: block; }

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    header { height: auto; padding: 10px 0; }
    header .container { flex-direction: column; gap: 15px; }
    nav ul li { margin: 0 10px; }
    
    .hero { padding: 80px 0; }
    .hero h2 { font-size: 1.8rem; }
    
    .section { padding: 60px 0; }
    .profile-container { padding: 30px; }
    
    /* スマホではドロップダウンの挙動が難しいため、
       必要に応じてクリックイベント等での制御を検討してください */
}

/* --- 変数・リセット --- */
:root {
    --primary-color: #0a2540; /* 信頼感のある深い紺 */
    --accent-color: #00d4ff;  /* 清潔感のある水色 */
    --text-color: #333;
    --text-muted: #666;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --transition: all 0.3s ease;
    --header-height: 75px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height); /* 固定ヘッダーの被り防止 */
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.8;
    margin: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- ユーティリティクラス --- */
.u-text-center { text-align: center; }
.u-mb-20 { margin-bottom: 20px; }
.u-mb-40 { margin-bottom: 40px; }
.u-primary { color: var(--primary-color); }

/* --- 共通ヘッダー --- */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
    height: var(--header-height);
}

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

header h1 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: 1px;
    line-height: 1;
}

header h1 a.logo {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

header h1 a.logo:hover {
    opacity: 0.7;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li { margin-left: 25px; }
nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* --- ドロップダウンメニュー --- */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding-top: 15px; /* マウスが外れないための遊び */
    z-index: 1000;
}

.dropdown-content-inner {
    background-color: #ffffff;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 10px 0;
    border: 1px solid #eee;
}

.dropdown-content a {
    color: var(--primary-color) !important;
    padding: 12px 20px !important;
    margin-left: 0 !important;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: normal;
}

.dropdown-content a:hover {
    background-color: rgba(0,212,255,0.05);
    color: var(--accent-color) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- ヒーローエリア --- */
.hero, .service-hero {
    background: linear-gradient(135deg, #0a2540 0%, #064663 100%);
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero h2, .service-hero h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p, .service-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* サービス詳細ページ用背景 */
.service-hero.mini { padding: 100px 0 60px; }
.dx-bg { background: linear-gradient(135deg, #0a2540 0%, #064663 100%); }
.infra-bg { background: linear-gradient(135deg, #0a2540 0%, #b89a5b 150%); }
.identity-bg { background: linear-gradient(135deg, #0a2540 0%, #4facfe 100%); }
.contact-bg { background: linear-gradient(135deg, #0a2540 0%, #1a3a5a 100%); }

.service-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* --- セクション共通 --- */
.section { padding: 100px 0; }
.section-compact { padding: 40px 0 80px; }

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto;
}

.sub-title-center {
    text-align: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 60px 0 30px;
}

/* --- グリッドレイアウト --- */
.grid, .results-compact-grid, .strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* --- カードスタイル --- */
.card, .res-card, .strength-item {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover, .res-card:hover, .strength-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.res-card { padding: 30px 20px; text-align: center; }
.res-icon { font-size: 1.8rem; margin-bottom: 12px; }
.res-card p { font-size: 0.85rem; flex-grow: 1; margin-bottom: 15px; }

.res-effect {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--primary-color);
    background: var(--accent-color);
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: auto;
}

/* --- サービス詳細ページ用パーツ --- */
.detail-wrapper { max-width: 900px; margin: 0 auto; }

.top-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    margin-bottom: 40px;
}

.problem-simple h3, .philosophy-simple h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-left: 3px solid var(--accent-color);
    padding-left: 12px;
}

.track-record-mini { text-align: center; margin-bottom: 50px; }
.record-tags span {
    font-size: 0.75rem;
    padding: 5px 14px;
    background: rgba(10, 37, 64, 0.05);
    border-radius: 4px;
    margin: 4px;
    display: inline-block;
    color: var(--primary-color);
}

/* 料金ライン（カプセル型） */
.price-row {
    display: flex;
    background: var(--primary-color);
    padding: 25px;
    border-radius: 60px;
    align-items: center;
}

.price-item {
    flex: 1;
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.price-item:last-child { border-right: none; }
.price-item.featured { 
    background: rgba(255,255,255,0.1); 
    padding: 15px 0;
    border-radius: 40px; 
    margin: 0 10px;
    border-right: none;
}

.p-label { display: block; font-size: 0.6rem; opacity: 0.6; text-transform: uppercase; margin-bottom: 4px; }
.p-name { display: block; font-size: 0.9rem; font-weight: bold; margin-bottom: 2px; }
.p-value { display: block; font-size: 1.1rem; color: var(--accent-color); font-weight: bold; }
.p-value span { font-size: 0.7rem; color: #fff; opacity: 0.8; font-weight: normal; }

/* --- Aboutページ・Profile --- */
.about-profile-card, .profile-container {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.qual-list-container {
    background: var(--primary-color);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
}

.qual-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.qual-list li::before {
    content: "✓";
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: bold;
}

/* --- フォーム --- */
.contact-form-container {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.form-group { margin-bottom: 25px; text-align: left; }
.form-group label { display: block; font-weight: bold; margin-bottom: 8px; font-size: 0.9rem; }
.form-group label .required { background: #ff4b2b; color: #fff; font-size: 0.7rem; padding: 2px 6px; border-radius: 3px; margin-left: 8px; }

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.contact-form .u-text-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* --- ボタン --- */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff !important;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.btn:hover {
    background: var(--accent-color);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* --- フッター --- */
footer {
    text-align: center;
    padding: 60px 0;
    background: var(--primary-color);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

/* --- レスポンシブ --- */
@media (max-width: 850px) {
    header .container { flex-direction: column; gap: 15px; }
    nav ul li { margin: 0 10px; }
    
    .top-split-grid, .results-compact-grid, .benefit-steps { grid-template-columns: 1fr; }
    
    .price-row { 
        flex-direction: column; 
        border-radius: 20px; 
        padding: 20px;
    }
    
    .price-item { 
        border-right: none; 
        border-bottom: 1px solid rgba(255,255,255,0.1); 
        padding: 15px 0; 
        width: 100%; 
    }
    
    .price-item:last-child { border-bottom: none; }
    
    .contact-form-container { padding: 40px 20px; }
    
    .hero h2 { font-size: 1.8rem; }
}

/* --- 変数・リセット --- */
:root {
    --primary-color: #0a2540;
    --accent-color: #00d4ff;
    --text-color: #333;
    --text-muted: #666;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --transition: all 0.3s ease;
    --header-height: 75px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.8;
    margin: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- ユーティリティ --- */
.u-text-center { text-align: center; }
.u-mb-40 { margin-bottom: 40px; }
.u-primary { color: var(--primary-color); }

/* --- 共通ヘッダー --- */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
    height: var(--header-height);
}

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

header h1 { margin: 0; font-size: 1.25rem; letter-spacing: 1px; }
header h1 a.logo { text-decoration: none; color: var(--primary-color); }

nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
nav ul li { margin-left: 25px; }
nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    transition: var(--transition);
}
nav ul li a:hover { color: var(--accent-color); }

/* --- ドロップダウン --- */
.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding-top: 15px;
    z-index: 1000;
}
.dropdown-content-inner {
    background-color: #ffffff;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 10px 0;
    border: 1px solid #eee;
}
.dropdown-content a {
    color: var(--primary-color) !important;
    padding: 12px 20px !important;
    margin-left: 0 !important;
    display: block;
    font-size: 0.85rem;
    font-weight: normal;
}
.dropdown-content a:hover {
    background-color: rgba(0,212,255,0.05);
    color: var(--accent-color) !important;
}
.dropdown:hover .dropdown-content { display: block; }

/* --- ヒーロー (TOP用) --- */
.hero {
    background: linear-gradient(135deg, #0a2540 0%, #064663 100%);
    color: #fff;
    padding: 120px 0;
    text-align: center;
}
.hero h2 { font-size: 2.2rem; margin-bottom: 20px; font-weight: 700; }
.hero p { font-size: 1.1rem; opacity: 0.9; }

/* --- セクション共通 --- */
.section { padding: 100px 0; }
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}
.section-title::after {
    content: ""; display: block; width: 40px; height: 3px;
    background: var(--accent-color); margin: 15px auto;
}

/* --- カード & グリッド (TOP/About共通) --- */
.grid, .grid-vision, .strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card, .strength-item {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
}
.card:hover, .strength-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* --- Aboutページ固有 --- */
.about-wrapper { max-width: 900px; margin: 0 auto; }
.about-profile-card {
    background: #fff; padding: 50px; border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); margin-bottom: 80px;
}
.profile-header { margin-bottom: 30px; border-bottom: 2px solid var(--bg-color); padding-bottom: 20px; }
.profile-header h3 { font-size: 1.6rem; color: var(--primary-color); margin: 0; }
.profile-header .origin { color: var(--accent-color); font-weight: bold; font-size: 0.9rem; margin-top: 5px; }

.qual-list-container { background: var(--primary-color); color: #fff; padding: 40px; border-radius: 20px; }
.qual-list {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px; list-style: none; padding: 0;
}
.qual-list li { padding-left: 25px; position: relative; font-size: 0.95rem; }
.qual-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-color); font-weight: bold; }

/* --- 共通ボタン & フッター --- */
.btn {
    display: inline-block; background: var(--primary-color); color: #fff;
    padding: 18px 50px; border-radius: 50px; text-decoration: none;
    font-weight: bold; transition: var(--transition);
}
.btn:hover { background: var(--accent-color); color: var(--primary-color); transform: translateY(-2px); }

footer {
    text-align: center; padding: 60px 0;
    background: var(--primary-color); color: rgba(255,255,255,0.6); font-size: 0.8rem;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    header { height: auto; padding: 10px 0; }
    header .container { flex-direction: column; gap: 15px; }
    nav ul li { margin: 0 10px; }
    .section { padding: 60px 0; }
    .about-profile-card { padding: 30px; }
}

/* --- DX Service Page Details --- */

/* ヒーローエリア（詳細ページ用） */
.service-hero.mini { 
    padding: 100px 0 60px; 
    text-align: center;
    color: #fff;
}
.dx-bg { background: linear-gradient(135deg, #0a2540 0%, #064663 100%); }

.service-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* レイアウト・装飾 */
.section-compact { padding: 40px 0 80px; }
.sub-title-center { 
    text-align: center; 
    font-size: 1.4rem; 
    color: var(--primary-color); 
    margin: 60px 0 30px; 
}

/* 課題と思想の分割表示 */
.top-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    margin-bottom: 40px;
}
.problem-simple h3, .philosophy-simple h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-left: 3px solid var(--accent-color);
    padding-left: 12px;
}
.problem-simple ul { padding-left: 18px; margin: 0; font-size: 0.85rem; line-height: 1.8; }
.philosophy-simple p { font-size: 0.85rem; margin: 0; line-height: 1.7; color: var(--text-color); }

/* 実績タグ */
.track-record-mini { text-align: center; margin-bottom: 50px; }
.track-record-mini p { font-size: 0.65rem; letter-spacing: 1.5px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 12px; }
.record-tags span {
    font-size: 0.75rem;
    padding: 5px 14px;
    background: rgba(10, 37, 64, 0.05);
    border-radius: 4px;
    margin: 4px;
    display: inline-block;
    color: var(--primary-color);
}

/* 効果カード */
.results-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.res-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.res-icon { font-size: 1.8rem; margin-bottom: 12px; }
.res-card h4 { font-size: 0.95rem; margin-bottom: 10px; color: var(--primary-color); }
.res-card p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 15px; line-height: 1.6; min-height: 3.2em; }
.res-effect { 
    font-size: 0.75rem; 
    font-weight: bold; 
    color: var(--primary-color); 
    background: var(--accent-color); 
    padding: 4px 12px; 
    border-radius: 20px; 
}

/* 料金ライン（カプセル型） */
.price-row {
    display: flex;
    background: var(--primary-color);
    padding: 25px;
    border-radius: 60px;
    align-items: center;
}
.price-item {
    flex: 1;
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.price-item:last-child { border-right: none; }
.price-item.featured { 
    background: rgba(255,255,255,0.1); 
    padding: 15px 0;
    border-radius: 40px; 
    margin: 0 10px;
    border-right: none;
}
.p-label { display: block; font-size: 0.6rem; opacity: 0.6; text-transform: uppercase; margin-bottom: 4px; }
.p-name { display: block; font-size: 0.9rem; font-weight: bold; margin-bottom: 2px; }
.p-value { display: block; font-size: 1.1rem; color: var(--accent-color); font-weight: bold; }
.p-value span { font-size: 0.7rem; color: #fff; opacity: 0.8; font-weight: normal; }

.contact-compact { text-align: center; margin-top: 60px; }

/* レスポンシブ調整 */
@media (max-width: 850px) {
    .top-split-grid, .results-compact-grid { grid-template-columns: 1fr; }
    .price-row { flex-direction: column; border-radius: 20px; gap: 20px; }
    .price-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; width: 100%; }
    .price-item:last-child { border-bottom: none; }
}
/* --- 変数・リセット --- */
:root {
    --primary-color: #0a2540; /* 信頼感のある深い紺 */
    --accent-color: #00d4ff;  /* 清潔感のある水色 */
    --text-color: #333;
    --text-muted: #666;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.8;
    margin: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- ヘッダー --- */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

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

header h1 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: 1px;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li { margin-left: 25px; }
nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* --- ヒーローエリア --- */
.hero {
    background: linear-gradient(135deg, #0a2540 0%, #064663 100%);
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --- セクション共通 --- */
.section { padding: 100px 0; }
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto;
}

/* --- Profileセクション --- */
.profile-container {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.profile-basic h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-color);
}

.profile-details p {
    margin-bottom: 12px;
}

.profile-qualifications {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed #ddd;
}

.profile-qualifications h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.profile-qualifications p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 2;
}

/* --- Services (Grid) --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* 実績・詳細情報の装飾 */
.meta-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    flex-grow: 1; /* フッターを下に押し下げる */
}

.meta-block h4 {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-block ul {
    padding-left: 18px;
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-block p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 詳細リンクボタン */
.card-footer {
    margin-top: 30px;
    text-align: right;
}

.btn-detail {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-detail:hover {
    color: var(--accent-color);
}

/* --- Contact / Button --- */
.contact-text {
    margin-bottom: 30px;
}

.contact-button-container {
    text-align: center;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- フッター --- */
footer {
    text-align: center;
    padding: 60px 0;
    background: var(--primary-color);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .hero h2 { font-size: 1.8rem; }
    .section { padding: 60px 0; }
    .profile-container { padding: 30px; }
    header .container { flex-direction: column; gap: 15px; }
    nav ul li { margin: 0 10px; }
}

/* --- Aboutページ専用スタイル --- */
.about-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* プロフィールカード */
.about-profile-card {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-bottom: 80px;
}

.profile-header {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 20px;
}

.profile-header h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 0;
}

.profile-header .origin {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* 強みセクション */
.about-strength {
    margin-bottom: 80px;
}

.about-strength h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.strength-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    transition: var(--transition);
}

.strength-item .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.strength-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.strength-item p {
    font-size: 0.9rem;
    text-align: left;
}

/* 資格リストの装飾 */
.about-qualifications h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.qual-list-container {
    background: var(--primary-color);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
}

.qual-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.qual-list li {
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.qual-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .about-profile-card { padding: 30px; }
}

/* --- ドロップダウン共通設定（TOP/About共通） --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding-top: 15px; /* マウス移動時の「隙間」を埋める透明な領域 */
    z-index: 1000;
}

.dropdown-content-inner {
    background-color: #ffffff;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 10px 0;
    border: 1px solid #eee;
}

.dropdown-content a {
    color: var(--primary-color) !important;
    padding: 12px 20px !important;
    margin-left: 0 !important;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: normal;
}

.dropdown-content a:hover {
    background-color: rgba(0,212,255,0.05);
    color: var(--accent-color) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}
/* --- 詳細ページ共通 --- */
.service-hero {
    padding: 140px 0 80px;
    color: #fff;
    text-align: center;
}

.dx-bg {
    background: linear-gradient(135deg, #0a2540 0%, #00d4ff 150%);
}

.service-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.detail-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.sub-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 60px 0 30px;
    text-align: center;
}

/* 課題ボックス */
.problem-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border-left: 8px solid #ff4b2b; /* 注意を引く赤系 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.problem-box h3 { margin-top: 0; color: var(--primary-color); }
.problem-box ul { padding-left: 20px; }
.problem-box li { margin-bottom: 10px; font-weight: bold; }

/* フィーチャーグリッド */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border-top: 4px solid var(--accent-color);
}

.feature-item h4 { color: var(--primary-color); margin-bottom: 10px; }

/* プロセス */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0,212,255,0.2);
    display: block;
}

.step h4 { margin: 10px 0; color: var(--primary-color); }
.step p { font-size: 0.85rem; line-height: 1.6; }

/* クロスセル */
.cross-service {
    margin-top: 100px;
    padding: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    text-align: center;
}

.mini-link {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.mini-link:hover {
    background: #fff;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .feature-grid, .process-steps { grid-template-columns: 1fr; flex-direction: column; }
}
/* 料金セクション */
.price-section {
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.price-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border: 2px solid var(--accent-color);
    position: relative;
    transform: scale(1.05);
    background: #fff;
    z-index: 1;
}

.recommend {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 12px;
    border-radius: 10px;
}

.price-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
}

.price span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    font-size: 0.85rem;
    line-height: 2;
}

.price-card ul li::before {
    content: "・";
    color: var(--accent-color);
    font-weight: bold;
}

.price-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 30px;
}

.check-list {
    list-style: none;
    padding: 0;
    font-size: 0.85rem;
    margin-top: 15px;
}

.check-list li::before {
    content: "✔ ";
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .price-card.featured { transform: scale(1); }
}
/* シンプルな3カラムグリッド */
.simple-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.simple-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

/* 開発伴走を強調 */
.simple-card.active {
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,212,255,0.1);
    transform: translateY(-5px);
}

.card-top {
    text-align: center;
    margin-bottom: 20px;
}

.card-top .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.card-top h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.summary {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

.price-tag {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    border-top: 1px dashed #eee;
    padding-top: 20px;
}

.price-tag span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: normal;
}

/* レスポンシブ */
@media (max-width: 900px) {
    .simple-service-grid {
        grid-template-columns: 1fr;
    }
    .simple-card.active {
        transform: none;
    }
}
/* 導入セクション */
.section-sm { padding: 60px 0; }

.philosophy-box {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-bottom: 40px;
}

.accent-title {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 25px;
    text-align: center;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.adv-item span {
    display: block;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.adv-item p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* 実績表示 */
.track-record {
    text-align: center;
    padding: 30px;
}

.track-record h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.record-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.record-tags span {
    background: rgba(0, 212, 255, 0.05);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.record-caption {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 15px;
}

@media (max-width: 768px) {
    .advantage-grid { grid-template-columns: 1fr; }
    .philosophy-box { padding: 30px; }
}
/* 課題リストの装飾 */
.problem-list {
    list-style: none;
    padding-left: 0;
}
.problem-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}
.problem-list li::before {
    content: "!";
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #ff4b2b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* 施策と効果 */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.result-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.result-tag, .effect-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.result-tag { background: var(--primary-color); color: #fff; }
.effect-tag { background: var(--accent-color); color: var(--primary-color); font-weight: bold; margin-top: 15px;}

.effect-text {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0;
}
/* --- DX Service Page Styling --- */

/* ヒーローエリアのスリム化 */
.service-hero.mini { 
    padding: 100px 0 60px; 
    text-align: center;
    color: #fff;
}
.dx-bg { background: linear-gradient(135deg, #0a2540 0%, #064663 100%); }
.service-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* コンパクトセクション */
.section-compact { padding: 40px 0 80px; }
.detail-wrapper { max-width: 900px; margin: 0 auto; }
.sub-title-center { 
    text-align: center; 
    font-size: 1.4rem; 
    color: var(--primary-color); 
    margin: 60px 0 30px; 
}

/* 課題と思想の横並び */
.top-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    margin-bottom: 40px;
}
.problem-simple h3, .philosophy-simple h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-left: 3px solid var(--accent-color);
    padding-left: 12px;
}
.problem-simple ul { padding-left: 18px; margin: 0; font-size: 0.85rem; line-height: 1.8; }
.philosophy-simple p { font-size: 0.85rem; margin: 0; line-height: 1.7; color: var(--text-color); }

/* 実績表示 */
.track-record-mini { text-align: center; margin-bottom: 50px; }
.track-record-mini p { font-size: 0.65rem; letter-spacing: 1.5px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 12px; }
.record-tags span {
    font-size: 0.75rem;
    padding: 5px 14px;
    background: rgba(10, 37, 64, 0.05);
    border-radius: 4px;
    margin: 4px;
    display: inline-block;
    color: var(--primary-color);
}
.record-caption { font-size: 0.6rem; color: var(--text-muted); margin-top: 10px; }

/* 効果カード */
.results-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.res-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.res-icon { font-size: 1.8rem; margin-bottom: 12px; }
.res-card h4 { font-size: 0.95rem; margin-bottom: 10px; color: var(--primary-color); }
.res-card p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 15px; line-height: 1.6; min-height: 3.2em; }
.res-effect { 
    font-size: 0.75rem; 
    font-weight: bold; 
    color: var(--primary-color); 
    background: var(--accent-color); 
    padding: 4px 12px; 
    border-radius: 20px; 
}

/* 料金ライン（カプセル型） */
.price-mini-section { margin-top: 40px; }
.price-row {
    display: flex;
    background: var(--primary-color);
    padding: 25px;
    border-radius: 60px;
    align-items: center;
}
.price-item {
    flex: 1;
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.price-item:last-child { border-right: none; }
.price-item.featured { 
    background: rgba(255,255,255,0.1); 
    padding: 15px 0;
    border-radius: 40px; 
    margin: 0 10px;
    border-right: none;
}
.p-label { display: block; font-size: 0.6rem; opacity: 0.6; text-transform: uppercase; margin-bottom: 4px; }
.p-name { display: block; font-size: 0.9rem; font-weight: bold; margin-bottom: 2px; }
.p-value { display: block; font-size: 1.1rem; color: var(--accent-color); font-weight: bold; }
.p-value span { font-size: 0.7rem; color: #fff; opacity: 0.8; font-weight: normal; }

/* お問い合わせ */
.contact-compact { text-align: center; margin-top: 60px; }
.btn-sm {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.btn-sm:hover { background: var(--accent-color); color: var(--primary-color); transform: translateY(-2px); }

/* レスポンシブ */
@media (max-width: 850px) {
    .top-split-grid, .results-compact-grid { grid-template-columns: 1fr; }
    .price-row { flex-direction: column; border-radius: 20px; gap: 20px; }
    .price-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; width: 100%; }
    .price-item:last-child { border-bottom: none; }
}
/* --- Infra Service Page Color --- */
.infra-bg { 
    background: linear-gradient(135deg, #0a2540 0%, #b89a5b 150%); /* ゴールドを加味 */
}

.price-row.infra {
    background: #0a2540; /* 紺色で引き締める */
}

/* 削減ステップの装飾 */
.benefit-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.b-step {
    text-align: center;
    font-size: 0.85rem;
}
.b-step strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

/* DXページとのデザイン統一用の調整 */
.infra-benefits {
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

@media (max-width: 768px) {
    .benefit-steps { grid-template-columns: 1fr; }
}
/* --- インフラページ用のバランス調整 --- */

/* 2枚のカードを中央寄せにする設定 */
.results-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center; /* カード全体を中央に寄せる */
}

/* カードが2枚の時に広がりすぎないよう、最大幅を制限して中央に配置 */
.detail-wrapper .results-compact-grid {
    max-width: 700px; /* 2枚並んだ時のちょうど良い幅 */
    margin-left: auto;
    margin-right: auto;
}

/* 1枚ずつのカードの中身も整列 */
.res-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* 中のアイコンや文字も中央に */
}

/* レスポンシブ（スマホ）の時は最大幅を解除 */
@media (max-width: 768px) {
    .detail-wrapper .results-compact-grid {
        max-width: 100%;
    }
}
/* --- ロゴの統一（他ページと共通） --- */
header h1 a.logo {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}
header h1 a.logo:hover {
    opacity: 0.7;
}

/* --- インフラページ グリッドのバランス調整 --- */

/* 3枚のカードを等幅かつ中央寄せにする */
.results-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* 3枚並びやすい幅に */
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* カードが3枚になれば、親要素の幅をDXページと同じ（最大900px）にしてバランスを取る */
.detail-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.res-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 要素を上下に振り分ける */
}

/* アイコンとテキストの配置 */
.res-icon { font-size: 1.8rem; margin-bottom: 12px; }
.res-card h4 { font-size: 0.95rem; margin-bottom: 10px; color: var(--primary-color); }
.res-card p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 15px; line-height: 1.6; }

/* 効果タグをカードの一番下に固定 */
.res-effect {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--primary-color);
    background: var(--accent-color);
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: auto; /* これでテキスト量に関わらず位置が揃う */
}

@media (max-width: 850px) {
    .results-compact-grid {
        grid-template-columns: 1fr; /* スマホでは縦1列 */
    }
}
/* --- ロゴスタイルの共通化 --- */
header h1 a.logo {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

/* --- Optimization Menu 横一行（3カラム）の調整 --- */
.results-compact-grid {
    display: grid;
    /* PCサイズで強制的に3列にする設定 */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    margin-top: 40px;
}

.res-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    
    /* カード内の高さを揃えるためのFlex設定 */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.res-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* テキストが短くても、下のタグを押し下げる */
}

.res-effect {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--primary-color);
    background: var(--accent-color);
    padding: 5px 10px;
    border-radius: 20px;
    display: block;
    margin-top: auto; /* カードの最下部に固定 */
}

/* 削減ステップのグリッド */
.benefit-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* レスポンシブ：タブレット以下で縦並びにする */
@media (max-width: 850px) {
    .results-compact-grid,
    .benefit-steps {
        grid-template-columns: 1fr;
    }
    
    .res-card {
        margin-bottom: 15px;
    }
}
/* --- 変数・リセット --- */
:root {
    --primary-color: #0a2540; /* 信頼感のある深い紺 */
    --accent-color: #00d4ff;  /* 清潔感のある水色 */
    --text-color: #333;
    --text-muted: #666;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.8;
    margin: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- ヘッダー --- */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

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

header h1 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: 1px;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li { margin-left: 25px; }
nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* --- ヒーローエリア --- */
.hero {
    background: linear-gradient(135deg, #0a2540 0%, #064663 100%);
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --- セクション共通 --- */
.section { padding: 100px 0; }
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto;
}

/* --- Profileセクション --- */
.profile-container {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.profile-basic h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-color);
}

.profile-details p {
    margin-bottom: 12px;
}

.profile-qualifications {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed #ddd;
}

.profile-qualifications h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.profile-qualifications p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 2;
}

/* --- Services (Grid) --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* 実績・詳細情報の装飾 */
.meta-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    flex-grow: 1; /* フッターを下に押し下げる */
}

.meta-block h4 {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-block ul {
    padding-left: 18px;
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-block p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 詳細リンクボタン */
.card-footer {
    margin-top: 30px;
    text-align: right;
}

.btn-detail {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-detail:hover {
    color: var(--accent-color);
}

/* --- Contact / Button --- */
.contact-text {
    margin-bottom: 30px;
}

.contact-button-container {
    text-align: center;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- フッター --- */
footer {
    text-align: center;
    padding: 60px 0;
    background: var(--primary-color);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .hero h2 { font-size: 1.8rem; }
    .section { padding: 60px 0; }
    .profile-container { padding: 30px; }
    header .container { flex-direction: column; gap: 15px; }
    nav ul li { margin: 0 10px; }
}

/* --- Aboutページ専用スタイル --- */
.about-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* プロフィールカード */
.about-profile-card {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-bottom: 80px;
}

.profile-header {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 20px;
}

.profile-header h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 0;
}

.profile-header .origin {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* 強みセクション */
.about-strength {
    margin-bottom: 80px;
}

.about-strength h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.strength-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    transition: var(--transition);
}

.strength-item .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.strength-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.strength-item p {
    font-size: 0.9rem;
    text-align: left;
}

/* 資格リストの装飾 */
.about-qualifications h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.qual-list-container {
    background: var(--primary-color);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
}

.qual-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.qual-list li {
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.qual-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .about-profile-card { padding: 30px; }
}

/* --- ドロップダウン共通設定（TOP/About共通） --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding-top: 15px; /* マウス移動時の「隙間」を埋める透明な領域 */
    z-index: 1000;
}

.dropdown-content-inner {
    background-color: #ffffff;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 10px 0;
    border: 1px solid #eee;
}

.dropdown-content a {
    color: var(--primary-color) !important;
    padding: 12px 20px !important;
    margin-left: 0 !important;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: normal;
}

.dropdown-content a:hover {
    background-color: rgba(0,212,255,0.05);
    color: var(--accent-color) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}
/* --- 詳細ページ共通 --- */
.service-hero {
    padding: 140px 0 80px;
    color: #fff;
    text-align: center;
}

.dx-bg {
    background: linear-gradient(135deg, #0a2540 0%, #00d4ff 150%);
}

.service-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.detail-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.sub-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 60px 0 30px;
    text-align: center;
}

/* 課題ボックス */
.problem-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border-left: 8px solid #ff4b2b; /* 注意を引く赤系 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.problem-box h3 { margin-top: 0; color: var(--primary-color); }
.problem-box ul { padding-left: 20px; }
.problem-box li { margin-bottom: 10px; font-weight: bold; }

/* フィーチャーグリッド */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border-top: 4px solid var(--accent-color);
}

.feature-item h4 { color: var(--primary-color); margin-bottom: 10px; }

/* プロセス */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0,212,255,0.2);
    display: block;
}

.step h4 { margin: 10px 0; color: var(--primary-color); }
.step p { font-size: 0.85rem; line-height: 1.6; }

/* クロスセル */
.cross-service {
    margin-top: 100px;
    padding: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    text-align: center;
}

.mini-link {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.mini-link:hover {
    background: #fff;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .feature-grid, .process-steps { grid-template-columns: 1fr; flex-direction: column; }
}
/* 料金セクション */
.price-section {
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.price-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border: 2px solid var(--accent-color);
    position: relative;
    transform: scale(1.05);
    background: #fff;
    z-index: 1;
}

.recommend {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 12px;
    border-radius: 10px;
}

.price-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
}

.price span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    font-size: 0.85rem;
    line-height: 2;
}

.price-card ul li::before {
    content: "・";
    color: var(--accent-color);
    font-weight: bold;
}

.price-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 30px;
}

.check-list {
    list-style: none;
    padding: 0;
    font-size: 0.85rem;
    margin-top: 15px;
}

.check-list li::before {
    content: "✔ ";
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .price-card.featured { transform: scale(1); }
}
/* シンプルな3カラムグリッド */
.simple-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.simple-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

/* 開発伴走を強調 */
.simple-card.active {
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,212,255,0.1);
    transform: translateY(-5px);
}

.card-top {
    text-align: center;
    margin-bottom: 20px;
}

.card-top .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.card-top h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.summary {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

.price-tag {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    border-top: 1px dashed #eee;
    padding-top: 20px;
}

.price-tag span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: normal;
}

/* レスポンシブ */
@media (max-width: 900px) {
    .simple-service-grid {
        grid-template-columns: 1fr;
    }
    .simple-card.active {
        transform: none;
    }
}
/* 導入セクション */
.section-sm { padding: 60px 0; }

.philosophy-box {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-bottom: 40px;
}

.accent-title {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 25px;
    text-align: center;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.adv-item span {
    display: block;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.adv-item p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* 実績表示 */
.track-record {
    text-align: center;
    padding: 30px;
}

.track-record h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.record-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.record-tags span {
    background: rgba(0, 212, 255, 0.05);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.record-caption {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 15px;
}

@media (max-width: 768px) {
    .advantage-grid { grid-template-columns: 1fr; }
    .philosophy-box { padding: 30px; }
}
/* 課題リストの装飾 */
.problem-list {
    list-style: none;
    padding-left: 0;
}
.problem-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}
.problem-list li::before {
    content: "!";
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #ff4b2b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* 施策と効果 */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.result-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.result-tag, .effect-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.result-tag { background: var(--primary-color); color: #fff; }
.effect-tag { background: var(--accent-color); color: var(--primary-color); font-weight: bold; margin-top: 15px;}

.effect-text {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0;
}
/* --- DX Service Page Styling --- */

/* ヒーローエリアのスリム化 */
.service-hero.mini { 
    padding: 100px 0 60px; 
    text-align: center;
    color: #fff;
}
.dx-bg { background: linear-gradient(135deg, #0a2540 0%, #064663 100%); }
.service-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* コンパクトセクション */
.section-compact { padding: 40px 0 80px; }
.detail-wrapper { max-width: 900px; margin: 0 auto; }
.sub-title-center { 
    text-align: center; 
    font-size: 1.4rem; 
    color: var(--primary-color); 
    margin: 60px 0 30px; 
}

/* 課題と思想の横並び */
.top-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    margin-bottom: 40px;
}
.problem-simple h3, .philosophy-simple h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-left: 3px solid var(--accent-color);
    padding-left: 12px;
}
.problem-simple ul { padding-left: 18px; margin: 0; font-size: 0.85rem; line-height: 1.8; }
.philosophy-simple p { font-size: 0.85rem; margin: 0; line-height: 1.7; color: var(--text-color); }

/* 実績表示 */
.track-record-mini { text-align: center; margin-bottom: 50px; }
.track-record-mini p { font-size: 0.65rem; letter-spacing: 1.5px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 12px; }
.record-tags span {
    font-size: 0.75rem;
    padding: 5px 14px;
    background: rgba(10, 37, 64, 0.05);
    border-radius: 4px;
    margin: 4px;
    display: inline-block;
    color: var(--primary-color);
}
.record-caption { font-size: 0.6rem; color: var(--text-muted); margin-top: 10px; }

/* 効果カード */
.results-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.res-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.res-icon { font-size: 1.8rem; margin-bottom: 12px; }
.res-card h4 { font-size: 0.95rem; margin-bottom: 10px; color: var(--primary-color); }
.res-card p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 15px; line-height: 1.6; min-height: 3.2em; }
.res-effect { 
    font-size: 0.75rem; 
    font-weight: bold; 
    color: var(--primary-color); 
    background: var(--accent-color); 
    padding: 4px 12px; 
    border-radius: 20px; 
}

/* 料金ライン（カプセル型） */
.price-mini-section { margin-top: 40px; }
.price-row {
    display: flex;
    background: var(--primary-color);
    padding: 25px;
    border-radius: 60px;
    align-items: center;
}
.price-item {
    flex: 1;
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.price-item:last-child { border-right: none; }
.price-item.featured { 
    background: rgba(255,255,255,0.1); 
    padding: 15px 0;
    border-radius: 40px; 
    margin: 0 10px;
    border-right: none;
}
.p-label { display: block; font-size: 0.6rem; opacity: 0.6; text-transform: uppercase; margin-bottom: 4px; }
.p-name { display: block; font-size: 0.9rem; font-weight: bold; margin-bottom: 2px; }
.p-value { display: block; font-size: 1.1rem; color: var(--accent-color); font-weight: bold; }
.p-value span { font-size: 0.7rem; color: #fff; opacity: 0.8; font-weight: normal; }

/* お問い合わせ */
.contact-compact { text-align: center; margin-top: 60px; }
.btn-sm {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.btn-sm:hover { background: var(--accent-color); color: var(--primary-color); transform: translateY(-2px); }

/* レスポンシブ */
@media (max-width: 850px) {
    .top-split-grid, .results-compact-grid { grid-template-columns: 1fr; }
    .price-row { flex-direction: column; border-radius: 20px; gap: 20px; }
    .price-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; width: 100%; }
    .price-item:last-child { border-bottom: none; }
}
/* --- Infra Service Page Color --- */
.infra-bg { 
    background: linear-gradient(135deg, #0a2540 0%, #b89a5b 150%); /* ゴールドを加味 */
}

.price-row.infra {
    background: #0a2540; /* 紺色で引き締める */
}

/* 削減ステップの装飾 */
.benefit-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.b-step {
    text-align: center;
    font-size: 0.85rem;
}
.b-step strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

/* DXページとのデザイン統一用の調整 */
.infra-benefits {
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

@media (max-width: 768px) {
    .benefit-steps { grid-template-columns: 1fr; }
}
/* --- インフラページ用のバランス調整 --- */

/* 2枚のカードを中央寄せにする設定 */
.results-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center; /* カード全体を中央に寄せる */
}

/* カードが2枚の時に広がりすぎないよう、最大幅を制限して中央に配置 */
.detail-wrapper .results-compact-grid {
    max-width: 700px; /* 2枚並んだ時のちょうど良い幅 */
    margin-left: auto;
    margin-right: auto;
}

/* 1枚ずつのカードの中身も整列 */
.res-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* 中のアイコンや文字も中央に */
}

/* レスポンシブ（スマホ）の時は最大幅を解除 */
@media (max-width: 768px) {
    .detail-wrapper .results-compact-grid {
        max-width: 100%;
    }
}
/* --- ロゴの統一（他ページと共通） --- */
header h1 a.logo {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}
header h1 a.logo:hover {
    opacity: 0.7;
}

/* --- インフラページ グリッドのバランス調整 --- */

/* 3枚のカードを等幅かつ中央寄せにする */
.results-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* 3枚並びやすい幅に */
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* カードが3枚になれば、親要素の幅をDXページと同じ（最大900px）にしてバランスを取る */
.detail-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.res-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 要素を上下に振り分ける */
}

/* アイコンとテキストの配置 */
.res-icon { font-size: 1.8rem; margin-bottom: 12px; }
.res-card h4 { font-size: 0.95rem; margin-bottom: 10px; color: var(--primary-color); }
.res-card p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 15px; line-height: 1.6; }

/* 効果タグをカードの一番下に固定 */
.res-effect {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--primary-color);
    background: var(--accent-color);
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: auto; /* これでテキスト量に関わらず位置が揃う */
}

@media (max-width: 850px) {
    .results-compact-grid {
        grid-template-columns: 1fr; /* スマホでは縦1列 */
    }
}
/* --- ロゴスタイルの共通化 --- */
header h1 a.logo {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

/* --- Optimization Menu 横一行（3カラム）の調整 --- */
.results-compact-grid {
    display: grid;
    /* PCサイズで強制的に3列にする設定 */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    margin-top: 40px;
}

.res-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    
    /* カード内の高さを揃えるためのFlex設定 */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.res-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* テキストが短くても、下のタグを押し下げる */
}

.res-effect {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--primary-color);
    background: var(--accent-color);
    padding: 5px 10px;
    border-radius: 20px;
    display: block;
    margin-top: auto; /* カードの最下部に固定 */
}

/* 削減ステップのグリッド */
.benefit-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* レスポンシブ：タブレット以下で縦並びにする */
@media (max-width: 850px) {
    .results-compact-grid,
    .benefit-steps {
        grid-template-columns: 1fr;
    }
    
    .res-card {
        margin-bottom: 15px;
    }
}
/* --- Identity Service Page Styling --- */

/* ヒーローエリア背景：清潔感と洗練さを出す明るいグラデーション */
.identity-bg { 
    background: linear-gradient(135deg, #0a2540 0%, #4facfe 100%); 
}

/* 料金エリア背景：Identityらしい少し軽やかなネイビー設定 */
.price-row.identity {
    background: #0a2540;
}

/* メッセージエリアの微調整 */
.identity-message {
    box-shadow: 0 10px 40px rgba(0,212,255,0.05);
}

.message-content p {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--text-color);
}

/* カードのグリッド調整：横一行（3カラム） */
.service-identity .results-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* レスポンシブ：スマホサイズ */
@media (max-width: 850px) {
    .service-identity .results-compact-grid {
        grid-template-columns: 1fr;
    }
    
    .identity-message {
        padding: 30px 20px;
    }
    
    .message-content p {
        font-size: 0.9rem;
    }
}

/* ロゴの共通化スタイル（再掲：確実に反映させるため） */
header h1 a.logo {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}
/* --- 変数・リセット --- */
:root {
    --primary-color: #0a2540; /* 信頼感のある深い紺 */
    --accent-color: #00d4ff;  /* 清潔感のある水色 */
    --text-color: #333;
    --text-muted: #666;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.8;
    margin: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- ヘッダー --- */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

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

header h1 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: 1px;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li { margin-left: 25px; }
nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* --- ヒーローエリア --- */
.hero {
    background: linear-gradient(135deg, #0a2540 0%, #064663 100%);
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --- セクション共通 --- */
.section { padding: 100px 0; }
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto;
}

/* --- Profileセクション --- */
.profile-container {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.profile-basic h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-color);
}

.profile-details p {
    margin-bottom: 12px;
}

.profile-qualifications {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed #ddd;
}

.profile-qualifications h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.profile-qualifications p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 2;
}

/* --- Services (Grid) --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* 実績・詳細情報の装飾 */
.meta-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    flex-grow: 1; /* フッターを下に押し下げる */
}

.meta-block h4 {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-block ul {
    padding-left: 18px;
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-block p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 詳細リンクボタン */
.card-footer {
    margin-top: 30px;
    text-align: right;
}

.btn-detail {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-detail:hover {
    color: var(--accent-color);
}

/* --- Contact / Button --- */
.contact-text {
    margin-bottom: 30px;
}

.contact-button-container {
    text-align: center;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- フッター --- */
footer {
    text-align: center;
    padding: 60px 0;
    background: var(--primary-color);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .hero h2 { font-size: 1.8rem; }
    .section { padding: 60px 0; }
    .profile-container { padding: 30px; }
    header .container { flex-direction: column; gap: 15px; }
    nav ul li { margin: 0 10px; }
}

/* --- Aboutページ専用スタイル --- */
.about-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* プロフィールカード */
.about-profile-card {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-bottom: 80px;
}

.profile-header {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 20px;
}

.profile-header h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 0;
}

.profile-header .origin {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* 強みセクション */
.about-strength {
    margin-bottom: 80px;
}

.about-strength h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.strength-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    transition: var(--transition);
}

.strength-item .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.strength-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.strength-item p {
    font-size: 0.9rem;
    text-align: left;
}

/* 資格リストの装飾 */
.about-qualifications h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.qual-list-container {
    background: var(--primary-color);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
}

.qual-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.qual-list li {
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.qual-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .about-profile-card { padding: 30px; }
}

/* --- ドロップダウン共通設定（TOP/About共通） --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding-top: 15px; /* マウス移動時の「隙間」を埋める透明な領域 */
    z-index: 1000;
}

.dropdown-content-inner {
    background-color: #ffffff;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 10px 0;
    border: 1px solid #eee;
}

.dropdown-content a {
    color: var(--primary-color) !important;
    padding: 12px 20px !important;
    margin-left: 0 !important;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: normal;
}

.dropdown-content a:hover {
    background-color: rgba(0,212,255,0.05);
    color: var(--accent-color) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}
/* --- 詳細ページ共通 --- */
.service-hero {
    padding: 140px 0 80px;
    color: #fff;
    text-align: center;
}

.dx-bg {
    background: linear-gradient(135deg, #0a2540 0%, #00d4ff 150%);
}

.service-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.detail-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.sub-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 60px 0 30px;
    text-align: center;
}

/* 課題ボックス */
.problem-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border-left: 8px solid #ff4b2b; /* 注意を引く赤系 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.problem-box h3 { margin-top: 0; color: var(--primary-color); }
.problem-box ul { padding-left: 20px; }
.problem-box li { margin-bottom: 10px; font-weight: bold; }

/* フィーチャーグリッド */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border-top: 4px solid var(--accent-color);
}

.feature-item h4 { color: var(--primary-color); margin-bottom: 10px; }

/* プロセス */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0,212,255,0.2);
    display: block;
}

.step h4 { margin: 10px 0; color: var(--primary-color); }
.step p { font-size: 0.85rem; line-height: 1.6; }

/* クロスセル */
.cross-service {
    margin-top: 100px;
    padding: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    text-align: center;
}

.mini-link {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.mini-link:hover {
    background: #fff;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .feature-grid, .process-steps { grid-template-columns: 1fr; flex-direction: column; }
}
/* 料金セクション */
.price-section {
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.price-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border: 2px solid var(--accent-color);
    position: relative;
    transform: scale(1.05);
    background: #fff;
    z-index: 1;
}

.recommend {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 12px;
    border-radius: 10px;
}

.price-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
}

.price span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    font-size: 0.85rem;
    line-height: 2;
}

.price-card ul li::before {
    content: "・";
    color: var(--accent-color);
    font-weight: bold;
}

.price-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 30px;
}

.check-list {
    list-style: none;
    padding: 0;
    font-size: 0.85rem;
    margin-top: 15px;
}

.check-list li::before {
    content: "✔ ";
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .price-card.featured { transform: scale(1); }
}
/* シンプルな3カラムグリッド */
.simple-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.simple-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

/* 開発伴走を強調 */
.simple-card.active {
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,212,255,0.1);
    transform: translateY(-5px);
}

.card-top {
    text-align: center;
    margin-bottom: 20px;
}

.card-top .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.card-top h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.summary {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

.price-tag {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    border-top: 1px dashed #eee;
    padding-top: 20px;
}

.price-tag span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: normal;
}

/* レスポンシブ */
@media (max-width: 900px) {
    .simple-service-grid {
        grid-template-columns: 1fr;
    }
    .simple-card.active {
        transform: none;
    }
}
/* 導入セクション */
.section-sm { padding: 60px 0; }

.philosophy-box {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-bottom: 40px;
}

.accent-title {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 25px;
    text-align: center;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.adv-item span {
    display: block;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.adv-item p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* 実績表示 */
.track-record {
    text-align: center;
    padding: 30px;
}

.track-record h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.record-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.record-tags span {
    background: rgba(0, 212, 255, 0.05);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.record-caption {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 15px;
}

@media (max-width: 768px) {
    .advantage-grid { grid-template-columns: 1fr; }
    .philosophy-box { padding: 30px; }
}
/* 課題リストの装飾 */
.problem-list {
    list-style: none;
    padding-left: 0;
}
.problem-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}
.problem-list li::before {
    content: "!";
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #ff4b2b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* 施策と効果 */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.result-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.result-tag, .effect-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.result-tag { background: var(--primary-color); color: #fff; }
.effect-tag { background: var(--accent-color); color: var(--primary-color); font-weight: bold; margin-top: 15px;}

.effect-text {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0;
}
/* --- DX Service Page Styling --- */

/* ヒーローエリアのスリム化 */
.service-hero.mini { 
    padding: 100px 0 60px; 
    text-align: center;
    color: #fff;
}
.dx-bg { background: linear-gradient(135deg, #0a2540 0%, #064663 100%); }
.service-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* コンパクトセクション */
.section-compact { padding: 40px 0 80px; }
.detail-wrapper { max-width: 900px; margin: 0 auto; }
.sub-title-center { 
    text-align: center; 
    font-size: 1.4rem; 
    color: var(--primary-color); 
    margin: 60px 0 30px; 
}

/* 課題と思想の横並び */
.top-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    margin-bottom: 40px;
}
.problem-simple h3, .philosophy-simple h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-left: 3px solid var(--accent-color);
    padding-left: 12px;
}
.problem-simple ul { padding-left: 18px; margin: 0; font-size: 0.85rem; line-height: 1.8; }
.philosophy-simple p { font-size: 0.85rem; margin: 0; line-height: 1.7; color: var(--text-color); }

/* 実績表示 */
.track-record-mini { text-align: center; margin-bottom: 50px; }
.track-record-mini p { font-size: 0.65rem; letter-spacing: 1.5px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 12px; }
.record-tags span {
    font-size: 0.75rem;
    padding: 5px 14px;
    background: rgba(10, 37, 64, 0.05);
    border-radius: 4px;
    margin: 4px;
    display: inline-block;
    color: var(--primary-color);
}
.record-caption { font-size: 0.6rem; color: var(--text-muted); margin-top: 10px; }

/* 効果カード */
.results-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.res-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.res-icon { font-size: 1.8rem; margin-bottom: 12px; }
.res-card h4 { font-size: 0.95rem; margin-bottom: 10px; color: var(--primary-color); }
.res-card p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 15px; line-height: 1.6; min-height: 3.2em; }
.res-effect { 
    font-size: 0.75rem; 
    font-weight: bold; 
    color: var(--primary-color); 
    background: var(--accent-color); 
    padding: 4px 12px; 
    border-radius: 20px; 
}

/* 料金ライン（カプセル型） */
.price-mini-section { margin-top: 40px; }
.price-row {
    display: flex;
    background: var(--primary-color);
    padding: 25px;
    border-radius: 60px;
    align-items: center;
}
.price-item {
    flex: 1;
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.price-item:last-child { border-right: none; }
.price-item.featured { 
    background: rgba(255,255,255,0.1); 
    padding: 15px 0;
    border-radius: 40px; 
    margin: 0 10px;
    border-right: none;
}
.p-label { display: block; font-size: 0.6rem; opacity: 0.6; text-transform: uppercase; margin-bottom: 4px; }
.p-name { display: block; font-size: 0.9rem; font-weight: bold; margin-bottom: 2px; }
.p-value { display: block; font-size: 1.1rem; color: var(--accent-color); font-weight: bold; }
.p-value span { font-size: 0.7rem; color: #fff; opacity: 0.8; font-weight: normal; }

/* お問い合わせ */
.contact-compact { text-align: center; margin-top: 60px; }
.btn-sm {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.btn-sm:hover { background: var(--accent-color); color: var(--primary-color); transform: translateY(-2px); }

/* レスポンシブ */
@media (max-width: 850px) {
    .top-split-grid, .results-compact-grid { grid-template-columns: 1fr; }
    .price-row { flex-direction: column; border-radius: 20px; gap: 20px; }
    .price-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; width: 100%; }
    .price-item:last-child { border-bottom: none; }
}
/* --- Infra Service Page Color --- */
.infra-bg { 
    background: linear-gradient(135deg, #0a2540 0%, #b89a5b 150%); /* ゴールドを加味 */
}

.price-row.infra {
    background: #0a2540; /* 紺色で引き締める */
}

/* 削減ステップの装飾 */
.benefit-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.b-step {
    text-align: center;
    font-size: 0.85rem;
}
.b-step strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

/* DXページとのデザイン統一用の調整 */
.infra-benefits {
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

@media (max-width: 768px) {
    .benefit-steps { grid-template-columns: 1fr; }
}
/* --- インフラページ用のバランス調整 --- */

/* 2枚のカードを中央寄せにする設定 */
.results-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center; /* カード全体を中央に寄せる */
}

/* カードが2枚の時に広がりすぎないよう、最大幅を制限して中央に配置 */
.detail-wrapper .results-compact-grid {
    max-width: 700px; /* 2枚並んだ時のちょうど良い幅 */
    margin-left: auto;
    margin-right: auto;
}

/* 1枚ずつのカードの中身も整列 */
.res-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* 中のアイコンや文字も中央に */
}

/* レスポンシブ（スマホ）の時は最大幅を解除 */
@media (max-width: 768px) {
    .detail-wrapper .results-compact-grid {
        max-width: 100%;
    }
}
/* --- ロゴの統一（他ページと共通） --- */
header h1 a.logo {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}
header h1 a.logo:hover {
    opacity: 0.7;
}

/* --- インフラページ グリッドのバランス調整 --- */

/* 3枚のカードを等幅かつ中央寄せにする */
.results-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* 3枚並びやすい幅に */
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* カードが3枚になれば、親要素の幅をDXページと同じ（最大900px）にしてバランスを取る */
.detail-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.res-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 要素を上下に振り分ける */
}

/* アイコンとテキストの配置 */
.res-icon { font-size: 1.8rem; margin-bottom: 12px; }
.res-card h4 { font-size: 0.95rem; margin-bottom: 10px; color: var(--primary-color); }
.res-card p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 15px; line-height: 1.6; }

/* 効果タグをカードの一番下に固定 */
.res-effect {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--primary-color);
    background: var(--accent-color);
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: auto; /* これでテキスト量に関わらず位置が揃う */
}

@media (max-width: 850px) {
    .results-compact-grid {
        grid-template-columns: 1fr; /* スマホでは縦1列 */
    }
}
/* --- ロゴスタイルの共通化 --- */
header h1 a.logo {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

/* --- Optimization Menu 横一行（3カラム）の調整 --- */
.results-compact-grid {
    display: grid;
    /* PCサイズで強制的に3列にする設定 */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    margin-top: 40px;
}

.res-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    
    /* カード内の高さを揃えるためのFlex設定 */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.res-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* テキストが短くても、下のタグを押し下げる */
}

.res-effect {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--primary-color);
    background: var(--accent-color);
    padding: 5px 10px;
    border-radius: 20px;
    display: block;
    margin-top: auto; /* カードの最下部に固定 */
}

/* 削減ステップのグリッド */
.benefit-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* レスポンシブ：タブレット以下で縦並びにする */
@media (max-width: 850px) {
    .results-compact-grid,
    .benefit-steps {
        grid-template-columns: 1fr;
    }
    
    .res-card {
        margin-bottom: 15px;
    }
}
/* --- Identity Service Page Styling --- */

/* ヒーローエリア背景：清潔感と洗練さを出す明るいグラデーション */
.identity-bg { 
    background: linear-gradient(135deg, #0a2540 0%, #4facfe 100%); 
}

/* 料金エリア背景：Identityらしい少し軽やかなネイビー設定 */
.price-row.identity {
    background: #0a2540;
}

/* メッセージエリアの微調整 */
.identity-message {
    box-shadow: 0 10px 40px rgba(0,212,255,0.05);
}

.message-content p {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--text-color);
}

/* カードのグリッド調整：横一行（3カラム） */
.service-identity .results-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* レスポンシブ：スマホサイズ */
@media (max-width: 850px) {
    .service-identity .results-compact-grid {
        grid-template-columns: 1fr;
    }
    
    .identity-message {
        padding: 30px 20px;
    }
    
    .message-content p {
        font-size: 0.9rem;
    }
}

/* ロゴの共通化スタイル（再掲：確実に反映させるため） */
header h1 a.logo {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}
/* --- Contact Page Styling --- */

/* ヒーローエリア背景：深みと落ち着きのあるネイビー単色グラデーション */
.contact-bg { 
    background: linear-gradient(135deg, #0a2540 0%, #1a3a5a 100%); 
}

/* フォーム全体のコンテナ */
.contact-form-container {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* 入力グループ */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group label .required {
    background: #ff4b2b;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

/* 入力要素（input/select/textarea）の共通設定 */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-color);
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(0, 212, 255, 0.02);
}

/* プレースホルダーの色 */
::placeholder {
    color: #ccc;
}

/* 送信ボタンのホバー挙動調整 */
.contact-form .btn:active {
    transform: translateY(0);
}

/* レスポンシブ：スマホサイズ */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 40px 20px;
    }
}
/* お問い合わせボタンの配置調整 */
.contact-form .u-text-center {
    display: flex;        /* Flexboxを適用 */
    justify-content: center; /* 横方向の中央揃え */
    width: 100%;
    margin-top: 40px;
}

/* ボタン自体のスタイル調整 */
.contact-form .btn {
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 400px;     /* 最大幅を制限 */
    display: block;      /* block要素にしてmargin autoを効かせる */
    margin: 0 auto;      /* 左右の余白を自動にして中央へ */
}
/* 確認画面用アイテム */
.confirm-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    text-align: left;
}

.confirm-item label {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
}

.confirm-item p {
    font-size: 1rem;
    margin: 0;
    color: var(--text-color);
}

/* スマホ等でボタンが縦に並ぶよう調整 */
@media (max-width: 600px) {
    .u-text-center {
        flex-direction: column;
        align-items: center;
    }
    .u-text-center .btn {
        max-width: 100% !important;
    }
}