/*
Theme Name: ECグローバル
Theme URI: https://ecglobal.co.jp
Author: EC Global Inc.
Author URI: https://ecglobal.co.jp
Description: 株式会社ECグローバルのオリジナルWordPressテーマ - ECメーカー/リテール企業向けコーポレートサイト
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ec-global
Tags: custom-template, business, ec, ecommerce, corporate
*/

@charset "UTF-8";

/* =========================================
   Variables & Base Styles (Awwwards Style - Logo Based)
   ========================================= */
:root {
    /* New Color Palette based on Logo */
    --color-accent: #F37021; /* Vitality Orange (ロゴのアイコン色) */
    --color-primary: #222222; /* Trusted Charcoal (ロゴのテキスト色に近い深みのある黒) */
    --color-text-body: #555555; /* 落ち着いたグレーの本文色 */
    --color-text-light: #FFFFFF;
    --color-bg-light: #F8F8FA; /* クリーンな明るいグレー背景 */
    --color-bg-dark: #222222; /* フッターなどに使うチャコール背景 */
    --color-border: #E5E5E5;
    
    --font-ja: 'Noto Sans JP', sans-serif;
    --font-en: 'Montserrat', sans-serif;
    
    --header-height: 90px;
    --section-spacing: 140px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-ja);
    color: var(--color-text-body);
    line-height: 1.8;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
a:hover {
    color: var(--color-accent);
}

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

ul, ol {
    list-style: none;
}

/* --- Typography (Bold & Editorial) --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-en); /* 見出しは英語フォントを優先 */
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}
/* 日本語の見出しはNoto Sansで */
h1.ja-title, h2.ja-title, h3.ja-title {
    font-family: var(--font-ja);
    font-weight: 700;
}

.en-title {
    font-family: var(--font-en);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--color-primary);
}

p {
    margin-bottom: 1.5rem;
}

/* --- Utility Classes --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.container--narrow {
    max-width: 860px;
}

.section {
    padding: var(--section-spacing) 0;
    position: relative;
}

.bg-light { background-color: var(--color-bg-light); }
.bg-dark { background-color: var(--color-bg-dark); color: var(--color-text-light); }

.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* --- Buttons (Modern Interaction) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    background-color: var(--color-accent);
    color: var(--color-text-light);
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 20px -10px rgba(243, 112, 33, 0.5);
}
.btn:hover {
    color: var(--color-text-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(243, 112, 33, 0.7);
    background-color: var(--color-primary); /* ホバー時はチャコールグレーで引き締める */
}


/* --- Animations (ScrollTrigger init states) --- */
[data-speed] { will-change: transform; }

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    will-change: transform, opacity;
}
.reveal-img {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}
.reveal-img img {
    transform: scale(1.15);
    will-change: transform;
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal-img.is-visible img {
    transform: scale(1);
}


/* =========================================
   Header (Sticky & Logo Update)
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: height 0.4s ease;
}

.header.is-scrolled {
    height: 70px;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 92%;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}
/* ロゴ画像のサイズ調整 */
.logo img {
    height: 45px; /* ヘッダーに合わせて調整 */
    width: auto;
}

.gnav__list {
    display: flex;
    gap: 40px;
    align-items: center;
}

.gnav__link {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 0;
}

.gnav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gnav__link:hover::after {
    width: 100%;
}

/* Header Button Override */
.header .btn {
    padding: 12px 30px;
    font-size: 0.9rem;
    box-shadow: none;
}
.header .btn:hover {
    box-shadow: 0 10px 20px -10px rgba(243, 112, 33, 0.5);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}


/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--color-bg-dark);
    color: #fff;
    padding: 100px 0 30px;
    position: relative;
    overflow: hidden;
}
/* フッター背景の装飾（オレンジの光） */
.footer::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(243, 112, 33, 0.1) 0%, rgba(34, 34, 34, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.footer__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer__logo {
    display: inline-block;
}
/* フッターロゴを白くするフィルター */
.footer__logo img {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer__address {
    font-style: normal;
    opacity: 0.7;
    line-height: 2;
    margin-bottom: 40px;
}

.footer__nav-title {
    font-family: var(--font-en);
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--color-accent);
}

.footer__nav-list li {
    margin-bottom: 15px;
}
.footer__nav-list a {
    opacity: 0.8;
    transition: all 0.3s ease;
    color: #fff;
}
.footer__nav-list a:hover {
    opacity: 1;
    color: var(--color-accent);
    padding-left: 5px;
}

/* Footer Button Override */
.footer .btn {
    background-color: transparent;
    border: 2px solid var(--color-accent);
    box-shadow: none;
}
.footer .btn:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer__copy {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    font-family: var(--font-en);
    opacity: 0.5;
}


/* =========================================
   Responsive Common
   ========================================= */
@media (max-width: 1024px) {
    .footer__content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --section-spacing: 100px;
    }
    .section-title { font-size: 2.2rem; margin-bottom: 40px; }
    .logo img { height: 50px; }

    .hamburger { display: block; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .gnav {
        position: fixed;
        top: 0; right: -100%;
        width: 100%; height: 100vh;
        background-color: #fff;
        padding: 100px 40px;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
    }
    .gnav.active { right: 0; }
    .gnav__list { flex-direction: column; align-items: flex-start; gap: 30px; }
    .gnav__link { color: var(--color-primary); font-size: 1.4rem; }

    .footer__content { grid-template-columns: 1fr; gap: 50px; }
}


/* =========================================
   PAGE SPECIFIC STYLES
   ========================================= */

/* --- Top Page (index.html) --- */
.hero {
    height: 95vh;
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -var(--header-height); /* ヘッダーの裏に潜り込ませる */
    padding-top: var(--header-height);
}

.hero__bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}
.hero__bg img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.1); 
}
/* オーバーレイをオレンジとグレーのグラデーションに変更 */
.hero__bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(34, 34, 34, 0.6), rgba(243, 112, 33, 0.3));
}

.hero__content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 800px;
}

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #fff;
}
.hero__title span {
    color: var(--color-accent); /* オレンジで強調 */
}

.hero__lead {
    font-size: 1.2rem;
    margin-bottom: 45px;
    opacity: 0.9;
    max-width: 600px;
    font-weight: 500;
}

/* News Section */
.news-section { background-color: #fff; }
.news__list { border-top: 1px solid var(--color-border); }
.news__item {
    border-bottom: 1px solid var(--color-border);
}
.news__link {
    display: flex;
    align-items: baseline;
    padding: 25px 0;
    transition: all 0.3s ease;
}
.news__link:hover {
    padding-left: 15px;
}
.news__date {
    font-family: var(--font-en);
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 30px;
    flex-shrink: 0;
}
.news__title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: color 0.3s ease;
}
.news__link:hover .news__title {
    color: var(--color-accent);
}

/* Policy Section */
.policy-section {
    position: relative;
    background-color: var(--color-bg-light);
}
/* 背景の装飾的なシェイプ（オレンジ系） */
.policy__bg-shape {
    position: absolute;
    top: 5%; left: -5%;
    width: 30%; height: 50%;
    background: radial-gradient(ellipse at center, rgba(243, 112, 33, 0.05) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
    pointer-events: none;
}

.policy__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.policy-card {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-top: 3px solid transparent;
}
.policy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(243, 112, 33, 0.1);
    border-top-color: var(--color-accent);
}

.policy-card__num {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 800;
    color: #f0f0f0;
    line-height: 1;
    margin-bottom: 15px;
    display: block;
}
.policy-card__title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.policy-card__text {
    color: var(--color-text-body);
    font-size: 0.95rem;
}


@media (max-width: 768px) {
    .hero__title { font-size: 2.8rem; }
    .hero__lead { font-size: 1rem; }
    .news__link { flex-direction: column; gap: 5px; }
    .policy__grid { grid-template-columns: 1fr; gap: 30px; }
    .policy-card { padding: 35px; }
}


/* --- Lower Page Header (共通) --- */
.page-header {
    height: 45vh;
    min-height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-bg-dark);
    margin-top: -var(--header-height);
    padding-top: var(--header-height);
}
.page-header__bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 120%;
    object-fit: cover;
}
/* 共通オーバーレイ */
.page-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(34, 34, 34, 0.4), rgba(34, 34, 34, 0.7));
}

.page-header__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}
.page-header__title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 10px;
}
.page-header__en {
    font-family: var(--font-en);
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .page-header { height: 35vh; min-height: 280px; }
    .page-header__title { font-size: 2.2rem; }
}


/* --- Company Page (company.html) --- */
.message-section { background-color: #fff; }
.message__container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.message__img-box {
    flex: 1;
    box-shadow: 20px 20px 0px var(--color-bg-light);
    border-radius: 4px;
}
.message__text-box {
    flex: 1;
}
.message__lead {
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--color-primary);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--color-accent);
    display: inline-block;
}

.outline-section { background-color: var(--color-bg-light); }
.outline-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border-radius: 8px;
    overflow: hidden;
}
.outline-table th, .outline-table td {
    padding: 20px 30px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}
.outline-table th {
    width: 30%;
    color: var(--color-primary);
    font-weight: 700;
    background-color: #fbfbfb;
}
.outline-table tr:last-child th, .outline-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .message__container { flex-direction: column; gap: 40px; }
    .message__img-box { width: 100%; box-shadow: 10px 10px 0px var(--color-bg-light); }
    .message__lead { font-size: 1.3rem; }
    .outline-table th, .outline-table td { display: block; width: 100%; padding: 15px 20px; }
    .outline-table th { border-bottom: none; padding-bottom: 5px; }
}


/* --- Business Page (business.html) --- */
.business-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 60px;
    margin-bottom: var(--section-spacing);
}
.business-item:nth-child(even) {
    direction: rtl;
}
.business-item:nth-child(even) .business-item__content {
    direction: ltr;
}
.business-item:last-child { margin-bottom: 0; }

.business-item__img-box {
    height: 450px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.business-item__img-box img {
    width: 100%; height: 100%; object-fit: cover;
}

.business-item__num {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-accent);
    opacity: 0.15;
    line-height: 1;
    display: block;
    margin-bottom: -15px;
}
.business-item__title {
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
}

.service-list { margin-top: 30px; }
.service-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-weight: 700;
    color: var(--color-primary);
}
.service-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 10px;
    width: 8px; height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .business-item, .business-item:nth-child(even) { grid-template-columns: 1fr; direction: ltr; gap: 30px; margin-bottom: 80px; }
    .business-item__img-box { height: 300px; }
    .business-item__title { font-size: 1.8rem; }
}


/* --- Recruit Page (recruit.html) --- */
/* 採用メッセージ：チャコール背景にオレンジのアクセント */
.recruit-message-section {
    background-color: var(--color-bg-dark);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.recruit-message-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(243, 112, 33, 0.1) 0%, rgba(34, 34, 34, 0) 70%);
    pointer-events: none;
}
.recruit-message__title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 40px;
    line-height: 1.4;
}
.recruit-message__title span {
    color: var(--color-accent);
}
.recruit-message__text p {
    font-size: 1.1rem;
    line-height: 2;
    opacity: 0.9;
}

/* 社員紹介 */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.member-card {
    position: relative;
    height: 400px;
    background-color: var(--color-primary);
    border-radius: 8px;
}
.member-card__img {
    width: 100%; height: 100%; object-fit: cover;
    transition: all 0.4s ease;
}
/* ホバー時は少し暗くし、オレンジの光を当てる */
.member-card:hover .member-card__img {
    opacity: 0.3;
    transform: scale(1.05);
}
.member-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(243, 112, 33, 0.6) 0%, rgba(34, 34, 34, 0) 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.member-card:hover::after { opacity: 1; }

.member-card__info {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 30px;
    color: #fff;
    z-index: 1;
}
.member-card__role {
    font-family: var(--font-en);
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-bottom: 8px;
    display: block;
    font-weight: 700;
}
.member-card__name {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fff;
}
.member-card__desc {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
    height: 0;
    overflow: hidden;
}
.member-card:hover .member-card__desc {
    opacity: 1;
    transform: translateY(0);
    height: auto;
}

@media (max-width: 768px) {
    .recruit-message__title { font-size: 2rem; }
    .member-card { height: 380px; }
    /* スマホは最初から表示 */
    .member-card__img { opacity: 0.4; }
    .member-card::after { opacity: 0.8; background: linear-gradient(to top, rgba(34,34,34,0.9) 0%, rgba(34,34,34,0) 60%);}
    .member-card__desc { opacity: 1; transform: translateY(0); height: auto; }
}


/* --- Inquiry Page (inquiry.html) --- */
.inquiry-page .section { background-color: var(--color-bg-light); }
.form-container {
    background-color: #fff;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 35px;
}
.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1rem;
}
.form-label span.required {
    color: var(--color-accent);
    margin-left: 8px;
    font-size: 0.8rem;
    background-color: rgba(243, 112, 33, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    background: #fdfdfd;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--color-primary);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #fff;
}
.form-textarea {
    height: 180px;
    resize: vertical;
}
.form-select {
    cursor: pointer;
    appearance: none;
    /* オレンジ色の矢印アイコン */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F37021' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}

@media (max-width: 768px) {
    .form-container { padding: 30px 20px; }
}
/* --- Blog / Archive Page Styles --- */
.blog-list { display: flex; flex-direction: column; gap: 40px; margin-bottom: 60px; }
.blog-item { background: #fff; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.blog-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(243, 112, 33, 0.15); }
.blog-item__thumbnail { width: 100%; height: 300px; overflow: hidden; }
.blog-item__thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-item:hover .blog-item__thumbnail img { transform: scale(1.05); }
.blog-item__content { padding: 30px; }
.blog-item__date { display: inline-block; font-family: var(--font-en); font-weight: 700; color: var(--color-accent); font-size: 0.9rem; margin-bottom: 15px; }
.blog-item__title { font-size: 1.6rem; margin-bottom: 15px; }
.blog-item__title a { color: var(--color-primary); transition: color 0.3s; }
.blog-item__title a:hover { color: var(--color-accent); }
.blog-item__excerpt { color: var(--color-text-body); line-height: 1.8; margin-bottom: 20px; }
.blog-item__more { display: inline-flex; align-items: center; gap: 8px; color: var(--color-accent); font-weight: 700; transition: gap 0.3s; }
.blog-item__more:hover { gap: 12px; }
.no-posts { text-align: center; padding: 60px 20px; color: #999; }

/* Pagination */
.pagination { margin-top: 60px; text-align: center; }
.pagination .nav-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-block; padding: 10px 15px; background: #fff; border: 2px solid var(--color-border); border-radius: 4px; color: var(--color-primary); transition: all 0.3s; min-width: 45px; text-align: center; }
.pagination a:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* Single Post Page */
.post-date { display: block; font-family: var(--font-en); font-weight: 700; color: var(--color-accent); font-size: 1rem; margin-top: 15px; }
.post-content { font-size: 1.05rem; line-height: 1.9; }
.post-content h2 { font-size: 1.8rem; margin-top: 50px; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 3px solid var(--color-accent); }
.post-content h3 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 20px; }
.post-content h4 { font-size: 1.3rem; margin-top: 30px; margin-bottom: 15px; }
.post-content p { margin-bottom: 1.8rem; }
.post-content img { border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.post-content ul, .post-content ol { margin-bottom: 1.8rem; padding-left: 30px; }
.post-content li { margin-bottom: 0.8rem; }
.post-content blockquote { border-left: 4px solid var(--color-accent); padding-left: 20px; margin: 30px 0; color: #666; font-style: italic; }

.page-links { margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee; text-align: center; }
.page-links-title { font-weight: 700; color: var(--color-primary); margin-right: 10px; }
.page-links a { display: inline-block; padding: 5px 12px; margin: 0 5px; background: #fff; border: 2px solid #eee; border-radius: 4px; color: var(--color-primary); transition: all 0.3s; }
.page-links a:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.page-links > span:not(.page-links-title) { display: inline-block; padding: 5px 12px; margin: 0 5px; background: var(--color-primary); color: #fff; border-radius: 4px; }

.post-navigation { margin-top: 60px; padding-top: 40px; border-top: 2px solid #eee; }
.post-nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.post-nav-item a { display: block; padding: 20px; background: #fff; border: 2px solid #eee; border-radius: 8px; transition: all 0.3s; }
.post-nav-item a:hover { border-color: var(--color-accent); box-shadow: 0 5px 15px rgba(243, 112, 33, 0.2); }
.post-nav-item .nav-subtitle { display: block; font-size: 0.9rem; color: var(--color-accent); font-weight: 700; margin-bottom: 8px; font-family: var(--font-en); }
.post-nav-item .nav-title { display: block; color: var(--color-primary); font-weight: 500; }
.post-nav-prev { text-align: left; }
.post-nav-next { text-align: right; }
.back-to-list { text-align: center; }

/* 404 Error Page */
.error-404 { text-align: center; padding: 60px 20px; }
.error-404__number { font-size: 8rem; font-weight: 700; color: var(--color-accent); line-height: 1; margin-bottom: 30px; font-family: var(--font-en); }
.error-404__message { font-size: 1.1rem; line-height: 1.8; margin-bottom: 40px; color: #666; }
.error-404__actions { margin-bottom: 60px; }
.error-404__search h3 { font-size: 1.3rem; margin-bottom: 30px; color: var(--color-primary); }
.error-404__links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.error-link { display: inline-block; padding: 15px 30px; background: #fff; border: 2px solid #eee; border-radius: 8px; color: var(--color-primary); font-weight: 500; transition: all 0.3s; }
.error-link:hover { border-color: var(--color-accent); background: var(--color-bg-light); color: var(--color-accent); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(243, 112, 33, 0.2); }

/* Recruit Page Additional Styles */
.position-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.position-card { background: #fff; padding: 40px 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; border-top: 4px solid var(--color-accent); }
.position-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(243, 112, 33, 0.15); }
.position-card__title { font-size: 1.3rem; color: var(--color-primary); margin-bottom: 15px; line-height: 1.5; }
.position-card__desc { color: var(--color-text-body); line-height: 1.7; }

.culture-list { max-width: 800px; margin: 0 auto; }
.culture-item { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 20px; border-left: 4px solid var(--color-accent); }
.culture-item__title { font-size: 1.2rem; color: var(--color-primary); margin-bottom: 12px; }
.culture-item__text { color: var(--color-text-body); line-height: 1.7; }

.selection-flow { max-width: 700px; margin: 0 auto; display: flex; justify-content: center; gap: 40px; align-items: center; }
.flow-step { text-align: center; }
.flow-step__num { width: 60px; height: 60px; background: linear-gradient(45deg, var(--color-primary), var(--color-accent)); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; font-family: var(--font-en); margin: 0 auto 15px; }
.flow-step__title { font-size: 1.1rem; color: var(--color-primary); }

/* Business Page Additional Styles */
.achievement-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.achievement-card { background: #fff; padding: 40px 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); border-left: 4px solid var(--color-accent); transition: transform 0.3s ease; }
.achievement-card:hover { transform: translateY(-5px); }
.achievement-card__title { font-size: 1.4rem; color: var(--color-primary); margin-bottom: 15px; }
.achievement-card__text { color: var(--color-text-body); line-height: 1.7; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 20px; }
.faq-item__question { font-size: 1.2rem; color: var(--color-primary); margin-bottom: 15px; font-weight: 700; }
.faq-item__answer { color: var(--color-text-body); line-height: 1.8; margin-bottom: 0; }

/* Contact Form 7 Styles */
.form-container .wpcf7 { margin: 0; }
.form-container .wpcf7-form p { margin-bottom: 30px; }
.form-container .wpcf7-form label { display: block; margin-bottom: 10px; font-weight: 700; color: var(--color-primary); }
.form-container .wpcf7-form-control-wrap { display: block; }
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container select,
.form-container textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
}
.form-container input:focus,
.form-container select:focus,
.form-container textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(243, 112, 33, 0.1);
}
.form-container textarea { height: 180px; resize: vertical; }
.form-container select { height: 56px; cursor: pointer; }
.form-container .wpcf7-submit {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1rem;
    min-width: 250px;
}
.form-container .wpcf7-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px rgba(243, 112, 33, 0.5);
}
.form-container .wpcf7-spinner { margin-left: 10px; }
.form-container .wpcf7-not-valid-tip { color: #e74c3c; font-size: 0.9rem; margin-top: 5px; display: block; }
.form-container .wpcf7-validation-errors,
.form-container .wpcf7-mail-sent-ok,
.form-container .wpcf7-mail-sent-ng {
    border: none;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
    text-align: center;
}
.form-container .wpcf7-validation-errors { background: #fff3cd; color: #856404; }
.form-container .wpcf7-mail-sent-ok { background: #d4edda; color: #155724; }
.form-container .wpcf7-mail-sent-ng { background: #f8d7da; color: #721c24; }
.form-container .required { color: #e74c3c; font-size: 0.8rem; margin-left: 5px; background: #ffeaea; padding: 2px 6px; border-radius: 4px; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-item__thumbnail { height: 200px; }
    .blog-item__content { padding: 20px; }
    .blog-item__title { font-size: 1.3rem; }
    .post-nav-links { grid-template-columns: 1fr; gap: 20px; }
    .post-nav-prev, .post-nav-next { text-align: left; }
    .error-404__number { font-size: 5rem; }
    .error-404__links { flex-direction: column; }
    .selection-flow { flex-direction: column; gap: 20px; }
    .position-grid { grid-template-columns: 1fr; }
}

/* Support Process Cards */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.process-card { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; border-top: 4px solid var(--color-accent); }
.process-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(243, 112, 33, 0.15); }
.process-card__num { width: 50px; height: 50px; background: linear-gradient(45deg, var(--color-primary), var(--color-accent)); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; font-family: var(--font-en); margin: 0 auto 20px; }
.process-card__title { font-size: 1.2rem; color: var(--color-primary); margin-bottom: 12px; }
.process-card__text { color: var(--color-text-body); line-height: 1.7; font-size: 0.95rem; }

@media (max-width: 768px) {
    .process-grid { grid-template-columns: 1fr; }
}

/* --- WordPress Menu Styles --- */
/* Header Menu */
.gnav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; align-items: center; }
.gnav .menu-item { position: relative; }
.gnav .menu-item a { display: block; color: var(--color-primary); font-family: var(--font-en); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.05em; transition: color 0.3s; }
.gnav .menu-item a:hover { color: var(--color-accent); }
.gnav .menu-item.current-menu-item > a,
.gnav .menu-item.current_page_item > a,
.gnav .menu-item.current-menu-ancestor > a { color: var(--color-accent); }

/* Contact button in menu */
.gnav .menu-item:last-child a,
.gnav .menu-item.menu-item-contact a {
    padding: 12px 25px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.gnav .menu-item:last-child a:hover,
.gnav .menu-item.menu-item-contact a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px rgba(243, 112, 33, 0.5);
    color: #fff;
}

/* Footer Menu */
.footer__nav-list.menu { list-style: none; margin: 0; padding: 0; }
.footer__nav-list.menu .menu-item { margin-bottom: 10px; }
.footer__nav-list.menu .menu-item a { color: rgba(255, 255, 255, 0.7); transition: color 0.3s; }
.footer__nav-list.menu .menu-item a:hover { color: #fff; }

/* Mobile Menu */
@media (max-width: 768px) {
    .gnav.active .menu { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
    .gnav .menu-item:last-child a,
    .gnav .menu-item.menu-item-contact a { padding: 15px 30px; width: 100%; text-align: center; }
}