/*
Theme Name: Fuyuma Portfolio Minimal
Description: ミニマル・モダンポートフォリオデザイン
Version: 3.0.0
Author: Fuyuma Fukukawa
*/

/* ========================================
   変数定義
======================================== */
:root {
    /* カラーパレット */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    
    --bg-white: #ffffff;
    --bg-gray: #f9fafb;
    --bg-light: #f3f4f6;
    
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    
    /* タイポグラフィ */
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', sans-serif;
    
    /* シャドウ */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ========================================
   リセット
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.loaded {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: 100px 0;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-list a {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 500;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--text-dark);
}

.nav-list a:hover::after {
    width: 100%;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   ヒーロー（グラデーションメッシュ版）
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
    background: #1a1a2e;
}

/* グラデーションメッシュ背景 */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
    radial-gradient(circle at 20% 50%, rgba(173, 216, 230, 0.7) 0%, transparent 50%),    /* ライトブルー */
    radial-gradient(circle at 80% 30%, rgba(255, 182, 193, 0.7) 0%, transparent 50%),    /* ライトピンク */
    radial-gradient(circle at 40% 80%, rgba(221, 160, 221, 0.6) 0%, transparent 50%),    /* プラム */
    radial-gradient(circle at 90% 70%, rgba(255, 218, 185, 0.6) 0%, transparent 50%),    /* ピーチパフ */
    radial-gradient(circle at 10% 20%, rgba(176, 224, 230, 0.6) 0%, transparent 50%),    /* パウダーブルー */
    radial-gradient(circle at 60% 60%, rgba(255, 240, 245, 0.5) 0%, transparent 50%);    /* ラベンダーブラッシュ */
    filter: blur(80px);
    opacity: 0.9;
    animation: meshMove 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%
    );
    pointer-events: none;
    z-index: 1;
}

/* グラデーションアニメーション */
@keyframes meshMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(-5deg);
    }
}

/* コンテンツ */
.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
}

.hero h2 {
    font-size: 4.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 0.2s backwards;
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(15px);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .scroll-indicator {
        bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}
@media (max-width: 768px) {
    .hero::before {
        filter: blur(60px);  /* ぼかしを少なく */
    }
    
    .hero::after {
        display: none;  /* マウスエフェクトは無効 */
    }
}


/* ========================================
   セクションタイトル
======================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 60px;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* ========================================
   News
======================================== */
#news {
    background: var(--bg-gray);
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-list li {
    background: var(--bg-white);
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.news-list li.inview {
    opacity: 1;
    transform: translateY(0);
}

.news-list li:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.news-item-link {
    display: grid;
    grid-template-columns: 100px 80px 1fr;
    gap: 20px;
    padding: 20px 24px;
    align-items: center;
}

.news-list .date {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.news-list .category {
    background: var(--bg-light);
    color: var(--text-gray);
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
}

.news-list .title {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* ========================================
   About
======================================== */
#about {
    background: var(--bg-white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.about-img img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-gray);
}

.skills {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills span {
    padding: 8px 16px;
    background: var(--bg-gray);
    color: var(--text-gray);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.skills span:hover {
    background: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ========================================
   Works
======================================== */
#works {
    background: var(--bg-gray);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-item {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.work-item.inview {
    opacity: 1;
    transform: translateY(0);
}

.work-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.work-item a img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-item:hover a img {
    transform: scale(1.03);
}

.work-info {
    padding: 20px;
}

.work-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.work-info p {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========================================
   Contact
======================================== */
#contact {
    background: var(--bg-white);
}

.contact-description {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 5px;
}

.wpcf7 {
    background: var(--bg-white);
}

.form-row {
    margin-bottom: 24px;
}

.form-row label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.required {
    color: #ef4444;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-white);
    transition: all 0.3s ease;
}

.wpcf7-form-control.wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.wpcf7-form-control.wpcf7-submit,
.btn-site {
    padding: 14px 40px;
    font-size: 0.95rem;
    background: var(--primary);
    color: var(--bg-white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
}

.wpcf7-form-control.wpcf7-submit:hover,
.btn-site:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 4px;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--bg-gray);
    border-top: 1px solid var(--border);
    padding: 50px 0;
    text-align: center;
}

.footer p {
    font-size: 0.875rem;
    color: var(--text-gray);
}

/* ========================================
   詳細ページ共通
======================================== */
.breadcrumb {
    padding: 100px 0 30px;
    font-size: 0.875rem;
    color: var(--text-light);
    background: var(--bg-white);
}

.breadcrumb a {
    color: var(--text-gray);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 8px;
}

/* News詳細 */
.single-news-page {
    padding-top: 70px;
    background: var(--bg-white);
}

.news-detail {
    padding: 50px 0 80px;
}

.news-detail-content {
    max-width: 720px;
    margin: 0 auto;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.news-meta time {
    font-size: 0.875rem;
    color: var(--text-light);
}

.news-meta .category {
    background: var(--bg-gray);
    color: var(--text-gray);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.4;
}

.news-thumbnail {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.news-thumbnail img {
    width: 100%;
}

.news-body {
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-gray);
}

.news-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.news-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 30px 0 15px;
}

.news-body p {
    margin-bottom: 20px;
}

.news-body img {
    margin: 30px 0;
    border-radius: 8px;
}

.news-body ul,
.news-body ol {
    margin: 20px 0;
    padding-left: 25px;
}

.news-body li {
    margin-bottom: 8px;
}

/* Works詳細 */
.single-work-page {
    padding-top: 70px;
    background: var(--bg-white);
}

.work-detail {
    padding: 50px 0 80px;
}

.work-hero {
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.work-hero img {
    width: 100%;
}

.work-detail-content {
    max-width: 720px;
    margin: 0 auto;
}

.work-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.work-excerpt {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-gray);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
}

.work-meta {
    display: grid;
    gap: 16px;
    margin: 30px 0;
    padding: 24px;
    background: var(--bg-gray);
    border-radius: 8px;
}

.meta-item {
    display: flex;
    gap: 16px;
}

.meta-label {
    font-weight: 600;
    min-width: 100px;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.meta-value {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.work-link {
    text-align: center;
    margin: 30px 0;
}

.work-body {
    line-height: 1.8;
    margin: 40px 0;
    color: var(--text-gray);
}

.work-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.work-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 30px 0 15px;
}

.work-body p {
    margin-bottom: 20px;
}

.work-body img {
    margin: 30px auto;
    border-radius: 8px;
}

/* ナビゲーション */
.news-navigation,
.work-navigation {
    margin: 50px 0 30px;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nav-prev,
.nav-next {
    padding: 20px;
    background: var(--bg-gray);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-prev:hover,
.nav-next:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.nav-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.nav-title {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.back-to-list,
.back-to-works {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.btn-back {
    display: inline-block;
    padding: 10px 24px;
    color: var(--text-gray);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

/* ========================================
   InView アニメーション
======================================== */
.work-item,
.news-list li,
.about-wrapper,
.section-title,
.contact-form-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.work-item.inview,
.news-list li.inview,
.about-wrapper.inview,
.section-title.inview,
.contact-form-wrapper.inview {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-white);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        font-size: 1.125rem;
    }
    
    .hero {
        min-height: 70vh;
        padding-top: 70px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .news-item-link {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* ========================================
   Serviceセクション
======================================== */
#service {
    background: var(--bg-white);
}

.service-description {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* サービスグリッド */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

/* サービスアイテム */
.service-item {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-item.inview {
    opacity: 1;
    transform: translateY(0);
}

.service-item:nth-child(1) { transition-delay: 0.1s; }
.service-item:nth-child(2) { transition-delay: 0.2s; }

.service-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* サービスアイコン */
.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--bg-white);
}

/* サービスタイトル */
.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

/* サービステキスト */
.service-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* サービス特徴リスト */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 0.875rem;
    color: var(--text-gray);
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ========================================
   料金表ダウンロード
======================================== */
.price-download {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, var(--bg-gray), var(--bg-light));
    border-radius: 16px;
    border: 1px solid var(--border);
}

.price-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.price-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* ダウンロードボタン */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-download svg {
    transition: transform 0.3s ease;
}

.btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-download:hover svg {
    transform: translateY(2px);
    animation: bounce 0.6s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .service-item {
        padding: 30px 24px;
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .price-download {
        padding: 40px 24px;
    }
    
    .price-title {
        font-size: 1.5rem;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-description {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .service-item {
        padding: 24px 20px;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
    }
    
    .service-title {
        font-size: 1.15rem;
    }
    
    .service-text {
        font-size: 0.9rem;
    }
    
    .service-features li {
        font-size: 0.8rem;
        padding-left: 24px;
    }
    
    .price-download {
        padding: 30px 20px;
    }
}

.service-item {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: none;
}

/* ========================================
   サイトリンクボタン（外部リンクアイコン付き）
======================================== */
.btn-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    background: var(--primary);
    color: var(--bg-white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: var(--shadow-md);
}

.btn-site svg {
    transition: transform 0.3s ease;
}

.btn-site:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-site:hover svg {
    transform: translate(2px, -2px);
}

/* 外部リンクであることを明示 */
.btn-site::after {
    content: '';
    display: none;
}

.btn-site {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-site::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-site:hover::before {
    width: 300px;
    height: 300px;
}

.btn-site:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
}
