/* ===================================
   グローバル設定とリセット
=================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 80px;
}

:root {
    /* カラーパレット */
    --primary-color: #1a3a5c;
    --secondary-color: #2c5f8d;
    --accent-color: #c9a961;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #0f1419;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* タイポグラフィ */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* トランジション */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
}

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

/* ===================================
   ボタンスタイル
=================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-hero {
    padding: 20px 40px;
    font-size: 18px;
}

.btn-large {
    padding: 24px 48px;
    font-size: 20px;
    font-weight: 700;
}

/* ===================================
   セクション共通スタイル
=================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-top: var(--spacing-md);
}

/* ===================================
   ヒーローセクション
=================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f1419 0%, #1a3a5c 50%, #2c5f8d 100%);
    color: var(--text-white);
    text-align: center;
    padding: var(--spacing-lg) 20px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(44, 95, 141, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.hero-badge i {
    color: var(--accent-color);
    font-size: 16px;
}

.hero-title {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.hero-target {
    font-size: clamp(14px, 2.5vw, 18px);
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

.sp-break {
    display: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================
   サービスセクション
=================================== */
.services-section {
    padding: var(--spacing-xl) 20px;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(26, 58, 92, 0.05);
    font-family: var(--font-display);
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.service-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.service-benefits {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.service-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.6;
}

.service-benefits i {
    color: var(--accent-color);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.service-price {
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.05), rgba(44, 95, 141, 0.05));
    padding: var(--spacing-md);
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

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

.price-main span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
}

.price-period {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 8px;
}

.price-option,
.price-note {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

/* ===================================
   実績セクション
=================================== */
.achievements-section {
    padding: var(--spacing-xl) 20px;
    background: var(--bg-white);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.achievement-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    border-radius: 16px;
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.achievement-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.achievement-number {
    font-size: 36px;
    font-weight: 900;
    font-family: var(--font-display);
    margin-bottom: 8px;
    line-height: 1.2;
}

.achievement-number::after {
    content: '';
    font-size: 20px;
    font-weight: 600;
    margin-left: 4px;
}

.achievement-card:nth-child(3) .achievement-number::after {
    content: '';
}

.achievement-number-text {
    font-size: 42px;
    font-weight: 900;
    font-family: var(--font-display);
    margin-bottom: 8px;
    line-height: 1.2;
    word-break: keep-all;
    white-space: nowrap;
}

.achievement-number-text::after {
    content: '';
}

@media (max-width: 768px) {
    .achievement-number-text {
        font-size: 36px;
    }
}

.achievement-card:nth-child(3) .achievement-number::after {
    content: '';
    font-size: 16px;
}

.achievement-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.achievement-note {
    font-size: 14px;
    opacity: 0.85;
}

.highlights-section {
    background: var(--bg-light);
    border-radius: 16px;
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.highlights-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
}

@media (min-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.highlight-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.highlight-item i {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.highlight-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.highlight-item p {
    font-size: 14px;
    color: var(--text-light);
}

.app-links {
    text-align: center;
    margin: var(--spacing-md) 0;
}

.app-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #000000, #333333);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.app-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #333333, #000000);
}

.app-link-btn i {
    font-size: 24px;
}

.app-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

.app-item:hover .app-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.app-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.app-link:hover {
    transform: translateY(-8px);
}

/* ===================================
   メッセージセクション
=================================== */
.message-section {
    padding: var(--spacing-xl) 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.message-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.message-icon {
    font-size: 48px;
    color: var(--accent-color);
    opacity: 0.2;
    margin-bottom: var(--spacing-sm);
}

.message-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.message-text {
    font-size: 18px;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
}

.message-text p {
    margin-bottom: var(--spacing-md);
}

.message-signature {
    text-align: center;
    margin-top: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.signature-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-md);
}

.signature-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.signature-line {
    width: 200px;
    height: 2px;
    background: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.signature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ===================================
   コンタクトセクション
=================================== */
.contact-section {
    padding: var(--spacing-xl) 20px;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.contact-line {
    border-color: #06c755;
}

.contact-line:hover {
    background: linear-gradient(135deg, #06c755, #00b14f);
    color: var(--text-white);
}

.contact-email {
    border-color: var(--secondary-color);
}

.contact-email:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
}

.contact-x {
    border-color: #000000;
}

.contact-x:hover {
    background: linear-gradient(135deg, #000000, #333333);
    color: var(--text-white);
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto var(--spacing-md);
    transition: var(--transition);
}

.contact-line .contact-icon {
    background: rgba(6, 199, 85, 0.1);
    color: #06c755;
}

.contact-email .contact-icon {
    background: rgba(44, 95, 141, 0.1);
    color: var(--secondary-color);
}

.contact-x .contact-icon {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
}

.contact-card:hover .contact-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.contact-icon-image {
    background: transparent !important;
    padding: 0;
    overflow: hidden;
}

.contact-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.contact-x:hover .contact-icon-image {
    border: 3px solid var(--text-white);
}

.contact-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.contact-card p {
    font-size: 14px;
    margin-bottom: var(--spacing-md);
    opacity: 0.8;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
}

.contact-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ===================================
   法的情報セクション
=================================== */
.legal-section {
    padding: var(--spacing-xl) 20px;
    background: var(--bg-light);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.legal-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.legal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-title i {
    font-size: 28px;
    color: var(--accent-color);
}

.legal-content {
    font-size: 15px;
    line-height: 1.8;
}

.payment-method {
    margin-bottom: var(--spacing-md);
}

.payment-method h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
}

.payment-table,
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-sm);
}

.payment-table th,
.payment-table td,
.legal-table th,
.legal-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.payment-table th,
.legal-table th {
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(26, 58, 92, 0.05);
    width: 35%;
}

.payment-table td,
.legal-table td {
    color: var(--text-dark);
}

.payment-list {
    list-style: none;
    margin-bottom: var(--spacing-sm);
}

.payment-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.payment-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.payment-note {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    margin-top: 8px;
}

.legal-disclaimer {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), rgba(201, 169, 97, 0.05));
    border-left: 4px solid var(--accent-color);
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
    border-radius: 8px;
}

.legal-disclaimer p {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-disclaimer i {
    color: var(--accent-color);
    font-size: 20px;
}

/* ===================================
   フッター
=================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: var(--spacing-lg) 20px var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-copyright {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    font-size: 14px;
    opacity: 0.6;
}

/* ===================================
   レスポンシブデザイン
=================================== */
@media (max-width: 768px) {
    .sp-break {
        display: inline;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-target {
        font-size: 14px;
    }

    .services-grid,
    .achievements-grid,
    .highlights-grid,
    .contact-grid,
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .btn-hero {
        padding: 16px 32px;
        font-size: 16px;
    }

    .btn-large {
        padding: 18px 36px;
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .service-title {
        font-size: 20px;
    }

    .achievement-number {
        font-size: 28px;
    }

    .message-title {
        font-size: 24px;
    }

    .message-text {
        font-size: 16px;
        line-height: 1.8;
    }

    .signature-name {
        font-size: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .payment-table th,
    .legal-table th {
        width: 40%;
        font-size: 13px;
    }

    .payment-table td,
    .legal-table td {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .service-card,
    .message-content,
    .legal-card {
        padding: var(--spacing-md);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-btn {
        font-size: 14px;
    }
}

/* ===================================
   アニメーション
=================================== */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .achievement-card,
    .highlight-item,
    .contact-card {
        animation: fadeIn 0.6s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ===================================
   印刷スタイル
=================================== */
@media print {
    .hero-section,
    .scroll-indicator,
    .btn,
    .contact-section,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .section-title {
        color: #000;
    }
}
