/* ==========================================
   CSSリセット（必須）
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

p, ul, ol, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ==========================================
   カラーパレット
   ========================================== */
:root {
    /* メインカラー（信頼感のある青系） */
    --primary-color: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #60A5FA;
    
    /* アクセントカラー */
    --accent-color: #F59E0B;
    --accent-dark: #D97706;
    
    /* ベースカラー */
    --black: #1A1A1A;
    --dark-gray: #2C2C2C;
    --medium-gray: #666666;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    
    /* セマンティックカラー */
    --success: #10B981;
    --info: #3B82F6;
    --warning: #F59E0B;
}

/* ==========================================
   タイポグラフィ
   ========================================== */
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* メインタイトル（h1） - 大胆で印象的 */
h1 {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--black);
}

/* セクションタイトル（h2） */
h2 {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--black);
}

/* サブ見出し（h3） */
h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--black);
}

/* 小見出し（h4） */
h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    color: var(--dark-gray);
}

/* 本文テキスト */
p {
    font-size: clamp(0.9375rem, 2vw, 1rem);
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* リードテキスト */
.lead-text {
    font-size: clamp(1rem, 3vw, 1.125rem);
    line-height: 1.6;
    letter-spacing: 0.02em;
}

/* キャプション・小文字 */
.caption, small {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.03em;
}

/* ==========================================
   レイアウト - コンテナ
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* セクション間の余白 */
section {
    padding: clamp(4rem, 10vw, 8rem) 0;
}

section + section {
    margin-top: 0;
}

/* セクション内の要素 - 下マージンで統一 */
section > .container > * {
    margin-bottom: 2rem;
}

section > .container > *:last-child {
    margin-bottom: 0;
}

/* ==========================================
   ヘッダー
   ========================================== */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-text {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

.logo-place {
    color: var(--accent-color);
}

/* ナビゲーション */
.main-nav {
    display: none;
}

.main-nav .nav-list {
    display: flex;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.main-nav .nav-list a {
    font-weight: 700;
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

.main-nav .nav-list a:hover {
    color: var(--primary-color);
}

@media (min-width: 769px) {
    .main-nav {
        display: block;
    }
}

/* ハンバーガーメニュー */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--dark-gray);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: var(--white);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    padding: 2rem;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-gray);
    text-decoration: none;
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

/* ==========================================
   パンくずリスト
   ========================================== */
.breadcrumbs {
    background-color: var(--light-gray);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: var(--medium-gray);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumbs li:last-child span {
    color: var(--dark-gray);
}

/* ==========================================
   ヒーローセクション
   ========================================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-main.jpg');
    background-size: cover;
    background-position: center;
    padding: clamp(4rem, 15vw, 10rem) 0;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
}

.hero h1 {
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.hero .lead-text {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

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

/* ボタン */
.btn {
    display: inline-block;
    padding: clamp(1rem, 3vw, 1.25rem) clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

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

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

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ==========================================
   カード
   ========================================== */
.card {
    background-color: var(--white);
    border-radius: 12px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.card > * {
    margin-bottom: 1.5rem;
}

.card > *:last-child {
    margin-bottom: 0;
}

.card h3 {
    margin-bottom: 1rem;
}

/* ==========================================
   グリッドレイアウト
   ========================================== */
.grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

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

/* ==========================================
   セクション共通スタイル
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header h2 {
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.section-header p {
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* 背景カラーバリエーション */
.bg-light {
    background-color: var(--light-gray);
}

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

.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4 {
    color: var(--white);
}

/* ==========================================
   特徴セクション
   ========================================== */
.features-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 3rem);
}

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

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
}

/* ==========================================
   CTAセクション
   ========================================== */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.cta-section p {
    color: var(--white);
    margin-bottom: clamp(2rem, 5vw, 3rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   フッター
   ========================================== */
.site-footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(1.5rem, 4vw, 2rem) 0;
}

.footer-content {
    display: grid;
    gap: clamp(2rem, 5vw, 3rem);
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

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

.footer-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-nav-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--white);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.contact-label {
    display: block;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: clamp(1.5rem, 4vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   レスポンシブ対応
   ========================================== */
.sp-only {
    display: inline;
}

.pc-only {
    display: none;
}

@media (min-width: 769px) {
    .sp-only {
        display: none;
    }
    
    .pc-only {
        display: inline;
    }
}

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

.text-white {
    color: var(--white);
}

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

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

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