/*
Theme Name: 真空調 オリジナルテーマ
Description: 株式会社真空調のコーポレートサイト用テーマ
Version: 1.0
*/

/* ========================================================
   ベーススタイル
======================================================== */
*, *::before, *::after { 
    box-sizing: border-box; 
}

:root { 
    --primary-color: #0d1b2a;
    --accent-color: #0088D1;
    --theme-yellow: #F7C800;
    --text-color: #333333;
    --bg-light: #F0F5F9;
}

html, body { 
    margin: 0; 
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; 
    color: var(--text-color); 
    line-height: 1.8; 
    letter-spacing: 0.05em; 
    overflow-x: hidden; 
    background-color: #fff; 
}

a { text-decoration: none; color: inherit; }

/* アニメーション */ 
.fade-in { 
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); 
    will-change: opacity, transform; 
} 
.fade-in.is-visible { 
    opacity: 1; 
    transform: translateY(0); 
} 
@keyframes fadeInUp { 
    0% { opacity: 0; transform: translateY(20px); } 
    100% { opacity: 1; transform: translateY(0); } 
}

/* ========================================================
   ヘッダー（ロゴ大型化対応）
======================================================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 40px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

/* ロゴのサイズを約2倍（高さ90px）へ拡大 */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.logo img {
    height: 90px;
    width: auto;
    display: block;
    object-fit: contain;
}

.hamburger-btn {
    display: none;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2vw; 
    margin: 0;
    padding: 0;
    font-size: 14px; 
    font-weight: bold;
    white-space: nowrap; 
    align-items: center; 
    letter-spacing: 0.05em;
} 
.nav ul li a { transition: color 0.3s ease; }
.nav ul li a:hover { color: var(--accent-color); }

.contact-btn { 
    background: linear-gradient(135deg, var(--accent-color), #00b4d8); 
    color: #fff !important; 
    padding: 12px 28px; 
    border-radius: 40px; 
    font-size: 13px; 
    transition: all 0.4s ease; 
    box-shadow: 0 4px 15px rgba(0, 136, 209, 0.3);
} 
.contact-btn:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 8px 25px rgba(0, 136, 209, 0.5); 
}

.header-contact { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    flex-shrink: 0; 
}
.header-tel { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    color: var(--primary-color); 
    transition: opacity 0.3s ease; 
    text-decoration: none;
}
.header-tel:hover { opacity: 0.7; }
.header-tel .icon-phone { 
    display: block;
    width: 36px; 
    height: 36px; 
    padding: 8px; 
    border-radius: 50%; 
    background: rgba(0, 136, 209, 0.1); 
    color: var(--accent-color); 
    flex-shrink: 0; 
}
.header-tel-text { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: flex-start;
    line-height: 1.2; 
    font-weight: bold; 
    font-size: 17px; 
    letter-spacing: 0.02em; 
    font-family: 'Montserrat', sans-serif; 
    white-space: nowrap; 
}
.header-tel-text small { 
    font-weight: normal; 
    font-size: 11px; 
    color: #888; 
    letter-spacing: 0.05em; 
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; 
    margin-bottom: 2px;
}

/* ========================================================
   セクションとコンテナ
======================================================== */
.section { padding: 180px 20px 140px; position: relative; } 
.bg-light { background-color: var(--bg-light); } 
.text-white { color: #fff !important; }

/* メインビジュアル */ 
.hero { 
    height: 100vh; 
    background-color: var(--primary-color); 
    background-image: linear-gradient(rgba(13, 27, 42, 0.6), rgba(13, 27, 42, 0.2), rgba(13, 27, 42, 0.8)), url('img/main.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    display: flex; 
    align-items: center; 
    padding-left: 10%; 
    color: #fff; 
} 
.hero-text { animation: fadeInUp 1.2s ease-out 0.3s both; } 
.hero-text h1 { font-size: 72px; font-weight: bold; margin-bottom: 15px; letter-spacing: 0.2em; text-shadow: 0 10px 30px rgba(0,0,0,0.5); color: #fff; } 
.hero-text p { font-size: 24px; margin-bottom: 25px; font-weight: bold; letter-spacing: 0.15em; opacity: 0.9;}
.hero-text span { font-size: 15px; letter-spacing: 0.1em; opacity: 0.7; }

.hero-cta { display: flex; gap: 20px; margin-top: 45px; flex-wrap: wrap; }
.hero-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 34px; border-radius: 50px; font-size: 16px; font-weight: bold; letter-spacing: 0.08em; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.hero-btn svg { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; vertical-align: middle; margin: 0; }
.hero-btn-primary { background: linear-gradient(135deg, var(--accent-color), #00b4d8); color: #fff; box-shadow: 0 10px 30px rgba(0, 136, 209, 0.4); }
.hero-btn-primary:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0, 136, 209, 0.55); }
.hero-btn-outline { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-btn-outline:hover { background: #fff; color: var(--primary-color); border-color: #fff; transform: translateY(-4px); }

/* ========================================================
   フローティング問い合わせバー
======================================================== */
.floating-cta { position: fixed; z-index: 999; display: flex; right: 30px; bottom: 30px; flex-direction: column; gap: 12px; }
.floating-btn { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-size: 14px; font-weight: bold; letter-spacing: 0.05em; padding: 14px 26px; border-radius: 50px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; white-space: nowrap; }
.floating-btn svg { width: 18px; height: 18px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.floating-btn-tel { background: var(--primary-color); }
.floating-btn-mail { background: linear-gradient(135deg, var(--accent-color), #00b4d8); }
.floating-btn-apply { background: var(--theme-yellow); color: #3a2c00; }
.floating-btn:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.08); }

/* ========================================================
   透かしタイトル
======================================================== */
.inner-container.entry-content { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.entry-content p.section-subtitle { font-family: 'Montserrat', sans-serif; font-size: 130px !important; font-weight: 900; color: transparent !important; -webkit-text-stroke: 2px rgba(0, 136, 209, 0.12); line-height: 1; margin: 0; letter-spacing: 0.05em; position: absolute !important; top: -80px; z-index: -1; white-space: nowrap; user-select: none; }
#works p.section-subtitle { -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1); right: -5%; text-align: right; top: -60px !important;}
#news p.section-subtitle, #service p.section-subtitle, #links p.section-subtitle { left: -5%; } 
#concept p.section-subtitle, #recruit p.section-subtitle { right: -5%; text-align: right; } 

/* ========================================================
   見出し
======================================================== */
.entry-content h2 { font-size: 40px; font-weight: bold; margin: 0 0 50px 0; line-height: 1.4; position: relative; z-index: 1; letter-spacing: 0.05em; color: #0c2340 !important; background: none !important; -webkit-background-clip: unset !important; -webkit-text-fill-color: unset !important; } 
#works h2, .footer h2 { color: #fff !important; }
.entry-content h2::before { display: none; } 
.entry-content p { margin-bottom: 20px; line-height: 2; color: #555; font-size: 15px;} 
.text-white p { color: rgba(255,255,255,0.9) !important; }

/* ========================================================
   画像ホバー
======================================================== */
.wp-block-columns { display: flex; align-items: center; justify-content: space-between; gap: 80px; margin-bottom: 30px; } 
.wp-block-columns.row-reverse { flex-direction: row-reverse; } 
.wp-block-column { flex: 1; position: relative;}
.wp-block-image { overflow: hidden; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); margin: 0; }
.wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background-color: #f9f9f9; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.wp-block-image:hover img { transform: scale(1.08); }

/* ========================================================
   ボタン
======================================================== */
.wp-block-buttons { margin-top: 50px; display: flex; justify-content: flex-start; } 
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 6px 6px 6px 30px; background-color: #fff; color: var(--primary-color); font-size: 15px; font-weight: bold; letter-spacing: 0.08em; border: 1.5px solid rgba(0, 136, 209, 0.25); border-radius: 50px; position: relative; box-shadow: 0 4px 15px rgba(13, 27, 42, 0.05); transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); } 
.wp-block-button__link::after { content: ''; width: 44px; height: 44px; flex-shrink: 0; border: none; border-radius: 50%; background-color: var(--accent-color); position: relative; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E"); background-size: 20px; background-position: center; background-repeat: no-repeat; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } 
.wp-block-button__link:hover { border-color: var(--accent-color); box-shadow: 0 10px 25px rgba(0, 136, 209, 0.18); transform: translateY(-3px); } 
.wp-block-button__link:hover::after { background-color: var(--primary-color); transform: translateX(6px); }

.is-style-outline .wp-block-button__link { color: #fff; background-color: transparent; border-color: rgba(255, 255, 255, 0.5); } 
.is-style-outline .wp-block-button__link::after { border-color: #fff; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E"); } 
.is-style-outline .wp-block-button__link:hover { color: var(--theme-yellow); } 
.is-style-outline .wp-block-button__link:hover::after { background-color: #fff; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230088D1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E"); }

/* ========================================================
   セクション詳細
======================================================== */
.img-offset::before { content: ''; position: absolute; bottom: -20px; right: -20px; width: 80%; height: 80%; background-color: var(--bg-light); z-index: -1; border-radius: 8px; } 

/* NEWS */
.news-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid #e6e9ec; }
.news-list li { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding: 24px 12px; border-bottom: 1px solid #e6e9ec; transition: background-color 0.3s ease; }
.news-list li:hover { background-color: var(--bg-light); }
.news-date { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; color: #8b95a1; letter-spacing: 0.05em; min-width: 100px; }
.news-category { display: inline-block; font-size: 12px; font-weight: bold; letter-spacing: 0.05em; padding: 6px 16px; border-radius: 30px; white-space: nowrap; }
.label-info { background: rgba(0, 136, 209, 0.1); color: var(--accent-color); }
.label-recruit { background: rgba(247, 200, 0, 0.18); color: #9c7700; }
.news-list li a { flex: 1; min-width: 200px; font-size: 15px; color: var(--text-color); font-weight: 500; transition: color 0.3s ease; }
.news-list li a:hover { color: var(--accent-color); }

#concept { background-color: var(--bg-light); }
#service { background-color: #ffffff; } 
#service::before { display: none; } 
.service-text-column { z-index: 2; padding-right: 40px;}

.service-box { background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: none; transition: transform 0.4s ease, box-shadow 0.4s ease; } 
.service-box:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 136, 209, 0.1); }
.service-box h3 { font-size: 22px; margin: 0 0 15px 0; display: flex; align-items: center; color: var(--primary-color) !important; font-weight: bold;} 
.service-box h3::before { content: ''; display: inline-block; width: 30px; height: 3px; background: linear-gradient(90deg, var(--accent-color), #00b4d8); margin-right: 15px; border-radius: 2px;} 
.stagger-box { margin-top: 50px; margin-left: 50px; } 
.img-overlap { transform: translateY(-40px); }

/* WORKS */ 
#works { background: linear-gradient(135deg, var(--primary-color), #0b2545); position: relative; overflow: hidden; padding: 160px 20px; margin: 60px 0; clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); } 
.works-content { position: relative; z-index: 2; } 
.achievements { align-items: flex-start; margin-top: 80px;} 
.achievements .wp-block-column span { font-size: 14px; display: block; opacity: 0.8; letter-spacing: 0.1em; color: #fff;} 
.achievements .wp-block-column strong { font-size: 72px; font-family: 'Montserrat', sans-serif; font-weight: 900; display: block; line-height: 1.1; margin-top: 5px; color: var(--theme-yellow); text-shadow: 0 5px 15px rgba(0,0,0,0.3);} 
.achievements .wp-block-column strong span { font-size: 16px; font-weight: bold; display: inline; font-family: sans-serif; color: #fff;}

.works-facility-types { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 60px; }
.works-facility-types span { font-size: 13px; font-weight: bold; letter-spacing: 0.05em; color: #fff; padding: 10px 22px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 30px; background: rgba(255, 255, 255, 0.05); }

.client-list-block { margin-top: 50px; }
.client-list-label { font-size: 13px; font-weight: bold; letter-spacing: 0.08em; color: var(--theme-yellow); margin-bottom: 16px !important; }
.client-list { display: flex; flex-wrap: wrap; gap: 10px; }
.client-list span { font-size: 13px; color: rgba(255, 255, 255, 0.85); padding: 9px 20px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 30px; background: rgba(255, 255, 255, 0.03); }
.client-list.client-list-light { margin-top: 30px; }
.client-list.client-list-light span { color: var(--primary-color); border: 1px solid rgba(0, 136, 209, 0.25); background: var(--bg-light); }

/* RECRUIT */
#recruit { border-top: 6px solid var(--theme-yellow); }
.section-badge { display: inline-block; background: var(--theme-yellow); color: #3a2c00; font-size: 12px; font-weight: bold; letter-spacing: 0.1em; padding: 7px 20px; border-radius: 30px; margin-bottom: 22px; }
.align-stretch { align-items: stretch; } 
.recruit-text { display: flex; flex-direction: column; justify-content: center; } 
.photo-grid-dynamic { position: relative; min-height: 500px; } 
.grid-img1, .grid-img2 { position: absolute; margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.15);} 
.grid-img1 { top: 0; right: 0; width: 65%; z-index: 1; } 
.grid-img2 { bottom: 0; left: 0; width: 60%; z-index: 2; transform: translateY(40px); border: 10px solid #fff; }

/* 関連リンク */ 
.banner-container { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 20px; margin-top: 40px;} 
.banner-center { justify-content: center !important; }
.link-banner { display: block; width: 100%; max-width: 600px; margin: 0 auto; border-radius: 8px; overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.link-banner:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 15px 30px rgba(0, 136, 209, 0.2); }
.banner-image { width: 100%; height: auto; display: block; }

/* ========================================================
   下層ページテーブル
======================================================== */
.custom-table, 
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 40px; background-color: transparent; }
.custom-table th, .custom-table td,
.entry-content table th, .entry-content table td { padding: 30px 25px; border-bottom: 1px solid #eee; vertical-align: middle; }
.custom-table th,
.entry-content table th { width: 20%; background-color: #fafbfc; color: #0c2340; font-weight: bold; text-align: left; font-family: sans-serif; letter-spacing: 0.05em;}
.custom-table td,
.entry-content table td { color: #333; line-height: 1.8;}
.custom-table ul,
.entry-content table ul { margin: 0; padding-left: 20px; }

/* ========================================================
   CTAバナー・ボタン
======================================================== */
.final-cta-buttons { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 20px; 
    margin-top: 20px; 
}
.final-cta-btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 12px; 
    padding: 17px 42px; 
    border-radius: 44px; 
    font-size: 15px; 
    font-weight: bold; 
    letter-spacing: 0.06em; 
    transition: all 0.35s ease; 
    line-height: 1; 
    text-decoration: none;
    vertical-align: middle;
}
.final-cta-btn svg { 
    width: 20px; 
    height: 20px; 
    min-width: 20px;
    flex-shrink: 0; 
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    transform: none !important;
}
.final-cta-mail { background-color: var(--accent-color); color: #fff; box-shadow: 0 6px 20px rgba(0, 136, 209, 0.35); }
.final-cta-mail:hover { background-color: var(--primary-color); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 136, 209, 0.4); }
.final-cta-tel { background-color: #fff; color: var(--primary-color); border: 1.5px solid rgba(0, 136, 209, 0.3); }
.final-cta-tel:hover { border-color: var(--accent-color); color: var(--accent-color); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 136, 209, 0.15); }
.final-cta-apply { background-color: var(--theme-yellow); color: #3a2c00; box-shadow: 0 6px 20px rgba(247, 200, 0, 0.35); }
.final-cta-apply:hover { background-color: #e0b400; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(247, 200, 0, 0.4); }

.sub-cta-banner { margin-top: 120px; padding: 70px 40px; background-color: var(--bg-light); border-radius: 16px; text-align: center; }
.sub-cta-banner h2 { margin-bottom: 20px !important; }
.sub-cta-banner > p { max-width: 640px; margin: 0 auto 30px; }

.company-stats { display: flex; flex-wrap: wrap; gap: 30px; margin: 50px 0 20px; }
.company-stats .stat { flex: 1; min-width: 160px; background: var(--bg-light); border-radius: 12px; padding: 30px 25px; text-align: center; }
.company-stats .stat span { display: block; font-size: 13px; color: #777; letter-spacing: 0.05em; margin-bottom: 10px; }
.company-stats .stat strong { display: block; font-size: 30px; font-weight: 900; color: var(--primary-color); font-family: 'Montserrat', sans-serif; line-height: 1.2; }
.company-stats .stat strong small { font-size: 14px; font-weight: bold; color: #555; margin-left: 4px; font-family: sans-serif; }

.reassurance-list { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 36px; margin: 0 0 10px; padding: 0; }
.reassurance-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: bold; color: var(--primary-color); }
.reassurance-list li svg { width: 20px; height: 20px; color: var(--accent-color); flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* ========================================================
   フッター
======================================================== */
.footer { 
    background-color: var(--primary-color); 
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E'); 
    color: rgba(255,255,255,0.6); text-align: center; padding: 80px 20px 50px; font-size: 13px; position: relative; z-index: 10;
} 
.footer-nav { margin-bottom: 50px; }
.footer-nav ul { display: flex; justify-content: center; list-style: none; gap: 40px; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-nav a { color: #fff; font-size: 14px; font-weight: bold; letter-spacing: 0.05em; transition: color 0.3s ease; }
.footer-nav a:hover { color: var(--theme-yellow); }
.footer h2 { color: #fff; margin-bottom: 15px; font-size: 24px; font-weight: bold; letter-spacing: 0.2em; }

/* ========================================================
   社員インタビュー
======================================================== */
.interview-block { display: flex; align-items: flex-start; gap: 50px; margin-bottom: 100px; } 
.interview-vertical-name { writing-mode: vertical-rl; text-orientation: mixed; display: flex; gap: 15px; padding-top: 10px; } 
.interview-vertical-name .kanji { font-family: 'Noto Serif JP', serif; font-size: 32px; font-weight: 900; color: #111; letter-spacing: 0.3em; } 
.interview-vertical-name .romaji { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; color: #111; letter-spacing: 0.1em; opacity: 0.8; } 
.interview-content-block { flex: 1; } 
.interview-catchphrase { font-size: clamp(24px, 2.5vw, 36px) !important; font-family: 'Noto Sans JP', sans-serif !important; font-weight: 900 !important; color: #111 !important; line-height: 1.4 !important; margin: 0 0 30px 0 !important; border: none !important; } 
.interview-profile p { font-size: 14px; color: #555; margin-bottom: 30px; font-weight: bold;} 
.interview-desc p { font-size: 14px; line-height: 1.8; color: #333; margin-bottom: 20px; } 
.interview-pics-grid { display: grid; grid-template-columns: 2fr 1.5fr; gap: 20px; margin-top: 30px; } 
.interview-pic-main, .interview-pic-sub { overflow: hidden; border-radius: 4px; } 
.interview-pic-main img, .interview-pic-sub img { width: 100%; object-fit: cover; aspect-ratio: 4/3; } 
.interview-pic-main { aspect-ratio: unset; } 
.interview-pic-main img { aspect-ratio: unset; min-height: unset;} 

/* ページネーション */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #fff; border: 1px solid #ddd; border-radius: 50%; color: var(--primary-color); font-weight: bold; transition: all 0.3s ease; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--accent-color); color: #fff; border-color: var(--accent-color); }
.pagination .next, .pagination .prev { width: auto; padding: 0 15px; border-radius: 20px; }

/* ========================================================
   お問い合わせフォーム
======================================================== */
.wpcf7 {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

.wpcf7 > h2,
.entry-content .wpcf7 h2 {
    text-align: center;
    margin-bottom: 20px !important;
}

.contact-form-wrapper {
    max-width: 780px;
    margin: 40px auto 0;
    padding: 50px 40px;
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(13, 27, 42, 0.05);
}

.form-group {
    margin-bottom: 28px;
    text-align: left;
}

.form-label {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.required-badge {
    background-color: var(--theme-yellow) !important;
    color: #3a2c00 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    margin-left: 10px !important;
    display: inline-block !important;
    line-height: 1.2 !important;
}

.optional-badge {
    background-color: #88929b !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    margin-left: 10px !important;
    display: inline-block !important;
    line-height: 1.2 !important;
}

.file-note {
    font-size: 12px;
    color: #777;
    margin: 4px 0 8px !important;
    line-height: 1.5;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100% !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    color: var(--text-color) !important;
    background-color: var(--bg-light) !important;
    border: 1.5px solid #d2dfe8 !important;
    border-radius: 8px !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    background-color: #fff !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 4px rgba(0, 136, 209, 0.15) !important;
}

.wpcf7 textarea {
    min-height: 180px !important;
    resize: vertical !important;
}

.wpcf7 input[type="file"] {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--bg-light);
    border: 1.5px dashed #b8c8d4;
    border-radius: 8px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
}

.wpcf7 input[type="submit"],
.custom-submit-btn {
    display: inline-block !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 30px auto 0 !important;
    padding: 18px 30px !important;
    background: linear-gradient(135deg, var(--accent-color), #00b4d8) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(0, 136, 209, 0.35) !important;
    transition: all 0.35s ease !important;
}

.wpcf7 input[type="submit"]:hover,
.custom-submit-btn:hover {
    background: var(--primary-color) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(0, 136, 209, 0.45) !important;
}

.wpcf7-not-valid-tip {
    font-size: 12px !important;
    color: #e63946 !important;
    margin-top: 6px !important;
    display: block !important;
}
div.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 12px 18px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
}

/* ========================================================
   スマホ対応
======================================================== */
@media screen and (max-width: 900px) { 
    .section { padding: 130px 15px 80px; } 
    .hero-text h1 { font-size: 44px; }
    
    .header { 
        flex-direction: row; 
        padding: 8px 18px; 
    }
    /* スマホ画面でも存在感のある高さ（65px）に拡大 */
    .logo img {
        height: 65px;
    }
    .header-contact { 
        display: none !important; 
    }

    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1100;
    }
    .hamburger-btn span {
        display: block;
        width: 100%;
        height: 2.5px;
        background-color: var(--primary-color);
        border-radius: 3px;
        transition: all 0.35s ease;
    }
    .hamburger-btn.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-btn.is-active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-btn.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        margin: 0;
    }
    .nav.is-open {
        right: 0;
    }
    .nav ul {
        display: flex !important;
        flex-direction: column;
        gap: 28px;
        padding: 0;
        margin: 0;
        width: 100%;
        text-align: center;
    }
    .nav ul li {
        text-align: center;
    }
    .nav ul li a {
        display: inline-block;
        font-size: 18px;
        color: #ffffff;
        letter-spacing: 0.15em;
        padding: 8px 16px;
    }
    .nav ul li a:hover {
        color: var(--theme-yellow);
    }

    .hero-cta { flex-direction: column; gap: 14px; margin-top: 35px; }
    .hero-btn { width: 100%; padding: 16px 20px; font-size: 15px; }
    .floating-cta { top: auto; left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; }
    .floating-btn { flex: 1; border-radius: 0; padding: 16px 10px; box-shadow: none; }
    body { padding-bottom: 60px; }
    .news-list li { padding: 18px 8px; gap: 10px; }
    .news-list li a { min-width: 100%; order: 3; }
    .works-facility-types { margin-top: 40px; gap: 8px; }
    .works-facility-types span { font-size: 12px; padding: 8px 16px; }
    .client-list-block { margin-top: 40px; }
    .reassurance-list { flex-direction: column; align-items: center; gap: 12px; margin-bottom: 20px; }
    .final-cta-buttons { flex-direction: column; width: 100%; }
    .final-cta-btn { width: 100%; }
    .sub-cta-banner { padding: 50px 20px; margin-top: 80px; }
    .company-stats { gap: 15px; margin: 35px 0 15px; }
    .company-stats .stat { min-width: 130px; padding: 22px 15px; }
    .company-stats .stat strong { font-size: 24px; }
    .entry-content p.section-subtitle { font-size: 46px !important; top: -85px !important; -webkit-text-stroke: 1px rgba(0, 136, 209, 0.2);}
    #works p.section-subtitle { top: -85px !important; }
    .entry-content h2 { font-size: 32px; margin: 10px 0 30px; }
    .wp-block-columns, .wp-block-columns.row-reverse, .align-stretch { flex-direction: column; gap: 50px; }
    #service::before { width: 100%; border-radius: 0; }
    .service-text-column { padding-right: 0; }
    .stagger-box { margin-left: 0; margin-top: 30px; }
    .img-overlap { transform: none; }
    .img-offset::before { display: none; }
    #works { padding: 100px 15px; }
    .achievements { margin-top: 40px; gap: 40px;}
    .achievements .wp-block-column strong { font-size: 56px; }
    .photo-grid-dynamic { min-height: 400px; }
    .grid-img1 { width: 80%; }
    .grid-img2 { width: 70%; bottom: 20px; border-width: 5px;}
    .footer-nav ul { gap: 15px; }

    .custom-table th, .custom-table td,
    .entry-content table th, .entry-content table td { display: block; width: 100%; }
    .custom-table th, .entry-content table th { padding: 20px 20px 10px; background-color: #fafbfc; border-bottom: none; }
    .custom-table td, .entry-content table td { padding: 0 20px 20px; border-bottom: 1px solid #eee;}

    .interview-block { flex-direction: column; gap: 30px; }
    .interview-vertical-name { writing-mode: horizontal-tb; flex-direction: column; gap: 5px; padding-top: 0; margin: 0 0 15px 0;}
    .interview-vertical-name .kanji { font-size: 28px; letter-spacing: 0.1em; }
    .interview-vertical-name .romaji { font-size: 12px; }
    .interview-pics-grid { grid-template-columns: 1fr; }

    .contact-form-wrapper { padding: 25px 18px; }
    .wpcf7 input[type="submit"], .custom-submit-btn { width: 100% !important; max-width: 100% !important; }
}

.sp-only { display: none !important; }
@media screen and (max-width: 768px) {
    .pc-only { display: none !important; }
    .sp-only { display: block !important; }
    br.sp-only { display: inline !important; } 
}