/**
 * フロントページ用のカスタムCSS
 */

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
}

.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;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.scroll-indicator p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    color: var(--primary-color);
}

/* ビジョンセクション */
.vision-section {
    padding: 5rem 0;
    background-color: white;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.vision-text {
    line-height: 1.8;
}

.vision-text p {
    margin-bottom: 1.5rem;
}

.vision-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.vision-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.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: white;
    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-icon .dashicons {
    font-size: 2.5rem;
    width: auto;
    height: auto;
    color: var(--primary-color);
}

.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: white;
}

.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: 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;
}

.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: var(--background-color);
}

.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: 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;
}

.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;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .vision-content {
        grid-template-columns: 1fr;
    }
    
    .vision-image {
        order: -1;
    }
    
    .features-grid,
    .works-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
} 