/* ========================================
   基本設定
   ======================================== */
:root {
    --primary-color: #1a1a2e;
    --primary-dark: #0f0f1e;
    --secondary-color: #2d3250;
    --accent-color: #c9a962;
    --accent-light: #d4b87a;
    --accent-dark: #b8984e;
    --success-color: #6b8e23;
    --text-dark: #1a1a2e;
    --text-light: #5a5a6e;
    --text-muted: #8a8a9e;
    --bg-light: #fafaf8;
    --bg-white: #ffffff;
    --bg-cream: #f5f3ed;
    --border-color: #d4d0c8;
    --border-gold: #c9a962;
    --shadow-sm: 0 2px 4px 0 rgba(26, 26, 46, 0.08);
    --shadow-md: 0 4px 12px -2px rgba(26, 26, 46, 0.12);
    --shadow-lg: 0 12px 24px -4px rgba(26, 26, 46, 0.15);
    --shadow-xl: 0 24px 48px -8px rgba(26, 26, 46, 0.18);
}

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

body {
    font-family: 'Noto Serif JP', serif;
    color: var(--text-dark);
    line-height: 1.9;
    background-color: var(--bg-white);
    overflow-x: hidden;
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    font-size: 1.75rem;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

.nav-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: 
        linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(45, 50, 80, 0.92) 50%, rgba(26, 26, 46, 0.95) 100%),
        url('../images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    overflow: hidden;
    margin-top: 70px;
    border-bottom: 2px solid var(--accent-color);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 98, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 169, 98, 0.12) 0%, transparent 50%);
    z-index: 1;
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-subtitle {
    display: block;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 2rem;
    letter-spacing: 0.08em;
}

.highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.2em;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   ボタン
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    border: 1px solid var(--accent-dark);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(201, 169, 98, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

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

/* ========================================
   セクション共通スタイル
   ======================================== */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: 0.08em;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.section-description {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* ========================================
   問題提起セクション
   ======================================== */
.problems {
    background-color: var(--bg-cream);
    border-top: 1px solid var(--border-color);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.problem-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-gold);
}

.problem-icon i {
    font-size: 1.75rem;
    color: white;
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

.problem-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   特徴セクション
   ======================================== */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    position: relative;
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.feature-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid var(--accent-color);
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

.feature-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-list i {
    color: var(--success-color);
    font-size: 1.25rem;
}

/* ========================================
   対応業界セクション
   ======================================== */
.industries {
    background-color: var(--bg-cream);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.industry-item:hover i {
    color: var(--accent-color);
}

.industry-item span {
    font-weight: 600;
}

/* ========================================
   プロセスセクション
   ======================================== */
.process {
    background-color: white;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    position: relative;
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
}

.process-step-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--accent-color);
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--accent-color);
    letter-spacing: 0.1em;
}

.process-step-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-icon {
    width: 70px;
    height: 70px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.process-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.process-step h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-light);
    line-height: 1.8;
}

.process-time {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--accent-dark);
}

.process-arrow {
    text-align: center;
    padding: 1.5rem 0;
}

.process-arrow i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* ========================================
   実績セクション
   ======================================== */
.results {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    color: white;
    border-top: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.results .section-title {
    color: white;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.result-stat {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.result-stat:hover {
    background-color: rgba(201, 169, 98, 0.15);
    transform: translateY(-5px);
    border-color: var(--accent-light);
}

.result-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

.subsection-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar i {
    font-size: 1.75rem;
    color: white;
}

.testimonial-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--accent-color);
}

.testimonial-text {
    line-height: 1.8;
    color: var(--text-light);
}

/* ========================================
   FAQセクション
   ======================================== */
.faq {
    background-color: var(--bg-cream);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   CTAセクション
   ======================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    color: white;
    text-align: center;
    border-top: 2px solid var(--accent-color);
}

.cta-early {
    padding: 4rem 0;
    border-bottom: 2px solid var(--accent-color);
}

.cta-content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.cta-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-image img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--accent-color);
    object-fit: cover;
}

.cta-text {
    text-align: left;
}

.cta-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.cta-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-text .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-text .cta-contact-info {
    font-size: 1rem;
}



.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-contact-info {
    font-size: 1.125rem;
}

.cta-contact-info i {
    margin-right: 0.5rem;
}

/* ========================================
   お問い合わせフォーム
   ======================================== */
.contact-form {
    background-color: white;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.required {
    color: #ef4444;
    font-size: 0.875rem;
    margin-left: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.75rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-list i {
    color: var(--primary-color);
}

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

/* ========================================
   トップへ戻るボタン
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 0.5rem;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   追加の装飾要素
   ======================================== */
.header {
    border-bottom: 1px solid var(--border-color);
}

.problem-card,
.feature-card {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.problem-card:hover,
.feature-card:hover {
    border-left-color: var(--accent-color);
}

.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: var(--accent-color);
    opacity: 0.1;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1;
}

.process-step {
    border-left: 3px solid var(--accent-color);
    padding-left: 3rem;
}

section {
    padding: 6rem 0;
}

/* フォーム要素の高級感 */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

/* ヘッダーの改善 */
.logo {
    letter-spacing: 0.1em;
}

.nav a {
    letter-spacing: 0.05em;
}

/* ボタンの改善 */
.btn {
    letter-spacing: 0.08em;
}

/* 統計情報の改善 */
.stat-number {
    font-family: 'Cormorant Garamond', serif;
}

.result-number {
    font-family: 'Cormorant Garamond', serif;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .problems-grid,
    .features-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}