/*
Theme Name: Classy
Author: KieTo.Co
Description: 企業サイト向けのモダンで洗練されたWordPressテーマ。ビジネスに最適なデザインを提供します。
Version: 1.0.1
License: GNU General Public License v2 or later
Text Domain: classy
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.75rem 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
}

.header-logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.site-logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1a1a1a;
    letter-spacing: 0.05em;
}

/* ロゴ画像：高さを抑えて自動でアスペクト比を維持 */
.site-logo-image {
    display: block;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.header-marks {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* マーク画像：ロゴと同程度の高さに自動調整 */
.header-mark {
    max-height: 50px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--classy-main-color) 0%, var(--classy-second-color) 100%);
    color: #fff;
    text-align: center;
    padding: 120px 2rem 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
    line-height: 1.8;
    opacity: 0.95;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: #fff;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Services Section */
.services-section {
    padding: 100px 2rem;
    background-color: #f8f9fa;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    background-color: #fff;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-block;
    color: var(--classy-main-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
}

.service-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* News Section */
.news-section {
    padding: 100px 2rem;
    background-color: #fff;
}

.news-list {
    max-width: 900px;
    margin: 4rem auto 0;
}

.news-item {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f8f9fa;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 8px;
}

.news-date {
    font-size: 0.9rem;
    color: #999;
    white-space: nowrap;
    min-width: 120px;
}

.news-category {
    display: inline-block;
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    background-color: #f0f4ff;
    color: #0066cc;
    border-radius: 4px;
    margin-right: 1rem;
    font-weight: 500;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.6;
}

.news-title a {
    color: #1a1a1a !important;
    text-decoration: none;
}

.news-title a:hover {
    color: #1a1a1a !important;
    text-decoration: underline;
}

.news-title a:visited {
    color: #1a1a1a !important;
}

.news-link {
    display: block;
    margin-top: 2rem;
    text-align: center;
    color: var(--classy-main-color);
    font-weight: 500;
}

/* About Section */
.about-section {
    padding: 100px 2rem;
    background-color: #1a1a1a;
    color: #fff;
}

.about-section .section-title {
    color: #fff;
}

.about-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.about-card {
    text-align: center;
}

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

.about-card-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.about-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 2rem;
    background-color: #fff;
    color: #1a1a1a;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.about-link:hover {
    background-color: #0066cc;
    color: #fff;
    opacity: 1;
}

/* Company Section */
.company-section {
    padding: 100px 0;
    background-color: #fff;
}

.company-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 550px;
    max-width: 1400px;
    margin: 0 auto;
}

.company-image {
    background-color: #e8e8e8;
    overflow: hidden;
}

.company-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 550px;
    max-height: 550px;
    overflow: hidden;
}

.company-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-content {
    background-color: #fff;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    line-height: 1;
}

.company-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 3rem;
}

.company-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #1a1a1a;
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: fit-content;
}

.company-button:hover {
    background-color: #333;
    transform: translateX(5px);
    opacity: 1;
}

.company-button span {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.company-button:hover span {
    transform: translateX(5px);
}

/* Company Section Reversed */
.company-section-reversed .company-container {
    grid-template-columns: 1fr 1fr;
}

.company-section-reversed .company-image {
    order: 2;
}

.company-section-reversed .company-content {
    order: 1;
}

/* Blog Section */
.blog-section {
    padding: 100px 2rem;
    background-color: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.blog-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f5f5f5;
}

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

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

.blog-card-image-placeholder {
    width: 100%;
    height: 100%;
}

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

.blog-card-date {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.6;
    margin: 0;
}

.blog-link-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.blog-link {
    display: inline-block;
    color: var(--classy-main-color);
    font-weight: 500;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.blog-link:hover {
    opacity: 0.7;
}

.blog-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-link:hover::after {
    transform: translateX(5px);
}

/* Recruit Section */
.recruit-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
}

.recruit-container {
    max-width: 1400px;
    margin: 0 auto;
}

.recruit-background-image {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 2rem;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.recruit-content {
    max-width: 900px;
    text-align: center;
    color: #1a1a1a;
}

.recruit-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    line-height: 1;
}

.recruit-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: #333;
}

.recruit-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--classy-main-color);
    color: #fff;
    padding: 0.875rem 2.5rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.recruit-button:hover {
    background-color: var(--classy-second-color);
    transform: translateY(-2px);
    opacity: 1;
}

.recruit-button span {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: #fff;
}

.recruit-button:hover span {
    transform: translateX(5px);
}

/* Contact Section */
.contact-section {
    padding: 100px 2rem;
    background-color: #fff;
}

.contact-form-wrapper {
    margin: 4rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-form-button {
    display: inline-block;
    background-color: var(--classy-main-color);
    color: #fff;
    padding: 1.5rem 3rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    text-decoration: none;
}

.contact-form-button:hover {
    background-color: var(--classy-second-color);
    transform: translateY(-2px);
    opacity: 1;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: rgba(26, 26, 26, 0.8);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    z-index: 999;
    transition: background-color 0.3s ease, transform 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: #1a1a1a;
    transform: translateY(-5px);
}

/* Footer Menu */
.footer-menu {
    background-color: #2a2a2a;
    padding: 20px 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-menu-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-menu li {
    margin: 0;
}

.footer-nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 2rem 20px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #fff;
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .company-section,
    .recruit-section {
        padding: 60px 0;
    }
    
    /* Companyセクション1と2の両方ともPCと同じ形式（2カラム）を維持 */
    .company-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .company-content {
        padding: 40px 2rem;
    }
    
    .company-heading,
    .recruit-heading {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* Footer Menu Responsive */
    .footer-nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .main-navigation ul {
        gap: 1rem;
    }
    
    .main-navigation a {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .news-date {
        min-width: auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .company-content {
        padding: 40px 2rem;
    }
    
    .company-heading,
    .recruit-heading {
        font-size: 1.8rem;
    }
    
    .recruit-text {
        font-size: 1rem;
    }
    
    .recruit-background-image {
        min-height: 300px;
        padding: 30px 1.5rem;
    }
    
    /* Companyセクション1と2の両方ともスマホでも2カラムを維持（画像の縦横比を保つ） */
    .company-container {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Companyセクション1と2の画像サイズを調整（縦横比を保ったまま） */
    .company-image-placeholder {
        min-height: auto;
        max-height: none;
        height: auto;
    }
    
    .company-image-placeholder img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

/* Page Template Styles */
.page-header {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 2rem 80px;
    margin-top: 80px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.page-header-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
}

.page-content-wrapper {
    padding: 80px 0;
}

.page-content {
    max-width: 100%;
}

.page-content .entry-content {
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
}

.page-content .entry-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
    color: #1a1a1a;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0066cc;
}

.page-content .entry-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #1a1a1a;
}

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

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

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

.page-content .entry-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 4px;
}

.page-content .entry-content blockquote {
    border-left: 4px solid #0066cc;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.page-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

/* Simple Template */
.page-template-simple .page-content {
    max-width: 900px;
    margin: 0 auto;
}


.page-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


@media (max-width: 768px) {
    .page-header {
        min-height: 250px;
        padding: 80px 1.5rem 60px;
        margin-top: 70px;
    }
    
    .page-header-title {
        font-size: 1.8rem;
    }
    
    .page-header-desc {
        font-size: 1rem;
    }
    
    .page-content-wrapper {
        padding: 60px 0;
    }
    
    
    .page-title {
        font-size: 2rem !important;
    }
    
    .page-subtitle {
        font-size: 1rem !important;
    }
    
    .page-container {
        padding: 40px 1.5rem !important;
    }
    
    .service-detail-item {
        grid-template-columns: 1fr !important;
    }
    
    .service-icon-large {
        max-width: 250px;
        margin: 0 auto;
    }
    
    
    .about-content-grid > section,
    .sustainability-content > section,
    .recruit-content > section {
        margin-bottom: 3rem;
    }
    
    .position-item {
        padding: 1.5rem !important;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Template 1 Styles (Advantage Page) */
.page-header-template1 {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    padding: 120px 2rem 100px;
    margin-top: 80px;
    text-align: center;
    color: #fff;
}

.page-header-content-template1 {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-subtitle-template1 {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
}

.page-title-template1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.page-description-template1 {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 900px;
    margin: 0 auto;
}

.page-content-wrapper-template1 {
    padding: 100px 0;
}

.page-content-template1 {
    max-width: 100%;
}

.page-content-template1 .entry-content {
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
}

/* Feature Block (Page Builder) */
.feature-block,
.advantage-section {
    padding: 100px 0;
    background-color: #fff;
}

.feature-block:nth-child(even),
.advantage-section:nth-child(even) {
    background-color: #f9f9f9;
}

.advantage-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-title,
.advantage-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #0066cc;
}

.feature-description,
.advantage-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-items,
.advantage-items {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.feature-items li,
.advantage-items li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.feature-items li:before,
.advantage-items li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-size: 1.5rem;
    line-height: 1;
}

.feature-items li:last-child,
.advantage-items li:last-child {
    border-bottom: none;
}

/* Content Block (Page Builder) */
.content-block,
.content-section {
    padding: 80px 0;
    background-color: #fff;
}

.content-block-title,
.content-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

.content-block-content,
.content-section-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    text-align: left;
}

.content-block-content img,
.content-section-content img {
    max-width: 100%;
    height: auto;
}

/* CTA Block (Page Builder) */
.cta-block,
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: #fff;
}

.cta-block-title,
.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.cta-block-description,
.cta-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-block-button,
.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #fff;
    color: #0066cc;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-block-button:hover,
.cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Template 2 Styles */
.page-header-template2 {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    background-size: cover;
    background-position: center;
    padding: 150px 2rem 120px;
    margin-top: 80px;
    text-align: center;
    color: #fff;
}

.page-header-overlay-template2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-header-content-template2 {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-subtitle-template2 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.page-title-template2 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    margin: 0;
}

.template2-description-section {
    padding: 80px 0;
    background-color: #fff;
}

.template2-description {
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-content-wrapper-template2 {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-content-template2 {
    max-width: 100%;
}

.page-content-template2 .entry-content {
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
}

/* Template 3 Styles */
.page-header-template3 {
    padding: 120px 2rem 80px;
    margin-top: 80px;
    text-align: center;
    background-color: #f9f9f9;
}

.page-subtitle-template3 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    color: #666;
    text-transform: uppercase;
}

.page-title-template3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.template3-message-section {
    padding: 100px 0;
    background-color: #fff;
}

.template3-message-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.template3-message-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.4;
    text-align: center;
}

.template3-message-content {
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
    text-align: left;
}

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

.page-content-wrapper-template3 {
    padding: 80px 0;
    background-color: #fff;
}

.page-content-template3 {
    max-width: 100%;
}

.page-content-template3 .entry-content {
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
}

/* Template 4: Staff Introduction */
.page-header-template4 {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    background-size: cover;
    background-position: center;
    padding: 150px 2rem 120px;
    margin-top: 80px;
    text-align: center;
    color: #fff;
}

.page-header-overlay-template4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.page-header-content-template4 {
    position: relative;
    z-index: 1;
}

.page-subtitle-template4 {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.page-title-template4 {
    font-size: 3rem;
    font-weight: 700;
}

.template4-description-section {
    padding: 3rem 2rem;
    background-color: #f9f9f9;
}

.template4-description {
    text-align: center;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.page-content-wrapper-template4 {
    padding: 80px 0;
}

/* Staff Intro Block */
.staff-intro-block {
    padding: 80px 0;
    background-color: #fff;
}

.staff-intro-block:nth-child(even) {
    background-color: #f9f9f9;
}

.staff-intro-block-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--classy-heading-color);
    margin-bottom: 3rem;
    text-align: center;
}

.staff-intro-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

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

.staff-intro-item.image-right .staff-intro-image {
    order: 2;
}

.staff-intro-item.image-right .staff-intro-content {
    order: 1;
}

.staff-intro-item.image-left .staff-intro-image {
    order: 1;
}

.staff-intro-item.image-left .staff-intro-content {
    order: 2;
}

.staff-intro-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.staff-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.staff-intro-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--classy-heading-color);
    margin-bottom: 1rem;
}

.staff-intro-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--classy-body-color);
}

.staff-intro-text img {
    max-width: 100%;
    height: auto;
}

/* Responsive Styles for Templates */
@media (max-width: 768px) {
    .page-header-template1 {
        min-height: 300px;
        padding: 100px 1.5rem 80px;
    }
    
    .page-subtitle-template1 {
        font-size: 1rem;
    }
    
    .page-title-template1 {
        font-size: 2rem;
    }
    
    .page-description-template1 {
        font-size: 1rem;
    }
    
    .page-content-wrapper-template1 {
        padding: 60px 0;
    }
    
    .feature-block,
    .advantage-section {
        padding: 60px 0;
    }
    
    .feature-title,
    .advantage-title {
        font-size: 1.5rem;
    }
    
    .cta-block,
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-block-title,
    .cta-title {
        font-size: 1.8rem;
    }
    
    .page-header-template2 {
        min-height: 350px;
        padding: 120px 1.5rem 80px;
    }
    
    .page-title-template2 {
        font-size: 2.5rem;
    }
    
    .page-subtitle-template2 {
        font-size: 0.9rem;
    }
    
    .template2-description {
        font-size: 1rem;
    }
    
    .page-header-template3 {
        padding: 100px 1.5rem 60px;
    }
    
    .page-title-template3 {
        font-size: 2rem;
    }
    
    .template3-message-title {
        font-size: 1.8rem;
    }
    
    .template3-message-content {
        font-size: 1rem;
    }
    
    .page-header-template4 {
        min-height: 350px;
        padding: 120px 1.5rem 80px;
    }
    
    .page-title-template4 {
        font-size: 2.5rem;
    }
    
    .page-subtitle-template4 {
        font-size: 0.9rem;
    }
    
    .template4-description {
        font-size: 1rem;
    }
    
    .staff-intro-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .staff-intro-item.image-right .staff-intro-image,
    .staff-intro-item.image-left .staff-intro-image {
        order: 1;
    }
    
    .staff-intro-item.image-right .staff-intro-content,
    .staff-intro-item.image-left .staff-intro-content {
        order: 2;
    }
    
    /* Responsive for Template 1 blocks */
    .feature-items,
    .advantage-items {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .content-block-content,
    .content-section-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Responsive for Template 2 blocks */
    .image-text-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .image-text-wrapper.image-right {
        grid-template-columns: 1fr;
    }
    
    .image-text-wrapper.image-right .image-text-content {
        order: 1;
    }
    
    .image-text-wrapper.image-right .image-text-image {
        order: 2;
    }
    
    .service-list-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive for Template 3 blocks */
    .image-message-wrapper {
        padding: 0 1rem;
    }
    
    .image-message-title {
        font-size: 2rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Two Column Block (Page Builder) */
.two-column-block,
.two-column-section {
    padding: 100px 0;
    background-color: #fff;
}

.two-column-block-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--classy-heading-color);
    margin-bottom: 3rem;
    text-align: center;
}

.two-column-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.two-column-item {
    padding: 2rem;
}

.two-column-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #0066cc;
}

.two-column-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

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

/* Strength Cards Section (Page Builder) */
/* Strength Cards Block (Page Builder) */
.strength-cards-block,
.strength-cards-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.strength-cards-block-title,
.strength-cards-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.strength-cards-block-subtitle,
.strength-cards-section-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.strength-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.strength-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.strength-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--classy-heading-color);
    margin-bottom: 1rem;
}

.strength-card-type {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--classy-main-color);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.strength-card-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.strength-card-link {
    display: inline-block;
    color: #0066cc;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.strength-card-link:hover {
    color: #0052a3;
}

/* Image Text Left Block (Template 2) */
.image-text-left-block {
    padding: 100px 0;
    background-color: #fff;
}

.image-text-left-block:nth-child(even) {
    background-color: #f9f9f9;
}

.image-text-left-block-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--classy-heading-color);
    margin-bottom: 3rem;
    text-align: center;
}

.image-text-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.image-text-wrapper.image-left {
    grid-template-columns: 1fr 1fr;
}

.image-text-wrapper.image-right {
    grid-template-columns: 1fr 1fr;
}

.image-text-image {
    width: 100%;
}

.image-text-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-text-content {
    padding: 2rem;
}

.image-text-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--classy-heading-color);
    margin-bottom: 1.5rem;
}

.image-text-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.image-text-text p {
    margin-bottom: 1rem;
}

/* Image Text Right Block (Template 2) */
.image-text-right-block {
    padding: 100px 0;
    background-color: #fff;
}

.image-text-right-block:nth-child(even) {
    background-color: #f9f9f9;
}


/* Service List Block (Template 2) */
.service-list-block {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.service-list-block-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    text-align: center;
}

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

.service-item {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-item-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #0066cc;
}

.service-item-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

/* Contact Block (Template 2) */
.contact-block {
    padding: 100px 0;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    text-align: center;
    color: #fff;
}

.contact-block-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.contact-block-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-block-button-wrapper {
    margin-top: 2rem;
}

.contact-block-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #fff;
    color: #0066cc;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-block-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Image Message Block (Template 3) */
.image-message-block {
    padding: 100px 0;
    background-color: #fff;
}

.image-message-block:nth-child(even) {
    background-color: #f9f9f9;
}

.image-message-block-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--classy-heading-color);
    margin-bottom: 3rem;
    text-align: center;
}

.image-message-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.image-message-image {
    width: 100%;
    max-width: 600px;
    margin-bottom: 3rem;
}

.image-message-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-message-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--classy-heading-color);
    margin-bottom: 2rem;
}

.image-message-text {
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
    text-align: left;
}

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

/* Step Block (Template 3) */
.step-block {
    padding: 100px 0;
    background-color: #fff;
}

.step-block-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    text-align: center;
}

.step-list {
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--classy-main-color);
    color: #fff !important;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

/* Values Block (Template 3) */
.values-block {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.values-block-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    text-align: center;
}

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

.value-item {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.value-item-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 1rem;
}

.value-item-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

@media (max-width: 768px) {
    .two-column-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .strength-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .strength-card {
        padding: 2rem;
    }
}
