/* ================================
   リセット & 基本設定
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット - プロフェッショナルで温かみのある配色 */
    --primary-color: #2C5F8D;        /* 落ち着いた青 */
    --secondary-color: #E67E22;      /* 温かみのあるオレンジ */
    --accent-color: #27AE60;         /* 成長を象徴する緑 */
    --dark-color: #1A1A1A;           /* ダークテキスト */
    --light-bg: #F8F9FA;             /* ライト背景 */
    --white: #FFFFFF;
    --gray-light: #E0E0E0;
    --gray-medium: #757575;
    --gradient-primary: linear-gradient(135deg, #2C5F8D 0%, #1A4A6D 100%);
    --gradient-accent: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    
    /* タイポグラフィ */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-display: 'Montserrat', sans-serif;
    --font-impact: 'Oswald', sans-serif;
    
    /* スペーシング */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* トランジション */
    --transition-smooth: all 0.3s ease;
}

body {
    font-family: var(--font-main);
    color: var(--dark-color);
    line-height: 1.8;
    overflow-x: hidden;
}

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

/* ================================
   ヘッダー
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.logo-sub {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 3px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
}

/* ================================
   ヒーローセクション
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.9) 0%, rgba(26, 74, 109, 0.85) 100%);
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 60px 0;
}

.hero-text {
    max-width: 700px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-title-main {
    color: var(--white);
}

.hero-title-emphasis {
    font-family: var(--font-impact);
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 12px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.6), 0 0 25px rgba(230, 126, 34, 0.5);
    font-size: 1.3em;
    transform: scaleY(1.15);
    display: inline-block;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 50px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-number::after {
    content: '+';
    margin-left: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.hero-cta-note {
    font-size: 14px;
    opacity: 0.8;
}

/* ================================
   ボタン
   ================================ */
.btn {
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(230, 126, 34, 0.6);
}

.btn-instagram {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCAF45 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(131, 58, 180, 0.4);
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(131, 58, 180, 0.6);
}

/* ================================
   セクション共通
   ================================ */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-medium);
}

/* ================================
   ストーリーセクション
   ================================ */
.story {
    background: var(--white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.story-image {
    position: sticky;
    top: 120px;
}

.story-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.story-intro p {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.story-intro strong {
    color: var(--secondary-color);
    font-weight: 700;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--secondary-color);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-content p {
    color: var(--gray-medium);
    font-size: 16px;
}

.story-message {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.story-quote {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.story-message p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.story-message strong {
    color: var(--secondary-color);
}

/* ================================
   プロフィールセクション
   ================================ */
.profile {
    background: var(--light-bg);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.profile-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-image-main {
    width: 100%;
}

.profile-image-sub {
    width: 100%;
}

.profile-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.profile-name {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.profile-role {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 30px;
}

.profile-info p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.profile-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.profile-link:hover {
    color: var(--secondary-color);
}

.profile-philosophy {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--secondary-color);
    margin-top: 20px;
}

.profile-philosophy h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.profile-philosophy p {
    margin: 0;
}

/* ================================
   サービスセクション
   ================================ */
.services {
    background: var(--white);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(44, 95, 141, 0.15);
    transform: translateY(-5px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-featured {
    border-color: var(--secondary-color);
    border-width: 3px;
    box-shadow: 0 10px 40px rgba(230, 126, 34, 0.2);
}

.service-card-featured::before {
    background: var(--gradient-accent);
}

.service-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.badge-featured {
    background: var(--secondary-color);
}

.service-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-period {
    font-size: 16px;
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.service-price {
    margin-bottom: 30px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: var(--secondary-color);
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 15px;
    border-bottom: 1px solid var(--gray-light);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 900;
    font-size: 18px;
}

.service-target {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service-target h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-target p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-medium);
}

.service-concept {
    text-align: center;
    font-size: 16px;
    color: var(--dark-color);
    padding-top: 20px;
    border-top: 2px solid var(--gray-light);
}

.service-concept strong {
    color: var(--secondary-color);
}

/* ================================
   比較表
   ================================ */
.comparison-table {
    background: var(--light-bg);
    padding: 50px;
    border-radius: 20px;
}

.comparison-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

thead {
    background: var(--gradient-primary);
    color: var(--white);
}

th {
    padding: 20px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
}

td {
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
    font-size: 14px;
}

tbody tr:hover {
    background: var(--light-bg);
}

.featured-row {
    background: rgba(230, 126, 34, 0.05);
}

.featured-row:hover {
    background: rgba(230, 126, 34, 0.1);
}

/* ================================
   お問い合わせセクション
   ================================ */
.contact {
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.counseling-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.counseling-steps li {
    display: flex;
    gap: 20px;
    align-items: start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 900;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.step-content p {
    font-size: 14px;
    color: var(--gray-medium);
    line-height: 1.6;
}

.contact-alternative {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.contact-alternative h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-alternative p {
    font-size: 14px;
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.instagram-icon {
    font-size: 20px;
}

/* ================================
   フォーム
   ================================ */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

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

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

.required {
    color: var(--secondary-color);
    font-size: 12px;
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 16px;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    font-size: 18px;
    padding: 20px;
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--gray-medium);
    margin-top: 15px;
}

/* ================================
   フッター
   ================================ */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo .logo-main {
    color: var(--white);
}

.footer-logo .logo-sub {
    color: var(--secondary-color);
}

.social-link {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

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

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

/* ================================
   レスポンシブデザイン
   ================================ */
@media (max-width: 1024px) {
    .story-content,
    .profile-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .story-image {
        position: static;
    }
    
    .service-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        transition: var(--transition-smooth);
        padding: 40px;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        padding: 30px 20px;
    }
    
    th, td {
        padding: 15px 10px;
        font-size: 12px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .btn {
        padding: 15px 30px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .story-quote {
        font-size: 24px;
    }
    
    .price-amount {
        font-size: 28px;
    }
}