:root {
    --primary-color: #001f3f; /* 格調高いネイビー */
    --secondary-color: #d4af37; /* メタリックゴールド */
    --accent-color: #2c3e50;
    --text-color: #2c3e50;
    --text-light: #5f6c7b;
    --bg-color: #ffffff;
    --bg-alt: #f8f9fa;
    --white: #ffffff;
    --gold-light: #f4e9c1;
    --error-color: #e63946;
    
    --font-main: 'Noto Sans JP', sans-serif;
    --section-padding: 100px 20px;
    --container-width: 1100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    line-height: 1.3;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

/* 固定モバイル電話ボタン */
.mobile-tel-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #2ecc71;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    z-index: 2000;
    display: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ヘッダー */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0, 31, 63, 0.05);
}

/* テレフォンアイコン用 */
.tel-icon-svg {
    vertical-align: middle;
    margin-right: 5px;
    stroke: currentColor;
    fill: none;
}

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

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    text-decoration: none;
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s;
}

.desktop-nav a:hover {
    color: var(--secondary-color);
}

/* ヒーロー */
.hero {
    background: linear-gradient(rgba(0, 31, 63, 0.8), rgba(0, 31, 63, 0.8)), url('https://images.unsplash.com/photo-1543007630-9710e40fa370?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 140px 0;
}

.hero h1 {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.highlight {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-badge {
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    padding: 4px 15px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 0.9rem;
}

.tel-btn {
    border: 2px solid var(--white);
    color: var(--white);
    text-decoration: none;
    margin-left: 15px;
}

/* セクションタイトル */
section {
    padding: var(--section-padding);
}

.knowledge-base {
    padding: 50px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 50px;
    color: var(--text-light);
}

/* 特徴グリッド */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    background: var(--bg-alt);
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #ffffff 0%, #f1f1f1 100%);
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.feature-card:hover .icon {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 20px rgba(212, 175, 55, 0.2);
    background: var(--white);
}

/* アイコン自体の色と太さ */
.feature-card .icon svg {
    stroke: var(--secondary-color);
    stroke-width: 1.5;
    filter: drop-shadow(0 2px 4px rgba(184, 134, 11, 0.2));
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.link-text {
    display: block;
    margin-top: 20px;
    color: var(--secondary-color);
    font-weight: 700;
}

/* ナレッジベース */
.knowledge-base {
    background: var(--white);
}

.knowledge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.knowledge-item {
    background: var(--bg-alt);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color);
}

/* 専門性セクション */
.pro-skill {
    background: var(--bg-alt);
}

.pro-skill-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.skill-blueprint {
    background: #003366;
    color: #fff;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: monospace;
    position: relative;
    overflow: hidden;
}

.skill-blueprint::before {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* エリア情報 */
.area-info {
    background: var(--white);
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.area-card {
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 4px;
}

/* 料金プラン */
.pricing {
    background: var(--primary-color);
    color: var(--white);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.price-card {
    background: rgba(255,255,255,0.05);
    padding: 30px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.price-card.popular {
    background: var(--white);
    color: var(--text-color);
    transform: scale(1.05);
    z-index: 10;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin: 10px 0;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: inline-block;
    text-align: left;
}

.price-card {
    text-align: center;
}

/* FAQ */
.faq-section {
    background: var(--bg-alt);
}

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

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary {
    padding: 20px 60px 20px 25px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background-color 0.3s;
}

.faq-item summary:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

/* 開閉アイコン (+) */
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    color: var(--secondary-color);
    transition: transform 0.3s, opacity 0.3s;
    line-height: 1;
}

.faq-item[open] summary {
    color: var(--secondary-color);
    border-bottom: 1px solid var(--bg-alt);
}

.faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-content {
    padding: 25px;
    background-color: #fdfdfd;
}

/* クラスターページ共通 */
.cluster-page .hero {
    padding: 80px 0;
    text-align: left;
}

.cluster-hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cluster-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.breadcrumb-nav {
    background: var(--bg-alt);
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--secondary-color);
    text-decoration: none;
}

.cluster-content {
    padding: 80px 0;
}

.cluster-content h2 {
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-alt);
}

.alert-box {
    background: #fff8e6;
    border-left: 5px solid #ffa000;
    padding: 20px;
    margin: 30px 0;
}

.price-detail table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.price-detail th, .price-detail td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.related-cta {
    background: var(--bg-alt);
    text-align: center;
    padding: 60px 40px;
    border-radius: 8px;
    margin-top: 60px;
}

.related-cta .btn {
    margin-top: 25px;
}

/* フォーム & フッター */
.contact {
    background-color: var(--bg-alt);
}

.contact-info-direct {
    text-align: center;
    margin-bottom: 50px;
}

.contact-info-direct p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.btn-tel-direct {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    position: relative;
}

.btn-tel-direct:hover {
    color: var(--secondary-color);
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group label span {
    background: var(--error-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 10px;
    vertical-align: middle;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
    background-color: #fcfcfc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.form-submit .btn {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
    }
    
    .btn-tel-direct {
        font-size: 1.8rem;
    }
}

footer {
    padding: 80px 0 40px;
    background: #000c1a;
    color: rgba(255,255,255,0.6);
    text-align: center;
}

/* レスポンシブ */
@media (max-width: 992px) {
    .price-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .price-card.popular { transform: none; }
}

@media (max-width: 768px) {
    .mobile-tel-btn { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .desktop-nav, .btn-header { display: none; }
    .feature-grid, .area-grid, .knowledge-grid, .pro-skill-container { grid-template-columns: 1fr; }
    .cluster-hero h1 { font-size: 1.8rem; }
}