/*
Theme Name: AllSupport Link
Theme URI: https://allsupportlink.com/
Author: AllSupport Link
Author URI: https://allsupportlink.com/
Description: 株式会社オールサポートリンクの公式Webサイト用テーマ。信頼感・堅実性・専門性を伝えるクリーンでフォーマルなデザイン。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: allsuport
*/

/* ========================================
   リセット・基本設定
======================================== */
:root {
    /* カラーパレット */
    --color-main: #1A365D;
    /* 深いネイビー（信頼・知性） */
    --color-accent: #C4A484;
    /* 落ち着いたゴールド（技術・品質） */
    --color-bg: #F9FAFB;
    /* わずかに温かみのあるオフホワイト */
    --color-text: #333333;
    /* 視認性の高いダークグレー */
    --color-link: #06C755;
    /* アクションを促す鮮やかなグリーン */
    --color-white: #FFFFFF;
}

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

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

body {
    font-family: "Noto Sans JP", "Helvetica Neue", "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: #143D5F;
    opacity: 0.8;
}

ul,
ol {
    list-style: none;
}

/* ========================================
   コンテナ・レイアウト
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

/* 全幅セクション用クラス（HTML→WordPress変換時の汎用ルール） */
.section-fullwidth {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
}

/* WordPressのブロック幅制限を無効化 */
.wp-site-blocks .section-fullwidth,
.wp-block-group .section-fullwidth {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
}

/* ========================================
   ヘッダー
======================================== */
.site-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-main);
}

.site-logo a {
    color: var(--color-main);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-title-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-main);
}

/* ナビゲーション */
.main-navigation {
    display: none;
}

@media (min-width: 768px) {
    .main-navigation {
        display: block;
    }
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--color-main);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-main);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.current::after {
    width: 100%;
}

/* モバイルメニュー */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-main);
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.is-active {
    display: block;
    opacity: 1;
}

.mobile-menu-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: var(--color-white);
    padding: 60px 30px 30px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.is-active .mobile-menu-inner {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-main);
    padding: 5px 10px;
    line-height: 1;
}

.mobile-nav-menu {
    list-style: none;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #E5E5E5;
}

.mobile-nav-menu a {
    display: block;
    padding: 15px 0;
    color: var(--color-main);
    font-weight: 500;
}

body.menu-open {
    overflow: hidden;
}

/* ========================================
   ヒーローセクション（ファーストビュー）
======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/wp-content/themes/allsuport/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
    margin-top: 80px;
}

/* ヒーローセクションのオーバーレイ */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(180, 90, 30, 0.85) 0%, rgba(210, 120, 50, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

.hero-cta {
    display: inline-block;
    padding: 24px 60px;
    background-color: #06C755;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(6, 199, 85, 0.5);
    color: #fff;
    background-color: #05b34c;
}

/* ========================================
   セクション共通
======================================== */
.section {
    padding: 40px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: #2C3E50;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-title::after {
    display: none;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #666666;
    margin-bottom: 32px;
}

/* グレー背景セクション */
.section-gray {
    background-color: #F8F9FA;
}

/* ========================================
   グリッドレイアウト（カード型）
======================================== */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2カラム専用グリッド（お問い合わせページ等で使用） */
.grid-2 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
}

/* WordPress wpautopが挿入する空のpタグを非表示 */
.grid-2 > p:empty,
.grid-2 > p > p,
.grid-2 > br {
    display: none !important;
}

.grid-2 > .card {
    width: 100% !important;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px !important;
    }
}

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

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

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2C3E50;
}

.card-text {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.7;
}

.card-meta {
    font-size: 0.85rem;
    color: #999999;
    margin-bottom: 10px;
}

/* ========================================
   ボタン
======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #1C5A8E;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #143D5F;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background-color: #FFFFFF;
    color: #1C5A8E;
    border: 2px solid #1C5A8E;
}

.btn-secondary:hover {
    background-color: #1C5A8E;
    color: #FFFFFF;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ========================================
   フッター
======================================== */
.site-footer {
    background-color: #222222;
    color: #FFFFFF;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section p {
    margin-bottom: 6px;
}

.footer-section a {
    color: #CCCCCC;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444444;
}

.copyright {
    font-size: 0.9rem;
    color: #999999;
}

/* ========================================
   WordPress固有のクラス
======================================== */
/* アライメント */
.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignnone {
    margin: 20px 0;
}

/* WordPress画像キャプション */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: #666666;
    padding: 10px 0;
    text-align: center;
}

/* WordPress ギャラリー */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.gallery-item {
    position: relative;
}

/* WordPress 埋め込みコンテンツ */
.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* WordPress 管理バー対応 */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* ========================================
   ユーティリティクラス
======================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.pt-0 {
    padding-top: 0;
}

.pt-1 {
    padding-top: 10px;
}

.pt-2 {
    padding-top: 20px;
}

.pt-3 {
    padding-top: 30px;
}

.pt-4 {
    padding-top: 40px;
}

.pb-0 {
    padding-bottom: 0;
}

.pb-1 {
    padding-bottom: 10px;
}

.pb-2 {
    padding-bottom: 20px;
}

.pb-3 {
    padding-bottom: 30px;
}

.pb-4 {
    padding-bottom: 40px;
}

/* ========================================
   レスポンシブ調整
======================================== */
@media (max-width: 767px) {
    body {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 15px;
    }

    .section {
        padding: 32px 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* スクロール時のフェードイン */
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ========================================
   ページコンテナ
======================================== */
.page-container {
    padding: 100px 0 80px;
    min-height: 60vh;
}

@media (min-width: 768px) {
    .page-container {
        padding: 120px 0 100px;
    }
}

/* ========================================
   記事ページ
======================================== */
.entry-header {
    margin-bottom: 40px;
}

.entry-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* ========================================
   新規追加スタイル
======================================== */

/* 固定LINEボタン */
.fixed-line-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #06C755;
    color: #FFFFFF;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.fixed-line-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #FFFFFF;
    opacity: 1;
}

.fixed-line-btn .line-icon {
    font-weight: 900;
    font-size: 1.2rem;
}

.fixed-line-btn .line-text {
    font-weight: 700;
    font-size: 1rem;
}

/* LINEボタン（通常） */
.btn-line {
    background-color: #06C755;
    color: #FFFFFF;
    border: none;
}

.btn-line:hover {
    background-color: #05b34c;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 199, 85, 0.3);
}

/* メガLINEボタン */
.btn-mega {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 60px;
    border-radius: 60px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-mega .line-icon-large {
    font-size: 2rem;
    font-weight: 900;
}

.btn-mega .line-text-large {
    font-size: 1.5rem;
    font-weight: 700;
}

/* お問い合わせ情報 */
.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-label {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
}

.contact-phone {
    margin-bottom: 10px;
}

.contact-phone a {
    font-size: 2rem;
    font-weight: 700;
    color: #B45A1E;
    letter-spacing: 0.02em;
}

.contact-phone a:hover {
    color: #D2691E;
}

.contact-hours {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.contact-email a {
    font-size: 1rem;
    color: #B45A1E;
}

.contact-email a:hover {
    color: #D2691E;
}

/* LINE CTA */
.contact-line-wrapper {
    text-align: center;
}

.contact-recommend {
    font-size: 1.1rem;
    color: #06C755;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-note {
    font-size: 0.85rem;
    color: #999999;
    margin-top: 15px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* TOPICSリスト */
.topics-list {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.topic-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #EEEEEE;
    flex-wrap: wrap;
    gap: 10px;
}

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

.topic-date {
    color: #999999;
    font-size: 0.9rem;
    min-width: 100px;
}

.topic-cat {
    background-color: #1C5A8E;
    color: #FFFFFF;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 3px;
}

.topic-title {
    color: #2C3E50;
    font-weight: 500;
    flex: 1;
}

.topic-title:hover {
    color: #1C5A8E;
    text-decoration: underline;
}

/* 会社概要 */
.company-info-wrapper {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .company-info-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.company-message h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2C3E50;
    border-bottom: 2px solid #1C5A8E;
    padding-bottom: 10px;
    display: inline-block;
}

.company-table dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    border-top: 1px solid #EEEEEE;
}

.company-table dt {
    padding: 15px 10px;
    background-color: #F8F9FA;
    border-bottom: 1px solid #EEEEEE;
    font-weight: 700;
}

.company-table dd {
    padding: 15px 20px;
    border-bottom: 1px solid #EEEEEE;
}

@media (min-width: 768px) {
    .entry-title {
        font-size: 2.5rem;
    }
}

.entry-meta {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 15px;
}

.entry-date {
    color: #666666;
}

.entry-category {
    color: #1C5A8E;
    font-weight: 500;
}

.entry-thumbnail {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
}

.entry-content {
    line-height: 1.8;
    margin-bottom: 40px;
}

.entry-content h2 {
    font-size: 1.75rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1C5A8E;
}

.entry-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.entry-content h4 {
    font-size: 1.25rem;
    margin: 25px 0 10px;
}

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

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

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

.entry-content ol li {
    list-style: decimal;
}

.entry-content blockquote {
    margin: 2rem 0;
    padding: 20px 30px;
    background-color: #F8F9FA;
    border-left: 4px solid #1C5A8E;
    font-style: italic;
}

.entry-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
    font-size: 0.9rem;
}

.entry-tags a {
    display: inline-block;
    padding: 5px 15px;
    margin: 5px 5px 5px 0;
    background-color: #F8F9FA;
    border-radius: 3px;
    color: #666666;
}

.entry-tags a:hover {
    background-color: #1C5A8E;
    color: #FFFFFF;
}

/* ========================================
   投稿ナビゲーション
======================================== */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #E5E5E5;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 20px;
    background-color: #F8F9FA;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background-color: #E5E5E5;
}

.nav-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #999999;
    margin-bottom: 8px;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: #2C3E50;
}

.nav-next {
    text-align: right;
}

/* ========================================
   ページヘッダー
======================================== */
.page-header {
    margin-bottom: 60px;
    text-align: center;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
}

.archive-description {
    color: #666666;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   検索結果なし
======================================== */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.no-results p {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 30px;
}

/* ========================================
   トップへ戻るボタン
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #1C5A8E;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
}

/* ========================================
   ページネーション
======================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #E5E5E5;
    border-radius: 5px;
    color: #2C3E50;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #1C5A8E;
    border-color: #1C5A8E;
    color: #FFFFFF;
}

.pagination .active {
    background-color: #1C5A8E;
    border-color: #1C5A8E;
    color: #FFFFFF;
}

/* ========================================
   ページヘッダーセクション（背景画像付き）
======================================== */
.page-header-section {
    position: relative;
    padding: 120px 0 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

@media (min-width: 768px) {
    .page-header-section {
        padding: 160px 0 120px;
    }
}

/* 背景画像の上に半透明のオーバーレイ */
.page-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(28, 90, 142, 0.85) 0%, rgba(20, 61, 95, 0.75) 100%);
    z-index: 1;
}

/* コンテンツを前面に */
.page-header-section .container {
    position: relative;
    z-index: 2;
}

/* ヘッダーセクション内のタイトル・サブタイトルを白色に */
.page-header-section .section-title,
.page-header-section .section-subtitle {
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header-section .section-title::after {
    background-color: #FFFFFF;
}

/* 会社概要ページ専用の背景画像 */
.page-header-company {
    background-image: url('/wp-content/themes/allsuport/assets/images/company-header-bg.jpg') !important;
}

/* 事業内容ページ用 */
.page-header-services {
    background-image: url('/wp-content/themes/allsuport/assets/images/services-header-bg.jpg') !important;
}

/* 施工実績ページ用 */
.page-header-works {
    background-image: url('/wp-content/themes/allsuport/assets/images/works-header-bg.jpg') !important;
}

/* ニュース・コラムページ用 */
.page-header-news {
    background-image: url('/wp-content/themes/allsuport/assets/images/news-header-bg.jpg') !important;
}

/* お問い合わせページ用 */
.page-header-contact {
    background-image: url('/wp-content/themes/allsuport/assets/images/contact-header-bg.jpg') !important;
}

/* ========================================
   準備中ページ
======================================== */
.coming-soon {
    text-align: center;
    padding: 80px 20px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.coming-soon-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-main);
    margin-bottom: 20px;
}

.coming-soon-sub {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}