/*
Theme Name: SANKYU WITH テーマ（2026）
*/

/* プライマリーカラーを青系に設定 */
:root {
    --honsha-color: #157595;	
    --hirado-color: #F57F23;
	--kyushu-color: #E73118;
    --primary-color: #194e83;	
    --button-color: #ff7f50;
	--border-color: #e0ddd5;
	--red-color: #ff2300;	
}

html {
	font-size: 16px;
	scroll-behavior: smooth; /* スムーススクロール */
	scroll-padding-top: 80px; /* ヘッダー固定でのアンカーリンク調整 */
}
html,
body {
	background: #fff;
}
html,
body,
.entry-body,
p {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 1em;
	letter-spacing: 0.07em;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	/*overflow-x: hidden;*/
}
b, strong {
    font-weight: bold;
}
h1, h2, h3, h4 {
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 800;
	font-weight: bold;
	letter-spacing: 0;
}
img {
	max-width: 100%;
	height: auto;
}
a {
	text-decoration: none;
}

/* ふりがな */
ruby {
    ruby-position: over; /* ふりがなを上に表示 */
    -webkit-ruby-position: over;	
}
ruby rt {
	display: none;
}
html.ruby-on ruby rt {
    display: ruby-text;
    font-size: 0.5em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}
ruby rt {
    display: ruby-text;
    font-size: 0.6em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}
.btn__text {
	font-size: 16px;
	/*line-height: 30px;*/
}
/* ベース */
.site-header {
	width: 100vw;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    color: #000;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 12px 16px;
	color: #000;
}
.site-logo a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
}

h1.site-logo,
p.site-logo {
    margin: 0;
	padding: 0;
    line-height: 1;
    flex: 0 0 auto;
}
.site-logo a {
    display: inline-block;
    line-height: 1;
}
.site-logo img {
    display: block;
    height: 76px;      /* デザインに合わせて固定 */
    width: auto;
}

/* ハンバーガー */
/* ボタン本体 */
.hamburger {
    position: relative;
    width: 80px;
    height: 80px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

/* 3本線を絶対中央に配置 */
.hamburger__bar {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48px;
    height: 2px;
    background: #fff;
    transform: translate(-50%, -50%); /* 中央基準 */
    transition: transform .25s ease, opacity .2s ease;
    transform-origin: center center;   /* 念押し */
}

/* 初期並び（上・中・下）：中央から上下にだけずらす */
.hamburger__bar:nth-child(1) {
    transform: translate(-50%, calc(-50% - 18px));
}
.hamburger__bar:nth-child(2) {
    opacity: 1;
}
.hamburger__bar:nth-child(3) {
    transform: translate(-50%, calc(-50% + 18px));
}

/* 開いたとき：中央に集合してからクロスに回転 */
.hamburger.is-active .hamburger__bar:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}
.hamburger.is-active .hamburger__bar:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active .hamburger__bar:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ========================================
   ハンバーガー上に「MENU」表示
======================================== */
.hamburger {
    position: relative;
}

/* 上にMENU表示 */
.hamburger::before {
    content: "MENU";
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    
    font-size: 15px;
    font-weight: 700;
    color: #ff0000;
    letter-spacing: 0.08em;
    background: #ffffff;
	z-index: 999;
    /* 少し浮かせる */
    /*box-shadow: 0 2px 6px rgba(0,0,0,0.15);*/
}

.hamburger {
    position: relative;
}

/* 閉じてる時 */
.hamburger[data-menu-state="close"]::before {
    content: "MENU";
}

/* 開いてる時 */
.hamburger[data-menu-state="open"]::before {
    content: "CLOSE";
    color: #000; /* CLOSEは黒の方が視認性◎ */
}

/* モーション配慮（任意） */
@media (prefers-reduced-motion: reduce) {
    .hamburger__bar {
		transition: none;
	}
}

/* ナビ（モバイル：オフキャンバス） */
.global-nav {
    position: fixed;
    inset: 0 0 0 auto; /* 右側からスライド */
    width: min(92vw, 500px);
    background: #101638;
    translate: 100% 0;
    transition: translate .28s ease;
    padding: 24px 20px 40px;
    overflow-y: auto;
    z-index: 1000
}
.global-nav.is-open {
    translate: 0 0;
	margin-top: 100px;
}
.global-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.global-nav__list > li > a {
    display: block;
    padding: 14px 8px;
    color: #000;
    font-weight: bold;	
    text-decoration: none;
}
.global-nav__list > li > a:hover,
.global-nav__list > li > a:focus {
    /*background: #1926A1;*/
    outline: none;
}

/* 親liを基準にする */
.global-nav__list > li {
    position: relative;
	/*font-family: "M PLUS Rounded 1c", sans-serif;*/
	font-weight: 500;	
}

/* 子メニュー 初期非表示 */
.global-nav__list > li > .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

/* 親hoverで表示 */
.global-nav__list > li:hover > .sub-menu,
.global-nav__list > li:focus-within > .sub-menu {
    display: flex; /* 横並び */
    gap: 24px;
    background: #F2F7F6;
    padding: 16px 30px;
    margin: 0;
    list-style: none;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
}

/* 子メニューリンク */
.global-nav__list > li > .sub-menu a {
    padding: 4px 0;
    font-size: 16px;
    font-weight: bold;	
	color: #000;
}

/* hover */
.global-nav__list > li > .sub-menu a:hover {
    text-decoration: underline;
}

/* ふりがな */
/* =========================
    A11y tools (header)
========================= */

.btn__wrapper {
    position: relative; /* パネルの基準 */
}
#a11yTools.btn__wrapper {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
}
/* 共通ボタン（a / button） */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 0;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.6);
    outline-offset: 2px;
}

.btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* 左：文字の大きさ/色合い変更 */
.btn--change {
    background: #1b6e86;
    color: #fff;
	/*padding-top: 4px !important;*/
}

/* 右：開閉トグル（▼） */
.btn__group {
    display: inline-flex;
    align-items: stretch;
}

.btn--changeToggle {
    background: #1b6e86;
    color: #fff;
    padding: 10px 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.btn__chev {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transform-origin: 50% 50%;
    transition: transform 0.2s ease;
}

/* 開いている時は上向き */
.btn--changeToggle[aria-expanded="true"] .btn__chev {
    transform: rotate(-135deg);
}

/* 右：お問い合わせ */
.btn--contact {
    background: #f08a1e;
    color: #fff;
}

/* =========================
    Panel (画像のように)
========================= */

.a11y-panel {
    position: absolute;
    top: 100%;
	top: 0;
    left: 0;
    z-index: 4000;
}

.a11y-panel[hidden] {
    display: none;
}

.a11y-panel__inner {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 12px 14px;
    background: #fff;

    border: 1px solid #1b6e86;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* パネル内アイテム */
.a11y-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 10px 12px;
    border: 1px solid #1b6e86;
    background: #fff;
    color: #1b6e86;

    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}
.a11y-item__text {
	font-size: 16px;
}
.a11y-item:focus-visible {
    outline: 2px solid rgba(27, 110, 134, 0.7);
    outline-offset: 2px;
}

.a11y-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid #1b6e86;

    font-size: 14px;
    line-height: 1;
}

/* ふりがなトグルの見た目（押下状態） */
#a11yPanel #rubyToggle[aria-pressed="true"] {
    background: #1b6e86;
    color: #fff;
	white-space: nowrap;	
}

#a11yPanel #rubyToggle[aria-pressed="true"] .a11y-item__icon {
    border-color: #fff;
}
#a11yPanel .a11y-panel__head {
    display: flex;
    justify-content: flex-end;
	/*
    border: 1px solid #1b6e86;
    border-bottom: none;
	*/
}

.a11y-close {
    appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    color: #111;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    border-radius: 10px;
    border-radius: 0;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);*/
    /*transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;*/
}

/* × アイコン（疑似要素で作るので崩れません） */
.a11y-close__icon {
    width: 14px;
    height: 14px;
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
}
.a11y-close__icon::before,
.a11y-close__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: currentColor;
    transform-origin: center;
}
.a11y-close__icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.a11y-close__icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ラベルの見た目調整 */
.a11y-close__label {
    font-size: 14px;
    letter-spacing: 0.02em;
}

/* hover / active */
/*
.a11y-close:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}
.a11y-close:active {
    transform: translateY(0);
}
*/
/* a11y: キーボードフォーカス（必須） */
.a11y-close:focus-visible {
    outline: 3px solid rgba(16, 22, 56, 0.35);
    outline-offset: 2px;
}

/* =========================
    Ruby ON/OFF
========================= */

/* デフォルト：隠す */
ruby rt {
    display: none;
}

/* ON：上にルビ（通常のruby挙動に戻す） */
html.ruby-on ruby rt {
    display: revert;
}

ruby rt {
    display: none;
}

html.is-ruby-on ruby rt {
    display: ruby-text;
    display: revert;
}

html.is-ruby-on .delegate__img img  {
	max-width: 600px;
}

html.is-ruby-on .entry p {
	line-height: 3;
}
html.is-ruby-on .section-block--info .office {
    grid-template-columns: 160px 1fr;
}

p.post-card__excerpt {
    margin: 0;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: anywhere;
}

p.post-card__excerpt::after {
    content: none !important;
    display: none !important;
}

html.is-ruby-on .post-card__body {
    max-height: 100%;
    padding: 16px 16px;
}

html.is-ruby-on p.post-card__excerpt {
    line-height: 2;
}

html.is-ruby-on p.post-card__excerpt::after {
    content: none !important;
    display: none !important;
}

.except__block img,
.except__block video,
.except__block iframe,
.except__block figure,
.except__block .wp-block-video,
.except__block .wp-block-image,
.except__block .wp-block-gallery,
.except__block .blocks-gallery-item {
	display: none !important;
}


/* オーバーレイ */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
	margin-top: 80px;
    
}
.nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.site-logo {
    flex: 0 0 auto;
}

.btn__wrapper {
    display: flex;
    margin-left: auto;
}
/* Safari対策：ヘッダーボタンの高さを揃える */
.btn__wrapper .btn,
.btn__wrapper a.btn,
.btn__wrapper button.btn {
	min-width: 240px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0; /* 必要なら削除OK（見た目に合わせて） */

    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    /*line-height: 1.2 !important;*/
    vertical-align: middle;

    /* 高さを揃える（どちらかでOK） */
    min-height: 50px;            /* 例：ヘッダーのボタン高さに合わせる */
    padding: 0 18px;             /* 余白は横だけにして高さ計算を安定させる */
}

/* 中の文字ブロックもflex化して、ルビ込みで中央に寄せる */
 /*
.btn__wrapper .btn__text {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
*/

.btn__wrapper .btn {
    height: 54px;
    min-height: 54px;
}


/* アイコン＋テキストの縦ズレも一緒に抑える */
.btn__wrapper .btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Safariのみ：メニューのrubyズレ対策 */
@supports (-webkit-touch-callout: none) {
	.global-nav__list > li > a ruby {
		display: inline-block;
		line-height: 1.2;
	}

	.global-nav__list > li > a rt {
		display: block;
		text-align: center;
		font-size: 0.55em;
		line-height: 1;
		transform: translateY(-0.12em);
	}
}

/* ボタン全体 */
.btn__wrapper .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    min-height: 50px;
	/*line-height: 1.2;*/
}

/* アイコン */
.btn__icon {
    display: flex;
    align-items: center;
}


.hamburger {
    margin-left: 12px;
}

.global-nav__list,
.global-nav__list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.global-nav__list a {
    text-decoration: none;
}

/* サブメニューの初期状態（共通） */
.global-nav__list .sub-menu {
    display: none;
}

@media screen and (min-width: 1024px) {
	.site-header {
		height: 120px;
	}
	.site-header__inner {
		padding: 24px;
	}
	.site-logo img {
		display: block;
		height: 76px;
		width: auto;
	}
}
@media (min-width: 965px) {
    .hamburger {
		display: none;
	}
    .global-nav {
        position: static;
        translate: 0 0 !important;
        width: auto;
        background: transparent;
        padding: 0;
		padding-top: 2em;
        margin-right: auto;
        margin-left: 167px;
        overflow: visible;
    }
    .global-nav__list {
        display: flex;
        gap: 20px;
    }
    .global-nav__list > li > a {
        padding: 8px 4px;
        border-radius: 6px;
    }
    /* 親liを基準にドロップダウン配置 */
    .global-nav__list > li {
        position: relative;
    }

    /* PCで開く条件：hover / focus-within / JSでaria-expanded=true */
    .global-nav__list > li:hover > .sub-menu,
    .global-nav__list > li:focus-within > .sub-menu,
    .global-nav__list > li[aria-expanded="true"] > .sub-menu {
        display: flex;
    }

    /* PCドロップダウン見た目 */
    .global-nav__list > li > .sub-menu {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;

        display: none; /* 開閉は上のルール */
        gap: 24px;

        background: #F2F7F6;
        padding: 16px 30px;
        border-radius: 6px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        white-space: nowrap;
        z-index: 3000;
    }
	.global-nav__list > li:hover > .sub-menu,
	.global-nav__list > li:focus-within > .sub-menu {
		background: #1b6e86;
		background: rgba(27,110,134,1);
		cursor: pointer;
	}
	.global-nav__list > li:hover > .sub-menu li a,
	.global-nav__list > li:focus-within > .sub-menu li a {
		color: #fff;
	}
    .global-nav__list > li > .sub-menu > li {
        display: block;
    }
    .global-nav__list a {
        text-decoration: none;
    }	
	/* ▼ サブメニューの吹き出し三角（上中央） */
	.global-nav__list > li > .sub-menu::before {
		content: "";
		position: absolute;
		top: -8px; /* 三角の高さ分マイナス */
		left: 62%;
		transform: translateX(-62%);
		width: 0;
		height: 0;
		border-left: 8px solid transparent;
		border-right: 8px solid transparent;
		border-bottom: 8px solid #1b6e86; /* サブメニュー背景色と同じ */
		filter: drop-shadow(0 -4px 4px rgba(27,110,134,.4));
	}

    .nav-overlay {
		display: none !important;
	}
	.submenu-toggle {
		display: none;
	}
}

@media (min-width: 965px) {
    .global-nav__list > li {
        position: relative;
    }

    .global-nav__list > li.has-submenu {
        position: relative;
    }

    /* ========================================
        hover 橋
    ======================================== */
    .global-nav__list > li::after,
    .global-nav__list > li.has-submenu::after {
        content: "";
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        height: 10px;
        background: transparent;
        z-index: 3001;
    }

    /* ========================================
        サブメニュー初期状態
    ======================================== */
    .global-nav__list > li > .sub-menu,
    .global-nav__list > li.has-submenu > .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(6px);
        z-index: 3000;

        align-items: stretch;
        justify-content: stretch;
        gap: 0;

        width: 100%;
        min-width: 450px;
        max-width: 500px;

        margin: 0;
        padding: 0;
        list-style: none;
        overflow: visible;
        white-space: nowrap;

        border-radius: 10px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    }

    /* hover / focus で表示 */
    .global-nav__list > li:hover > .sub-menu,
    .global-nav__list > li:focus-within > .sub-menu,
    .global-nav__list > li.has-submenu:hover > .sub-menu,
    .global-nav__list > li.has-submenu:focus-within > .sub-menu {
        display: flex;
    }

    /* ========================================
        吹き出し三角
    ======================================== */
    .global-nav__list > li.has-submenu > .sub-menu::before,
    .global-nav__list > li > .sub-menu::before {
        content: "";
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #000;
        filter: drop-shadow(0 -2px 3px rgba(0, 0, 0, 0.12));
    }

    /* ========================================
        3項目を均等幅
    ======================================== */
    .global-nav__list > li.has-submenu > .sub-menu > li,
    .global-nav__list > li > .sub-menu > li {
        flex: 1 1 0;
        min-width: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    /* ========================================
        各リンク
    ======================================== */
    .global-nav__list > li.has-submenu > .sub-menu > li > a,
    .global-nav__list > li > .sub-menu > li > a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 54px;
        padding: 14px 10px;
        margin: 0;

        color: #ffffff;
        text-decoration: none;
        text-align: center;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.4;
    }

    /* hoverで色は変えない */
    .global-nav__list > li.has-submenu > .sub-menu > li > a:hover,
    .global-nav__list > li.has-submenu > .sub-menu > li > a:focus-visible,
    .global-nav__list > li > .sub-menu > li > a:hover,
    .global-nav__list > li > .sub-menu > li > a:focus-visible {
        color: #ffffff;
        opacity: 0.92;
        outline: none;
    }

    /* 区切り線 */
    .global-nav__list > li.has-submenu > .sub-menu > li + li > a,
    .global-nav__list > li > .sub-menu > li + li > a {
        border-left: 1px solid rgba(255, 255, 255, 0.25);
    }

    /* ========================================
        営業所カラー
    ======================================== */
    .global-nav__list > li.has-submenu > .sub-menu > li#menu-item-678 > a,
    .global-nav__list > li > .sub-menu > li#menu-item-678 > a {
        background: #1f7aa3; /* 本社 */
    }

    .global-nav__list > li.has-submenu > .sub-menu > li#menu-item-677 > a,
    .global-nav__list > li > .sub-menu > li#menu-item-677 > a {
        background: #f3981d; /* 平戸営業所 */
    }

    .global-nav__list > li.has-submenu > .sub-menu > li#menu-item-676 > a,
    .global-nav__list > li > .sub-menu > li#menu-item-676 > a {
        background: #f15a24; /* 北九州営業所 */
    }

    /* ========================================
        角丸
    ======================================== */
    .global-nav__list > li.has-submenu > .sub-menu > li:first-child > a,
    .global-nav__list > li > .sub-menu > li:first-child > a {
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .global-nav__list > li.has-submenu > .sub-menu > li:last-child > a,
    .global-nav__list > li > .sub-menu > li:last-child > a {
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }
}
@media (max-width: 964px) {
    /* ヘッダー内を横並びに固定 */
    .site-header__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
		padding-right: 10px;
    }
	h1.site-logo,
	p.site-logo {
		padding: 10px;
	}
    /* ---- ここが重要：PC hover の display:flex を完全に無効化 ---- */
    .global-nav__list > li:hover > .sub-menu,
    .global-nav__list > li:focus-within > .sub-menu {
        display: none !important;
    }

    /* オフキャンバス（あなたのis-openに合わせる） */
    .global-nav {
        display: block !important;
        position: fixed;
        top: 0;
        right: 0;
        height: 100dvh;
        width: min(92vw, 500px);
        background: #101638;
        z-index: 3000;

        transform: translateX(100%);
        transition: transform 0.25s ease;

        overflow-y: auto;
        padding: 24px 20px 40px;
    }

    .global-nav.is-open {
        transform: translateX(0);
    }

    /* オーバーレイ */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 2500;
        display: none;
    }

    .nav-overlay.is-open {
        display: block;
    }

    /* SPメニューの文字 */
    .global-nav__list > li > a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 0;
        color: #fff;
        font-weight: 600;
    }

    /* 親項目が子を持つ時：トグルボタンを横に置く */
    .global-nav__list > li.has-submenu {
        display: block;
    }

    .global-nav__list > li.has-submenu > a {
        padding-right: 0;
    }

    /* SPサブメニュー：縦並び + 左1em */
    .global-nav__list .sub-menu {
        display: none;          /* 開閉はJSで */
        padding-left: 1em;      /* ←依頼どおり */
        margin: 6px 0 10px;
    }

    .global-nav__list > li.has-submenu.is-open > .sub-menu {
        display: block;
    }

    .global-nav__list .sub-menu li {
        display: block;
        margin: 0;
    }

    .global-nav__list .sub-menu a {
        display: block;
        padding: 10px 0;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
    }
	.global-nav__list > li a {
		color: #fff;
	}
    /* 開いた時 */
    .global-nav.is-open {
        transform: translateX(0);
		margin-top: 80px;
    }
    /* SPではサブメニューを通常配置に戻す（画面外に飛ぶのを防止） */
    .global-nav__list > li > .sub-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;

        width: auto !important;
        margin: 6px 0 10px !important;

        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        white-space: normal !important;
        gap: 0 !important;
        padding: 0 0 0 1em !important; /* ←左1em */
    }

    .global-nav__list > li.is-open > .sub-menu {
        display: block !important;
    }

    .global-nav__list > li > .sub-menu > li {
        display: block !important;
        margin: 0 0 0.5em !important;
    }	
	.global-nav__list > li > .sub-menu > li a {
		color: #fff;
	}
    .global-nav .sub-menu {
        display: block;         /* 縦並び */
        padding-left: 2em;       /* 左余白 */
        margin-top: 0.5em;
    }

    .global-nav .sub-menu li {
        display: block;
        margin-bottom: 0.5em;
    }

    .global-nav .sub-menu a {
        display: block;
        font-size: 0.95em;
		padding-left: 2em;       /* 左余白 */
        color: #fff;
        opacity: 0.9;
    }
	
	/* トグルボタン自体は常に“箱”で中央揃え */
	.submenu-toggle {
		appearance: none;
		border: 0;
		background: transparent;
		color: inherit;
		cursor: pointer;
		width: 44px;
		height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		line-height: 1;
	}

	/* “矢印”はSVG風に疑似要素で固定サイズの画像として作る */
	.submenu-toggle::before {
		content: "";
		display: block;
		width: 20px;
		height: 12px;
		background-repeat: no-repeat;
		background-position: center;
		background-size: 20px 20px;

		/* 下向き chevron（stroke）を data URI で埋め込み */
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	}
	
	.global-nav .sub-menu > li a {
		padding-left: 1em;
	}
	
    /* 本社 */
    .global-nav .sub-menu > li#menu-item-678 > a {
        background: #1f7aa3;
    }

    /* 平戸営業所 */
    .global-nav .sub-menu > li#menu-item-677 > a {
        background: #f3981d;
    }

    /* 北九州営業所 */
    .global-nav .sub-menu > li#menu-item-676 > a {
        background: #f15a24;
    }

    /* 区切り線 */
    .global-nav .sub-menu > li + li > a {
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    /* hover無効（SPなので色変えない） */
    .global-nav .sub-menu > li > a:hover {
        background: inherit;
        opacity: 1;
    }	

	/* 開いたら上向き（上下反転）※見た目が安定 */
	.global-nav__list > li.has-submenu.is-open > .submenu-toggle::before {
		transform: scaleY(-1);
	}

    /* ロゴは左固定 */
    .site-logo {
        margin: 0;
        flex: 0 0 auto;
    }

    /* ボタン群は「ロゴとハンバーガーの間」で伸縮 */
    .btn__wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;

        flex: 1 1 auto;

        /* ここが重要：absolute系を全て無効化 */
        position: static;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        margin: 0;
        height: auto;
    }
	#a11yTools.btn__wrapper {
		position: relative;
	}
    /* ハンバーガーは右固定 */
    .hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: auto;

        width: 30px;
        height: 20px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .hamburger__bar {
        display: block;
        height: 2px;
        background: #1F2933;
        border-radius: 2px;
    }

}

@media (min-width: 1700px) {
	.global-nav {
		margin-left: 0;
		margin: auto;
	}
}
.hero__catch,
.hero__en {
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.page-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 350px;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.page-id-664 .page-hero {
	background-position: center calc(100% + 100px);
	background-position: top;
}
.privacy-policy .page-hero {
    background-position: top;
}
.page-template-page-contact .page-hero {
    background-position: center;
}
.page-template-pagee-recruit .page-hero {
    background-position: bottom;
}
.entry__content.contct_page {
	max-width: 740px;
	margin: 80px auto;
}
/* 画像を少し暗くして文字を見やすく */
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
	/*
    background: rgba(0, 0, 0, 0.35);
    background: rgba(0, 0, 0, 0.1);
	*/
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero__title {
    margin: 0;
    color: #ffffff;
    font-family: "M PLUS Rounded 1c", sans-serif;
	font-size: 62px;
    font-size: clamp(20px, 1.94vw + 12.73px, 62px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 8px;
    text-shadow: rgb(255, 255, 255) 0px 0px 10px;
	text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
	text-shadow:
    0 1px 1px rgba(0, 0, 0, 0.3),
    0 0 1px rgba(255, 255, 255, 0.5);
    text-align: center;	
}

.hero {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    height: clamp(600px, 100vh, 1000px);
    height: clamp(600px, 120vh, 120vh);
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
}

.hero__media {
    position: absolute;
    inset: 0;
    background: url("images/main_img.webp") center bottom / cover no-repeat;
	background-position: 100% 90%;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    /* 文字を読みやすくする薄いフィルター（高級感寄り） */
	/*
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.18),
        rgba(0, 0, 0, 0.06)
    );
	*/
}

.hero__inner {
    position: relative;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;	
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    text-align: center;
	margin-top: 15vh;
}

.hero__catch {
    margin: 0 0 26px;
    font-weight: 800;
    font-size: clamp(34px, 4.2vw, 62px);
    line-height: 1.25;
    letter-spacing: 0.04em;
    color: #fff;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.25),
        0 0 2px rgba(0, 0, 0, 0.35);
}

.hero__en {
    margin: 0;
    font-weight: 600;
    font-size: 34px;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero__brand {
    font-family: "Rounded Mplus 1c", sans-serif;
    font-weight: 700;
    font-size: 46px;
    letter-spacing: 0.08em;
    color: #157595;
    position: absolute;
    left: 50%;
    bottom: 0;
	margin-bottom: -70px;
    transform: translateX(-50%);
    /* 座布団 */
	padding: 0 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
	/*
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
	*/
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

section.top__content {
	margin: 0 calc(50% - 50vw);
	width: 100vw;
}
section.top__content .section-title__en {
    margin: 0 0 6px;
    letter-spacing: 0;
    color: #f57f23;
    font-size: 24px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 600;
}
section.top__content--introduction .section-title__jp {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 34px);
    letter-spacing: 0;
    padding: 0 110px;
}

section.top__content--introduction {
	background: #F2F2F2;
}
section.top__content--introduction .section-title {
	background: #F2F2F2;	
}
section.top__content--introduction .wrapper {
	max-width: 1480px;
	margin: auto;
	padding: 0 20px 100px;
	background: #F2F2F2;
}
section.top__content--recruit {
	background: #F2F7F6;
}
section.top__content--recruit .section-title {
	background: #F2F7F6;	
}
section.top__content--recruit .wrapper {
	max-width: 1480px;
	margin: auto;
	padding: 0 20px 100px;
	background: #F2F7F6;
}
section.top__content--topics .wrapper,
section.top__content--contact .wrapper {
	max-width: 1480px;
	margin: auto;
	padding: 0 20px 100px;
}
section.top__content--contact .wrapper .note {
	font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
	font-weight: 600;
	margin-top: -70px;
}
/* === cards === */
.office-cards {
    max-width: 1440px;
    margin: 0 auto;
    /*padding: 30px 36px;*/
	margin-top: -60px;
    display: flex;
    gap: 34px;
    justify-content: center;
    align-items: stretch;
}

.office-card {
    flex: 1 1 0;
    min-width: 280px;
    border-radius: 40px;
    padding: 12px;
    background: #157595;
}

.office-card__inner {
    border-radius: 30px;
    background: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.office-card__title {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 800;	
    margin: 0 0 10px;
    text-align: center;
    font-size: clamp(28px, 2.8vw, 44px);
	font-size: 30px;
    color: #157595;
}

.office-card__info {
    margin: 0 auto 24px;
    text-align: center;
    color: #111;
    font-weight: 800;
    line-height: 1.55;
    font-size: clamp(14px, 1.1vw, 18px);
}

.office-card__info p {
    margin: 0;
}

.office-card__photo {
    margin: 0;
    border-radius: 26px;
    overflow: hidden;
}

.office-card__photo img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 26px;
}

/* === color variants === */
.office-card--blue {
    background: var(--honsha-color);
}

.office-card--blue .office-card__title {
    color: var(--honsha-color);
}

.office-card--orange {
    background: var(--hirado-color);
}

.office-card--orange .office-card__title {
    color: var(--hirado-color);
}

.office-card--red {
    background: var(--kyushu-color);	
}

.office-card--red .office-card__title {
    color: var(--kyushu-color);	
}

/* === responsive === */
@media (max-width: 1100px) {
    .office-cards {
        flex-direction: column;
        gap: 22px;
        padding: 22px 16px;
    }

    .office-card__photo img {
        height: 280px;
    }
}

.top__content--introduction {
    padding: 80px 0 100px;
    background: #f2f2f2;
}

.top__content--introduction .wrapper {
    width: min(100% - 40px, 1440px);
    margin: 0 auto;
}

.top-section-title {
    margin: 0 0 56px;
    text-align: center;
}

.top-section-title::before,
.top-section-title::after {
    content: none;
}

.top-section-title__inner {
    position: relative;
    display: inline-block;
    padding: 0 80px;
    text-align: center;
}

.top-section-title__inner::before,
.top-section-title__inner::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 34px;
    height: 4px;
    background: #127c97;
    border-radius: 999px;
}

.top-section-title__inner::before {
    left: 0;
    transform: translateY(-50%) rotate(60deg);
}

.top-section-title__inner::after {
    right: 0;
    transform: translateY(-50%) rotate(-60deg);
}

.top-section-title__en {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.04em;
    color: #f08a22;
}

.top-section-title__jp {
    margin: 0;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: #1f2d38;
}

.top-section-title__jp ruby {
    ruby-align: center;
}

.top-section-title__jp rt {
    font-size: 12px;
}

/* === トップページスライダー === */
.top-recruit {
    padding: 50px 0;
    background: #eef3f2;
    overflow: hidden;
}

.top-recruit__inner {
    width: min(100% - 10px, 1440px);
    margin: 0 auto;
}
.top-recruit-slider .splide__slide {
    display: flex;
    justify-content: center;
}

.top-recruit-slider .recruit-archive-card {
	width: 460px;
    max-width: 700px;
}
body.home .recruit-archive-card__link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #eef3f2;
    border: none;
    border-radius: 0;
    border-radius: 10px 0 10px 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.top-recruit__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    margin-top: 28px;
    padding: 16px 28px;
    border-radius: 14px;
    background: #f28a1a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.top-recruit__more:hover {
    opacity: 0.85;
}
.top-recruit-slider {
    overflow: visible;
}

.top-recruit .section-title {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 48px;
    width: 100%;
    position: relative;
    text-align: initial;
}

.top-recruit .section-title__inner {
    grid-column: 2;
    justify-self: center;
    position: relative;
    display: inline-block;
    left: auto;
    transform: none;
    margin: 0;
}

.top-recruit .top-recruit__more {
    grid-column: 3;
    justify-self: end;
    position: static;
    transform: none;
    margin-top: 0;
	margin-right: 30px;
	display: flex;
	align-items: flex-end;	
}

.top-recruit-slider .splide__track {
    overflow: visible;
}

.top-recruit-slider .splide__list {
    align-items: stretch;
	gap: 0;
}

.top-recruit-slider .splide__slide {
    display: flex;
    justify-content: center;
}

.top-recruit-slider .recruit-archive-card {
    width: 500px;
}

.top-recruit-slider .recruit-archive-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.top-recruit-slider .recruit-archive-card__image {
    margin-bottom: 14px;
}

.top-recruit-slider .recruit-archive-card__image-mask {
    position: relative;
	aspect-ratio: 420 / 450;
    overflow: hidden;
    clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
    -webkit-clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}

.top-recruit-slider .recruit-archive-card__image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.08);
    transition: transform 0.4s ease;
}

.top-recruit-slider .recruit-archive-card__link:hover .recruit-archive-card__image-mask img {
    transform: scale(1.14);
}

.top-recruit-slider .recruit-archive-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.top-recruit-slider .recruit-archive-card__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.5;
    color: #f28a1a;
}

.top-recruit-slider .recruit-archive-card__meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
}

.top-recruit-slider .recruit-archive-card__office {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    min-height: 40px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.top-recruit-slider .recruit-archive-card__office--honsha {
    background: #147c98;
}

.top-recruit-slider .recruit-archive-card__office--hirado {
    background: #f28a1a;
}

.top-recruit-slider .recruit-archive-card__office--kitakyushu {
    background: #ef4d23;
}

.top-recruit-slider .recruit-archive-card__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;	
    min-width: 170px;
    min-height: 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.top-recruit-slider .recruit-archive-card__status--open {
    min-width: 128px;
    padding: 0px 18px;
    border: 2px solid #2b8a57;
    border-radius: 12px;
    background: #f3f7f2;
    color: #2b8a57;
    font-size: 18px;
    font-weight: 700;
}
.top-recruit-slider .recruit-archive-card__status--closed {
    background: #FFF0F5;
    border: 2px solid #FF8AB1;
    color: #FF8AB1;
}
.top-recruit-slider .recruit-archive-card__pr-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-recruit-slider .recruit-archive-card__pr-item {
    position: relative;
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: #222222;
}

.top-recruit-slider .recruit-archive-card__pr-item:last-child {
    margin-bottom: 0;
}


@media (max-width: 1024px) {
    .top-recruit {
        padding: 80px 0 64px;
    }

    .top-recruit-slider .section-title__inner {
        padding: 0 64px;
    }

   .top-recruit-slider .section-title__inner::before,
   .top-recruit-slider .section-title__inner::after {
        width: 34px;
    }

    .top-recruit-slider .section-title__jp {
        font-size: 42px;
    }

    .top-recruit-slider .top-recruit__more {
        min-width: 220px;
        font-size: 18px;
    }

    .recruit-archive-card__title {
        font-size: 21px;
    }

    .top-recruit-slider .recruit-archive-card__office,
    .top-recruit-slider .recruit-archive-card__status {
        min-height: 46px;
        font-size: 16px;
    }

    .top-recruit-slider .recruit-archive-card__pr-item {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .top-recruit-slider .top-recruit {
        padding: 64px 0 56px;
    }

    .top-recruit-slider .top-recruit__inner {
        width: min(100% - 24px, 100%);
    }

    .top-recruit-slider .section-title {
        margin-bottom: 32px;
    }

    .top-recruit-slider .section-title__inner {
        padding: 0 42px;
    }

    .top-recruit-slider .section-title__inner::before,
    .top-recruit-slider .section-title__inner::after {
        width: 24px;
        height: 3px;
    }

    .top-recruit-slider .section-title__jp {
        font-size: 32px;
    }

    .top-recruit-slider .section-title__en {
        font-size: 18px;
    }

    .top-recruit-slider .top-recruit__more {
        min-width: 200px;
        padding: 14px 20px;
        font-size: 16px;
    }

    .top-recruit-slider .recruit-archive-card__image {
        margin-bottom: 18px;
    }

    .top-recruit-slider .recruit-archive-card__image-mask {
        aspect-ratio: 320 / 230;
        clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
        -webkit-clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
    }

    .top-recruit-slider .recruit-archive-card__title {
        font-size: 20px;
    }

    .top-recruit-slider .recruit-archive-card__meta {
        gap: 10px;
    }

    .top-recruit-slider .recruit-archive-card__office,
    .top-recruit-slider .recruit-archive-card__status {
        min-height: 42px;
        min-width: auto;
        font-size: 15px;
    }

    .top-recruit-slider .recruit-archive-card__pr-item {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* =====================================================
   Office posts tabs
   ===================================================== */

.news-section {
    max-width: 1100px;
	margin: -50px auto 80px;
    padding: 0 20px;
    font-family: "Noto Sans JP", sans-serif;
}

/* Tabs */
.news-tabs {
    display: inline-flex;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 0;
	gap: 13px;
}
.news-tabs::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #222;
}
.news-tab{
    width: 180px;
    padding: 16px 20px;
    border: 1px solid #222;
    /*border-bottom: 0;*/
	border-radius: 10px 10px 0 0;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
    color: #111;
    font-size: 18px;
    line-height: 1;
    position: relative;
    z-index: 1	
}

.news-tab:not(:first-child){
    margin-left: -2px;
}

/* Active colors (ALL is white) */
.news-tab.is-all.is-active{
    background: #eef5f6;
    color: #111;
    /*border-color: #222;*/
}

.news-tab.is-honsha.is-active{
    background: var(--honsha-color);
    color: #fff;
    border-color: var(--honsha-color);
}

.news-tab.is-hirado.is-active{
    background: var(--hirado-color);
    color: #fff;
    border-color: var(--hirado-color);
}

.news-tab.is-kyushu.is-active{
    background: var(--kyushu-color);
    color: #fff;
    border-color: var(--kyushu-color);
}

/* Panels */
.news-panel{
    display: none;
}

.news-panel.is-active{
    display: block;
}

/* Item */
.news-item{
    padding: 0 0 40px;
    border-bottom: 1px solid #ddd;
}

.news-item + .news-item{
    margin-top: 40px;
}

/* Meta row (horizontal) */
.news-meta{
    display: flex;
	flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    font-size: 14px;
}

.news-date{
	width: 110px;
    color: #333;
    white-space: nowrap;
}

.news-category{
	min-width: 90px;
    text-align: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #bbb;
    background: #f3f3f3;
    white-space: nowrap;
}

.news-office{
    width: 90px;
    text-align: center;	
    padding: 6px 22px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.news-office.honsha{
    background-color: var(--honsha-color);
}

.news-office.hirado{
    background-color: var(--hirado-color);
}

.news-office.kyushu{
    background-color: var(--kyushu-color);
}

.news-office.is-missing{
    background-color: #999;
}

/* Title / excerpt */
.news-title{
    font-size: 22px;
    margin: 0 0 10px;
	margin: 0;
    font-weight: 700;
}

.news-title a{
    color: var(--hirado-color);
    text-decoration: none;
}

.news-title a:hover{
    text-decoration: underline;
}

.news-excerpt{
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.news-empty{
    margin: 0;
    color: #666;
}

/* Ruby: default OFF -> ON only when html.is-ruby-on */
html:not(.is-ruby-on) rt,
html:not(.is-ruby-on) rp{
    display: none;
}

html.is-ruby-on rt,
html.is-ruby-on rp{
    display: inline;
}


/*
.entry__content section {
	max-width: 1400px;
	margin: auto;
    background: #fff;
	border: 2px solid var(--honsha-color);	
	border: 1px solid #e5e5e5;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 80px 50px;
	margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;	
}
*/
.section-block {
    padding: 100px 0;
    position: relative;
}
/*
.section-block {
	border-bottom: 1px solid #e5e5e5;
}
.section-block.last {
	border-bottom: 1px solid #fff;
}
*/
.section-block.first {
	/*border-top: 1px solid #e5e5e5;*/
	margin-top: 80px;
}
.section-block.last {
    max-width: 980px;
    margin: auto;	
}
.section-inner {
    max-width: 1100px;
    margin: 0 auto;	
}
.section-block:nth-of-type(odd) {
    background: #f8f9fb;
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
}
.section-title {
    padding: 60px 16px;
    /*background: #fff;*/
}
.section-title.benefits {
	padding: 0 16px;
	background: transparent;
}
.section-title__inner {
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 0;
	margin-bottom: 30px;
}

/* 英字と日本語の間も詰められる */
.section-title__en {
    letter-spacing: 0.2em;
	margin: 0 0 6px;
    letter-spacing: 0;
    color: #f57f23;
    font-size: 24px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 600;	
}

.section-title__jp {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0 56px;
	font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 800;	
    font-size: 56px;
    line-height: 0.8;
    white-space: nowrap;
}
.section-title__jp::before,
.section-title__jp::after {
    content: "";
    position: absolute;
    top: 50%;
    top: 0;
    width: 6px;
    height: 80px;
    background: #0f6f86;
    border-radius: 1px;
    transform: translateY(-50%);
}
.section-title__jp::before {
    left: 10px;
    transform: translateY(-50%) rotate(-30deg);
}

.section-title__jp::after {
    right: 10px;
    transform: translateY(-50%) rotate(30deg);
}

/* レスポンシブ */
@media screen and (max-width: 600px) {
    .section-title__en {
        font-size: 26px;
        margin-bottom: 4px;
    }
    .section-title__jp {
        font-size: 40px;
        padding: 0 44px;
    }
    .section-title__jp::before,
    .section-title__jp::after {
		width: 4px;
		height: 60px;
    }
}
section.section-title h3 {
	font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 600;	
    font-size: 24px;	
	line-height: 1.6;
    margin: 0;
	text-align: center;
}
h3.guidelines {
	text-align: center;
}
.company__profile--inner {
	max-width: 980px;
	margin: auto;
    background: #fff;
	border: 1px solid #e5e5e5;
    border-radius: 40px;
    padding: 60px 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;	
}
.entry p {
	line-height: 1.8;
}
.delegate {
	display: flex;
	gap: 30px;
}
.delegate__img img {
    border-radius: 40px;	
}
.delegate__block {
	display: flex;	
	flex-direction: column;
}
.delegate__block h3 {
	font-size: 18px !important;
	text-align: left !important;
}
:root {
    --brand-navy: #174f73;
    --brand-green: #2e7d4f;
    --accent-orange: #f57f23;
    --line: #e7edf2;
    --text: #111;
    --muted: #556;
    --card-bg: #fff;
    --soft: #f7fafc;
}

.support-section {
	max-width: 1100px;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin: 0 auto 56px;
}

.support-section__head {
    padding: 18px 22px;
    background: linear-gradient(90deg, rgba(245, 127, 35, 0.20), rgba(245, 127, 35, 0.06));
	background: linear-gradient(
		90deg,
		rgba(245, 127, 35, 0.30) 0%,
		rgba(245, 127, 35, 0.08) 100%
	);
    border-bottom: 1px solid var(--line);
}

.support-section__title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.03em;
    position: relative;
    padding-left: 14px;
}

.support-section__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 18px;
	height: 24px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--brand-navy), var(--brand-green));
	background: var(--honsha-color);	
}

.support-section__body {
    padding: 26px 26px 30px;
}

.support-lead {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.9;
    font-size: 16px;
}

/* 3者サポートのカード */
.support-triple {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.support-triple__card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 16px 14px;
    background: linear-gradient(180deg, #ffffff, var(--soft));
}

.support-triple__label {
    margin: 0 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.02em;
}

.support-triple__label::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-green));
}

/* 共通リスト */
.support-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.support-list li {
    position: relative;
    padding-left: 18px;
    margin: 10px 0;
    line-height: 1.7;
    color: var(--text);
}

/*
.support-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: rgba(23, 79, 115, 0.18);
    border: 1px solid rgba(46, 125, 79, 0.45);
}
*/

/* 取り組み：カードグリッド */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.support-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 18px 12px;
    background: #fff;
}

h3.support-card__title {
    margin: 0 0 10px;
    font-size: 18px !important;
    font-weight: 800;
    color: var(--text);
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(23, 79, 115, 0.25);
}

/* DL（制度説明） */
.support-dl {
    margin: 0;
}

.support-dl__row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    padding: 16px 0;
}

.support-dl__row + .support-dl__row {
    border-top: 1px solid var(--line);
}

.support-dl__dt {
    font-weight: 900;
    color: var(--text);
    background: linear-gradient(90deg, rgba(23, 79, 115, 0.10), rgba(46, 125, 79, 0.06));
    border: 1px solid rgba(23, 79, 115, 0.15);
    border-radius: 12px;
    padding: 10px 12px;
    align-self: start;
}

.support-dl__dd {
    margin: 0;
    line-height: 1.9;
    color: var(--muted);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.benefits-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 18px 12px;
    background: linear-gradient(180deg, #ffffff, var(--soft));
}

.benefits-card__title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 900;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(23, 79, 115, 0.25);
}

.benefits-card__title::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-green));
}
.section-block--benefits {
	max-width: 1440px;
	background: #f8f9fb;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;		
    margin: 80px auto 100px;
}

.section-block--benefits .section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.section-block--benefits .benefits-grid {
    display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px; /* タイトル装飾との距離 */
	margin-top: 0;
}

.section-block--benefits .benefits-card {
    border: 1px solid #e7edf2;
    border-radius: 18px;
    padding: 18px 18px 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.section-block--benefits .benefits-card--wide {
    grid-column: 1 / -1; /* その他だけ横いっぱい */
}

.section-block--benefits .benefits-card__title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(23, 79, 115, 0.25);
}

.section-block--benefits .benefits-card__title::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #174f73, #2e7d4f);
}

/* レスポンシブ */
@media screen and (max-width: 960px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .support-triple,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-dl__row {
        grid-template-columns: 1fr;
    }

    .support-dl__dt {
        width: fit-content;
    }
    .section-block--benefits {
        padding: 60px 0 80px;
    }

    .section-block--benefits .benefits-grid {
        grid-template-columns: 1fr;
    }

    .section-block--benefits .benefits-card--wide {
        grid-column: auto;
    }	
}

/* =========================================================
   INFORMATION（会社概要）
========================================================= */
.section-block--info {
    padding:  0;
	background: #fff;
}
.section-block.section-block--info {
    background: #fff;
    border-top: none;
    border-bottom: none;	
}
.section-block--info .section-inner {
    max-width: 1100px;
    margin: 0 auto;
	background: #fff;

}
.section-block--info .section-inner .section-wrapper {
    border: 1px solid #e5e5e5;
    border-radius: 40px;
    padding: 60px 60px 30px;
}
/* ルビの見え方（必要なら） */
.section-block--info ruby rt {
    font-size: 0.55em;
    letter-spacing: 0.02em;
}

/* =========================================================
   会社概要テーブル（横線区切り）
========================================================= */
.section-block--info .info-table {
    margin-top: 34px;
	margin-top: 0;
	margin-bottom: 50px;
}

.section-block--info .info-table table {
    width: 100%;
    border-collapse: collapse;
}

.section-block--info .info-table th,
.section-block--info .info-table td {
    padding: 22px 12px;
    vertical-align: top;
    border-bottom: 2px solid #d9d9d9;
}

.section-block--info .info-table tr:first-child th,
.section-block--info .info-table tr:first-child td {
    border-top: 2px solid #d9d9d9;
}

.section-block--info .info-table th {
    width: 26%;
    font-weight: 800;
    color: #111;
    text-align: left;
    white-space: nowrap;
}

.section-block--info .info-table td {
    color: #111;
    line-height: 1.9;
}

/* SP：縦積み */
@media screen and (max-width: 768px) {
    .section-block--info .info-table th,
    .section-block--info .info-table td {
        display: block;
        width: 100%;
        padding: 14px 8px;
    }

    .section-block--info .info-table th {
        border-bottom: 0;
        padding-bottom: 6px;
        opacity: 0.9;
    }

    .section-block--info .info-table td {
        padding-top: 0;
    }
}

/* =========================================================
   営業拠点
========================================================= */
.section-block--info .offices {
    margin-top: 56px;
}

.section-block--info .office-title {
    margin: 0;
    text-align: center;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.section-block--info .offices__grid {
    margin-top: 26px;
    border-top: 2px solid #d9d9d9;
}
.section-block--info .offices__grid.first {
    border: none;
}
/* 1拠点（スクショ風：左ラベル＋右内容） */
.section-block--info .office {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 18px 28px;
    align-items: start;
    padding: 26px 0;
    border-bottom: 2px solid #d9d9d9;
}
.section-block--info .office.last {
    border-bottom: 2px solid #fff;
}
/* 左のラベル（本社 / 営業所） */
.section-block--info .office__name {
	width: 100px;
    margin: 0;
    justify-self: start;
    align-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
}
.section-block--info .office__name.honsha {
	background-color: var(--honsha-color);	
}
.section-block--info .office__name.hirado {
	background-color: var(--hirado-color);	
}
.section-block--info .office__name.kyushu {
	background-color: var(--kyushu-color);	
}
.section-block--info .office__name.wakamatu {
	background-color: var(--kyushu-color);	
}
/* 右側：住所 */
.section-block--info .office__addr {
    margin: 0;
    line-height: 1.9;
    color: #111;
}

/* 地図を右側幅に合わせてレスポンシブ化 */
.section-block--info .office__map {
    grid-column: 2 / 3;
    margin-top: 10px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    background: #fff;
}

/* iframeは固定width/height指定があっても、CSSで上書きして崩れにくく */
.section-block--info .office__map iframe {
    display: block;
    width: 100% !important;
    height: 420px !important;
    border: 0;
}

/* タブレット以下は縦積み */
@media screen and (max-width: 900px) {
    .section-block--info .office {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .section-block--info .office__map {
        grid-column: auto;
    }

    .section-block--info .office__map iframe {
        height: 320px !important;
    }
}

/* さらに小さい画面 */
@media screen and (max-width: 480px) {
    .section-block--info .office__name {
        min-height: 40px;
        padding: 0 14px;
        font-size: 15px;
    }

    .section-block--info .office__map iframe {
        height: 260px !important;
    }
}


:root {
    --honsha-color: #157595;
    --hirado-color: #F57F23;
    --kyushu-color: #E73118;
}

.office-page {
    --office-accent: var(--honsha-color);
    padding-bottom: 80px;
}

.office-page--honsha {
    --office-accent: var(--honsha-color);
}

.office-page--hirado {
    --office-accent: var(--hirado-color);
}

.office-page--kyushu {
    --office-accent: var(--kyushu-color);
}

.office-entry {
    max-width: 100%;
}

/* =========================
    Hero
========================= */

.office-hero {
    background: #f8f8f8;
    overflow: hidden;
}

.office-hero__inner {
    display: flex;
    align-items: stretch;
    min-height: clamp(520px, 60vh, 1000px);
}

.office-hero__content {
    position: relative;
    width: 46%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 6vw, 100px);
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #fcfcfc 52%,
        #f5f7f8 100%
    );
    box-sizing: border-box;
    z-index: 2;
}

.office-hero__content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12%;
    width: 8px;
    height: 76%;
    border-radius: 0 8px 8px 0;
    background: var(--office-accent);
}

.office-hero__en {
    margin: 0 0 18px;
    color: var(--office-accent);
    font-size: clamp(18px, 1.4vw, 24px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.office-hero__title {
    margin: 0;
    color: #111;
    font-size: clamp(52px, 5.8vw, 92px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0.04em;
	white-space: nowrap;
}

.office-hero__title rt {
	font-size: 20px;
}
.office-hero__title::after {
    content: "";
    display: block;
    width: 88px;
    height: 4px;
    margin-top: 26px;
    border-radius: 999px;
    background: var(--office-accent);
}

.office-hero__lead {
    max-width: 30em;
    margin: 32px 0 0;
    color: #333;
    font-size: clamp(16px, 1.2vw, 20px);
    font-weight: 500;
    line-height: 1.95;
    letter-spacing: 0.04em;
}

.office-hero__note {
    margin: 18px 0 0;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.office-hero__image {
    position: relative;
    width: 54%;
    overflow: hidden;
}

.office-hero__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.office-hero__image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.02) 0%,
        rgba(0, 0, 0, 0.10) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.office-entry__body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 40px 0;
    box-sizing: border-box;
}

.office-entry__body > *:first-child {
    margin-top: 0;
}

/* =========================
    Tablet
========================= */

@media (max-width: 1024px) {

    .office-hero__inner {
        min-height: 720px;
    }

    .office-hero__content {
        width: 48%;
        padding: 48px 36px 56px;
    }

    .office-hero__image {
        width: 52%;
    }

    .office-entry__body {
        padding: 56px 24px 0;
    }

}

/* =========================
    SP
========================= */

@media (max-width: 767px) {

    .office-hero__inner {
        flex-direction: column;
        min-height: auto;
    }

    .office-hero__image {
        order: 1;
        width: 100%;
        height: 340px;
    }

    .office-hero__content {
        order: 2;
        width: 100%;
        padding: 34px 20px 40px;
    }

    .office-hero__content::before {
        top: 20px;
        left: 20px;
        width: 72px;
        height: 5px;
        border-radius: 999px;
    }

    .office-hero__en {
        margin-top: 18px;
        font-size: 16px;
    }

    .office-hero__title {
        font-size: clamp(38px, 11vw, 52px);
    }

    .office-hero__title::after {
        width: 64px;
        margin-top: 18px;
    }

    .office-hero__lead {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.85;
    }

    .office-entry__body {
        padding: 40px 16px 0;
    }

}

/* 本社 */
.office-honsha .accordion-section-title::before,
.office-honsha .accordion-section-title::after {
    background: var(--honsha-color);
}

.office-honsha .accordion-section-title {
    border-bottom-color: var(--honsha-color);
}

/* 平戸 */
.office-hirado .accordion-section-title::before,
.office-hirado .accordion-section-title::after {
    background: var(--hirado-color);
}

.office-hirado .accordion-section-title {
    border-bottom-color: var(--hirado-color);
}

/* 北九州 */
.office-kyushu .accordion-section-title::before,
.office-kyushu .accordion-section-title::after {
    background: var(--kyushu-color);
}

.office-kyushu .accordion-section-title {
    border-bottom-color: var(--kyushu-color);
}


.hq-table {
    width: 100%;
    border-collapse: collapse;
}

.hq-table th,
.hq-table td {
    padding: 12px 0;
    vertical-align: top;
}

.job_title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: left;
}

.job_one_word {
    padding-top: 20px;
    font-weight: 700;
    color: #0f4c81;
}

.job_answer {
    padding-bottom: 8px;
}

.job_img {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.job_img figure {
    width: calc(50% - 8px);
    margin: 0;
}

.job_img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.job_img figcaption {
    margin-top: 8px;
    font-size: 1.4rem;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 767px) {
    .job_img {
        display: block;
    }

    .job_img figure {
        width: 100%;
        margin-bottom: 16px;
    }
}

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

/* 表を大きくする */
.hq__graph--left {
    flex: 0 0 520px;
    max-width: 520px;
}

/* グラフ側 */
.hq__graph--right {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* 表 */
.license-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
}

span.job_cont {
    display: block;
    margin-left: 1em;
}
/* セル */
.license-table th,
.license-table td {
    border: 1px solid #333;
    padding: 10px;
    text-align: center;
    white-space: nowrap;   /* ← 改行防止 */
}

/* ヘッダー */
.license-table thead th {
    background: #f5f5f5;
    font-weight: 700;
}

/* ==============================
   Post archive
============================== */
.post-archive {
    padding: 40px 0;
}

.post-archive__inner {
    width: min(1100px, 92%);
    margin: 0 auto;
}

/* ========================================
   カード高さをそろえる
======================================== */
.post-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.post-card {
    min-width: 0;
}

.post-card__link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* ========================================
   画像
======================================== */
.post-card__thumb img {
    display: block;
    width: 100%;
}

/* ========================================
   本文エリアの高さだけ少し確保
======================================== */
.post-card__body {
    padding: 16px;
    min-height: 220px;	
    min-height: 190px;
}

.post-card__title {
    margin: 0 0 12px;
}

.except__block {
    margin-top: 12px;
}

/* タイトル下の本文が詰まりすぎないように */
.post-card__title {
    margin-bottom: 12px;
}

@media (max-width: 1000px) {
    .post-archive__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .post-archive__grid {
        grid-template-columns: 1fr;
    }
}

.post-card {
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.post-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
    /*height: 100%;*/
}

.post-card__thumb {
    aspect-ratio: 16 / 10;
    background: #f2f2f2;
    overflow: hidden;
}

.post-card__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.post-card__link:hover .post-card__thumb-img {
    transform: scale(1.03);
}

.post-card__body {
	max-height: 150px;
    padding: 16px 16px 18px;
}

.post-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.2;
    color: #666;
}

.post-card__cat {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f4f4f4;
    color: #333;
    font-size: 12px;
    line-height: 1;
}

.post-card__title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.4;
    color: #111;
}

.post-card__excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #444;	
}

/* ==============================
   Pagination
============================== */
.pagination {
    margin-top: 26px;
}

.pagination__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination__item > a,
.pagination__item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #222;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
}

/* 現在ページ */
.pagination__item > .current {
    background: #157595;
    border-color: #157595;
    color: #fff;
}

/* 矢印の中身にはボタン装飾を当てない */
.pagination__arrow {
    display: inline;
    min-width: auto;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    line-height: 1;
}

.pagination__item a:hover {
    background: #f5f5f5;
}

.post-archive__empty {
    text-align: center;
    padding: 30px 0;
    color: #666;
}

/* =========================================
   本社 固定ページ
========================================= */

/* Section base */
.section-block--hq {
    padding: 60px 0;
}

.section-inner {
    width: min(1200px, 100% - 40px);
    margin: 0 auto;
}

/* タイトル（既存の見た目に寄せる前提。必要ならここだけ調整） */
.section-title {
    margin: 0 0 28px;
}

.section-title__inner {
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 0;
	margin-bottom: 30px;
}

.section-title__en {
    margin: 0 0 6px;
    letter-spacing: 0;
    color: #f57f23;
    font-size: 24px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 600;
}

.section-title__jp {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 34px);
    letter-spacing: 0;
}

/* 3カラム構成 */
.hq__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 900px) {
    .hq__grid {
        align-items: start;
    }
}

/* card */
.hq-card {
    background: #fff;
    border: 1px solid #e9eef3;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.hq-card__head {
    margin: 0;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eef2f6;
    background: linear-gradient(90deg, rgba(245, 127, 35, 0.22), rgba(245, 127, 35, 0.06));
}

.hq-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #0f6b75;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

/* photo */
.hq-photo {
    padding: 16px;
}

.hq-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    border: 1px solid #eef2f6;
}

/* access */
.hq-dl {
    padding: 16px;
    margin: 0;
}

.hq-dl__row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px dashed #e6edf4;
}

.hq-dl__row:first-child {
    border-top: 0;
    padding-top: 0;
}

.hq-dl dt {
    font-weight: 800;
    color: #0f6b75;
}

.hq-dl dd {
    margin: 0;
    line-height: 1.8;
}

.hq-dl dd p {
    margin: 0 0 6px;
}

.hq-dl dd p:last-child {
    margin-bottom: 0;
}

.hq-map {
    padding: 16px;
}

.hq-map iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 14px;
    display: block;
    border: 1px solid #eef2f6;
}

/* =========================
   HQ page layout
========================= */
.hq {
    --hq-ink: #0b0f1a;
    --hq-muted: rgba(11, 15, 26, 0.68);
    --hq-line: rgba(11, 15, 26, 0.10);
    --hq-card: #ffffff;
    --hq-bg: #fbf7f4;
    --hq-accent: #157595; /* teal */
    --hq-accent2: #f57f23; /* orange */

    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 18px 40px;
    color: var(--hq-ink);
}

.hq__head {
    background: linear-gradient(135deg, rgba(245, 127, 35, 0.10), rgba(21, 117, 149, 0.08));
    border: 1px solid rgba(245, 127, 35, 0.16);
    border-radius: 18px;
    padding: 18px 18px 16px;
    position: relative;
    overflow: hidden;
}

.hq__head::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 5px;
    height: 34px;
    border-radius: 999px;
    background: var(--hq-accent);
}

.hq__kicker {
    margin: 0 0 6px;
    font-weight: 700;
    letter-spacing: 0.14em;
    font-size: 12px;
    color: rgba(245, 127, 35, 0.95);
}

.hq__title {
    margin: 0;
    font-size: 26px;
    letter-spacing: 0;
}

.hq__lead {
    margin: 8px 0 0;
    color: var(--hq-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* blocks */
.hq-block {
    margin-top: 18px;
    background: var(--hq-card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.hq-block__title {
    margin: 0 0 12px;
    font-size: 16px;
    letter-spacing: 0.04em;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--hq-line);
}

/* photo */
.hq-photo {
    border-radius: 14px;
    overflow: hidden;
    background: #f2f4f7;
}

.hq-photo__img {
    display: block;
    width: 100%;
    height: auto;
}

/* access 2 columns */
.hq-access {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.hq-access__info,
.hq-access__routes {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 14px;
}

.hq-dl {
    margin: 0 0 12px;
}

.hq-dl__row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hq-dl__row:last-child {
    border-bottom: 0;
}

.hq-dl__dt {
    margin: 0;
    font-weight: 700;
    color: rgba(11, 15, 26, 0.78);
    font-size: 13px;
}

.hq-dl__dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
}

.hq-map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
}

.hq-map iframe {
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
}

.hq-map__placeholder {
    padding: 18px;
    font-size: 13px;
    color: rgba(11, 15, 26, 0.55);
}

/* route cards */
.hq-access__routes {
    display: grid;
    gap: 12px;
}

.hq-route {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 12px;
}

.hq-route__title {
    margin: 0 0 8px;
    font-size: 14px;
    letter-spacing: 0.03em;
    position: relative;
    padding-left: 12px;
}

.hq-route__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--hq-accent);
}

.hq-route__list {
    margin: 0;
    padding-left: 18px;
    color: var(--hq-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* PR cards */
.hq-pr {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hq-prcard {
    background: linear-gradient(180deg, rgba(21, 117, 149, 0.06), rgba(255, 255, 255, 0));
    border: 1px solid rgba(21, 117, 149, 0.14);
    border-radius: 14px;
    padding: 14px;
}

.hq-prcard__title {
    margin: 0 0 8px;
    font-size: 14px;
    letter-spacing: 0.03em;
}

.hq-prcard__text {
    margin: 0;
    color: var(--hq-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* responsive */
@media (max-width: 900px) {
    .hq-pr {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .hq {
        padding: 22px 14px 34px;
    }

    .hq-access {
        grid-template-columns: 1fr;
    }

    .hq-dl__row {
        grid-template-columns: 1fr;
    }

    .hq-pr {
        grid-template-columns: 1fr;
    }

    .hq-map iframe {
        height: 220px;
    }
}
/* PR table */
.hq-pr {
    padding: 16px;
}

.hq-pr__head,
.hq-pr__row {
    display: grid;
    grid-template-columns: 56px 160px 1fr;
}

.hq-pr__head {
    align-items: center;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eef2f6;
}

.hq-pr__head .hq-pr__col {
    padding: 10px 12px;
    font-weight: 800;
    text-align: center;
    background: #f7fbff;
}

.hq-pr__head .hq-pr__col--sum,
.hq-pr__head .hq-pr__col--detail {
    background: linear-gradient(90deg, rgba(245, 127, 35, 0.22), rgba(245, 127, 35, 0.06));
}

.hq-pr__row {
    border-left: 1px solid #eef2f6;
    border-right: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

.hq-pr__row:first-of-type {
    margin-top: 10px;
    border-top: 1px solid #eef2f6;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.hq-pr__row:last-child {
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.hq-pr__col {
    padding: 12px 12px;
    line-height: 1.75;
    background: #fff;
}

.hq-pr__col--num {
    text-align: center;
    font-weight: 800;
    color: #0f6b75;
    background: #fbfdff;
}

.hq-pr__col--sum {
    font-weight: 800;
}

@media (max-width: 600px) {
    .hq-dl__row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .hq-pr__head,
    .hq-pr__row {
        grid-template-columns: 56px 1fr;
        grid-template-areas:
            "num sum"
            "num detail";
    }

    .hq-pr__col--num {
        grid-area: num;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hq-pr__col--sum {
        grid-area: sum;
    }

    .hq-pr__col--detail {
        grid-area: detail;
        border-top: 1px dashed #e6edf4;
        background: #fff;
    }
}

/* =========================
   本社ページ（固定ページ貼り付けHTML用）
   ========================= */

/* section wrapper */
.hq-page {
    width: 100%;
}

/* section block */
.hq-page-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

/* section title */
.hq-page-section__title {
    margin: 0 0 16px;
    padding: 14px 18px;
    border-left: 6px solid #157595;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(245, 127, 35, 0.18) 0%, rgba(245, 127, 35, 0.06) 50%, rgba(245, 127, 35, 0.00) 100%);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* content card */
.hq-page-section__content {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    padding: 22px;
	/*margin-top: 30px;*/
}

/* table base */
.hq-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.hq-table td,
.hq-table th {
    vertical-align: top;
    padding: 14px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    font-size: 16px;
    line-height: 1.8;
    word-break: break-word;
}

.hq-table tr:last-child td,
.hq-table tr:last-child th {
    border-bottom: none;
}

/* 2列/3列っぽい行の見た目を整える */
.hq-table td:nth-child(1),
.hq-table th:nth-child(1) {
    width: 22%;
    font-weight: 800;
    color: #0d0f32;
}

.hq-table td:nth-child(2),
.hq-table th:nth-child(2) {
    width: 18%;
}

.hq-table td:nth-child(3),
.hq-table th:nth-child(3) {
    width: 20%;
    font-weight: 700;
    color: #0d0f32;
}

.hq-table td:nth-child(4),
.hq-table th:nth-child(4) {
    width: 40%;
}

/* 1列（文章だけ）のタブも崩れないように */
.hq-table td:only-child {
    width: auto;
    font-weight: 500;
    color: #222;
}

/* 注意文・補足っぽい行を少し薄く（文章の先頭が※のとき） */
.hq-table td:only-child:not(:empty) {
	font-size: 18px;
    letter-spacing: 0.01em;
}

/* ruby（ふりがな） */
.hq-page ruby {
    ruby-position: over;
}

.hq-page rt {
    font-size: 0.62em;
    letter-spacing: 0.06em;
    opacity: 0.9;
}


/* スマホ */
@media (max-width: 768px) {
    .hq-page-section {
        padding: 0 14px;
        margin-bottom: 28px;
    }

    .hq-page-section__title {
        font-size: 18px;
        padding: 12px 14px;
        border-left-width: 5px;
    }

    .hq-page-section__content {
        padding: 16px;
        border-radius: 16px;
    }

    .hq-table td,
    .hq-table th {
        padding: 12px 10px;
        font-size: 15px;
        line-height: 1.7;
    }

    /* 4列幅をスマホで詰めすぎない */
    .hq-table td:nth-child(1),
    .hq-table th:nth-child(1) {
        width: 34%;
    }

    .hq-table td:nth-child(3),
    .hq-table th:nth-child(3) {
        width: 30%;
    }

    .hq-table td:nth-child(4),
    .hq-table th:nth-child(4) {
        width: auto;
    }
}

/* さらに狭い画面：表を横スクロールにする */
@media (max-width: 520px) {
    .hq-page-section__content {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hq-table {
        min-width: 720px;
    }
}

th.job_title {
	font-size: 20px;
}
td.job_img {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 32px 48px;
    border: none;
}

td.job_img .entry-image {
    width: calc((100% - 48px) / 2);
    margin: 0;
    display: flex;
    flex-direction: column;	
}
td.job_img .entry-image img {
    display: block;
    width: 100%;
    height: clamp(260px, 22vw, 300px);
    object-fit: cover;
    object-position: center;
}

td.job_img .entry-image figcaption {
    margin-top: 10px;
    text-align: center;
    line-height: 1.6;
}

/* タブレット */
@media (max-width: 1023px) {
    td.job_img {
        gap: 24px 16px;
    }

    td.job_img .entry-image img {
        height: clamp(220px, 28vw, 260px);
    }
}

/* スマホ */
@media (max-width: 767px) {
    td.job_img {
        gap: 20px;
    }

    td.job_img .entry-image {
        width: 100%;
    }

    td.job_img .entry-image img {
        height: 220px;
    }
}

figcaption {
	text-align: center;
}
td.job_one_word {
	background: linear-gradient(90deg, rgba(245, 127, 35, 0.18) 0%, rgba(245, 127, 35, 0.06) 50%, rgba(245, 127, 35, 0.00) 100%);
}
td.job_one_word::before {
    content: "✔";
    color: #157595;
    font-weight: bold;
    margin-right: 8px;
}
td.job_answer {
	padding-left: 2em;
}


/* =========================
   HQ Timeline
========================= */

.hq-page-section {
    margin: 0 auto 48px;
}

.hq-page-section__title {
    margin: 0 0 16px;
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hq-page-section__content {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 20px;
}

.hq-page-section__content.job {
	margin-bottom: 50px;
}
/* =========================================
   HQ Timeline（整理版）
   - 縦線は1本（親で描画）
   - 縦線位置：時間列とタイトル列のちょうど真ん中
   - 見出し行：線/丸なし（縦線は見出し下から開始）
   ========================================= */

.timeline_wrapper {
	padding: 20px;
}
.hq-timeline {
    position: relative;
    display: grid;
    gap: 10px;

    /* columns */
    --time-col: 92px;
    --label-col: 220px;
    --col-gap: 18px;

    /* timeline visuals */
    --line-w: 1px;
    --line-color: rgba(21, 117, 149, 0.18);
    --dot: 12px;
    --dot-color: #157595;
    --dot-ring: rgba(21, 117, 149, 0.08);

    /* line position（時間列とタイトル列の真ん中） */
    --line-x: calc(var(--time-col) + (var(--col-gap) / 2));

    /* 縦線の開始位置（見出しの分だけ下げる） */
    --line-top: 150px; /* ←ここだけ微調整でOK */
    --line-bottom: 24px;
}

/* 縦ライン（親で1本） */
.hq-timeline::before {
    content: "";
    position: absolute;
    left: var(--line-x);
    top: var(--line-top);
    bottom: var(--line-bottom);
    width: var(--line-w);
    transform: translateX(-50%);
    background: var(--line-color);
}

/* 各行（通常） */
.hq-timeline__item {
    position: relative;
    display: grid;
	grid-template-columns: var(--time-col) 1fr;
    column-gap: var(--col-gap);
    padding: 14px 12px 14px 0;
}
/* =========================
   時間 / 詳細 ヘッダー行
   線・ドット完全削除
========================= */

.hq-timeline__item--subhead {
    position: relative;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.05em;
    color: #157595;
    padding: 6px 0 12px 0;
}

/* ▼ 縦ラインを消す */
.hq-timeline__item--subhead::before,
.hq-timeline__item--subhead::after {
    content: none !important;
    display: none !important;
}

/* ▼ 念のため丸も消す */
.hq-timeline__item--subhead::marker {
    display: none;
}
/* タイトル（列） */
.hq-timeline__label {
    /*padding-left: 40px;*/
}

.hq-timeline__desc {
	padding-left: 40px;
}
/* 丸（見出し以外に出す） */
.hq-timeline__item:not(.hq-timeline__item--head)::after {
    content: "";
    position: absolute;
    left: var(--line-x);
    top: 50%;
    width: var(--dot);
    height: var(--dot);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--dot-color);
    box-shadow: 0 0 0 4px var(--dot-ring);
}
.hq-timeline__item--head {
    position: relative;
    background: linear-gradient(
        90deg,
        rgba(21,117,149,0.08) 0%,
        rgba(21,117,149,0.03) 50%,
        rgba(255,255,255,0.6) 100%
    );
    border-radius: 18px;
    padding: 22px 28px;
    margin-bottom: 28px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.6);

    backdrop-filter: blur(6px);
}

/* 見出しテキスト */
.hq-timeline__item--head .hq-timeline__label {
    padding-left: 0;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    color: #0f2f3a;
}

/* =========================================
   縦線：親で1本（突き抜け防止・安定版）
========================================= */

.hq-timeline {
    position: relative;
    overflow: hidden; /* 念のための保険（突き抜けを確実に防ぐ） */

    --time-col: 92px;
    --gap: 18px;
    --line-x: calc(var(--time-col) + (var(--gap) / 2));

    --line-w: 1px;
    --line-color: rgba(21,117,149,0.28);
    --dot: 12px;
}

/* 縦線（ヘッダー行の下から開始・最後の余白で終了） */
.hq-timeline::before {
    content: "";
    position: absolute;
    left: var(--line-x);
    top: 100px;        /* ←「時間/詳細」行の高さに合わせて調整 */
    bottom: 18px;     /* ←下の余白分で止める */
    width: var(--line-w);
    transform: translateX(-50%);
    background: var(--line-color);
}

/* 各行（3列→必要に応じて） */
.hq-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: var(--time-col) 1fr;
    column-gap: var(--gap);
    padding: 14px 0;
}

/* ドット（必要な場合のみ） */
.hq-timeline__item:not(.hq-timeline__item--head):not(.hq-timeline__item--subhead)::after {
    content: "";
    position: absolute;
    left: var(--line-x);
    top: 0;
	margin-top: 28px;
    width: var(--dot);
    height: var(--dot);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #157595;
    box-shadow: 0 0 0 4px rgba(21,117,149,0.08);
}

/* -----------------------------------------
   縦線：最後（終業）の下で止める（下側だけマスク）
----------------------------------------- */
.hq-timeline {
    overflow: hidden; /* 念のため（外へ突き抜け防止） */
}

/* 最後の行（終業）より下の縦線を隠す */
.hq-timeline__item:last-of-type:not(.hq-timeline__item--head):not(.hq-timeline__item--subhead)::before {
    content: "";
    position: absolute;
    left: var(--line-x);
    top: 50%;
    bottom: -200px; /* 充分大きければOK */
    width: var(--line-w);
    transform: translateX(-50%);
    background: #fff; /* 背景が白以外なら該当色に */
    pointer-events: none;
}

.hq-timeline__note {
    background: #fff;
    padding-top: 50px;
    margin-top: -30px;
    z-index: 9;
}

/*
.hq-timeline__time {
    position: relative;
}
.hq-timeline__time::after {
    content: "";
    position: absolute;

    left: calc( var(--line-x) - var(--time-col) );
    top: 50%;

    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #157595;
    box-shadow: 0 0 0 4px rgba(21,117,149,0.08);
}
*/
/* =========================================
   Responsive
   ========================================= */

@media (max-width: 900px) {
    .hq-timeline {
        --time-col: 80px;
        --label-col: 1fr;
        --col-gap: 14px;
        --line-x: calc(var(--time-col) + (var(--col-gap) / 2));

        /* SPで見出し高さが変わるならここを少し下げてもOK */
        --line-top: 120px;
    }

    .hq-timeline__item {
        grid-template-columns: var(--time-col) 1fr;
    }

    .hq-timeline__label {
        padding-left: 30px;
    }
}

/* =========================
   Recruit Page
========================= */
.recruit {
    --bg: #f7f8fb;
    --card: #ffffff;
    --text: #1c2430;
    --muted: #586174;
    --border: #e3e7ef;
    --accent: #1f6feb;
    --accent-weak: rgba(31, 111, 235, 0.12);
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

    color: var(--text);
    background: var(--bg);
}

.recruit * {
    box-sizing: border-box;
}

.recruit-hero {
    padding: clamp(28px, 3vw, 44px) 16px;
    background: linear-gradient(180deg, #ffffff, #f3f6ff);
    border-bottom: 1px solid var(--border);
}

.recruit-hero__inner {
    max-width: 1040px;
	text-align: center;
    margin: 50px auto 0;
}

.recruit-hero__eyebrow {
    margin: 0 0 8px;
    color: var(--muted);
    letter-spacing: 0.06em;
    font-size: 0.95rem;
}

.recruit-hero__title {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.2;
}

.recruit-hero__lead {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.7;
}

.recruit-nav {
    display: flex;
    flex-wrap: wrap;	
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

/* 募集 */
.recruit__sign {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
	margin: 20px 0;
}

.recruit__sign--yes,
.recruit__sign--no {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 14px 28px 14px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}


/* 左のドット 
.recruit__sign--yes::before,
.recruit__sign--no::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translateY(-50%);
}
*/

/* 募集中 */
.recruit__sign--yes {
    background: #edf8f0;
    color: #1f7a45;
    border-color: #b8dec2;
}

.recruit__sign--yes::before {
    background: #38a35a;
    box-shadow: 0 0 0 4px rgba(56, 163, 90, 0.14);
}

/* 募集停止 */
.recruit__sign--no {
    background: #f3f4f5;
    color: #6f767d;
	
	color: #ccc;
    border-color: #d6d9dc;
}

.recruit__sign--no::before {
    background: #9aa1a8;
    box-shadow: 0 0 0 4px rgba(154, 161, 168, 0.14);
}

@media (max-width: 768px) {
    .recruit__sign {
        gap: 14px;
    }

    .recruit__sign--yes,
    .recruit__sign--no {
        min-width: 220px;
        padding: 12px 22px 12px 40px;
        font-size: 16px;
    }

    .recruit__sign--yes::before,
    .recruit__sign--no::before {
        left: 18px;
        width: 10px;
        height: 10px;
    }
}

.images_section {
	max-width: 1040px;
	margin: 30px auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
.images_section img {
	max-width: calc(100% / 2 - 20px);
}
.recruit-nav__link {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.12s ease, border-color 0.12s ease;
}

.recruit-nav__link:hover,
.recruit-nav__link:focus-visible {
    border-color: rgba(31, 111, 235, 0.45);
    transform: translateY(-1px);
    outline: none;
}

.recruit-section {
    padding: clamp(26px, 3vw, 44px) 16px;
}

.recruit-section__inner {
    max-width: 1040px;
    margin: 0 auto;
}

.recruit-section__title {
    margin: 0 0 16px;
    font-size: clamp(1.3rem, 2.1vw, 1.7rem);
    line-height: 1.25;
}

.recruit-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(16px, 2.4vw, 24px);
}

/* =========================
   DL (Requirements)
========================= */
.recruit-dl {
    margin: 0;
}

.recruit-dl__row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px 18px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.recruit-dl__row:first-child {
    border-top: none;
    padding-top: 0;
}

.recruit-dl__row:last-child {
    padding-bottom: 0;
}

.recruit-dl dt {
    margin: 0;
    font-weight: 700;
    color: var(--text);
}

.recruit-dl dd {
    margin: 0;
    color: var(--text);
    line-height: 1.75;
}

.recruit-list {
    margin: 8px 0 0;
    padding-left: 1.2em;
}

.recruit-list li {
    margin: 4px 0;
    line-height: 1.7;
}

.recruit-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================
   Pill list (Profile)
========================= */
.pill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.pill {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px 14px;
    padding: 14px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.pill__title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    border-radius: 999px;
    background: var(--accent-weak);
    color: var(--accent);
	color: var(--honsha-color);
    font-weight: 700;
    letter-spacing: 0.03em;
}

.pill__text {
    line-height: 1.75;
    color: var(--text);
}

/* =========================
   Flow (2 columns)
========================= */
.flow-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.flow-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(16px, 2.4vw, 22px);
}

.flow-card__title {
    margin: 0 0 14px;
    font-size: 1.15rem;
}

.flow-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.flow-step {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 12px 12px 12px;
    background: #ffffff;
}

.flow-step__head {
    margin-bottom: 6px;
}

.flow-step__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--accent-weak);
    color: var(--accent);
	color: var(--honsha-color);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
}

.flow-step__body {
    color: var(--text);
    line-height: 1.75;
}

.recruit-cta {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff, #f6f8ff);
}

.recruit-cta__text {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.recruit-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--accent);
	background-color: var(--honsha-color);
	background-color: var(--hirado-color);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.12s ease, filter 0.12s ease;
}

.recruit-cta__btn:hover,
.recruit-cta__btn:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.05);
    outline: none;
}

/* =========================
   Responsive
========================= */
@media (min-width: 720px) {
    .pill-list {
        grid-template-columns: 1fr 1fr;
    }

    .flow-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

@media (max-width: 640px) {
    .recruit-dl__row {
        grid-template-columns: 1fr;
    }

    .pill {
        grid-template-columns: 1fr;
    }

    .pill__title {
        justify-content: flex-start;
        padding: 6px 12px;
        width: fit-content;
    }
}

/* =========================
   Anchor offset (header fixed対策用)
========================= */
.recruit-section[id] {
    scroll-margin-top: 90px;
}

/* =========================
    Contact Page（div版）
========================= */
.cf7-contact-custom {
    width: 100%;
    margin: 0 auto;
}

.cf7-row {
    display: flex;
    gap: 24px;
    width: 100%;
    margin-bottom: 20px;
}

.cf7-row__label {
    width: 33%;
    text-align: right;
    white-space: nowrap;
    padding-top: 6px;
}

.cf7-row__field {
    flex: 1;
}

.cf7-row__field input:not([type="radio"]):not([type="checkbox"]),
.cf7-row__field textarea {
    width: 95%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 10px;
    box-sizing: border-box;
}

.cf7-row__field input[type="radio"],
.cf7-row__field input[type="checkbox"] {
    width: auto;
    padding: 0;
}

/* メッセージ欄 */
.cf7-message-box textarea {
    width: 95%;
    height: 440px;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 10px;
    box-sizing: border-box;
}

/* プライバシーボックス */
.privacy-box {
    background: #f7f7f7;
    padding: 15px;
    font-size: 14px;
}

.privacy-box p:nth-of-type(2) {
    text-align: center;
    font-weight: bold;
}

.privacy-scroll {
    height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 20px;
    box-sizing: border-box;
}

h2.privacy-policy__title {
    font-size: 18px;
    text-align: center;
    margin: 20px auto;
}

.privacy-scroll h3 {
    font-size: 18px;
    margin: 20px 0 -15px;
}

.privacy-scroll br {
    line-height: 0.5em;
}

/* ボタン */
.cf7-submit-wrap input[type="submit"],
.cf7-row__field input[type="submit"] {
    background: #157595;
    color: #fff;
    font-size: 20px;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    border-radius: 10px;
}

.cf7-submit-wrap input.wpcf7-form-control.wpcf7-previous,
.cf7-row__field input.wpcf7-form-control.wpcf7-previous {
    color: #222;
    font-size: 20px;
    padding: 10px 30px;
    cursor: pointer;
    border-radius: 10px;
}
.submit_btn p {
	display: flex;
	justify-content: center;
	gap: 30px;
}

/* 必須 */
span.required {
    background-color: var(--red-color);
    color: #fff;
    font-size: 14px;
    padding: 2px 10px;
    margin-left: 6px;
}

/* disabled */
.wpcf7 .wpcf7-submit:disabled {
    cursor: not-allowed;
    font-size: 18px;
}

/* placeholder */
.cf7-row__field input::placeholder,
.cf7-row__field textarea::placeholder,
.cf7-message-box textarea::placeholder {
    font-size: 16px;
    color: #999;
    opacity: 1;
}

.cf7-row__field input::-webkit-input-placeholder,
.cf7-row__field textarea::-webkit-input-placeholder,
.cf7-message-box textarea::-webkit-input-placeholder {
    font-size: 16px;
}

.cf7-row__field input:-ms-input-placeholder,
.cf7-row__field textarea:-ms-input-placeholder,
.cf7-message-box textarea:-ms-input-placeholder {
    font-size: 16px;
}

/* =========================
    CF7 所属先選択
========================= */
.js-affiliation-company-row {
    display: none;
}

.js-affiliation-company-row.is-active {
    display: flex;
}

.js-company-wrap {
    display: none;
}

.js-company-wrap.is-active {
    display: block;
}

/* =========================
    CF7 ラジオ/チェック 横並び
========================= */
.wpcf7-list-item {
    display: inline-block !important;
    margin: 0 20px 0 0 !important;
}

.wpcf7-list-item label {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.wpcf7-form-control.wpcf7-radio,
.wpcf7-form-control.wpcf7-checkbox,
.wpcf7-form-control.wpcf7-acceptance {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
}

.wpcf7-acceptance .wpcf7-list-item {
    display: inline-flex !important;
    align-items: center;
    white-space: nowrap;
}

/* =========================
    同意チェック
========================= */
.cf7-row-privacy .wpcf7-acceptance {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cf7-row-privacy .wpcf7-acceptance label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* =========================
    送信エリア
========================= */
.cf7-submit-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    text-align: center;
}

.cf7-submit-wrap input[type="hidden"] {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cf7-submit-wrap .wpcf7-spinner {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.cf7-submit-wrap > br {
    display: none;
}

.cf7-submit-wrap .wpcf7-submit,
.cf7-submit-wrap .wpcf7-previous {
    flex: 0 0 auto;
    width: 40%;
    max-width: 280px;
    min-height: 56px;
    box-sizing: border-box;
}

/* =========================
    レスポンシブ
========================= */
@media screen and (max-width: 767px) {
    .cf7-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 16px;
    }

    .cf7-row__label {
        width: 100%;
        text-align: left;
        padding-top: 0;
    }

    .cf7-row__field input:not([type="radio"]):not([type="checkbox"]),
    .cf7-row__field textarea,
    .cf7-message-box textarea {
        width: 100%;
    }

    .cf7-submit-wrap {
        flex-direction: column;
    }

    .cf7-submit-wrap .wpcf7-submit,
    .cf7-submit-wrap .wpcf7-previous {
        width: 100%;
        max-width: 100%;
    }
}

/* スクロールロック（メニュー表示中にbodyへ付与） */
.body-lock {
    overflow: hidden;
    touch-action: none;
}

main.site-main {
	max-width: 1440px;
	padding: 0 20px;
	margin: auto;
}

.entry__content {
	padding-bottom: 60px;
}

/* =========================================================
   Footer layout
========================================================= */
.site-footer {
    padding: 56px 0;
    background: #eef5f6;
}

.site-footer__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.25fr 1fr 0.8fr;
    gap: 32px 40px;
    align-items: start;
}

/* =========================================================
   footer_01: brand
========================================================= */
.footer-brand {
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
}
.footer-brand__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-brand__logo a.custom-logo-link img {
    display: block;
    width: 385px;
    height: auto;
}

.footer-brand__meta {
    margin-top: 14px;
}

.footer-brand__name {
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.footer-brand__addr {
    margin: 6px 0 0;
    font-weight: 700;
}

.footer-brand__tel {
    margin: 24px 0 0;
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.footer-brand__tel-label {
    font-weight: 800;
    letter-spacing: 0.08em;
}

.footer-brand__tel-link {
	font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: 38px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: #157595;
}

.footer-brand__tel-link:hover {
    text-decoration: underline;
}

/* =========================================================
   footer_02 / footer_03 menus
========================================================= */
.footer-navs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 60px;
}

.footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu li {
    margin: 0;
    padding: 0;
	white-space: nowrap;
}

.footer-menu a {
    display: inline-block;
    padding: 0 0 25px;
    font-weight: 700;
    color: #000;
    font-size: 16px;
    text-decoration: none;
}

.footer-menu a:hover {
    text-decoration: underline;
}

/* =========================================================
   footer_04: CTA button
========================================================= */
.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
	width: 250px;
    height: 60px;
    padding: 0 22px;
    border-radius: 999px;
    background: #f57f23;
	background: var(--hirado-color);
    color: #fff;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 0.06em;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.footer-cta:hover {
    filter: brightness(0.98);
}

/* =========================================================
   Responsive
========================================================= */
@media screen and (max-width: 1024px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-navs {
        grid-template-columns: 1fr 1fr;
        gap: 10px 36px;
    }

    .footer-cta {
        width: min(520px, 100%);
    }
}

@media screen and (max-width: 640px) {
    .site-footer {
        padding: 44px 0;
    }

    .site-footer__inner {
        padding: 0 16px;
    }

    .footer-navs {
        grid-template-columns: 1fr;
    }

    .footer-brand__logo img {
        height: 48px;
    }

    .footer-cta {
        min-height: 72px;
        font-size: 18px;
    }
}

footer.site__footer {
	background-color: #263238;
	color: #fff;
}
footer.site__footer .container {
	margin: auto;
	max-width: 1440px;
	padding: 38px 30px 9px;
}
footer.site__footer .container .sankyu_logo {
	display: flex;
	margin-top: -25px;
}
footer.site__footer .container .sankyu_logo img {
	width: 504px;
	margin-top: 25px;
	margin-right: 67px;
}
footer.site__footer .container .sankyu_logo h2 {
	font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 800;
}
footer.site__footer .container p {
	margin: 0;
	padding: 0;
}
footer.site__footer .container .copyright {
	text-align: center;
}
/* トップに戻る：浮動ボタン */
.back-to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent; /* 画像のみ表示 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    /* フッター手前で持ち上げるオフセット（JSで更新） */
    transform: translateY(calc(var(--bt-offset, 0px) * -1));
}
.back-to-top img {
    display: block;
    width: 60px;
    height: 60px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.back-to-top:hover img {
    transform: scale(1.06);
    opacity: 0.9;
}

/* 表示状態 */
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

/* 非表示 */
/*.entry__meta,
.entry__footer,
.post-nav,
*/
.comment-respond {
	display: none;
}
/* 低速回線・ユーザー設定配慮 */
@media (prefers-reduced-motion: reduce) {
    .back-to-top,
    .back-to-top img {
        transition: none;
    }
}

section.footer_form {
	max-width: 1440px;
	margin: 0 auto 50px;
    padding-left: 20px;
    padding-right: 20px;	
}
section.footer_form .contact_note {
	margin-left: 16px;
}
.cf7-contact-custom {
    max-width: 1680px;
    margin: 0 auto;
    padding: 30px 20px;
}

.cf7-contact-custom .wpcf7-form p {
	margin: 0;
	padding: 0;
}
.cf7-contact-custom__grid {
    display: grid;
    grid-template-columns: 760px 1fr;
    gap: 50px;
    align-items: start;
}

.cf7-contact-custom__left {
    width: 100%;
}

.cf7-contact-custom__right {
    width: 100%;
}

.cf7-row {
    display: grid;
    grid-template-columns: 210px 1fr;
    column-gap: 26px;
    align-items: start;
    margin-bottom: 20px;
}

.cf7-row__label {
    color: #111;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.02em;
}
.cf7-row {
    display: flex;
    /*align-items: center;*/
    column-gap: 40px;
}
.cf7-row__label {
    width: 200px;
    flex: 0 0 200px;
    color: #111;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.02em;
	text-align: right;
}
.cf7-row__field {
    width: 100%;
	margin-top: 6px;
}

.cf7-input,
.cf7-textarea,
.cf7-contact-custom select {
    width: 100%;
	height: 46px;
    border: 1px solid #d5d5d5;
    border-radius: 18px;
    background: #fff;
    box-sizing: border-box;
    color: #222;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    outline: none;
    box-shadow: none;
}

.cf7-input {
    padding: 0 26px;
}

.cf7-textarea {
    height: 505px;
    padding: 26px;
    resize: none;
}

.cf7-input::placeholder,
.cf7-textarea::placeholder {
    color: #aaa;
    opacity: 1;
    font-size: 16px;
    font-weight: 400;
}
.required span{
    color: var(--red-color);
    font-size: 20px;	
	margin-left: 0;
	font-weight: 600;
	background-color: transparent;
}
.footer_form .required span {
    color: var(--red-color);
    font-size: 20px;	
	margin-left: 16px;
	font-weight: 600;
	background-color: transparent;
}
.footer_form p.required span,
.cf7-row__label span.required {
	background-color: transparent;
	color: var(--red-color);	
	font-size: 20px;
	padding: 0;
	margin-left: 6px;
}

.cf7-message-box .wpcf7-form-control-wrap,
.cf7-row__field .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.cf7-row__field--radio {
    display: flex;
    align-items:c enter;
	min-height: 46px;
}

.cf7-row__field--radio .wpcf7-radio {
    display:f lex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
	margin-top: 4px;
}

.cf7-row__field--radio .wpcf7-list-item {
    margin: 0;
}

.cf7-row__field--radio .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    cursor: pointer;
    color: #111;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

.cf7-row__field--radio input[type="radio"] {
    width: auto;
    height: auto;
    margin: 0;
    cursor: pointer;
    flex: 0 0 auto;
    transform: scale(1.4);
    transform-origin: center;
}
.cf7-note {
    margin: 0 0 14px;
	color: #7A7A7A;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}
.cf7-note.mail {
	color: #7A7A7A;
}
#footer_form .cf7-note {
    margin: 0 0 14px;
}

.cf7-note--light {
    color: #d9d9d9;
    font-weight: 700;
    margin-top: 10px;
}

.cf7-submit-wrap {
    margin-top: 50px;
    text-align: center;
}
.cf7-submit-wrap p {
	display: flex;
    justify-content: center;
	gap: 20px;
}
.cf7-submit-btn,
.wpcf7-form-control.wpcf7-submit.has-spinner,
.wpcf7-form-control.wpcf7-previous {
    min-width: 280px;
    height: 50px;
    /*padding: 0 36px;*/
    border: none;
    border-radius: 10px;
    background: #1b6e86;
    color: #fff !important;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.cf7-contact-custom .cf7-row {
    display: flex;
    align-items: flex-start;
    column-gap: 40px;
}
.cf7-contact-custom .cf7-row__label p,
.cf7-contact-custom .cf7-row__field p {
    margin-top: 0px;
	font-size: 18px;
}
.cf7-submit-btn:hover {
    opacity: 0.85;
}
.wpcf7 .wpcf7-submit:disabled {
    cursor: not-allowed;
    background: #157595;
    font-size: 20px;
}
.wpcf7-spinner {
	position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.cf7-contact-custom .wpcf7-not-valid-tip {
    margin-top: 8px;
    color: #d33;
    font-size: 14px;
    line-height: 1.6;
}
.cf7-row.cf7-row-privacy {
	display: block;
	max-width: 600px;
	margin: 40px auto;
}
.privacy-box {
	border: thin solid #ccc;
    background: #fff;
    padding: 15px;
    font-size: 16px;
}
.privacy-box p:nth-of-type(2) {
    text-align: center;
    font-weight: bold;
}
.privacy-box {
    padding: 0;
    vertical-align: top;
}

.privacy-box .privacy-scroll {
    height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 20px;
    box-sizing: border-box;
}
h2.privacy-policy__title {
	font-size: 18px;
	text-align: center;
	margin: 20px auto;
}
.privacy-box .privacy-scroll h3 {
	font-size: 18px;
	margin: 20px 0 -15px;
}
.privacy-box .privacy-scroll br {
	line-height: 0.5em;
}
.wpcf7-form-control.wpcf7-acceptance {
    justify-content: center;
    align-items: center;	
}
.cf7-contact-custom .wpcf7-response-output {
    margin: 24px 0 0;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.6;
}
.submit-area > p {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0;
}

@media screen and (max-width: 1400px) {
    .cf7-contact-custom__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .cf7-textarea {
        height: 420px;
    }
}

@media screen and (max-width: 1023px) {
    .cf7-row {
        grid-template-columns: 170px 1fr;
        column-gap: 20px;
        margin-bottom: 34px;
    }

    .cf7-row__label {
        font-size: 18px;
        padding-top: 10px;
    }

    .cf7-input,
    .cf7-textarea,
    .cf7-contact-custom select {
        font-size: 18px;
    }

    .cf7-input {
        height: 64px;
        padding: 0 20px;
    }

    .cf7-textarea {
        height: 360px;
        padding: 20px;
    }

    .cf7-input::placeholder,
    .cf7-textarea::placeholder {
        font-size: 18px;
    }

    .cf7-row__field--radio .wpcf7-list-item label {
        font-size: 18px;
    }

    .cf7-row__field--radio input[type="radio"] {
        width: 24px;
        height: 24px;
    }
}

@media screen and (max-width: 767px) {
    .cf7-contact-custom {
        padding: 0 15px;
    }

    .cf7-contact-custom__grid {
        gap: 36px;
    }

    .cf7-row {
        grid-template-columns: 1fr;
        row-gap: 12px;
        margin-bottom: 28px;
    }

    .cf7-row__label {
        font-size: 16px;
        padding-top: 0;
    }

    .cf7-input,
    .cf7-textarea,
    .cf7-contact-custom select {
        font-size: 16px;
        border-radius: 14px;
    }

    .cf7-input {
        height: 56px;
        padding: 0 16px;
    }

    .cf7-textarea {
        height: 260px;
        padding: 16px;
    }

    .cf7-input::placeholder,
    .cf7-textarea::placeholder {
        font-size: 16px;
    }

    .cf7-row__field--radio {
        padding-top: 0;
    }

    .cf7-row__field--radio .wpcf7-radio {
        gap: 14px 22px;
    }

    .cf7-row__field--radio .wpcf7-list-item label {
        gap: 8px;
        font-size: 16px;
    }

    .cf7-row__field--radio input[type="radio"] {
        width: 20px;
        height: 20px;
    }

    .cf7-note {
        font-size: 13px;
        margin: 10px 0 10px;
    }

    .cf7-submit-wrap {
        margin-top: 36px;
    }

    .cf7-submit-btn {
        min-width: 220px;
        height: 56px;
        font-size: 16px;
    }
}

/* ================================
   CF7 入力フィールド文字サイズ
================================ */
.cf7-contact-custom input,
.cf7-contact-custom textarea,
.cf7-contact-custom select {
    font-size: 16px;
}

/* 入力欄 */
.cf7-contact-custom input[type="text"],
.cf7-contact-custom input[type="email"],
.cf7-contact-custom input[type="tel"],
.cf7-contact-custom textarea {
    font-size: 16px;
    line-height: 1.6;
}

/* textareaは少し大きめ */
.cf7-contact-custom textarea {
    font-size: 16px;
}

/* =================================
    CF7 確認画面
================================= */
.cf7-contact-custom.confirm {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 40px 32px;
    background: #ffffff;
    border: 1px solid #d9e2e8;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}

.cf7-contact-custom.confirm .cf7-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    column-gap: 32px;
    align-items: start;
    margin-bottom: 0;
    padding: 24px 0;
    border-bottom: 1px solid #e8eef2;
}
.cf7-contact-custom.confirm .cf7-row.cf7-row-privacy {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}
.cf7-contact-custom.confirm .cf7-row:last-child {
    border-bottom: none;
}

.cf7-contact-custom.confirm .cf7-row__label {
    text-align: right;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    color: #1a1a1a;
}

.cf7-contact-custom.confirm .cf7-row__field {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    word-break: break-word;
    font-weight: 500;
	padding-top: 2px;
}

.cf7-contact-custom.confirm .cf7-row__field p {
    margin: 0;
	font-size: 18px;
}

.cf7-contact-custom.confirm .row-your-message .cf7-row__field p {
	padding: 0;
	margin: 0;
	padding-right: 2em;
	line-height: 1.6;
	
}
.cf7-contact-custom.confirm .privacy-box {
    padding: 20px 24px;
    background: #f8fbfc;
    border: 1px solid #dbe6ec;
    border-radius: 16px;
}

.cf7-contact-custom.confirm .privacy-scroll {
    max-height: 240px;
    padding-right: 10px;
}

.cf7-contact-custom.confirm .privacy-check {
    margin-top: 28px;
    text-align: center;
}

.cf7-contact-custom.confirm .privacy-check label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    line-height: 1.8;
}

.cf7-contact-custom.confirm .submit-area {
    border-bottom: none;
    padding-top: 40px;
}

.cf7-contact-custom.confirm .submit-area .cf7-row__field {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cf7-contact-custom.confirm .submit-area .wpcf7-spinner {
    display: block;
    margin: 16px auto 0;
}
.cf7-contact-custom.confirm .cf7-confirm-head {
    margin-bottom: 28px;
    text-align: center;
}

.cf7-contact-custom.confirm .cf7-confirm-head h2 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
    color: #0f3550;
}

.cf7-contact-custom.confirm .cf7-confirm-head p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #50606d;
}

.job-point-images {
    margin: 20px 0;
}

.job-point-images.is-one .job-point-image {
    max-width: 900px;
    margin: 0 auto;
}

.job-point-images.is-two {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.job-point-images.is-two .job-point-image {
    flex: 1 1 0;
    margin: 0;
}

.job-point-images .entry-image {
    margin: 0;
}

.job-image--full {
    width: 100%;
    max-width: 900px;
    height: 100% !important;
    display: block;
    margin: 20px auto;
}

.job-point-images .job-point-image figcaption {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

.job-structured__item + .job-structured__item {
    margin-top: 40px;
}

.job-structured__title {
    margin: 0 0 14px;
    font-weight: 700;
    line-height: 1.6;
}

.job-structured__body {
    padding-left: 1em;
    line-height: 2;
	font-size: 1em;
}

.job-structured__body p {
    margin: 0;
}

.job-structured > p {
    margin: 0 0 10px;
    line-height: 2;
}

@media (max-width: 767px) {
    .job-structured__item + .job-structured__item {
        margin-top: 28px;
    }

    .job-structured__title {
        margin-bottom: 10px;
    }

    .job-structured__body {
        padding-left: 1em;
    }
}

@media (max-width: 767px) {
    .job-structured__item + .job-structured__item {
        margin-top: 32px;
    }

    .job-structured__title {
        font-size: 2.4rem;
        margin-bottom: 10px;
    }

    .job-structured__body {
        padding-left: 1.2em;
        font-size: 1.7rem;
        line-height: 1.9;
    }
}

.page-template-page-contact .footer_form {
	display: none;
}


.office-page--honsha {
    --office-main-color: var(--honsha-color);
}

.office-page--hirado {
    --office-main-color: var(--hirado-color);
}

.office-page--kyushu {
    --office-main-color: var(--kyushu-color);
}

.office-hero::before {
    background: var(--office-main-color);
}

.office-hero__en {
    color: var(--office-main-color);
}

.office-hero__title::after {
    background: var(--office-main-color);
}

.office-page--kyushu .office-hero__title {
    font-size: clamp(40px, 4.8vw, 72px);
    margin-right: .3em;
}

@media screen and (max-width: 1350px) {
	.office-page--kyushu .office-hero__image img {
		object-position: right;
	}	
}

.office-other {
    margin-top: 24px;
}

.office-other__intro {
    margin: 0 0 24px;
    line-height: 1.9;
}

.office-other__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.office-other__box {
	background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 14px;
}

.office-other__sub-title {
    margin: 0 0 24px;
    font-weight: 700;
    line-height: 1.5;
}

.office-other__dl {
    margin: 0 0 24px;
}

.office-other__row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.office-other__row:first-child {
    border-top: 1px dashed #d9d9d9;
}

.office-other__dt {
    color: #157595;
	font-size: 14px;
    font-weight: 700;
}

.office-other__dd {
    margin: 0;
    line-height: 1.9;
}

.office-other__map iframe {
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: 18px;
    display: block;
}

.office-other__list {
    margin: 0;
    padding-left: 1.5em;
}

.office-other__list li {
    margin-bottom: 16px;
    line-height: 1.9;
}

.office-other__list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .office-other__intro {
        margin-bottom: 16px;
    }

    .office-other__wrap {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .office-other__box {
        padding: 20px;
        border-radius: 18px;
    }

    .office-other__sub-title {
        margin-bottom: 16px;
    }

    .office-other__row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px 0;
    }

    .office-other__map iframe {
        height: 280px;
        border-radius: 14px;
    }

    .office-other__list li {
        margin-bottom: 12px;
    }
}

.office-other-jobs {
    margin-top: 32px;
}

.office-other-jobs__title {
    margin: 0 0 20px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.5;
}

.office-other-jobs__list {
    display: grid;
    gap: 24px;
}

.office-other-jobs__item {
    padding: 28px;
    border: 1px solid #e3e3e3;
    border-radius: 24px;
    background: #ffffff;
}

.office-other-jobs__item-title {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
}

.office-other-jobs__item-text {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.office-other-jobs__images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.office-other-jobs__figure {
    margin: 0;
}

.office-other-jobs__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.office-other-jobs__figure figcaption {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.office-other-jobs__points {
    display: grid;
    gap: 14px;
}

.office-other-jobs__point {
    padding-top: 14px;
    border-top: 1px solid #ececec;
}

.office-other-jobs__point-label {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
}

.office-other-jobs__point-text {
    font-size: 16px;
    line-height: 1.8;
}

/* SP */
@media (max-width: 767px) {

    .office-other-jobs {
        margin-top: 24px;
    }

    .office-other-jobs__title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .office-other-jobs__item {
        padding: 20px;
        border-radius: 18px;
    }

    .office-other-jobs__item-title {
        font-size: 20px;
    }

    .office-other-jobs__item-text {
        font-size: 15px;
    }

    .office-other-jobs__images {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .office-other-jobs__figure figcaption {
        font-size: 13px;
    }

    .office-other-jobs__point-label {
        font-size: 15px;
    }

    .office-other-jobs__point-text {
        font-size: 15px;
    }
}

/*  募集切り替え */
.recruit__sign {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 24px;
}

.recruit__sign--yes,
.recruit__sign--no {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 14px 28px 14px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

/* 募集中：通常 */
.recruit__sign--yes {
    background: #f3f3f0;
    border-color: #d9d9d9;
    color: #bfbfbf;
}

/* 募集停止：通常 */
.recruit__sign--no {
    background: #f3f3f0;
    border-color: #d9d9d9;
    color: #bfbfbf;
}

/* 募集中：選択中 */
.recruit__sign--yes.is-active {
	background: #edf8f0;
    color: #1f7a45;
    border-color: #1f7a45;
}

/* 募集停止：選択中 */
.recruit__sign--no.is-active {
    background: #FDB9C8;
    border-color: #DF5286;
    color: #DF5286;
    box-shadow: inset 0 0 0 1px #d5d5d5;
}

@media (max-width: 767px) {
    .recruit__sign {
        flex-direction: column;
        gap: 12px;
    }

    .recruit__sign div {
        min-width: 0;
        width: 100%;
        font-size: 18px;
        padding: 16px 20px;
    }
}

.images_section img {
    width: 500px;
    max-width: calc(100% / 2 - 20px);
}

/* 採用情報一覧ページ */
.recruit-archive-page {
    padding: 0 0 80px;
}

.recruit-archive-hero {
    padding: 60px 20px 30px;
}

.recruit-archive-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.recruit-archive-hero__title {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.recruit-archive-hero__lead {
    max-width: 820px;
    margin: 20px auto 0;
    font-size: 16px;
    line-height: 1.9;
    text-align: center;
}

.recruit-archive-list {
    padding: 20px;
	margin-top: 50px;
}

.recruit-archive-list__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.recruit-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.recruit-archive-card {
    height: 100%;
}

.recruit-archive-card__link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    overflow: hidden;
	overflow: visible;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recruit-archive-card__link:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.recruit-archive-card__image img {
    display: block;
    width: 100%;
	height: 258px;
    /*aspect-ratio: 16 / 9;*/
    object-fit: cover;
}

.recruit-archive-card__body {
    padding: 22px 20px 24px;
}

.recruit-archive-card__title {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
}

.recruit-archive-card__meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
}

.recruit-archive-card__office {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
}

.recruit-archive-card__office--honsha {
    background: #157595;
}

.recruit-archive-card__office--hirado {
    background: #f57f23;
}

.recruit-archive-card__office--kitakyushu {
    background: #e73118;
}

.recruit-archive-card__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.recruit-archive-card__status--open {
    background: #dfeae0;
    border: 2px solid #1f7a4c;
    color: #1f7a4c;
}

.recruit-archive-card__status--closed {
	background: #FFF0F5;
    border: 2px solid #FF8AB1;
    color: #FF8AB1;
}

.recruit-archive-card__pr-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.recruit-archive-card__pr-item {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 6px;
}

.recruit-archive-card__pr-item:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .recruit-archive-card__body {
        padding: 16px 14px 18px;
    }

    .recruit-archive-card__title {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .recruit-archive-card__meta {
        gap: 10px;
        margin-bottom: 16px;
    }

    .recruit-archive-card__office,
    .recruit-archive-card__status {
        min-width: 100%;
        min-height: 42px;
        font-size: 14px;
        padding: 0 14px;
        border-radius: 12px;
    }

    .recruit-archive-card__pr-item {
        font-size: 14px;
    }
}



/* CF7 ruby pseudo placeholder (3 fields only) */
.cf7-pseudo-wrap {
    position: relative;
}

.cf7-pseudo-placeholder {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.55;
    line-height: 1.4;
    white-space: nowrap;
}

.cf7-pseudo-placeholder.is-textarea {
    top: 14px;
    transform: none;
    white-space: normal;
    right: 14px; /* 長文の折り返し用 */
}

.cf7-pseudo-placeholder.is-hidden {
    display: none;
}

/* 投稿ページ */

body.single .site-main {
	max-width: 1000px;
	margin: 50px auto;
	padding-bottom: 50px;
	border-bottom: thin solid #ccc;
}

body.single .site-main figure {
	text-align: center;
}
body.single .site-main figure img,
body.single .site-main figure.wp-block-video {
	max-width: 900px;
	margin: 30px auto;
}

/* =========================================
   投稿ページ 全体
========================================= */
.single-post .entry {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 0 20px 80px;
}

.single-post .entry__header {
    margin-bottom: 32px;
}

.single-post .entry__title {
    margin: 0 0 20px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.5;
    color: #1f2d3d;
    letter-spacing: 0.02em;
}

.single-post .entry__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #6b7a86;
}

.single-post .entry__date {
    color: #6b7a86;
    font-weight: 500;
}

.single-post .entry__author {
    color: #6b7a86;
}

body.single .site-main figure img {
    max-width: 100%;
    margin: 30px auto;
}

figure.wp-block-video {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

figure.wp-block-video video {
    width: 100%;
    height: auto;
    display: block;
} 

/* =========================================
   アイキャッチ
========================================= */
.single-post .entry__thumb {
    margin: 0 0 40px;
    border-radius: 24px;
    overflow: hidden;
    background: #f6f8fa;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.single-post .entry__thumb img,
.single-post .entry__thumb video {
    display: block;
    width: 100%;
    height: auto;
}

.single-post .entry__thumb iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}

/* =========================================
   本文エリア
========================================= */
.single-post .entry__content {
    font-size: 17px;
    line-height: 2;
    color: #222222;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.single-post .entry__content > *:first-child {
    margin-top: 0;
}

.single-post .entry__content p {
    margin: 0 0 24px;
}

.single-post .entry__content a {
    color: #25758a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-post .entry__content a:hover {
    opacity: 0.8;
}

.single-post .entry__content strong {
    font-weight: 700;
}

.single-post .entry__content em {
    font-style: italic;
}

/* 見出し */
.single-post .entry__content h2 {
    margin: 56px 0 20px;
    padding-left: 16px;
    border-left: 6px solid #25758a;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.5;
    color: #1f2d3d;
}

.single-post .entry__content h3 {
    margin: 44px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d9e4ea;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    color: #1f2d3d;
}

.single-post .entry__content h4 {
    margin: 36px 0 16px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
    color: #1f2d3d;
}

/* リスト */
.single-post .entry__content ul,
.single-post .entry__content ol {
    margin: 0 0 24px 24px;
    padding: 0;
}

.single-post .entry__content li {
    margin-bottom: 10px;
}

/* 画像 */
.single-post .entry__content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 32px auto;
    border-radius: 18px;
}

.single-post .entry__content figure {
    margin: 32px 0;
}

.single-post .entry__content figcaption {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.8;
    color: #6b7a86;
    text-align: center;
}

/* 引用 */
.single-post .entry__content blockquote {
    margin: 32px 0;
    padding: 24px 24px 24px 28px;
    border-left: 6px solid #25758a;
    background: #f8fbfc;
    border-radius: 0 16px 16px 0;
    color: #334155;
}

.single-post .entry__content blockquote p:last-child {
    margin-bottom: 0;
}

/* テーブル */
.single-post .entry__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 15px;
    line-height: 1.8;
}

.single-post .entry__content th,
.single-post .entry__content td {
    padding: 14px 16px;
    border: 1px solid #d9e4ea;
    vertical-align: top;
}

.single-post .entry__content th {
    background: #f4f8fa;
    font-weight: 700;
}

/* コード */
.single-post .entry__content pre {
    margin: 32px 0;
    padding: 20px;
    background: #1f2937;
    color: #f9fafb;
    border-radius: 14px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.8;
}

.single-post .entry__content code {
    padding: 2px 6px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 14px;
}

/* 区切り線 */
.single-post .entry__content hr {
    margin: 48px 0;
    border: 0;
    border-top: 1px solid #dbe5ea;
}

/* ruby */
.single-post .entry__content ruby {
    ruby-position: over;
}

.single-post .entry__content rt {
    font-size: 10px;
    line-height: 1.2;
}

/* =========================================
   ページ分割ナビ
========================================= */
.single-post .entry__pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 48px 0 0;
    padding-top: 28px;
    border-top: 1px solid #e4eaee;
    font-size: 14px;
    color: #6b7a86;
}

.single-post .entry__pages span,
.single-post .entry__pages a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #d9e4ea;
    border-radius: 999px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #25758a;
}

.single-post .entry__pages > span {
    background: #25758a;
    border-color: #25758a;
    color: #ffffff;
}

/* =========================================
   カテゴリー / タグ
========================================= */
.single-post .entry__footer {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #e4eaee;
}

.single-post .entry__cats,
.single-post .entry__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.single-post .entry__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #6b7a86;
}

.single-post .entry__footer a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: #f1f6f8;
    color: #25758a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.single-post .entry__footer a:hover {
    background: #25758a;
    color: #ffffff;
}

/* =========================================
   前後ナビ
========================================= */
.single-post .post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #e3e7ea;
}

.single-post .post-nav__prev,
.single-post .post-nav__next {
    min-width: 0;
}

.single-post .post-nav__prev a,
.single-post .post-nav__next a {
    position: relative;
    display: block;
    min-height: 108px;
    padding: 22px 28px;
    border: 1px solid #dbe4ea;
    border-radius: 16px;
    background: #ffffff;
    text-decoration: none;
    color: #1f2d3d;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.single-post .post-nav__prev a:hover,
.single-post .post-nav__next a:hover {
    border-color: #25758a;
    background: #f6fbfd;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

.single-post .post-nav__prev a {
    padding-left: 58px;
    text-align: left;
}

.single-post .post-nav__next a {
    padding-right: 58px;
    text-align: right;
}

.single-post .post-nav__prev a::before,
.single-post .post-nav__next a::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #25758a;
}

.single-post .post-nav__prev a::before {
    content: "←";
    left: 20px;
}

.single-post .post-nav__next a::after {
    content: "→";
    right: 20px;
}

.single-post .post-nav__meta {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    color: #25758a;
}

.single-post .post-nav__title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    color: #1f2d3d;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.single-post .post-nav__title ruby {
    ruby-position: over;
    line-height: 1.8;
}

.single-post .post-nav__title rt {
    font-size: 10px;
    line-height: 1.2;
}

.single-post .post-nav__prev:empty,
.single-post .post-nav__next:empty {
    display: none;
}

/* =========================================
   コメント
========================================= */
.single-post .comments-area {
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1px solid #e3e7ea;
}

.single-post .comments-title,
.single-post .comment-reply-title {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
    color: #1f2d3d;
}

/* =========================================
   SP
========================================= */
@media screen and (max-width: 767px) {
    .single-post .entry {
        padding: 0 16px 56px;
    }

    .single-post .entry__title {
        font-size: 28px;
        line-height: 1.5;
    }

    .single-post .entry__content {
        font-size: 16px;
        line-height: 1.95;
    }

    .single-post .entry__content h2 {
        margin-top: 40px;
        font-size: 24px;
    }

    .single-post .entry__content h3 {
        margin-top: 32px;
        font-size: 20px;
    }

    .single-post .entry__content h4 {
        font-size: 17px;
    }

    .single-post .post-nav {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 40px;
        padding-top: 28px;
    }

    .single-post .post-nav__prev a,
    .single-post .post-nav__next a {
        min-height: 88px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .single-post .post-nav__prev a {
        padding-left: 50px;
    }

    .single-post .post-nav__next a {
        padding-right: 50px;
    }

    .single-post .post-nav__meta {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .single-post .post-nav__title {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* =================================
    Archive Page
================================= */
.archive-page {
    padding-bottom: 80px;
}

.archive-hero {
    padding: 56px 20px 32px;
}

.archive-hero__inner {
    width: min(100%, 1100px);
    margin: 0 auto;
}

.archive-hero__sub {
    margin: 0 0 12px;
    color: #25758a;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.archive-hero__title {
    margin: 0;
    color: #1f2d3d;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.4;
}

.archive-hero__desc {
    margin-top: 18px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.9;
}

.archive-list-section {
    padding: 0 20px;
}

.archive-list-section__inner {
    width: min(100%, 1100px);
    margin: 0 auto;
}

.archive-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.archive-card {
    background: #ffffff;
    border: 1px solid #dbe4ea;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.archive-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    border-color: #bfd2dc;
}

.archive-card__link {
    display: grid;
    grid-template-columns: 320px 1fr;
    text-decoration: none;
    color: inherit;
}

.archive-card__thumb {
    position: relative;
    overflow: hidden;
    background: #eef3f6;
}

.archive-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.archive-card__body {
    padding: 28px 30px 24px;
}

.archive-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-bottom: 14px;
}

.archive-card__date {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.archive-card__cat {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: #f1f6f8;
    color: #25758a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.archive-card__title {
    margin: 0 0 14px;
    color: #4f238f;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.6;
}

.archive-card__title ruby {
    ruby-position: over;
}

.archive-card__title rt {
    font-size: 10px;
    line-height: 1.2;
}

.archive-card__excerpt {
    color: #222222;
    font-size: 16px;
    line-height: 2;
}

.archive-card__excerpt p {
    margin: 0;
}

.archive-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #25758a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.archive-card__more::after {
    content: "→";
    font-size: 16px;
    line-height: 1;
}

.archive-pagination {
    margin-top: 40px;
    text-align: center;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 42px;
    height: 42px;
    margin: 0 4px;
    padding: 0 12px;
    border: 1px solid #dbe4ea;
    border-radius: 999px;
    background: #ffffff;
    color: #25758a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
    background: #25758a;
    border-color: #25758a;
    color: #ffffff;
}

.archive-empty {
    padding: 60px 20px;
    text-align: center;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
}

/* =================================
    Tablet
================================= */
@media screen and (max-width: 1024px) {
    .archive-card__link {
        grid-template-columns: 260px 1fr;
    }

    .archive-card__body {
        padding: 24px 24px 22px;
    }

    .archive-card__title {
        font-size: 22px;
    }
}

/* =================================
    SP
================================= */
@media screen and (max-width: 767px) {
    .archive-page {
        padding-bottom: 56px;
    }

    .archive-hero {
        padding: 40px 16px 24px;
    }

    .archive-hero__title {
        font-size: 30px;
    }

    .archive-hero__desc {
        font-size: 15px;
    }

    .archive-list-section {
        padding: 0 16px;
    }

    .archive-list {
        gap: 20px;
    }

    .archive-card__link {
        grid-template-columns: 1fr;
    }

    .archive-card__thumb img {
        min-height: 200px;
    }

    .archive-card__body {
        padding: 20px 18px 18px;
    }

    .archive-card__meta {
        margin-bottom: 10px;
    }

    .archive-card__title {
        font-size: 20px;
        line-height: 1.6;
    }

    .archive-card__excerpt {
        font-size: 15px;
        line-height: 1.9;
    }

    .archive-card__more {
        margin-top: 14px;
        font-size: 13px;
    }
}

/* ================================
   Pagination
================================ */

.archive-pagination {
    margin-top: 50px;
    text-align: center;
}

.archive-pagination .page-numbers {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;

    margin: 0 5px;
    padding: 0 12px;

    border-radius: 999px;

    border: 1px solid #dbe4ea;

    background: #ffffff;

    color: #25758a;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: 0.2s;
}

.archive-pagination .page-numbers:hover {
    background: #25758a;
    color: #ffffff;
    border-color: #25758a;
}

.archive-pagination .page-numbers.current {
    background: #25758a;
    color: #ffffff;
    border-color: #25758a;
}

/* =====================
    accordion
===================== */

.accordion-group {
    display: grid;
    gap: 16px;
}

.accordion-item {
    border: 1px solid #dddddd;
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
}

.accordion-title,
.office-other-accordion__title {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    gap: 0;
    width: 100%;
    min-height: 80px;
    padding: 20px 76px 20px 20px;
    box-sizing: border-box;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #222222;
    cursor: pointer;
    list-style: none;
    text-align: left;
}

html.is-ruby-on .accordion-title ruby,
html.is-ruby-on .office-other-accordion__title ruby {
    display: inline-block; /* ← inline-flex をやめる */
    ruby-position: over;
    line-height: 1.1;
}

html.is-ruby-on .accordion-title rb,
html.is-ruby-on .office-other-accordion__title rb {
    display: inline;
}

html.is-ruby-on .accordion-title rt,
html.is-ruby-on .office-other-accordion__title rt {
    display: inline;
    font-size: 10px;
    margin: 0;
}


.accordion-title ruby,
.office-other-accordion__title ruby {
    align-items: flex-start !important;
}

.accordion-title rt,
.office-other-accordion__title rt {
    text-align: left !important;
}

.accordion-title rt,
.office-other-accordion__title rt {
    font-size: 0.6em;
    line-height: 1.2;
}


.accordion-title::-webkit-details-marker,
.office-other-accordion__title::-webkit-details-marker {
    display: none;
}

/* JS整形後 */
.accordion-title.is-normalized,
.office-other-accordion__title.is-normalized {
    gap: 0;
}

.accordion-title__lead {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 24px;
    text-align: left;
}

.accordion-title__lead-part {
    display: inline-flex;
    align-items: flex-end;
    min-width: 0;
}

.accordion-title__meta {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    flex: 0 0 auto;
    width: 160px;
    text-align: center;
}

/* ruby 共通 */
.accordion-title ruby,
.office-other-accordion__title ruby {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    white-space: nowrap;
    vertical-align: bottom;
}

/* ルビOFF */
html:not(.is-ruby-on) .accordion-title ruby,
html:not(.is-ruby-on) .office-other-accordion__title ruby {
    display: inline-block;
    line-height: 1.4;
}

html:not(.is-ruby-on) .accordion-title rt,
html:not(.is-ruby-on) .office-other-accordion__title rt {
    display: none;
}

/* ルビON */
html.is-ruby-on .accordion-title ruby,
html.is-ruby-on .office-other-accordion__title ruby {
    display: inline-flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    line-height: 1;
    ruby-position: over;
    -webkit-ruby-position: before;
}

/* 左カラムは左寄せ */
html.is-ruby-on .accordion-title__lead ruby,
html.is-ruby-on .office-other-accordion__title .accordion-title__lead ruby {
    align-items: flex-start;
}

/* 右カラムは中央寄せ */
html.is-ruby-on .accordion-title__meta ruby,
html.is-ruby-on .office-other-accordion__title .accordion-title__meta ruby {
    align-items: center;
}

/* 親文字 */
html.is-ruby-on .accordion-title rb,
html.is-ruby-on .office-other-accordion__title rb {
    display: block;
    line-height: 1.1;
}

/* ルビ文字 */
html.is-ruby-on .accordion-title rt,
html.is-ruby-on .office-other-accordion__title rt {
    display: block;
    margin: 0 0 2px;
    padding: 0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* 左の見出しだけルビも左寄せ */
html.is-ruby-on .accordion-title__lead rt,
html.is-ruby-on .office-other-accordion__title .accordion-title__lead rt {
    text-align: left;
}

/* 右側の項目は中央寄せ */
html.is-ruby-on .accordion-title__meta rt,
html.is-ruby-on .office-other-accordion__title .accordion-title__meta rt {
    text-align: center;
}

/* 開閉アイコン */
.accordion-title::after,
.office-other-accordion__title::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
    color: #222222;
}

.accordion-item[open] > .accordion-title::after,
.office-other-accordion__item[open] > .office-other-accordion__title::after {
    content: "−";
}

.accordion-content,
.office-other-accordion__content {
    padding: 0 24px 24px;
}

@media screen and (max-width: 767px) {
    .accordion-title,
    .office-other-accordion__title {
        flex-wrap: wrap;
        align-items: flex-end;
        gap: 10px 12px;
        min-height: auto;
        padding: 18px 56px 18px 16px;
        font-size: 18px;
    }
    .accordion-title ruby,
	.office-other-accordion__title ruby {
		padding: 0;
		margin: 0;
	}
    .accordion-title__lead {
        flex: 0 0 100%;
        width: 100%;
        padding-right: 0;
    }

    .accordion-title__meta {
        width: auto;
        min-width: 88px;
        justify-content: flex-start;
        text-align: left;
    }

    .accordion-title::after,
    .office-other-accordion__title::after {
        right: 16px;
        font-size: 28px;
    }

    html.is-ruby-on .accordion-title__meta ruby,
    html.is-ruby-on .office-other-accordion__title .accordion-title__meta ruby {
        align-items: flex-start;
    }

    html.is-ruby-on .accordion-title__meta rt,
    html.is-ruby-on .office-other-accordion__title .accordion-title__meta rt {
        text-align: left;
        font-size: 9px;
    }

    .accordion-content,
    .office-other-accordion__content {
        padding: 0 16px 20px;
    }
}

@media (max-width: 430px) {

    .top-recruit-slider .recruit-archive-card__meta {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    /* 幅を完全に揃える */
    .top-recruit-slider .recruit-archive-card__office,
    .top-recruit-slider .recruit-archive-card__status {
        width: 100%;
        min-width: 0;
    }
}

.splide,
.top-recruit-slider,
.top-recruit-slider .splide__track {
    overflow: hidden;
}

.entry__date--updated,
.entry__author {
	display: none;
}

/* ========================================
   メタ情報
======================================== */
.post-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.post-card__cat,
.post-card__office {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.post-card__office {
	min-width: 100px;
}
.post-card__cat {
    background: #f2f2f2;
    color: #444;
}

/* ========================================
   事業所名の色
   article 側の office-xxx クラスを利用
======================================== */
.post-card.office-honsha .post-card__office {
    background: #157595;
    color: #fff;
}

.post-card.office-hirado .post-card__office {
    background: #F57F23;
    color: #fff;
}

.post-card.office-kyushu .post-card__office {
    background: #E73118;
    color: #fff;
}

/* 要約部分ルビなし  */
html.is-ruby-active p.news-excerpt ruby rt {
    display: none !important;
}

.news-item .news-excerpt ruby rt,
.news-item .news-excerpt ruby rp {
    display: none !important;
    visibility: hidden !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.accordion-section-memo {
    margin-top: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.recruit__sign {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.recruit__sign__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 44px;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    border: 3px solid transparent;
}

/* 非アクティブ */
.recruit__sign__item.is-inactive {
    background: #f3f3f0;
    border-color: #d9d9d9;
    color: #bfbfbf;
}

/* 募集中 */
.recruit__sign__item--open.is-active {
    background: #79c27f;
    border: 3px solid transparent;
    border-color: #1b8b3b;
    color: #fff;
}

/* お問い合わせください */
.recruit__sign__item--contact.is-active {
    background: #f39800;
    border-color: #ea5413;
    color: #fff;
}
.recruit-archive-card__status.recruit-archive-card__status--contact {
    background: #EFE1CB;
	border: 2px solid #ea5413;
    color: #ea5413;
}
/* 募集していない */
.recruit__sign__item.recruit__sign__item--closed.is-active {
	background: #e75e78;
    border-color: #e44d67;
	color: #fff;
}


.site-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
}

h1.site-logo,
p.site-logo {
	margin-top: -10px;
}

.site-logo .custom-logo-link,
.site-logo__link {
    display: inline-block;
    line-height: 1;
}

.site-logo__description {
    display: block;
    margin-top: 6px;
    font-size: clamp(12px, 2.187px + 0.959vw, 16px);
    line-height: 18px;
    font-weight: 500;
    color: #444;
}

html.is-ruby-on .site-logo__description {
	margin-top: -6px;
    margin-bottom: 6px;
}

/* タブレット */
@media screen and (max-width: 1024px) {
    .site-logo__description {
        margin-top: 4px;
        font-size: 11px;
        line-height: 16px;
    }
}

/* スマホ */
@media screen and (max-width: 767px) {
    .site-logo__description {
        font-size: 10px;
        line-height: 14px;
    }
}

p.honsha_only {
	display: none;
}
body.page-id-672 p.honsha_only {
	display: block;
	font-size: 12px !important;
	padding: 0;
    margin: 0;	
}
table.license-table th p.note {
	display: block;
	font-size: 12px !important;
	font-weight: normal !important;
	padding: 0;
    margin: 0;		
}
.recruit__sign__item.recruit__sign__item--closed.is-inactive {
	display: none;
}