/**
 * GluePaL テーマのカスタムCSS
 */

/* 基本スタイル */
:root {
    --primary-color: #2c5e1a;
    --secondary-color: #86b049;
    --accent-color: #e3f1d4;
    --text-color: #333;
    --background-color: #f8f9f5;
}

html, body {
    overflow-x: hidden; /* 横スクロールを防止 */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit; /* すべての要素にbox-sizingを継承 */
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* ヘッダー */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    box-sizing: border-box;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 5px rgba(255, 255, 255, 0.7);
}

.site-description {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: #666;
}

/* ナビゲーション */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.main-navigation li {
    margin-left: 2rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.main-navigation a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
}

/* ハンバーガーメニューアイコン */
.menu-toggle-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle-icon:before,
.menu-toggle-icon:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.menu-toggle-icon:before {
    top: -8px;
}

.menu-toggle-icon:after {
    bottom: -8px;
}

.toggled .menu-toggle-icon {
    background-color: transparent;
}

.toggled .menu-toggle-icon:before {
    top: 0;
    transform: rotate(45deg);
}

.toggled .menu-toggle-icon:after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* コンテンツエリア */
.content-area {
    padding: 3rem 0;
}

.page-title {
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: var(--primary-color);
}

.entry-title {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.entry-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.entry-meta {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.entry-meta a {
    color: #666;
    text-decoration: none;
}

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

.post-thumbnail {
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.entry-content {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2 {
    margin: 2rem 0 1rem;
    font-size: 1.6rem;
    color: var(--primary-color);
}

.entry-content h3 {
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.entry-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    color: #666;
}

.entry-footer a {
    color: #666;
    text-decoration: none;
}

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

.cat-links, .tags-links, .comments-link, .edit-link {
    display: block;
    margin-bottom: 0.5rem;
}

.read-more-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white !important;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.read-more-link:hover {
    background-color: var(--secondary-color);
    color: white !important;
}

/* Works（実績）スタイル */
.work-item {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.work-thumbnail {
    margin-bottom: 1.5rem;
}

.work-featured-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.work-categories {
    margin-bottom: 1rem;
}

.cat-label {
    font-weight: 600;
    margin-right: 0.5rem;
}

/* アーカイブページ */
.archive-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* サイドバー */
.widget-area {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.widget a {
    color: var(--text-color);
    text-decoration: none;
}

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

/* フッター */
.site-footer {
    padding: 3rem 0;
    background-color: var(--dark-color);
    color: var(--light-color);
}

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

.footer-widget-area .widget-title {
    color: var(--light-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.footer-widget-area .widget a {
    color: var(--light-color);
}

.footer-widget-area .widget a:hover {
    color: #fff;
}

.footer-menu {
    margin-bottom: 2rem;
}

.footer-menu ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: var(--light-color);
    text-decoration: none;
}

.footer-menu a:hover {
    color: #fff;
}

.site-info {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .site-header {
        padding: 1rem;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1rem;
        z-index: 1000;
    }
    
    .main-navigation {
        width: 100%;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .main-navigation.toggled ul {
        display: flex;
    }
    
    .main-navigation li {
        margin-left: 0;
        margin-bottom: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .main-navigation a {
        display: block;
        padding: 0.5rem 0;
    }
    
    /* グリッドレイアウトの調整 */
    .archive-posts,
    .features-grid,
    .works-grid,
    .posts-grid,
    .footer-widgets,
    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    /* フレックスボックスの調整 */
    .blog-post-inner,
    .hero-buttons,
    .footer-menu ul {
        flex-direction: column;
    }
    
    /* 余白の調整 */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 1.5rem;
        max-width: 90%;
    }
    
    /* 画像のサイズ調整 */
    .forest-element {
        max-width: 80%;
    }
    
    /* テーブルのレスポンシブ対応 */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
    }
}

/* 小さいモバイル画面用 */
@media (max-width: 480px) {
    .site-header {
        padding: 0.8rem;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-item,
    .work-card,
    .post-card {
        padding: 1rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* 画像の調整 */
    .greeting-image,
    .representative-additional-image {
        margin: 1rem 0;
    }
}

/* ブログページスタイル */
.blog-posts {
    margin-bottom: 3rem;
}

.blog-post-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-post-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.blog-post-thumbnail {
    flex: 0 0 300px;
}

.blog-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.blog-post-item:hover .blog-thumbnail {
    transform: scale(1.03);
}

.blog-post-content {
    flex: 1;
    min-width: 300px;
}

.blog-post-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-post-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: var(--primary-color);
}

.blog-post-meta {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.blog-post-date {
    margin-right: 1rem;
}

.blog-post-categories a {
    color: #666;
    text-decoration: none;
}

.blog-post-categories a:hover {
    color: var(--primary-color);
}

.blog-post-excerpt {
    line-height: 1.6;
}

.pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border: 1px solid #ddd;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .page-numbers:hover:not(.current) {
    background-color: #f5f5f5;
}

@media (max-width: 768px) {
    .blog-post-inner {
        flex-direction: column;
        gap: 1rem;
    }
    
    .blog-post-thumbnail {
        flex: 0 0 100%;
    }
}

/* 検索フォーム */
.search-form {
    display: flex;
    margin-bottom: 2rem;
}

.search-field {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background-color: var(--secondary-color);
}

.search-icon {
    display: block;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

/* セクションタイトル */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

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

/* ヒーロースライドショー */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    visibility: hidden;
}

.hero-background.active {
    opacity: 1;
    visibility: visible;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 8px rgba(255, 255, 255, 0.8);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* フォレスト要素 */
.forest-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.forest-element {
    position: fixed;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.forest-element.visible {
    opacity: 0.7;
}

.leaves-left {
    top: 70vh;
    left: -10px;
}

.leaves-right {
    top: 60vh;
    right: -100px;
}

.branch-top {
    top: 0;
    right: 20%;
}

.branch-bottom {
    bottom: 0;
    left: 15%;
}

.plant-left {
    left: -180px;
    bottom: 0;
}

.plant-right {
    right: -180px;
    bottom: 0;
}

/* 特徴セクション */
.features-section {
    padding: 5rem 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background-color: var(--background-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-description {
    line-height: 1.6;
}

/* 実績セクション */
.recent-works-section {
    padding: 5rem 0;
    background-color: var(--background-color);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.work-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.work-card-image {
    height: 200px;
    overflow: hidden;
}

.work-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-card:hover .work-thumbnail {
    transform: scale(1.05);
}

.work-card-content {
    padding: 1.5rem;
}

.work-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.work-card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.work-card-title a:hover {
    color: var(--secondary-color);
}

.work-card-excerpt {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}

.read-more-link:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

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

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

.view-all-link {
    text-align: center;
    margin-top: 3rem;
}

/* 投稿セクション */
.recent-posts-section {
    padding: 5rem 0;
    background-color: white;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.post-card {
    background-color: var(--background-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.post-card-image {
    height: 200px;
    overflow: hidden;
}

.post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail {
    transform: scale(1.05);
}

.post-card-content {
    padding: 1.5rem;
}

.post-meta {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.post-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.post-card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: var(--secondary-color);
}

.post-card-excerpt {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* お問い合わせセクション */
.contact-section {
    padding: 5rem 0;
    background-color: var(--accent-color);
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* フッター */
.site-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

.site-info {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

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

.fade-in {
    animation: fadeIn 1s ease forwards;
}

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

.bounce {
    animation: bounce 2s infinite;
}

/* ボタンスタイルのread-more-linkクラス */
.btn.read-more-link {
    color: white !important;
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 3px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn.read-more-link:hover {
    background-color: var(--secondary-color);
    color: white !important;
}

/* テキストリンクスタイルのread-more-link */
.text-link.read-more-link {
    background: none;
    padding: 0;
    color: var(--primary-color);
}

.text-link.read-more-link:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.text-link.read-more-link:hover {
    color: var(--secondary-color);
}

.text-link.read-more-link:hover:after {
    width: 100%;
}

/* スクロールアニメーション用のスタイル */
.animate-on-scroll {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.from-left {
    transform: translateX(-100px) scale(0.8);
}

.animate-on-scroll.from-right {
    transform: translateX(100px) scale(0.8);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* 特徴セクションのアニメーション */
.features-grid .feature-item {
    transition: all 0.5s ease;
}

.features-grid .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 実績カードのアニメーション */
.work-card {
    transition: all 0.5s ease;
    overflow: hidden;
}

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

.work-card-image {
    overflow: hidden;
}

.work-thumbnail {
    transition: transform 0.5s ease;
}

.work-card:hover .work-thumbnail {
    transform: scale(1.1);
}

/* 投稿カードのアニメーション */
.post-card {
    transition: all 0.5s ease;
    overflow: hidden;
}

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

.post-card-image {
    overflow: hidden;
}

.post-thumbnail {
    transition: transform 0.5s ease;
}

.post-card:hover .post-thumbnail {
    transform: scale(1.1);
} 