/* ===================================
   Portfolio Site - Main Stylesheet
   Author: SHUN HOSHINO
   =================================== */

/* ===================================
   目次
   ===================================
   1. リセット・基本設定
   2. 共通スタイル
   3. ヘッダー
   4. ヒーローセクション
   5. ニュースセクション
   6. アバウトセクション
   7. ワークスセクション
   8. サービスセクション
   9. プロセスセクション
   10. コンタクトセクション
   11. フッター
   12. アニメーション
   13. レスポンシブ対応
   =================================== */


/* ===================================
   1. リセット・基本設定
   =================================== */

body, h1, h2, h3, h4, p, ul, li {
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-style: normal;
}

html {
    font-size: 16px;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Noto Sans JP', sans-serif;
    color: #1f2937;
    background: linear-gradient(135deg, #e5f0ff 0%, #ffffff 50%, #f0f5ff 100%);
    position: relative;
    overflow-x: hidden;
    line-height: 1.5;
}

/* 背景アニメーション */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 70vmax;
    height: 70vmax;
    border-radius: 50%;
    background: #ffffff;
    animation: move 20s linear infinite;
    z-index: -1;
}

body::before {
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.05), rgba(30, 64, 175, 0.05));
    left: -50%;
    top: -50%;
}

body::after {
    background: linear-gradient(-45deg, rgba(37, 99, 235, 0.03), rgba(30, 64, 175, 0.03));
    right: -50%;
    bottom: -50%;
    animation-delay: -10s;
}

@keyframes move {
    0% {
        transform: rotate(0deg) translate(1%) rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) translate(2%) rotate(-180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) translate(1%) rotate(-360deg) scale(1);
    }
}


/* ===================================
   2. 共通スタイル
   =================================== */

.section-title {
    color: #1A365D;
    font-family: Inter, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
}

.section-title_underline {
    width: 40px;
    height: 3px;
    background: #1A365D;
}

.card {
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
}

.icon-circle {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(26, 54, 93, 0.10);
}

.icon-circle.large {
    width: 64px;
    height: 64px;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(26, 54, 93, 0.10);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(26, 54, 93, 0.20);
}


/* ===================================
   3. ヘッダー
   =================================== */

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header_pc,
.header_sp {
    display: flex;
    width: 80vw;
    margin: 0 auto;
    padding: 16px 24px;
    justify-content: space-between;
    align-items: center;
}

.header_sp {
    display: none;
}

/* ロゴ */
.header_logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header_logo_sh {
    color: #1A365D;
    font-family: Pacifico, cursive;
    font-size: 24px;
    line-height: 32px;
    text-decoration: none;
}

.header_logo_text {
    display: flex;
    margin-left: 16px;
    flex-direction: column;
}

.header_logo_text_name {
    color: #4B5563;
    font-size: 14px;
    line-height: 20px;
}

.header_logo_text_job {
    color: #6B7280;
    font-size: 12px;
    line-height: 16px;
}

/* ナビゲーション */
.header_nav {
    display: flex;
    gap: 31px;
}

.header_nav a {
    color: #374151;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header_nav a:hover {
    color: #1A365D;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1a365d;
    transition: width 0.3s ease;
}

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

/* ハンバーガーメニュー */
.header_hamburger {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.header_hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #374151;
    margin: 5px auto;
    transition: all 0.3s ease;
}

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

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

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

/* モバイルメニューオーバーレイ */
.mobile_menu_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile_menu_overlay.active {
    display: block;
    opacity: 1;
}

/* モバイルメニュー */
.mobile_menu {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 80px 0 20px;
    transition: right 0.3s ease;
}

.mobile_menu.active {
    right: 0;
}

.mobile_menu_nav {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.mobile_menu_nav a {
    color: #374151;
    font-size: 18px;
    line-height: 24px;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid #E5E7EB;
    transition: color 0.3s ease;
}

.mobile_menu_nav a:hover {
    color: #1A365D;
}


/* ===================================
   4. ヒーローセクション
   =================================== */

#hero {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    overflow: hidden;
}

/* 高度な背景エフェクト */
.advanced-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* 動的グリッド */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* 浮遊する技術的要素 */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    opacity: 0.7;
    animation: float linear infinite;
}

.shape-circle {
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 30px solid #f093fb;
    opacity: 0.5;
}

.shape-square {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    border-radius: 4px;
}

.shape-hexagon {
    width: 45px;
    height: 39px;
    background: linear-gradient(45deg, #a8edea, #fed6e3);
    position: relative;
    border-radius: 4px;
}

.shape-hexagon::before,
.shape-hexagon::after {
    content: '';
    position: absolute;
    width: 0;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
}

.shape-hexagon::before {
    bottom: 100%;
    border-bottom: 10px solid #a8edea;
}

.shape-hexagon::after {
    top: 100%;
    border-top: 10px solid #fed6e3;
}

/* 各要素の配置とアニメーション */
.floating-shape:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 12%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 28px;
    height: 28px;
    left: 78%;
    animation-duration: 12s;
    animation-delay: 3s;
}

.floating-shape:nth-child(3) {
    left: 65%;
    animation-duration: 18s;
    animation-delay: 6s;
}

.floating-shape:nth-child(4) {
    width: 35px;
    height: 35px;
    left: 25%;
    animation-duration: 14s;
    animation-delay: 2s;
}

.floating-shape:nth-child(5) {
    width: 25px;
    height: 25px;
    left: 88%;
    animation-duration: 20s;
    animation-delay: 8s;
}

.floating-shape:nth-child(6) {
    left: 42%;
    animation-duration: 16s;
    animation-delay: 4s;
}

.floating-shape:nth-child(7) {
    width: 32px;
    height: 32px;
    left: 58%;
    animation-duration: 13s;
    animation-delay: 7s;
}

.floating-shape:nth-child(8) {
    left: 35%;
    animation-duration: 17s;
    animation-delay: 1s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.3);
        opacity: 0;
    }
    15% {
        opacity: 0.7;
        transform: translateY(85vh) rotate(54deg) scale(1);
    }
    85% {
        opacity: 0.7;
        transform: translateY(15vh) rotate(306deg) scale(1);
    }
    100% {
        transform: translateY(-5vh) rotate(360deg) scale(0.3);
        opacity: 0;
    }
}

/* 波状エフェクト */
.wave-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, rgba(102, 126, 234, 0.02), transparent);
    clip-path: polygon(0 100%, 100% 100%, 100% 80%, 0 60%);
    animation: waveMove 8s ease-in-out infinite;
}

@keyframes waveMove {
    0%, 100% { clip-path: polygon(0 100%, 100% 100%, 100% 80%, 0 60%); }
    50% { clip-path: polygon(0 100%, 100% 100%, 100% 60%, 0 80%); }
}

/* パーティクルエフェクト */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #667eea;
    border-radius: 50%;
    animation: particle linear infinite;
}

.particle:nth-child(odd) {
    background: #764ba2;
}

.particle:nth-child(1) { left: 10%; animation-duration: 25s; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-duration: 30s; animation-delay: 5s; }
.particle:nth-child(3) { left: 30%; animation-duration: 35s; animation-delay: 10s; }
.particle:nth-child(4) { left: 40%; animation-duration: 28s; animation-delay: 15s; }
.particle:nth-child(5) { left: 50%; animation-duration: 32s; animation-delay: 20s; }
.particle:nth-child(6) { left: 60%; animation-duration: 27s; animation-delay: 25s; }
.particle:nth-child(7) { left: 70%; animation-duration: 33s; animation-delay: 30s; }
.particle:nth-child(8) { left: 80%; animation-duration: 29s; animation-delay: 35s; }
.particle:nth-child(9) { left: 90%; animation-duration: 31s; animation-delay: 40s; }

@keyframes particle {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh);
        opacity: 0;
    }
}

/* メインヒーローセクション */
.hero_container.hero_story_final {
    max-width: 740px;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 80px 20px;
}

.hero_story_content_final {
    text-align: left;
}

/* メイン見出し */
.hero_container.hero_story_final h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.highlight_text {
    color: #667eea;
    position: relative;
}

.highlight_text::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(102, 126, 234, 0.2);
    z-index: -1;
}

/* ストーリーテキスト */
.hero_story_text {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.hero_story_text p {
    font-size: 1.05rem;
    color: #4B5563;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.hero_story_text strong {
    color: #1F2937;
    font-weight: 600;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    .hero_container.hero_story_final {
        padding: 60px 20px;
    }
    
    .hero_container.hero_story_final h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
        line-height: 1.4;
    }
    
    .hero_story_text {
        margin-bottom: 2.5rem;
    }
    
    .hero_story_text p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero_story_text br {
        display: none;
    }
    
    .hero_profile_mini {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .profile_avatar {
        width: 100px;
        height: 100px;
    }
}


/* ===================================
   5. ニュースセクション
   =================================== */

#news {
    width: 80vw;
    margin: 0 auto;
}

.news_container {
    margin-top: 50px;
}

.news_item {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 16px 0;
    border-bottom: 1px solid #E5E7EB;
}

.news_date {
    color: #6B7280;
    font-size: 16px;
    line-height: 24px;
}

.news_category {
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(26, 54, 93, 0.10);
    color: #1A365D;
    font-size: 14px;
    line-height: 20px;
}

.news_description {
    flex: 1;
    font-size: 16px;
    line-height: 24px;
}

.news_button {
    text-align: center;
    margin-top: 50px;
}

.news_button a {
    display: inline-block;
    padding: 9px 25px;
    border-radius: 8px;
    border: 1px solid #1A365D;
    color: #1A365D;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news_button a:hover {
    background: #1A365D;
    color: #FFF;
}


/* ===================================
   6. アバウトセクション
   =================================== */

#about {
    width: 100vw;
    margin-top: 100px;
    padding: 80px 0;
}

.about_wrapper {
    width: 80vw;
    margin: 0 auto;
}

.about_container {
    max-width: 1232px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding-top: 48px;
    gap: 48px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about_profile,
.about_biography {
    flex: 1;
    max-width: 592px;
    min-width: 0;
}

/* プロフィールカード */
.about_profile_img img {
    width: 100%;
    border-radius: 16px 16px 0 0;
}

.about_profile_detail {
    padding: 24px;
}

.about_profile_title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about_profile_title h3 {
    color: #333;
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.about_profile_title p {
    color: #4B5563;
    font-size: 16px;
    line-height: 24px;
}

.about_profile_text {
    margin-top: 16px;
    font-size: 16px;
    line-height: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

/* 経歴 */
.about_biography {
    padding: 32px;
    height: auto;
    overflow-y: auto;
}

.about_biography h3 {
    color: #1F2937;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 24px;
}

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

.timeline-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #1a365d;
}

.timeline-item::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 22px;
    width: 2px;
    height: calc(100% + 10px);
    background-color: #e5e7eb;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-item h4 {
    color: #333;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}

.timeline-date {
    color: #4B5563;
    font-size: 16px;
    line-height: 24px;
}

.timeline-text {
    font-size: 16px;
    line-height: 24px;
    margin-top: 8px;
}

/* スキルカード */
.about_skills {
    flex-basis: 100%;
    max-width: 1232px;
    display: flex;
    gap: 32px;
    margin: 50px auto 0;
}

.skill-card {
    flex: 1;
    padding: 32px;
    background: #FFF;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
}

.skill-card h3 {
    color: #333;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.skill-subtitle {
    color: #6B7280;
    font-size: 16px;
    line-height: 24px;
    margin: 8px 0 24px;
}

.skill-image {
    margin: 24px 0;
}

.skill-image img {
    width: 128px;
    height: 94px;
    object-fit: contain;
}

.skill-text {
    font-size: 16px;
    line-height: 24px;
    text-align: left;
}


/* ===================================
   7. ワークスセクション
   =================================== */

#works {
    width: 80vw;
    margin: 150px auto 0;
}

.works_filter {
    margin-top: 50px;
    text-align: center;
}

.filter-btn {
    padding: 8px 20px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #1A365D;
}

.filter-btn.active {
    background: #1A365D;
    color: white;
    border-color: #1A365D;
}

.works_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 50px;
}

.works_project {
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.works_project.hidden {
    display: none;
}

.works_project:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.project-image-wrapper {
    position: relative;
}

.project-image-wrapper img {
    width: 100%;
    height: 192px;
    object-fit: cover;
}

.project-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.75);
    color: #FFF;
    font-size: 12px;
    line-height: 16px;
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    color: #1A365D;
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.project-tags {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.project-tags span {
    padding: 4px 8px;
    border-radius: 9999px;
    background: rgba(26, 54, 93, 0.10);
    color: #1A365D;
    font-size: 12px;
    line-height: 16px;
}

.project-description {
    margin-top: 12px;
    font-size: 14px;
    line-height: 24px;
    color: #4B5563;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.project-date {
    color: #6B7280;
    font-size: 14px;
    line-height: 20px;
}

/* 実績カードの詳細リンク */
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #1A365D;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #2C5282;
    gap: 8px;
}

.project-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.project-link:hover::after {
    transform: translateX(4px);
}


/* ===================================
   8. サービスセクション
   =================================== */

#service {
    width: 100vw;
    margin-top: 150px;
    padding: 80px 0;
}

.service_container {
    width: 80vw;
    margin: 0 auto;
}

.service_cards {
    display: flex;
    gap: 32px;
    max-width: 1232px;
    margin: 50px auto 0;
}

.service-card {
    flex: 1;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-card img {
    object-fit: cover;
    width: 100%;
    height: 300px;
}

.service-card-content {
    padding: 32px;
}

.service-card h3 {
    color: #333;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.service-card p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 24px;
}

.service-card a {
    display: none;
}

/* サービスシステム */
.service_system {
    max-width: 1232px;
    margin: 80px auto 0;
    padding: 64px 24px;
    background: rgba(26, 54, 93, 0.05);
}

.service_system h3 {
    color: #1F2937;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 32px;
}

.system-cards {
    display: flex;
    gap: 32px;
}

.system-card {
    flex: 1;
    padding: 24px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.system-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.system-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.system-card h4 {
    color: #333;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}

.system-card p {
    font-size: 16px;
    line-height: 24px;
}

.system-card:hover .icon-circle {
    transform: translateY(-5px);
    background: #1a365d;
    color: white;
}

.system-card:hover .icon-circle img {
    filter: brightness(0) invert(1);
}

/* サービススキル */
.service_skills {
    display: flex;
    gap: 32px;
    max-width: 1232px;
    margin: 64px auto 0;
}

.service-skill-card {
    flex: 1;
    padding: 32px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
    transition: all 0.3s ease;
}

.service-skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-skill-card h3 {
    color: #333;
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin: 24px 0 16px;
}

.service-skill-card:hover .icon-circle {
    transform: translateY(-5px);
    background: #1a365d;
    color: white;
}

.service-skill-card:hover .icon-circle img {
    filter: brightness(0) invert(1);
}

.skill-list {
    list-style: none;
    margin-bottom: 24px;
}

.skill-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 24px;
}

.skill-list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #1A365D;
    font-size: 12px;
}

.skill-tools {
    padding-top: 24px;
    border-top: 1px solid #F3F4F6;
}

.skill-tools h4 {
    color: #333;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 12px;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-tags span {
    padding: 4px 12px;
    border-radius: 9999px;
    background: #F3F4F6;
    font-size: 14px;
    line-height: 20px;
}

/* ===================================
   9. プライシング（料金）セクション  ← ★ここに追加
   =================================== */
#pricing {
    width: 100vw;
    margin-top: 150px;
    padding: 80px 0;
}

.pricing_container {
    width: 80vw;
    max-width: 1232px;
    margin: 0 auto;
}

.pricing_intro {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: #4B5563;
    margin-top: 32px;
    margin-bottom: 64px;
}

/* Pricing Cards */
.pricing_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.pricing_card {
    background: #FFF;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
    transition: all 0.3s ease;
    position: relative;
}

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

.pricing_card_featured {
    border: 3px solid #1A365D;
    transform: scale(1.05);
}

.pricing_card_featured:hover {
    transform: translateY(-8px) scale(1.05);
}

.pricing_badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1A365D;
    color: #FFF;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.pricing_card_header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing_icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 54, 93, 0.10);
    border-radius: 50%;
}

.pricing_icon img {
    width: 32px;
    height: 32px;
}

.pricing_card_header h3 {
    color: #1F2937;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.pricing_card_price {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 24px;
}

.price_amount {
    display: block;
    color: #1A365D;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.price_tax {
    display: block;
    color: #6B7280;
    font-size: 14px;
    margin-top: 4px;
}

.pricing_card_content h4 {
    color: #374151;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing_features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing_features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #4B5563;
}

.pricing_features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1A365D;
    font-weight: 700;
}

.pricing_meta {
    padding-top: 16px;
    border-top: 1px solid #F3F4F6;
}

.pricing_meta p {
    font-size: 14px;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 8px;
}

.pricing_meta strong {
    color: #374151;
}

.pricing_note {
    font-size: 14px;
    line-height: 1.8;
    color: #6B7280;
    text-align: center;
    margin-top: 24px;
}

/* Options */
.pricing_options {
    background: #FFF;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10);
}

.pricing_options h3 {
    color: #1F2937;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.options_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.option_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
}

.option_name {
    color: #374151;
    font-size: 15px;
}

.option_price {
    color: #1A365D;
    font-size: 16px;
    font-weight: 700;
}

/* Note Box */
.pricing_note_box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    color: #FFF;
}

.pricing_note_box h3 {
    color: #FFF;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.pricing_cta_text {
    font-size: 18px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 24px;
}

.btn-primary{
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    background: #FFF;
    color: #1A365D;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .pricing_cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pricing_card_featured {
        transform: scale(1);
    }
    
    .pricing_card_featured:hover {
        transform: translateY(-8px) scale(1);
    }
}

@media screen and (max-width: 767px) {
    .pricing_container {
        width: 90vw;
    }
    
    .pricing_card {
        padding: 32px 24px;
    }
    
    .options_grid {
        grid-template-columns: 1fr;
    }
    
    .pricing_note_box {
        padding: 32px 24px;
    }
}


/* ===================================
   9. プロセスセクション
   =================================== */

#process {
    width: 100vw;
    margin-top: 150px;
    padding: 80px 0;
}

.process_container {
    width: 80vw;
    max-width: 1232px;
    margin: 0 auto;
}

.process_intro {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: #4B5563;
    margin-top: 32px;
    margin-bottom: 64px;
}

/* プロセスステップ */
.process_steps {
    position: relative;
    max-width: 900px;
    margin: 0 auto 64px;
}

.process_steps::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 60px;
    width: 2px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    z-index: 0;
    /* 最後のステップ番号の中心で線が終わるように調整 */
    /* 235px = top(60px) + 最終ステップまでの余白 + step_numberの半分(40px) */
    height: calc(100% - 235px);  /* 最後のステップの高さを除外 */
}

.process_step {
    position: relative;
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    padding-left: 0;
}

.process_step:last-child {
    margin-bottom: 0;
}

.step_number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 1;
}

.step_content {
    flex: 1;
    background: #FFF;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
}

.step_content h3 {
    color: #1F2937;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step_description {
    font-size: 15px;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 16px;
}

.step_substeps {
    margin: 24px 0;
    padding: 24px;
    background: #F9FAFB;
    border-radius: 12px;
}

.substep {
    margin-bottom: 20px;
}

.substep:last-child {
    margin-bottom: 0;
}

.substep h4 {
    color: #1A365D;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.substep p {
    font-size: 14px;
    line-height: 1.6;
    color: #6B7280;
}

.step_meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
}

.step_duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6B7280;
    font-weight: 600;
}

.step_duration::before {
    content: '⏱';
    font-size: 16px;
}

/* セクションCTA */
.section-cta {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
}

.section-cta h3 {
    color: #1F2937;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-cta p {
    color: #4B5563;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
}


/* ===================================
   10. コンタクトセクション
   =================================== */

#contact {
    width: 100vw;
    padding: 80px 0;
}

.contact_container {
    width: 80vw;
    margin: 0 auto;
}

.contact_text {
    margin-top: 32px;
    font-size: 16px;
    line-height: 24px;
}

.contact_form_wrapper {
    display: flex;
    max-width: 896px;
    margin: 50px auto 0;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
    overflow: hidden;
}

/* コンタクト情報 */
.contact_info {
    flex: 0 0 358px;
    padding: 32px;
    background: #1A365D;
    color: white;
}

.contact_info h3 {
    color: #FFF;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-item h4 {
    color: #FFF;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.info-item p {
    color: #FFF;
    font-size: 16px;
    line-height: 24px;
}

.contact_sns {
    margin-top: 48px;
}

.contact_sns h4 {
    color: #FFF;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 16px;
}

.contact_sns .social-icon {
    background: rgba(255, 255, 255, 0.10);
}

.contact_sns .social-icon:hover {
    background: rgba(255, 255, 255, 0.20);
}

/* Contact Form 7 カスタムスタイル */
.contact_form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact_form h3 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 2rem;
    font-weight: 600;
}

.wpcf7 {
    margin: 0;
    width: 90%;
}

.wpcf7 p {
    margin: 0;
}

.wpcf7-form {
    margin: 0;
}

/* フォームグリッド */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.form-grid .form-group {
    margin-bottom: 0;
}

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

.form-group label {
    display: block;
    width: 90%;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d3748;
    font-size: 0.95rem;
}

.required {
    color: #e53e3e;
    font-weight: 600;
}

/* 入力フィールド */
.form-control,
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    font-family: inherit;
}

.form-control:focus,
.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wpcf7-form-control.wpcf7-textarea {
    resize: vertical;
    min-height: 120px;
}

/* 送信ボタン */
.form-button,
.wpcf7-form-control.wpcf7-submit {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 110%;
    margin-top: 1rem;
    font-family: inherit;
}

.form-button:hover,
.wpcf7-form-control.wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #5a6fd8, #6a42a0);
}

/* Contact Form 7 メッセージスタイル */
.wpcf7-response-output {
    border: none !important;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0 0 0 !important;
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    background: #f0fff4;
    color: #22543d;
    border: 2px solid #9ae6b4 !important;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
    background: #fff5f5;
    color: #742a2a;
    border: 2px solid #fc8181 !important;
}

.wpcf7-spam-blocked {
    background: #fffbeb;
    color: #744210;
    border: 2px solid #f6e05e !important;
}

.wpcf7-validation-errors {
    background: #fff5f5;
    color: #742a2a;
    border: 2px solid #fc8181 !important;
}

.wpcf7-not-valid {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
}

.wpcf7-not-valid-tip {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.wpcf7-spinner {
    margin-left: 10px;
}


/* ===================================
   11. フッター
   =================================== */

footer {
    width: 100vw;
    background: #111827;
    color: white;
}

.footer_container {
    width: 80%;
    margin: 0 auto;
    padding: 50px 0;
}

.footer_content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.footer_logo a {
    color: #FFF;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}

.footer_logo p {
    color: #9CA3AF;
    font-size: 14px;
    line-height: 20px;
    margin-top: 8px;
}

.footer_nav {
    display: flex;
    gap: 48px;
}

.footer_nav_section h4 {
    color: #FFF;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 16px;
}

.footer_nav_section ul {
    list-style: none;
}

.footer_nav_section li {
    margin-bottom: 10px;
}

.footer_nav_section a {
    color: #9CA3AF;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer_nav_section a:hover {
    color: #FFF;
}

.footer_sns {
    display: flex;
    gap: 12px;
}

.footer_sns .social-icon {
    background: rgba(255, 255, 255, 0.10);
}

.footer_sns .social-icon:hover {
    background: rgba(255, 255, 255, 0.20);
}

.footer_copy {
    padding-top: 25px;
    border-top: 1px solid #1F2937;
    text-align: center;
}

.footer_copy p {
    color: #6B7280;
    font-size: 14px;
    line-height: 20px;
}


/* ===================================
   12. アニメーション
   =================================== */

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* スクロールアニメーション用クラス */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-fadeIn {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-on-scroll.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-on-scroll.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-on-scroll.animate-slideInRight {
    animation: slideInRight 0.8s ease-out forwards;
}

/* 遅延アニメーション */
.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

/* スクロールダウンアニメーション */
.scroll-down {
    animation: bounce 2s infinite;
}

/* ローディングアニメーション */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #1a365d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}


/* ===================================
   13. レスポンシブ対応
   =================================== */

@media screen and (max-width: 768px) {
    /* ヒーローセクション */
    .hero_container h1 {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero_container .subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
        margin-bottom: 3rem;
    }
    
    #hero {
        padding: 1rem;
    }
    
    /* プロセスセクション */
    .process_container {
        width: 90vw;
    }
    
    .process_steps::before {
        left: 30px;
    }
    
    .process_step {
        flex-direction: column;
        gap: 16px;
    }
    
    .step_number {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .step_content {
        padding: 24px;
    }
    
    .section-cta {
        padding: 32px 24px;
    }
    
    /* Contact Form */
    .contact_form {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact_form h3 {
        font-size: 1.5rem;
    }
    
    .form-button,
    .wpcf7-form-control.wpcf7-submit {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero_container h1 {
        font-size: 2.2rem;
    }
    
    .hero_container .subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .contact_form {
        padding: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-control,
    .wpcf7-form-control.wpcf7-text,
    .wpcf7-form-control.wpcf7-email,
    .wpcf7-form-control.wpcf7-textarea {
        padding: 0.625rem 0.875rem;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 767px) {
    /* ヘッダー */
    .header_pc {
        display: none;
    }
    
    .header_sp {
        display: flex;
        position: relative;
    }
    
    .header_hamburger {
        display: block;
    }
    
    .mobile_menu {
        display: block;
    }
    
    /* ヒーローセクション */
    #hero {
        width: 90vw;
        padding-top: 100px;
    }
    
    /* ニュースセクション */
    #news {
        width: 90vw;
        margin: 80px auto 0;
    }
    
    .news_item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    /* アバウトセクション */
    .about_wrapper {
        width: 90vw;
    }
    
    .about_container {
        flex-direction: column;
        gap: 24px;
    }
    
    .about_skills {
        flex-direction: column;
        gap: 24px;
    }
    
    .skill-card {
        padding: 24px;
    }
    
    /* ワークスセクション */
    #works {
        width: 90vw;
    }
    
    .works_grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .works_filter {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 16px;
        font-size: 14px;
    }
    
    /* サービスセクション */
    .service_container {
        width: 90vw;
    }
    
    .service_cards {
        flex-direction: column;
        gap: 24px;
    }
    
    .system-cards {
        flex-direction: column;
        gap: 24px;
    }
    
    .service_skills {
        flex-direction: column;
        gap: 24px;
    }
    
    .service-skill-card {
        padding: 24px;
    }
    
    /* コンタクトセクション */
    .contact_container {
        width: 90vw;
    }
    
    .contact_form_wrapper {
        flex-direction: column;
    }
    
    .contact_info {
        flex: none;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    /* フッター */
    .footer_container {
        width: 90%;
    }
    
    .footer_content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer_nav {
        flex-direction: column;
        gap: 24px;
    }
    
    /* セクションタイトル */
    .section-title {
        font-size: 24px;
        line-height: 32px;
    }
    
    /* テキストサイズ調整 */
    .article_text,
    .skill-text,
    .timeline-text,
    .contact_text {
        font-size: 14px;
        line-height: 1.6;
    }
}


/* ===================================
   14. ユーティリティクラス
   =================================== */

/* エラー状態 */
input.error,
textarea.error {
    border-color: #EF4444;
}

/* 非表示 */
.hidden {
    display: none;
}

/* パララックス効果 */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}


/* ===================================
   終了 - 整理されたstyle.css
   編集時の注意:
   - 各セクションは番号で管理されています
   - 新しいスタイルを追加する際は適切なセクションに配置してください
   - メディアクエリは13番のレスポンシブ対応セクションに統一されています
   =================================== */