@charset "utf-8";
/*
Theme Name: proassist-theme
Template: lightning
*/

/* 1. 邪魔な標準ボタンを消す */
/*.site-header, .vk-mobile-nav-menu-btn { display: none !important; }*/

/* ==========================================================================
   PC版ナビゲーション サブメニュー制御（最優先）
   ========================================================================== */
@media screen and (min-width: 1161px) {
    /* サブメニューを初期状態で完全に非表示 */
    body.device-pc .global-nav .global-nav_list > li .global-nav-inner {
        display: block !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: fixed !important;
        top: 89px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        transform: translateY(-20px) !important;
        transition: all 0.5s ease !important;
        z-index: 1000 !important;
    }

    /* ホバー時のみ表示 */
    body.device-pc .global-nav_list > li:hover .global-nav-inner {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: all !important;
        transform: translateY(0) !important;
    }

    /* 親メニューアイテムは相対配置 */
    body.device-pc .global-nav_list > li.menu-item-has-children {
        position: relative !important;
    }

    /* is-hoverクラスがついても、:hoverがなければ非表示 */
    body.device-pc .global-nav_list > li:not(:hover) .global-nav-inner.is-hover {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* ==========================================================================
   スマホ版ナビゲーション（1160px以下）
   ========================================================================== */
@media screen and (max-width: 1160px) {

    /* スマホ版では、JSで追加した親タイトルボタンを消す */
    .global-nav-inner_main-btn {
        display: none !important;
    }
    /* スマホではJSの slideToggle を優先 */
    .global-nav-inner {
        position: static !important;
        visibility: visible !important; 
        opacity: 1 !important;
        transform: none !important;
        display: none ; /* JSで切り替え */
        width: 100% !important;
        background-color: transparent !important;
        box-shadow: none !important;
        padding: 7px 15px 20px !important;
        transition: none !important;
    }
    
    .global-nav-inner_list { 
        display: block !important; 
        padding: 0 !important;
        margin: 0 !important;
        padding-left: 20px !important;
        font-size: 1.5rem !important;
    }
    
    .global-nav-inner_list > li { 
        width: 100% !important; 
        margin: 0 !important;
		font-size: 0.9rem;
    }

    /* スマホでis-activeクラスがついたら表示 */
    .global-nav-inner.is-active {
        display: block !important;
    }
	/* クリックされて is-open クラスがついたら矢印を逆さまにする */
    .global-nav_list > li.menu-item-has-children > a.is-open::after {
        transform: translateY(-50%) rotate(180deg);
    }
	/* スマホでも矢印を出す */
    .global-nav_list > li.menu-item-has-children > a {
        position: relative !important;
        padding-right: 40px !important;
    }
    .global-nav_list > li.menu-item-has-children > a::after {
        content: "▼";
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px;
        transition: transform 0.3s; /* くるっと回るアニメ */
    }
}


/* 子メニューを持つ親項目（li.menu-item-has-children）に矢印を追加 */
@media screen and (min-width: 1161px) {
    /* 親項目のaタグの右側にスペースを作る */
    .global-nav_list > li.menu-item-has-children > a {
        position: relative;
        padding-right: 25px !important; /* 矢印の分だけ右を空ける */
    }

    /* 疑似要素で「▼」を描画 */
    .global-nav_list > li.menu-item-has-children > a::after {
        content: "▼";
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px; /* 矢印の大きさ */
        color: #666;    /* 矢印の色（お好みに合わせて） */
    }
    
    /* ホバー時に矢印の色を変えるなら */
    .global-nav_list > li.menu-item-has-children:hover > a::after {
        color: #333;
    }
}

/* --- グローバルナビのひょこっ！を防止 --- */
/* --- グローバルナビ：ひょっこり防止 & デザイン調整 --- */

/* ページを読み込んだ瞬間は絶対に隠す（!importantで強制） */
.global-nav .sub-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    transition: none !important; /* アニメーションを無効化して即座に隠す */
}

/* マウスが乗った時だけ表示させる */
.global-nav li:hover > .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ついでに子メニューの枠線や背景を整える（必要であれば） */
.global-nav .sub-menu {
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 10px 0;
    list-style: none;
}


/*/////////////////////////////////////////////////
! contact-banner お問い合わせはこちらボタン
///////////////////////////////////////////////// */
.contact-banner {
  background:#3371CB;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  text-decoration: none;
}
.contact-banner h2 {
  margin-bottom: 20px;
}
.cta__desc{ color: #DCEBFC; margin: 0 0 32px; }
.btn-contact {
  display: inline-block;
  background: #FFF;
  color: #3371CB;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s;
}

.btn-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #285AB3;
  color: #FFF;
  transition: width 0.3s ease;
  z-index: -1;
  border-radius: 4px;
}

.btn-contact:hover::before {
  width: 100%;
}

.btn-contact:hover {
  color: #fff;
		text-decoration: none;
}



/* /////////////////////////////////////////////////////////////////////
 Site Footer Custom
///////////////////////////////////////////////////////////////////// */
.site-footer {
    background-color: #fff;
    padding: 60px 0 30px;
    color: #333;
    border-top: 1px solid #ddd; /* ヘッダーとの区切り */
}
/* 上段レイアウト */
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}

.footer-logo img {
    width: 250px;
    height: auto;
    display: block;
}

.footer-copy {
    font-size: 12px;
    margin-top: 8px;
}

.footer-banner-area {
    text-align: right;
}

.footer-banner-area p {
    font-size: 12px;
    margin-bottom: 5px;
    line-height: 1.5;
}

.footer-banner-area img {
    width: 140px;
}

/* 中央の線 */
.footer-divider {
    border: none;
    border-top: 1px solid #333;
    margin: 0 0 25px;
}

/* 下段レイアウト */
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* メニューを横並びに */
.footer-nav_list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav_list li {
    margin-right: 20px;
    font-size: 13px;
}

.footer-nav_list li a {
    color: #333;
    text-decoration: none;
}

.footer-nav_list li a:hover {
    text-decoration: underline;
    color: #3371CB; /* ヘッダーの青に合わせる */
}

/* 右下エリア */
.footer-side-info {
    text-align: right;
}

.footer-cert-logos {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 10px;
}
/*
.footer-cert-logos img {
    height: 60px;
    width: auto;
}
*/
.copyright {
    font-size: 12px;
}

/* スマホ用レスポンシブ */
@media (max-width: 767px) {
    .footer-top-row, .footer-bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-banner-area, .footer-side-info {
        margin-top: 30px;
        text-align: center;
    }
    .footer-cert-logos, .footer-nav_list {
        justify-content: center;
    }
}

/* ロゴリンクにマウスを乗せた時に少し透けさせる演出 */
.footer-cert-logos a {
    display: inline-block;
    transition: opacity 0.3s;
}

.footer-cert-logos a:hover {
    opacity: 0.7;
}

.footer-cert-logos img {
    height: 60px; /* ここで高さを揃えると綺麗です */
    width: auto;
    vertical-align: bottom;
}
/* --- 下段レイアウトの修正 --- */
.footer-nav_list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    /* 行間（上下の間隔）と、項目間の横幅を同時に制御 */
    gap: 15px 25px; 
}

/* 念のため個別のマージンではなくgapで管理するのが現代的ですが、
   古いブラウザ対応も考慮する場合は下記も有効です */
.footer-nav_list li {
    margin: 0; /* gapを使う場合はmargin-rightをリセット */
    font-size: 13px;
    line-height: 1.6; /* テキスト自体の行間も少し広げると読みやすくなります */
}

/* --- スマホ用レスポンシブ（再調整） --- */
@media (max-width: 767px) {
    .footer-nav_list {
        justify-content: center;
        /* スマホでは少し行間を広めに（20pxなど） */
        gap: 20px 15px; 
    }
    
    .footer-nav_list li {
        /* スマホで1項目が長すぎる場合に備え、幅を少し持たせる */
        text-align: center;
    }
}



/* --- ページヘッダー（画像エリア）の調整 --- */
/*.page-header {
    /*background-color: #002b5b;*/ /* 画像がない時の予備色 */
/*	background: linear-gradient(135deg, #3371CB 0%, #285AB3 100%);
    background-size: cover;
    background-position: center;
    color: #fff !important;
    text-align: center;
    padding: 60px 0 !important; /* 高さを出すための余白 */
/*	}
*/
/* タイトルの装飾（Businessの文字を自動で追加） */
/*	.page-header-title {
    font-size: 2.5rem !important;
    font-weight: bold !important;
}
.page-header-title::after {
    content: "Business"; /* ここを英語に */
 /*	   display: block;
    font-size: 1rem;
    font-weight: normal;
    margin-top: 5px;
    opacity: 0.8;
}*/

/* --- パンくずリストの背景色調整 --- */
/*#breadcrumb {
    background-color: #f5f7fa;
    padding: 12px 0;
    margin-bottom: 0;
}*/
/* パンくずリストを独立したバーにする */
#breadcrumb {
    background-color: #f5f7fa !important; /* 薄いグレーの背景色 */
    padding: 10px 0px 10px 50px !important;           /* 上下の余白 */
    border-bottom: 1px solid #eeeeee;    /* 下線を入れて境界をはっきりさせる */
    display: block !important;
    position: relative;
    z-index: 100;
}

/* リスト全体のスタイル */
.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

/* 各項目の間に「 > 」を入れる（HTMLに直書きしなくて済む） */
.breadcrumb-list li:not(:last-child)::after {
    content: ">";
    margin: 0 15px;
    color: #ccc;
}

.breadcrumb-list a {
    color: #3371CB; /* 企業サイトの青 */
    text-decoration: none;
}
.breadcrumb-list a:hover {
    text-decoration: underline;
}
/* パンくず内の .container だけ幅制限を外して左寄せ */
#breadcrumb .container {
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* -----------------------------------------------------------------
 * 480px以下：パンくずリストを非表示
 * ----------------------------------------------------------------- */
/* --- 追加：480px以下での非表示設定 --- */
@media (max-width: 480px) {
    #breadcrumb {
        display: none !important; /* スマホでは存在自体を消す */
    }
}
/* 1. レイアウトの基本設定（全ページ共通） */
.page-header {
    margin-top: 0 !important;
    min-height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover !important;
    background-position: center !important;
}

/* 2. ページヘッダーの共通デザイン（グラデーション適用） */
/* 社員の声（voice）関連以外に適用する条件分岐 */
/*body.page .page-header,
body.blog .page-header,
body.archive:not(.post-type-archive-voice):not(.tax-voice_category) .page-header,
body.single:not(.single-voice) .page-header,
body.search .page-header,
body.error404 .page-header {
    background: linear-gradient(135deg, #3371CB 0%, #285AB3 100%) !important;
}*/

.page-header-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
    text-align: center !important;
}

/* サブテキスト（英語）の共通デザイン */
.page-header-title::after {
    display: block !important;
    font-size: 0.4em !important;
    letter-spacing: 0.3em !important;
    margin-top: 10px !important;
    opacity: 0.9 !important;
    font-family: sans-serif !important;
}


/* H2: 中央寄せ・青・太字（装飾なし） */
.entry-body h2 {
    color: #285AB3;
    font-weight: bold;
    text-align: center;
    font-size: 2rem;
    border: none;
    background: none;
    padding: 0;
    margin: 2em 0 1.2em;
}

/* H3: 左線と薄い背景（以前のH2のデザインをここへ） */
/*h3 {
    position: relative;
    padding: 0.6em 0.8em;
    border-left: 6px solid #3371CB;
    background-color: #f0f5fa;
    color: #333;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 2em 0 1em;
    text-align: left;
}*/
/* style.css */
/* 共通スタイル*/
.section-ttl{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 65px;
}
.section-ttl h3 {
  text-align: center;
 font-size: 2rem;
  font-weight: 700;
  color: #285AB3;
  margin-bottom: 30px;
}
.section-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.content-ttl {/*h4*/
    font-size: 1.5rem;
    font-weight: 700;
    margin: 20px 0;
    border-bottom: 1px solid #3371CB;
    padding-bottom: 10px;
}
.sidemenu-nav h3 a {
  text-decoration: none;
}
.sidemenu-nav h3 a:hover {
  text-decoration: none;
}

.service-card__title{/*h5*/
    margin: 0;
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 700;
}
h5.section-title-backgray{
	background-color: #F0F0F0;
    color: #333333;
    font-weight: bold;
    font-size: 1.8rem;
    padding: 10px 25px;
    margin: 10px auto;
}
.sub-ttl {/*h5*/
	font-size: 1.25rem;
	font-weight: bold;
	line-height: 1.8em;
	border-bottom: solid 4px #CCCCCC; /*[1]線の太さと地の色を指定*/
	position: relative;
	margin: 25px auto;
}
.sub-ttl:after { /*h5*/
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 4px #1C78DF; /*[2]アクセントの色を指定（太さは上記[1]に揃える）*/
  bottom: -4px; /*[3]太さの分だけ線の位置を調整*/
  width: 23%; /*[4]アクセントカラーの幅を指定*/
}

h5.line-ttl {
	color:#3371CB;
  font-size: 1.8rem;
  line-height: 1.5em;
  font-weight: bold;
  margin-left: 10px;
  margin-top: 15px;
  margin-bottom: 5px;
}
h5.line-ttl::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: " \f0c8";
  padding-right: 5px;
}
.content-bar-ttl {/*h6*/
	background-color: #F0F0F0;
    color: #333333;
    font-weight: bold;
    font-size: 1.25rem;
    padding: 10px 25px;
    margin: 10px auto;
}
/* H4: 下線のみ（以前のH3のデザインをここへ） */
/*h4 {
    padding: 0.4em 0;
    border-bottom: 2px solid #3371CB;
    color: #3371CB;
    font-size: 1.15rem;
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}
*/
.entry-body {
    max-width: 90% ; /* 1200pxなどの制限を完全に解除 */
    width: 100% ;
    padding-left: 50px ; /* 左右に一律で50pxの余白を確保 */
    padding-right: 50px ;
    box-sizing: border-box ;
    margin-left: auto ;
    margin-right: auto ;
}

/* 2. 中身の要素が「幅広」設定などでズレるのを防ぐ */
.entry-body > *, 
.entry-body .alignwide {
    max-width: 100% ;
    margin-left: 0 ;
    margin-right: 0 ;
}

/* 3. スマホ表示（767px以下）では余白を20pxに縮めて画面を有効活用する */
@media (max-width: 767px) {
    .entry-body {
        padding-left: 15px ;
        padding-right: 15px ;
    }
}

/* トップページ専用のフッター表示修正 */
.home .site-footer {
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    clear: both !important; /* 前の要素の回り込みを強制解除 */
    z-index: 9999 !important; /* 一番手前に持ってくる */
    margin-top: 50px; /* 上に少し隙間を作る */
}

/* 前のバナーセクションが被らないようにする */
.home .banner-section {
    margin-bottom: 0;
    overflow: hidden; /* 中身がはみ出さないようにする */
}

/* -----------------------------------------------------------------
   新卒採用/新卒採用ニュース/社員の声
----------------------------------------------------------------- */
/* 投稿者名を非表示にする */
.entry-meta-item-author {
    display: none !important;
}
/* デフォルトの投稿、新卒ニュース、社員の声の説明文を消す */
.archive-post .page-header_description,
.single-post .page-header_description,
.archive-news-graduate .page-header_description,
.single-news-graduate .page-header_description,
.archive-voice .page-header_description,
.single-voice .page-header_description {
    display: none !important;
}


/* -----------------------------------------------------------------
   サイドバーの幅固定とメインエリアの最大化（文字切れ修正版）
----------------------------------------------------------------- */

/* 1. 全体のコンテナ設定 */
/*.container {
	    max-width: none !important;
}*/
.site-body-container.container {
    padding-left: 50px !important;
    padding-right: 50px !important;
    max-width: none !important;
    margin: 0 auto !important;
}

/* 2. PC表示時（992px以上）のレイアウト強制調整 */
@media (min-width: 992px) {
    .site-body-container > .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* メインセクション：右側に少し隙間をあけてサイドバーと離す */
    .main-section.col-md-8 {
        flex: 1 !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 40px !important; /* サイドバーとの境界線 */
    }

    /* サイドバー：文字が切れないように内側に少し余白を戻す */
    .sub-section.col-md-4 {
        flex: 0 0 320px !important; /* 少しだけ幅を広げて余裕を持たせる */
        max-width: 320px !important;
        padding-left: 10px !important; /* 「サ」が切れないように左の隙間を確保 */
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }
}

/* -----------------------------------------------------------------
 * 480px以下：全体の左右パディングを最適化
 * ----------------------------------------------------------------- */
@media (max-width: 480px) {
	    .entry-body {
        padding-left: 0px ;
        padding-right: 0px ;
    }
		.section-ttl{
	  max-width: 1200px;
	  margin: 0 auto;
	  padding: 0px 20px;
	}
    .site-body-container.container {
        /* 50pxから15px〜20px程度に減らして、画面を有効活用する */
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}


/* 3. ウィジェット内のタイトルがはみ出さないようにガード */
.sub-section-title {
    word-break: break-all; /* 文字が長すぎても折り返すように */
    overflow: visible !important; /* はみ出しを隠さない */
    white-space: normal !important;
}
/* -----------------------------------------------------------------
   サイドバー
----------------------------------------------------------------- */
/* --- サイドバー全体のコンテナ --- */
.sub-section .widget_link_list {
    background: #fff;
    padding: 0;
    margin-bottom: 40px;
    text-align: left; /* 全体を左揃えに強制 */
}

/* タイトル：サステナビリティ（青い下線） */
.sub-section-title {
    color: #285AB3;
    font-size: 1.4rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #285AB3;
    font-weight: 700;
    text-align: left; /* 左揃え */
}

/* --- 親項目（太文字黒字・ページ内リンク） --- */
.widget_link_list > ul > li {
    margin-bottom: 10px;
}

.widget_link_list > ul > li > a {
    display: block;
    color: #333 !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 10px 12px;
    text-decoration: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 5px;
    text-align: left;
}

/* --- 子項目（矢印付き・ページリンク） --- */
.widget_link_list ul.children {
    padding-left: 0;
    margin-top: 5px;
}
.widget_link_list ul.children li {
    margin-bottom: 5px;
    list-style: none;
}
.widget_link_list ul.children li a {
    display: flex; /* 矢印と文字を横並びに */
    align-items: center;
    color: #666 !important;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 12px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 4px;
    transition: all 0.3s;
    text-align: left;
}
/* 矢印：aタグの前に1つだけ表示 */
.widget_link_list ul.children li a::before {
    content: ">";
    margin-right: 10px;
    color: #285AB3;
    font-weight: bold;
    flex-shrink: 0; /* 矢印が潰れないように固定 */
}
/* --- ホバーアニメーション（左から右へ青が広がる） --- */
/* 背景の青い膜を ::after で作成（contentは空にする） */
.widget_link_list li a::after {
    content: ""; /* ここを空にすることで矢印の重複を解消 */
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: width 0.4s ease;
    z-index: -1;
}
/* 親項目ホバー：濃い青 */
.widget_link_list > ul > li > a::after {
    background: #3371CB;
}
.widget_link_list > ul > li > a:hover {
    color: #fff !important;
}
/* 子項目ホバー：薄い青 */
.widget_link_list ul.children li a::after {
    background: #e8f0fe;
}
.widget_link_list ul.children li a:hover {
    color: #285AB3 !important;
}
/* ホバーで幅を100%にする共通設定 */
.widget_link_list li a:hover::after {
    width: 100%;
}
/* インデントが必要な項目 */
.widget_link_list ul.children li.indent a {
    padding-left: 30px;
}
/* スマホ・タブレットでの文字の折り返し対策 */
.widget_link_list ul.children li a {
    display: flex;
    align-items: flex-start; /* 2行になっても矢印を1行目の高さに固定 */
    text-align: left;
}

.widget_link_list ul.children li a::before {
    content: ">";
    margin-right: 10px;
    flex-shrink: 0; /* 矢印が細く潰れるのを防ぐ */
    line-height: 1.5; /* テキストの1行目と高さをピタリと合わせる */
}
/* --- 第3階層（孫ページ）以上のインデント設定 --- */

/* 階層が深くなるごとに左に余白をつける */
.widget_link_list ul.children ul.children {
    padding-left: 20px; /* ここで下げる幅を調整できます */
    margin-top: 0;
}

/* 第3階層以降のリンクの見た目を少し控えめにする場合（任意） */
.widget_link_list ul.children ul.children li a {
    font-size: 0.85rem; /* 少し文字を小さくして階層感を出す */
    padding-top: 5px;
    padding-bottom: 5px;
}

/* 矢印の色を少し変えて区別する場合（任意） */
.widget_link_list ul.children ul.children li a::before {
    content: ">"; /* 孫階層は矢印を2つにするなどの遊びも可能です */
    font-size: 0.8rem;
    color: #999; 
}

html {
    scroll-behavior: smooth;
}
/* --- タブレットサイズ (991px以下) --- */
@media (max-width: 991px) {
    /* 1. 親要素：折り返しを強制許可し、横並びを解除 */
    .wp-block-columns.column-4-2-1 {
        flex-wrap: wrap !important;
        display: flex !important;
    }

    /* 2. 子要素：各カラムを50%幅にする */
    .wp-block-columns.column-4-2-1 > .wp-block-column {
        /* WPの計算式を上書き：(100% / 2) - (余白の半分) */
        flex-basis: calc(50% - var(--wp--style--block-gap, 2em) / 2) !important;
        flex-grow: 0 !important;
        width: calc(50% - var(--wp--style--block-gap, 2em) / 2) !important;
        min-width: calc(50% - var(--wp--style--block-gap, 2em) / 2) !important;
        margin-bottom: var(--wp--style--block-gap, 2em);
    }
}

/* --- スマホサイズ (599px以下) --- */
@media (max-width: 599px) {
    .wp-block-columns.column-4-2-1 > .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}
/* -----------------------------------------------------------------
   サステナビリティ
----------------------------------------------------------------- */
.sustainability-hero::before {
  /* オーバーレイ */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}
.sustainability-hero .hero-content {
  position: relative; /* オーバーレイの上に表示 */
  z-index: 1;
  margin-top: 60px;
}
.sustainability-hero h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
.sustainability-hero p {
  font-size: 1.2em;
}
.sustainability-section {
	margin: 0px;
}

.sustainability-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
	width: 100%;
}
.sustainability-section-ttl{
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 0px;
}
.sustainability-section-ttl h3 {
  text-align: center;
font-size: 2em;
  color: #285AB3;
  margin-bottom: 40px;
}
.sustainability-section-ttl ul {
  list-style: disc;
  padding-left: 2em;
  margin: 10px 0;
}
.sustainability-section-ttl ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.sustainability-container .text-right{
	text-align: right;
	margin-bottom: 25px;
}
.sustainability-section-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.sustainability-item {
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: left;
  padding: 5px 10px;
}
.sustainability-item h5 {
  font-size: 1rem;
  margin: 15px 10px 10px;
  color: #285AB3;
}
.sustainability-item h5 a {
 text-decoration: none;
}
.sustainability-item p {
  font-size: 0.75rem;
  padding: 0 10px;
}
@media (max-width: 1024px) {
.sustainability-section-list {
    grid-template-columns: repeat(2, 1fr);
  }
	.sustainability-section-ttl p{
		font-size: 0.9rem;
	}
}
@media (max-width: 600px) {
.sustainability-section-list {
    grid-template-columns: 1fr;
  }
}
/* Buttons */
.policy-button {
    display: inline-flex;
    align-items: center;
    background: #3371CB;
    color: white !important;;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    margin-right: 15px;
    margin-bottom: 10px;
    line-height: 1;
    position: relative;
    overflow: hidden;
    z-index: 1;
	font-weight: 600;
    /*transition: color 0.3s;*/
}

.policy-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #285AB3;
    transition: width 0.3s ease;
    z-index: -1;
}

.policy-button:hover::before {
    width: 100%;
}

.policy-button::after {
    font-size: 1rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    margin-left: 10px;
    position: relative;
    z-index: 1;
}

.policy-button:hover {
	    color: white;
    text-decoration: none;
}
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.sustainability-section ol { 
  counter-reset: item;
  list-style: none;
  padding-left: 0;
}
.sustainability-section ol > li {
  counter-increment: item;
  margin-bottom: 20px;
  position: relative;
  padding-left: 2em;
}
.sustainability-section ol > li::before {
  content: counter(item) ". ";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #285AB3;
}
/* ネストされたolのスタイル */
.sustainability-section ol ol {
    counter-reset: subitem;
    margin-top: 10px;
    padding-left: 0;
}
.sustainability-section ol ol > li {
  counter-increment: subitem;
  padding-left: 2em;
  margin-bottom: 10px;
}
.sustainability-section ol ol > li::before {
  content: "(" counter(subitem) ")";
  position: absolute;
  left: 0;
  font-weight: normal;
}
.sustainability-section ul {
  list-style: disc;
  padding-left: 2em;
  margin: 10px 0;
}
.sustainability-section ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.plan-item {
  margin-bottom: 15px;
}
.plan-label {
  font-weight: bold;
  margin-bottom: 5px;
}
.info-list{
	font-size: 1.4rem;
	margin-left: 15px;
}

.info-list dt {
  font-weight: bold;
  color: #285AB3;
  margin-top: 15px;
}

.info-list dt::after {
  content: "：";
}
.info-list dd {
  margin-left: 0;
  margin-bottom: 15px;
}


.card-content {
 display: grid;
 grid-template-columns: 1fr 250px;
}
@media (max-width: 768px) {
  .card-content {
    display: block;
  }
}
.banner-container {
	  text-align: center;
  padding: 10px;

}


.info-banner {
    padding: 0px 20px;
}

/*/////////////////////////////////////////////////
! list
///////////////////////////////////////////////// */
/* ------------------------------------------------
 * 汎用3階層リスト：ol統一・表示復活版（修正版）
 * ------------------------------------------------ */

.custom-list-tier {
    counter-reset: lv1;
}

.custom-list-tier ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.custom-list-tier li {
    position: relative !important;
    line-height: 1.8 !important;
    margin-top: 0.6em !important;
    margin-bottom: 0.6em !important;
    list-style-type: none !important;
}

/* --- 第1階層：1. 2. 3. --- */
.custom-list-tier > ol > li {
    counter-increment: lv1;
    counter-reset: lv2;
    padding-left: 2em !important;
}

.custom-list-tier > ol > li::before {
    content: counter(lv1) "." !important;
    position: absolute; left: 0; top: 0;
    display: inline-block !important;
    font-weight: bold; color: #004294;
}

/* --- 第2階層：(1) (2) (3) --- */
.custom-list-tier > ol > li > ol > li {
    counter-increment: lv2;
    counter-reset: lv3;
    padding-left: 2.5em !important;
}

.custom-list-tier > ol > li > ol > li::before {
    content: "(" counter(lv2) ")" !important;
    position: absolute; left: 0.5em; top: 0;
    display: inline-block !important;
    font-weight: bold;
}

/* --- 第3階層：I. II. III. --- */
.custom-list-tier > ol > li > ol > li > ol > li {
    counter-increment: lv3 !important;
    padding-left: 3.2em !important;
}

.custom-list-tier > ol > li > ol > li > ol > li::before {
    content: counter(lv3, upper-roman) "." !important;
    position: absolute; left: 1.2em; top: 0;
    display: inline-block !important;
    font-weight: normal;
}

.custom-list-tier li::after { content: none !important; }



/*//////////////////////////////////////////////////////////////////
Table
個人情報の開示等について
匿名加工情報の第三者提供について
/////////////////////////////////////////////////////////////////////*/


.document-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.document-table thead {
    background-color: #f0f0f0;
}
.document-table th,
.document-table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
    vertical-align: top;
}
.document-table th {
    font-weight: bold;
    text-align: center;
}
.document-table td:first-child {
    font-weight: bold;
}
.document-table td:nth-child(2) {
    width: 175px;
}
.document-table ol {
    list-style-position: inside;
    padding-left: 0;
}
.document-table ol li {
    margin-bottom: 8px;
}

.sub-category {
    background-color: #e8e8e8;
    padding: 8px 12px;
    margin-bottom: 10px;
    font-weight: bold;
    border-radius: 4px;
}
.note {
    margin-top: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 3px solid #666;
    font-size: 14px;
}
.indent {
    display: block;
    padding-left: 20px;
    font-size: 14px;
    color: #555;
}


/* レスポンシブ対応（タブレット） */
@media (max-width: 768px) {

    .document-table th,
    .document-table td {
        padding: 12px;
    }
    .document-table td:first-child,
    .document-table td:nth-child(2) {
        width: auto;
    }
}

/* レスポンシブ対応（スマホ） */
@media (max-width: 640px) {
/*    body {
        padding: 10px;
    }
    .container {
        padding: 15px;
    }*/


    .document-table thead {
        display: none;
    }

    .document-table,
    .document-table tbody,
    .document-table tr,
    .document-table td {
        display: block;
        width: 100%;
    }

    .document-table tr {
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 4px;
        overflow: hidden;
    }

    .document-table td {
        border: none;
        border-bottom: 1px solid #eee;
        padding: 12px;
        position: relative;
        text-align: left;
    }

    .document-table td:last-child {
        border-bottom: none;
    }

    .document-table td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 8px;
        color: #666;
        font-size: 14px;
    }

    .document-table td:first-child {
        background-color: #f8f8f8;
        text-align: left;
        width: 100%;
    }

    .document-table td:nth-child(2) {
        width: 100%;
    }

    .document-table ol li {
        font-size: 14px;
        line-height: 1.6;
    }

    .note {
        font-size: 13px;
    }
}
/* -----------------------------------------------------------------
 * 品質方針のアイコン
 * ----------------------------------------------------------------- */
.flow-container {
    max-width: 1200px;
    margin: 45px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.flow-item {
    flex-shrink: 0;
}

.flow-box {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-radius: 8px;
    padding: 15px 20px;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.flow-icon {
    width: 40px;
    height: 40px;
    color: white;
}

.flow-icon svg {
    width: 100%;
    height: 100%;
}

.flow-text {
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
}

.flow-arrow {
    display: flex;
    align-items: center;
    color: #357abd;
    flex-shrink: 0;
}

.flow-arrow svg {
    width: 30px;
    height: 30px;
}

/* タブレット */
@media (max-width: 1024px) {
    .flow-box {
        padding: 12px 18px;
        min-width: 100px;
    }

    .flow-icon {
        width: 35px;
        height: 35px;
    }

    .flow-text {
        font-size: 13px;
    }

    .flow-arrow svg {
        width: 25px;
        height: 25px;
    }
}

/* スマホ（縦並び） */
@media (max-width: 768px) {
    .flow-container {
        flex-direction: column;
        gap: 10px;
    }

     .flow-box {
        width: 100%;
        max-width: 100%;
        padding: 15px;
    }

    .flow-item {
        width: 100%;
        max-width: 250px;
    }

    .flow-arrow {
        transform: rotate(-90deg);
    }

    .flow-arrow svg {
        width: 25px;
        height: 25px;
    }
}

/* 小さいスマホ */
@media (max-width: 480px) {
    body {
        padding: 20px 10px;
    }

    .flow-box {
        padding: 20px;
        min-width: auto;
    }

    .flow-icon {
        width: 45px;
        height: 45px;
    }

    .flow-text {
        font-size: 15px;
    }
}



/* -----------------------------------------------------------------
 * 汎用設定：フルワイドスイッチ
 * ----------------------------------------------------------------- */
/*@media (min-width: 1025px) {*/
    /* このクラスを「グループ」または「本体」に付与すると広がる */
/*    .is-full-width.wp-block-group,
    .is-full-width .wp-block-group.is-layout-constrained > * {
        max-width: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }*/

    /* その中のカラムブロックも連動して広げる */
/*    .is-full-width .wp-block-columns {
        max-width: 100% !important;
        width: 100% !important;
    }
}*/
/* -----------------------------------------------------------------
 * 汎用設定：.is-full-width がついた要素を親の制約から解き放つ
 * ----------------------------------------------------------------- */
/* -----------------------------------------------------------------
 * フルワイド時の「中身」の広がりすぎを抑制する
社長挨拶
 * ----------------------------------------------------------------- */
@media (min-width: 1025px) {

    .is-full-width.wp-block-columns {
        /* 箱自体は100%だが、中身の最大幅を制限して「間抜け」を防ぐ */
        max-width: 1400px !important; /* ここでお好みの「最大幅」を調整 */
        margin-left: auto !important;
        margin-right: auto !important;
        
        /* 写真と文章の間の溝（gap）を固定値にして広がりすぎを防ぐ */
        gap: 80px !important; 
    }

    /* 比率ではなく、写真側の幅を「固定」に近づけると安定します */
    .ceo-photo-wrapper {
        flex: 0 0 300px !important; /* 写真側を300px固定にする */
    }

    .message-content-column {
        flex: 1 !important; /* 残りのスペースを文章が使う */
    }
}


/* --- ミニマルサイトマップデザイン --- */
/* グリッドをやめて、新聞のコラムのように流し込む設定 */
.wsp-pages-list {
    display: block; /* gridを解除 */
    column-count: 4; /* 横に何列並べるか（PC時） */
    column-gap: 30px;
    padding: 0;
    list-style: none;
}

.wsp-pages-list > li {
    break-inside: avoid; /* 項目が途中で次の列に分割されないようにする */
    margin-bottom: 30px; /* 縦の余白 */
    display: block;
}
/* 親カテゴリ（タイトル）の調整 */
.wsp-pages-list > li > a {
    display: block;
    font-size: 15px;      /* 14pxから微増：親としての存在感を出す */
    font-weight: 700;      /* 600から700へ：より太く、セクションの区切りを明確に */
    color: #111112;      /* より黒に近い色で引き締める */
    text-decoration: none;
    padding-bottom: 8px;
    border-bottom: 1px solid #d2d2d7;
    margin-bottom: 15px; /* 下のリストとの間隔を少し広げて読みやすく */
    letter-spacing: 0.02em; /* わずかに文字間を広げて高級感を */
}

/* 子リスト（詳細リンク）の調整 */
.wsp-pages-list ul li {
    margin-bottom: 10px; /* 行間を少し広げて「詰まりすぎ」を解消 */
    line-height: 1.5;
}

.wsp-pages-list ul li a {
    font-size: 13px;      /* 12pxから微増：可読性を確保 */
    font-weight: 400;      /* 標準の太さ：親との差をつける */
    color: #424245;      /* Apple特有の少し柔らかなグレー */
    text-decoration: none;
    transition: color 0.2s ease;
}
/* 「.wsp-pages-list」の中にある「a」であることを強調します */
.wsp-pages-list ul li a:hover,
.wsp-pages-list li a:hover {
    color: #0066cc !important;      /* !importantで強制適用 */
    text-decoration: none !important; /* 下線を強制的に消す */
    opacity: 0.8;                   /* 少し透けさせると「押した感」が出ます */
}

/* スマホでは1列に戻す */
@media (max-width: 767px) {
    .wsp-pages-list {
        column-count: 1;
    }
}


/* サイドバーが無くなって1カラムになったとき間延びしないように検索結果（1カラム）の時の横幅を少し絞る（任意） */
.search .main-section {
    /*max-width: 900px;*/
	max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 記事タイトルのデザインをニュースと揃える */
.search .news-archive-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}


/*///////////////////////////
1. アイキャッチ画像エリアを完全に消す 
//////////////////////////*/
.widget_media .vk_post_imgOuter {
    display: none !important;
}

/* 2. 画像が横にあった時の「回り込み」と「余白」を解除して左に寄せる */
.widget_media .vk_post {
    display: block !important; /* 横並びレイアウトを解除 */
    padding: 10px 0 !important;
    border-bottom: 1px solid #eee; /* 各記事の間に薄い区切り線 */
}

/* 3. テキストコンテナの余白をゼロにして左端に固定 */
.widget_media .vk_post_body {
    padding-left: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
}

/* 4. タイトルと日付を左寄せにする */
.widget_media .vk_post_title,
.widget_media .vk_post_date {
    text-align: left !important;
    display: block !important;
}

.widget_media .vk_post_title a {
    text-decoration: none;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}


.business__body { padding: 32px; }
.business__title { font-size: 21px; font-weight: 700; margin: 0 0 14px; list-style:none !important; }
.business__text {  font-size: 15px; margin: 0 0 20px; }
.business__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.business__tags li {
	background: var(--color-bg-alt); 
	border-radius: 999px;
	transition: background var(--ease-base) ;
	list-style:none !important;
}
.business__tags li:hover { background: var(--color-primary); }
.business__tags a {
	color: var(--color-primary);
  display: block;
  font-size: 13px; padding: 6px 14px;
  transition: color var(--ease-base);
}
.business__tags li:hover a { color: #fff; }
.solution-block__sublist{
    list-style: none;
    padding-left: 0;
}

.solution-block__sublist li{
    list-style: none;
}

.solution-block__sublist li::marker{
    content: none;
}さ



/*///////////////////////////
採用情報 
//////////////////////////*/
.recruit-section {
  display: grid;
  /*grid-template-columns: repeat(4, 1fr);*/
  gap: 20px;
  padding: 60px 20px;
  /*background: #f5f5f5;*/
}
.recruit-section-ttl{
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 20px;
}
.recruit-section-ttl h3 {
  text-align: center;
font-size: 2em;
  color: #285AB3;
  margin-bottom: 20px;
}
.recruit-section-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}


/* Main Content */
.main-content {
    padding: 40px 0;
}

.recruitment-section {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.section-description {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.recruitment-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	margin-top: 30px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    padding: 25px 30px 20px;
    border-bottom: 2px solid #f5f5f5;
}

.card-content {
    padding: 25px 30px;

}
/* カード内のテキストと画像の間隔を詰める */
.card-content p {
    margin: 0 0 12px;
}

.recruitment-banner img{
    width: 300px;
    height: auto;
    display: block;
}

/* Contact Section */
.contact-section {
    background-color: #1e3a5f;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

/*.contact-button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-button:hover {
    background-color: #357abd;
}
*/
img.btn-saiyou a {
	display: table;
	box-sizing: border-box;
	color: #fff;
	text-decoration: none;
}


/* カード内のテキストと画像の間隔を詰める */
.card-content p {
    margin: 0 0 12px;
}

/* バナー共通：幅を統一 */
.banner-item {
    margin: 0 0 28px;
}
.banner-item:last-child {
    margin-bottom: 0;
}
.banner-item a {
    display: block;
    width: 100%;
    max-width: 300px;      /* ← 揃えたい幅 */
}
.banner-item img {
    display: block;
    width: 100%;           /* 親の幅（最大300px）に合わせる */
    height: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.banner-item.no-shadow img {
    box-shadow: none;
}
.mynavi-block {
    padding-top: 28px;
    border-top: 2px dashed #ccc;
}
.mynavi-block .banner-item {
    margin-bottom: 0;
}
.mynavilogo{
	margin-top: 25px;
}
@media screen and (max-width: 1280px) {
		img.btn-saiyou {
		padding: 10px;
		font-size: 1.2em;
	}
}
@media screen and (max-width: 768px) {
	.recruitment-banner {
    padding: 0px 0px;

}
		img.btn-saiyou {
		font-size: 1em;
		margin-bottom: 20px;
		}
.recruit-section-ttl h3 {
	font-size: 1.25rem;
}

}

@media (max-width: 768px) {
  .recruit-hero {
    /*background-position: center top;*/
	  background-position: right top;
  }
}

/*//////////////////////////////////////////////////////////////////
会社概要の表の設定
/////////////////////////////////////////////////////////////////////*/
.outline-section {
      max-width: 1200px;
      margin: 0 auto;
      background-color: white;
      padding: 20px;
/*      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    }
    
    /* 会社概要テーブル専用のスタイル */
    #companyInfoTable {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 1rem;
		font-size: 1rem;
    }
    
    #companyInfoTable th,
    #companyInfoTable td {
      border: 1px solid #dee2e6;
      padding: 12px;
      vertical-align: top;
		font-size: 1rem;
    }
    
    #companyInfoTable th {
      width: 20%;
      color: #333;
      background-color: #F2F2F2;
      font-weight: bold;
      text-align: left;
    }
    
    #companyInfoTable td {
      width: 80%;
    }
    
    .btn-map {

      margin-left: 10px;
    }
    
    .btn-map a {
     /* background-color: #007bff;*/
	  background: var(--color-bg-alt); 
		border-radius: 999px;
      color: var(--color-primary);
      padding: 4px 12px;
      text-decoration: none;
      font-size: 0.9em;
		
    }
    
    .btn-map a:hover {
      background: var(--color-primary); 
		 color: #fff;
    }
    
    h6 {
      margin: 0 0 10px 0;
      font-size: 1.1em;
      color: #333;
    }
    
    .outline-section ul {
      list-style: disc;
      padding: 0 0 0 25px;
      margin: 0;
    }
    
    .outline-section ul li {
      padding: 4px 0;
    }
    
    .outline-section ul li a {
      color: #3371CB;
      text-decoration: none;
    }
    
    .outline-section ul li a:hover {
      text-decoration: underline;
    }
    
/*    .row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }*/
    
    .taR {
      text-align: right;
    }

    @media (max-width: 768px) {
      .sm-none {
        display: none;
      }
/*		  .row {
    grid-template-columns: 1fr;
  }*/
    }




/*//////////////////////////////////////////////////////////////////
主要取引先ページ専用 
/////////////////////////////////////////////////////////////////////*/

#companyInfoTable .row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

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

/* ----------------------------------------------------------*/
/* スマホ：th と td を縦並びにする */
@media (max-width: 768px) {
  #companyInfoTable,
  #companyInfoTable tbody,
  #companyInfoTable tr,
  #companyInfoTable th,
  #companyInfoTable td {
    display: block;
    width: 100%;          /* 元の th 20% / td 80% を打ち消す */
    box-sizing: border-box;
  }

  /* 項目（th）と内容（td）をひとまとまりに見せる */
  #companyInfoTable tr {
    margin-bottom: 16px;
  }
  #companyInfoTable th {
    padding: 10px 12px;
  }
  #companyInfoTable td {
    border-top: none;     /* th との境界線が二重にならないように */
    overflow-wrap: anywhere;  /* 長い名称やURLのはみ出し防止 */
  }
}


/* ----------------------------------------------------------
採用情報（https://www.proassist.co.jp/recruit）
---------------------------------------------------------- */
.btn_recruit {
  width: 250px;
}
.btn_recruit a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  color: #FFF;
  text-align: center;
  display: block;
  line-height: 1.5em;
  padding: 10px 5px;
  background: #3371CB;
  border-radius: 5px;
}
.btn_recruit a::before {
  content: "\f0da";
  font-family: "Font Awesome 5 Free";
  padding-right: 5px;
  font-weight: 900;
}
.btn_recruit a:hover {
  text-decoration: none;
  color: #FFF;
  background: #50BECB;
}
@media screen and (max-width:980px) {
  .btn_recruit {
    margin: 20px auto;
    width: 100%;
  }
}
/* ----------------------------------------------------------
CTA
---------------------------------------------------------- */
.cta-section {
	background-color: #3371CB;
	text-align: center;
	color: #fff;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-top: 45px;
	padding: 60px 0 !important;
	overflow: hidden;
}

.cta-title {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 40px;
	color: #fff !important;
}

.cta-button {
	display: inline-block;
	background-color: #fff;
	color: #3371CB !important;
	padding: 18px 60px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 900;
	font-size: 1.1rem;
	position: relative;
	overflow: hidden;
	z-index: 1;
	transition: color 0.3s ease;
	border: none;
}

.cta-button::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background: #285AB3;
	transition: width 0.3s ease;
	z-index: -1;
}

.cta-button:hover::before {
	width: 100%;
}

.cta-button:hover {
	color: #fff !important;
	text-decoration: none;
}

@media (max-width: 768px) {
	.cta-title {
		font-size: 20px;
		padding: 0 20px;
	}
	.cta-button {
		width: 80%;
		padding: 16px 0;
	}
}
/* ----------------------------------------------------------
コンタクトフォーム
---------------------------------------------------------- */
.wpcf7 select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.wpcf7-checkbox .wpcf7-list-item {
    display: block;
    margin: 0 0 8px 0;
}
.wpcf7-response-output {
    display: none !important;
}

/* -----------------------------------------------------------------
 * 英語ページ(en)専用
 * ----------------------------------------------------------------- */

/* --- 英語ページヘッダー全体 --- */
.site-header-en {
    background: #fff;
    border-top: 5px solid #3371CB; /* 最上部の青い線 */
}

/* 英語ページヘッダーのコンテナに余白を追加 */
.header-inner-en {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px; /* 上下 20px / 左右 15px の余白 */
    max-width: 1400px;  /* コンテンツの最大幅を制限して中央寄せ */
    margin: 0 auto;     /* 中央配置 */
}



#headerLogo img {
    max-height: 60px;
    width: auto;
}

/* 右上の Access / Japan リンク */
#headerLinks ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
}

#headerLinks li a {
    color: #888;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

#headerLinks li i {
    color: #3371CB;
    margin-right: 5px;
}

/* --- 青いメインメニュー帯 --- */
#main-nav-en {
    background-color: #3371CB; /* 添付画像の青色 */
}

.en-main-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.en-main-menu-list li {
    flex: 1;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.3);
}

.en-main-menu-list li:last-child {
    border-right: none;
}

.en-main-menu-list li a {
    display: block;
    padding: 12px 0;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}

.en-main-menu-list li a:hover {
    background-color: #285AB3;
}
/* 英語ページ専用：上下の白い余白を消去 */
.en-page-body {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* 英語ページ専用：左右の余白（container由来）をメインエリアだけ解除 */
.en-page-body .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important; /* 横幅を画面いっぱいに */
}

/* 記事の中の不要なマージンをリセット */
.en-page-body .entry-body {
    margin-top: 0 !important;
}

/* カバーブロック自体の上下余白を念のためリセット */
.en-page-body .wp-block-cover {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 小さいスマホ用の body 余白を英語ページだけ解除 */
@media (max-width: 480px) {
    /* page-en.php を使っているページの body 余白をゼロにする */
    .page-template-page-en {
        padding: 0 !important;
    }
}
/* 英語ページのテーブル：左側の項目（th）だけグレーにする */
.page-template-page-en table tr th {
    background-color: #f2f2f2 !important; /* 薄いグレー */
    color: #333;                          /* 文字色（濃いグレー） */
    width: 30%;                           /* 項目名の幅を固定（お好みで調整） */
    font-weight: bold;
    border: 1px solid #ccc;               /* 枠線の色 */
    padding: 15px;
    vertical-align: middle;
}

/* 右側のデータ入力側（td）のスタイル */
.page-template-page-en table tr td {
    background-color: #fff;               /* 右側は白 */
    border: 1px solid #ccc;
    padding: 15px;
    line-height: 1.6;
}

.en-biz-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.en-biz-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  padding-bottom: 20px;
}

.en-biz-item img {
  width: 100%;
  height: auto;
  display: block;
}

.en-biz-item h4 {
  font-size: 1rem;
  margin: 15px 10px 10px;
  color: #285AB3;
}

.en-biz-item h4 a {
  text-decoration: none;
}

.en-biz-item h4 a:hover {
  color: #3371CB;
}

.en-biz-item p {
  font-size: 0.75rem;
  padding: 0 10px;
}
.en-company-profile{
    max-width: 1000px;
    margin: 0 auto;
}
#profile,
#history{
    color: #285AB3;
    font-weight: bold;
    text-align: center;
    font-size: 2rem;
    border: none;
    background: none;
    padding: 0;
    margin: 2em 0 1.2em;
}
@media (max-width: 1024px) {
  .en-biz-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .en-biz-list {
    grid-template-columns: 1fr;
  }
}