@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ============================================================
   銭形グループ 会社HP
   - 色：ロゴの瑠璃色 #004898・緑 #008d56、ポイント色はピンク #dd2a7b
   - トップページの各セクションは、グループブロックのクラス（c-hero / zg-sec など）で見た目を付ける
   ============================================================ */
:root {
  --navy: #004898;
  --navy-deep: #00316a;
  --green: #00804e;
  --point: #dd2a7b;
  --point-dark: #bf1d65;
  --text: #1b2430;
  --muted: #4c5866;
  --line: #c9d7e6;
  --tint: #e3eef8;
  --sky: #d9e8f5;
  --sky-deep: #b3cee8;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 6px 22px rgba(0, 72, 152, .13);
  --font-hand: "Klee One", "Noto Sans JP", serif;
  --zg-w: 1100px;
}

/* ---------- ヘッダー ---------- */
.l-header { position: relative; }
.l-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 45%, var(--green) 100%);
}
.c-gnav > .menu-item > a .ttl { font-weight: 700; }
.c-gnav > .menu-item.zg-contact > a { padding: 0 10px; }
.c-gnav > .menu-item.zg-contact > a .ttl {
  display: inline-flex; align-items: center; height: 38px; padding: 0 22px; border-radius: 999px;
  background: var(--point); color: var(--white); font-size: 13px;
}
.c-gnav > .menu-item.zg-contact > a:hover .ttl { background: var(--point-dark); }
.c-gnav > .menu-item.zg-contact > a::after { display: none; }

/* ---------- フッター ---------- */
.l-footer { position: relative; }
.l-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 45%, var(--green) 100%);
}
.l-footer a { color: inherit; }
.zg-foot-brand__name { font-family: var(--font-hand); font-weight: 600; font-size: 22px; letter-spacing: .08em; }
.zg-foot-brand__lead { font-size: 13px; opacity: .85; margin-top: 4px; }
.zg-corp { font-size: 13px; line-height: 1.9; }
.zg-corp strong { display: block; font-size: 14px; margin-bottom: 2px; }
.sns { display: flex; gap: 12px; margin-top: 14px; }
.sns a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); }
.sns a:hover { background: rgba(255,255,255,.12); }
.sns .icon { width: 18px; height: 18px; }
.sns a.sns__note span { font-family: var(--font-en, "Poppins", sans-serif); font-weight: 700; font-size: 11px; letter-spacing: .02em; line-height: 1; } /* note はアイコンの代わりに文字（採用サイトと同じ） */

/* ---------- 共通の部品 ---------- */
.icon { display: block; }

/* ボタン（ボタンブロックに zg-btn のクラス） */
.zg-btns { gap: 14px; }
.zg-btns--center { justify-content: center; }
.zg-btn .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 14px; letter-spacing: .04em; line-height: 1.4;
  transition: background-color .2s, color .2s;
}
.zg-btn .wp-block-button__link::after {
  content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16h20M19 9l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16h20M19 9l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s;
}
.zg-btn .wp-block-button__link:hover::after { transform: translateX(3px); }
.zg-btn--main .wp-block-button__link { background: var(--point); color: var(--white); }
.zg-btn--main .wp-block-button__link:hover { background: var(--point-dark); }
.zg-btn--outline .wp-block-button__link { background: var(--white); color: var(--navy); border-color: var(--navy); }
.zg-btn--outline .wp-block-button__link:hover { background: var(--navy); color: var(--white); }
/* セクション内リンクの color: inherit（.post_content :is(.c-hero, .zg-sec) a）に負けないよう、ボタンの文字色を強める */
.post_content .zg-btn--main .wp-block-button__link, .post_content .zg-btn--main .wp-block-button__link:hover { color: var(--white); }
.post_content .zg-btn--outline .wp-block-button__link { color: var(--navy); }
.post_content .zg-btn--outline .wp-block-button__link:hover { color: var(--white); }
.zg-btn--sm .wp-block-button__link { min-height: 38px; padding: 0 22px; font-size: 13px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: .04em; text-decoration: none; white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn--insta { background: linear-gradient(90deg, #f58529, #dd2a7b 50%, #8134af); color: var(--white) !important; }

/* ============================================================
   トップページ
   ============================================================ */
.home .l-content { padding-top: 0; }
.home .l-mainContent__inner > .post_content { margin-top: 0; }

/* SWELL の本文用の飾り（見出し・リスト・余白）を、トップのセクションでは外す */
.post_content :is(.c-hero, .zg-sec) :is(h1, h2) {
  background: none; border: 0; padding: 0; margin: 0; box-shadow: none; position: relative;
}
.post_content :is(.c-hero, .zg-sec) :is(h1, h2)::before,
.post_content :is(.c-hero, .zg-sec) :is(h1, h2)::after { content: none; }
.post_content :is(.c-hero, .zg-sec) ul { padding: 0; margin: 0; list-style: none; }
.post_content :is(.c-hero, .zg-sec) ul > li { margin: 0; padding: 0; }
.post_content :is(.c-hero, .zg-sec) ul > li::before { content: none; }
.post_content :is(.c-hero, .zg-sec) p { margin: 0; }
.post_content :is(.c-hero, .zg-sec) a { text-decoration: none; color: inherit; }
.post_content :is(.c-hero, .zg-sec) figure { margin: 0; }
.post_content .alignfull.c-hero, .post_content .alignfull.zg-sec { margin-top: 0; margin-bottom: 0; }

/* セクション共通 */
.zg-sec { padding: 96px 0; }
.zg-sec > .wp-block-group__inner-container { width: min(var(--zg-w), 100% - 32px); margin-inline: auto; position: relative; }
.zg-sec--tint { background: var(--tint); }
.post_content .zg-sec .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .24em; color: var(--green); margin-bottom: 10px; }
.post_content .zg-sec h2.section-title {
  font-family: var(--font-hand); font-weight: 600;
  font-size: clamp(22px, 3vw, 30px); line-height: 1.6; letter-spacing: .06em; color: var(--navy);
  margin-bottom: 32px;
}
.post_content .zg-sec h2.section-title::after {
  content: ""; display: block; width: 36px; height: 3px; margin-top: 14px; border-radius: 2px; background: var(--point);
}

/* メインビジュアル */
.c-hero { position: relative; overflow: hidden; background: #e9f1f9; }
.c-hero > .wp-block-group__inner-container {
  min-height: min(640px, 90svh); display: flex; align-items: center;
  width: min(var(--zg-w), 100% - 32px); margin-inline: auto; padding: 64px 0 80px;
}
.c-hero .c-hero__media { position: absolute; inset: 0 0 0 36%; margin: 0; display: block; overflow: hidden; }
.c-hero .c-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; border-radius: 0; box-shadow: none; }

/* 写真を3枚重ねて、6秒ずつフェードで切り替える（次の写真が2.5秒かけて重なりながら入れ替わる。ズームはなし） */
.post_content .c-hero .c-hero__media > figure.wp-block-image {
  position: absolute; inset: 0; margin: 0; width: 100% !important; height: 100%;
  opacity: 0; animation: zg-fade 18s infinite ease-in-out;
}
.post_content .c-hero .c-hero__media > figure.wp-block-image:nth-of-type(1) { opacity: 1; animation-delay: -2.5s; }
.post_content .c-hero .c-hero__media > figure.wp-block-image:nth-of-type(2) { animation-delay: 3.5s; }
.post_content .c-hero .c-hero__media > figure.wp-block-image:nth-of-type(3) { animation-delay: 9.5s; }
.post_content .c-hero .c-hero__media > figure.wp-block-image::after { content: none; }
/* 18秒で1周：0〜2.5秒で表示 → 8.5秒まで表示 → 8.5〜11秒で消える（その間に次の写真が上に重なって表示される） */
@keyframes zg-fade {
  0% { opacity: 0; }
  13.9% { opacity: 1; }
  47.2% { opacity: 1; }
  61.1% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .post_content .c-hero .c-hero__media > figure.wp-block-image { animation: none; }
  .post_content .c-hero .c-hero__media > figure.wp-block-image:not(:first-of-type) { display: none; }
}
.post_content .c-hero figure.c-hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; display: block;
  height: auto; visibility: visible; /* SWELL が画像ブロックの ::after に付ける height:0・visibility:hidden を打ち消す */
  background: linear-gradient(90deg, #e9f1f9 0%, rgba(233, 241, 249, .8) 12%, rgba(233, 241, 249, 0) 40%);
}
.c-hero__body { position: relative; z-index: 1; }
.post_content .c-hero h1.c-hero__title {
  font-family: var(--font-hand); font-weight: 600; color: var(--navy);
  font-size: clamp(32px, 5vw, 56px); line-height: 1.5; letter-spacing: .08em;
}
.post_content .c-hero .c-hero__lead { margin: 24px 0 36px; font-size: 15px; line-height: 2.1; font-weight: 500; }

/* 私たちについて：三者共栄 */
.about { background: linear-gradient(180deg, var(--white), var(--sky)); }
.about__inner { gap: 56px; align-items: center; margin-bottom: 0; }
.about__media img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.post_content .about__media figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: left; }
.post_content .about__text { line-height: 2.1; margin-bottom: 28px; }
.about__formula { color: var(--navy); }
.venn { position: relative; width: 300px; height: 280px; margin: 0 auto 32px; }
.venn__c {
  position: absolute; width: 150px; height: 150px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--white); border: 2px solid var(--sky-deep); box-shadow: 0 6px 20px rgba(29, 58, 104, .08);
}
.venn__c strong { font-size: 15px; color: var(--navy); }
.venn__c span { font-size: 11px; color: var(--muted); }
.venn__c .icon { width: 28px; height: 28px; color: var(--navy); margin-bottom: 4px; }
.venn__c--a { left: 75px; top: 0; justify-content: flex-start; padding-top: 22px; }
.venn__c--b { left: 0; top: 120px; }
.venn__c--c { left: 150px; top: 120px; }
.venn__center {
  position: absolute; left: 112px; top: 104px; width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; z-index: 1;
  background: linear-gradient(135deg, var(--navy), var(--green)); color: var(--white);
  font-family: var(--font-hand); font-weight: 600; font-size: 15px; line-height: 1.3;
}

/* サービス */
.svc-sec .link-more {
  position: absolute; right: 0; top: 40px;
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--point) !important; white-space: nowrap;
}
.svc-sec .link-more:hover { color: var(--point-dark) !important; text-decoration: underline !important; }
.link-more .icon { width: 14px; height: 14px; }
.svc-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.svc {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s;
}
.svc:hover { transform: translateY(-3px); }
.svc img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.svc__body { padding: 16px 16px 18px; }
.post_content .svc__en { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--green); }
.post_content .svc__names { margin-top: 4px; font-size: 13.5px; font-weight: 700; line-height: 1.55; letter-spacing: -.02em; color: var(--navy); word-break: auto-phrase; }
.svc__names span { display: inline-block; }
.post_content .svc__office {
  margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line);
  font-size: 11px; line-height: 1.7; color: var(--muted); word-break: auto-phrase; letter-spacing: -.01em;
}
.post_content .svc__text { font-size: 12.5px; line-height: 1.8; margin-top: 8px; }

/* 数字で見る銭形 */
.zg-sec.nums { padding-bottom: 0; }
.num-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.num { text-align: center; padding: 8px 8px 0; }
.num + .num { border-left: 1px solid var(--line); }
.num .icon { width: 34px; height: 34px; color: var(--green); margin: 0 auto 6px; }
.post_content .num__value { font-size: 34px; font-weight: 700; color: var(--point); line-height: 1.3; letter-spacing: .02em; }
.num__value small { font-size: 15px; margin-left: 2px; color: var(--navy); }
.post_content .num__value--word { font-family: var(--font-hand); font-size: 26px; padding: 6px 0 3px; color: var(--navy); }
.post_content .num__label { font-size: 12px; color: var(--muted); margin-top: 4px; }
.post_content .num-note { margin-top: 20px; text-align: right; font-size: 11px; color: var(--muted); }
.townscape { display: block; width: 100vw; margin-left: calc(50% - 50vw); height: 72px; margin-top: 40px; color: var(--sky-deep); }

/* 働く人 */
.people-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px !important; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.person__link { display: flex; flex-direction: column; height: 100%; }
.person__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.person__link:hover .person__img { opacity: .9; }
.person__body { padding: 16px 18px 20px; }
.post_content .person__quote { word-break: auto-phrase; font-weight: 700; font-size: 13.5px; line-height: 1.75; color: var(--navy); }
.post_content .person__meta { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* 2つの入口 */
.gates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gate {
  position: relative; display: grid; grid-template-columns: 42% 1fr; min-height: 200px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s;
}
.gate:hover { transform: translateY(-3px); }
.gate img { width: 100%; height: 100%; object-fit: cover; }
.gate--service { background: #d6e7f6; }
.gate--service img { object-position: 50% 22%; }
.gate--recruit { background: #fbe3ee; }
.gate__body { padding: 28px 28px 56px; }
.post_content .gate__en { font-size: 11px; font-weight: 700; letter-spacing: .24em; color: var(--navy); }
.post_content .gate--recruit .gate__en { color: var(--point-dark); }
.post_content .gate__title { font-family: var(--font-hand); font-weight: 600; font-size: 21px; line-height: 1.5; color: var(--navy); margin: 6px 0 8px; }
.about__formula { word-break: auto-phrase; }
.post_content .gate__text { font-size: 13px; line-height: 1.9; }
.gate__arrow {
  position: absolute; right: 18px; bottom: 18px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--white);
}
.gate--recruit .gate__arrow { background: var(--point); }
.gate__arrow .icon { width: 16px; height: 16px; }

/* Instagram */
.insta__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -16px 0 24px; }
.insta__account { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy) !important; }
.insta__account .icon { width: 20px; height: 20px; }
.insta-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.insta-grid a { display: block; overflow: hidden; border-radius: 6px; }
.insta-grid img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transition: transform .3s; }
.insta-grid a:hover img { transform: scale(1.05); }
.post_content .insta__note { margin-top: 12px; font-size: 11px; color: var(--muted); }

/* お知らせ（最新の投稿ブロック） */
.zg-sec.news { padding: 56px 0 80px; }
.news > .wp-block-group__inner-container { display: grid; grid-template-columns: 160px 1fr auto; gap: 32px; align-items: start; }
.post_content .news h2.news__title { font-family: var(--font-hand); font-weight: 600; font-size: 22px; color: var(--navy); line-height: 1.4; }
.news__title small { display: block; font-family: "Noto Sans JP", sans-serif; font-size: 11px; letter-spacing: .24em; color: var(--muted); }
/* 1件ずつ「日付｜タイトル」の2列（ブロックの出力はタイトル→日付の順なので、日付を前に出す） */
.post_content .news-list > li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 12px 0; }
.post_content .news-list > li + li { border-top: 1px solid var(--line); }
.post_content .news-list > li > a { font-size: 14px; line-height: 1.7; }
.post_content .news-list > li > time { order: -1; margin: 0; font-size: 13px; line-height: 1.9; color: var(--point); font-weight: 700; }
.post_content .news-list > li > a:hover { color: var(--navy); text-decoration: underline; }
.home .l-content { margin-bottom: 0; }

/* 採用サイトへの入口（メインビジュアルの右下。ロゴの瑠璃色→緑のグラデーションの帯に、RECRUIT と一言、細い線の矢印） */
:root { --recruit-grad: linear-gradient(110deg, var(--navy) 0%, var(--navy) 35%, #008d56 100%); }
.c-hero__recruit {
  position: absolute; z-index: 3; bottom: 36px; right: max(16px, calc((100% - var(--zg-w)) / 2));
  display: flex; align-items: center; gap: 24px; width: 440px; padding: 26px 36px 26px 40px; overflow: hidden;
  background: linear-gradient(100deg, rgba(0, 72, 152, .94) 0%, rgba(0, 105, 140, .92) 55%, rgba(0, 141, 86, .9) 100%);
  border-radius: 4px; box-shadow: 0 14px 36px rgba(0, 49, 106, .25);
  color: var(--white) !important; text-decoration: none !important; transition: transform .2s, box-shadow .2s, filter .2s;
}
.c-hero__recruit:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 49, 106, .32); filter: brightness(1.06); }
.c-hero__recruit-body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.c-hero__recruit-en { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 34px; line-height: 1.1; letter-spacing: .04em; color: var(--white); }
.c-hero__recruit-ja { font-weight: 700; font-size: 14px; line-height: 1.5; letter-spacing: .06em; color: rgba(255, 255, 255, .92); }
.c-hero__recruit-bonus { display: none; } /* お祝い金は全ページ右下の固定バナーで案内 */
/* 細い線の矢印（右端に上向きの返し） */
.c-hero__recruit-arrow { flex: none; position: relative; width: 52px; height: 14px; color: var(--white); transition: transform .2s; }
.c-hero__recruit-arrow .icon { display: none; }
.c-hero__recruit-arrow::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; }
.c-hero__recruit-arrow::after { content: ""; position: absolute; right: 0; bottom: 0; width: 14px; height: 2px; background: currentColor; transform-origin: right bottom; transform: rotate(35deg); }
.c-hero__recruit:hover .c-hero__recruit-arrow { transform: translateX(6px); }

/* 全ページ右下の固定バナー（参考：お祝い金入りの採用バナー） */
.zg-recruit-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 210px; }
.zg-recruit-float[hidden] { display: none; }
.zg-recruit-float { opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, transform .3s, visibility .3s; }
.zg-recruit-float.is-show { opacity: 1; visibility: visible; transform: none; }
.zg-recruit-float__link {
  position: relative; display: block; height: 236px; border-radius: 14px 14px 0 0; overflow: hidden;
  color: var(--white) !important; text-decoration: none !important; box-shadow: 0 10px 30px rgba(0, 49, 106, .3);
}
.zg-recruit-float__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.zg-recruit-float__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 49, 106, 0) 25%, rgba(0, 49, 106, .82) 72%); }
.zg-recruit-float__bubble {
  position: absolute; z-index: 1; top: 12px; right: 12px; padding: 7px 12px; border-radius: 12px;
  background: var(--white); color: var(--navy); font-size: 11.5px; font-weight: 700; line-height: 1.4; text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.zg-recruit-float__bubble::after { content: ""; position: absolute; left: 22px; bottom: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--white); }
.zg-recruit-float__bonus {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 52px; text-align: center;
  font-size: 12.5px; font-weight: 700; line-height: 1.3; text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.zg-recruit-float__bonus strong { display: block; font-size: 15px; color: #ffe066; }
.zg-recruit-float__bonus b { font-family: "Poppins", sans-serif; font-size: 30px; line-height: 1.1; margin: 0 2px; }
.zg-recruit-float__label {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 46px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--recruit-grad); font-weight: 700; font-size: 16px; letter-spacing: .12em;
}
.zg-recruit-float__label .icon { width: 26px; height: 26px; transition: transform .2s; }
.zg-recruit-float__link:hover .zg-recruit-float__label .icon { transform: translateX(4px); }
.zg-recruit-float__close {
  position: absolute; z-index: 2; top: -10px; left: -10px; width: 26px; height: 26px; border-radius: 50%;
  border: 0; background: var(--navy-deep); color: var(--white); font-size: 15px; line-height: 26px; padding: 0; cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
/* SWELL の「ページ先頭へ」ボタンとぶつからないよう上へ */
.p-fixBtnWrap { bottom: 270px !important; }

/* お知らせ（メインビジュアルのすぐ下。見出しはほかのセクションと同じ形、一覧は角丸の白いカード） */
.zg-sec.news-top { padding: 80px 0 72px; background: linear-gradient(180deg, #e9f1f9 0, var(--white) 140px); }
.news-top__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.post_content .news-top__head h2.section-title { margin-bottom: 0; }
.news-top__more {
  display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 22px; border-radius: 999px;
  border: 2px solid var(--navy); background: var(--white); color: var(--navy) !important; font-weight: 700; font-size: 13px; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.news-top__more:hover { background: var(--navy); color: var(--white) !important; }
.news-top__more .icon { width: 16px; height: 16px; transition: transform .2s; }
.news-top__more:hover .icon { transform: translateX(3px); }
.post_content .zg-sec ul.news-top__list {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 28px;
}
.post_content .zg-sec ul.news-top__list > li + li { border-top: 1px dashed var(--line); }
.news-top__list a { display: grid; grid-template-columns: 104px auto 1fr 36px; align-items: center; gap: 18px; padding: 20px 0; }
.news-top__list time { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 14px; color: var(--point); letter-spacing: .02em; }
.news-top__cat {
  padding: 2px 14px; border-radius: 999px; background: var(--tint); color: var(--navy);
  font-size: 12px; font-weight: 700; line-height: 1.7; white-space: nowrap;
}
.news-top__text { font-size: 15px; line-height: 1.8; }
.news-top__list a:hover .news-top__text { color: var(--navy); text-decoration: underline; }
.news-top__arrow {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; justify-self: end;
  border: 1.5px solid var(--line); color: var(--navy); transition: background-color .2s, color .2s, border-color .2s;
}
.news-top__arrow .icon { width: 14px; height: 14px; }
.news-top__list a:hover .news-top__arrow { background: var(--navy); border-color: var(--navy); color: var(--white); }
.news-top__empty { padding: 20px 0; color: var(--muted); }

/* ============================================================
   下層ページ（会社情報など）
   ============================================================ */

/* タイトル（コンテンツ上・写真に瑠璃色を重ねる） */
.l-topTitleArea { min-height: 220px; }
/* 写真の上に瑠璃色を重ねて文字を読みやすく（SWELL の重ね色はフィルター「なし」だと出ないため自前で） */
.l-topTitleArea::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0, 49, 106, .88) 0%, rgba(0, 72, 152, .6) 45%, rgba(0, 72, 152, .15) 100%);
}
.l-topTitleArea__body { position: relative; z-index: 2; }
.l-topTitleArea .c-pageTitle { font-family: var(--font-hand); font-weight: 600; letter-spacing: .08em; }
.l-topTitleArea .c-pageTitle__subTitle { font-family: "Noto Sans JP", sans-serif; letter-spacing: .24em; }

/* 見出し */
.post_content h2.wp-block-heading { font-family: var(--font-hand); font-weight: 600; letter-spacing: .06em; scroll-margin-top: 100px; }
.post_content h3.wp-block-heading { color: var(--navy); }

/* ページ内リンク（目次がわり） */
.post_content ul.zg-pagenav { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 !important; margin-bottom: 3em; list-style: none !important; }
.post_content ul.zg-pagenav > li { margin: 0; padding: 0; list-style: none; }
.post_content ul.zg-pagenav > li::before { content: none !important; display: none !important; }
.post_content .zg-pagenav a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 999px;
  border: 1.5px solid var(--navy); color: var(--navy); font-size: 13px; font-weight: 700; text-decoration: none;
}
.post_content .zg-pagenav a::after { content: "↓"; font-size: 11px; }
.post_content .zg-pagenav a:hover { background: var(--navy); color: var(--white); }

/* 会社情報の入口：写真つきの大きなカード（参考：左に瑠璃色の斜めの帯） */
.post_content .zg-intro { text-align: center; line-height: 2.1; margin-bottom: 3em; }
.zg-links { display: grid; gap: 32px; }
.zg-link {
  position: relative; display: block; height: 260px; overflow: hidden; border-radius: var(--radius);
  color: var(--white) !important; text-decoration: none !important; box-shadow: var(--shadow);
}
.zg-link__img { position: absolute; inset: 0 0 0 30%; width: 70%; height: 100%; object-fit: cover; transition: transform .4s; }
.zg-link:hover .zg-link__img { transform: scale(1.04); }
.zg-link__body {
  position: absolute; inset: 0 auto 0 0; width: 52%; padding: 0 56px;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 70%, #0a5bb0);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}
.zg-link__title { font-family: var(--font-hand); font-weight: 600; font-size: 28px; letter-spacing: .08em; line-height: 1.4; }
.zg-link__en { font-size: 12px; font-weight: 700; letter-spacing: .2em; margin-top: 6px; opacity: .9; }
.zg-link__text { font-size: 13px; line-height: 1.8; margin-top: 14px; max-width: 75%; opacity: .92; }
.zg-link__arrow {
  margin-top: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--point); transition: transform .2s;
}
.zg-link:hover .zg-link__arrow { transform: translateX(4px); }
.zg-link__arrow .icon { width: 16px; height: 16px; }

/* 表（会社概要・沿革） */
.post_content .zg-table table { border-collapse: collapse; width: 100%; table-layout: auto; }
.post_content .zg-table :is(th, td) { border: 0; border-bottom: 1px solid var(--line); padding: 16px 14px; vertical-align: top; font-size: 15px; line-height: 1.9; text-align: left; }
.post_content .zg-table tr:first-child :is(th, td) { border-top: 2px solid var(--navy); }
.post_content .zg-table th { width: 24%; background: var(--tint); color: var(--navy); font-weight: 700; }
.post_content .zg-history th { width: 110px; background: none; color: var(--point); font-size: 16px; }
.post_content .zg-table td a { color: var(--navy); }

/* 企業理念 */
.post_content .zg-statement {
  text-align: center; font-family: var(--font-hand); font-weight: 600; color: var(--navy);
  font-size: clamp(17px, 2.2vw, 22px); line-height: 2.2; letter-spacing: .06em;
  padding: 40px 16px; margin-bottom: 3em; background: linear-gradient(180deg, var(--white), var(--sky)); border-radius: var(--radius);
}
.post_content .zg-principles { counter-reset: zg; padding: 0; list-style: none; display: grid; gap: 14px; }
.post_content .zg-principles > li {
  counter-increment: zg; position: relative; margin: 0; padding: 18px 20px 18px 76px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  font-weight: 700; color: var(--navy); font-size: 16px; line-height: 1.7;
}
.post_content .zg-principles > li::before {
  content: counter(zg); position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--green)); color: var(--white); font-size: 17px;
}
.post_content .zg-formula { color: var(--navy); word-break: auto-phrase; }

/* 代表メッセージ */
.post_content .zg-president { max-width: 420px; margin: 0 auto 2.5em; }
.post_content .zg-president img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.zg-link__img--president { object-position: 50% 32%; } /* 全身の縦長写真なので、顔が入る位置で切る */
.post_content .zg-sign { margin-top: 2.5em; line-height: 2; }

/* 数字・オフィスの写真 */
.post_content .zg-nums img { border-radius: 8px; }
.post_content .zg-office figure img { border-radius: 8px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post_content .zg-office figcaption { font-size: 12.5px; }

/* 地図 */
.zg-map { position: relative; aspect-ratio: 16 / 7; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5em; }
.zg-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 認証 */
.post_content .zg-certs .zg-cert__img img { aspect-ratio: 4 / 3; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.post_content .zg-certs h3 { font-size: 16px; margin-top: 1em; }
.post_content .zg-cert__date { color: var(--point); font-weight: 700; font-size: 13px; margin-bottom: .5em; }
.post_content .zg-certs p { font-size: 14px; }

/* プライバシーポリシー */
.post_content .zg-policy-lead { padding: 24px 28px; background: var(--tint); border-radius: var(--radius); margin-bottom: 3em; }
.post_content .zg-policy-contact { padding: 20px 24px; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 8px; line-height: 2; }
.post_content ul.zg-plain { padding-left: 0; list-style: none; }
.post_content ul.zg-plain > li { padding-left: 0; }
.post_content ul.zg-plain > li::before { content: none; }

/* PDFの一覧 */
.post_content .zg-pdfs a::after { content: ""; }

/* ============================================================
   サービスページ（/service/ と子ページ）
   ============================================================ */
/* 事業所名（タイトルの下の一行）と対象の一行 */
.post_content .zg-office-names { text-align: center; color: var(--navy); font-weight: 700; font-size: 15px; letter-spacing: .06em; margin: -1em 0 2.5em; }
.post_content .zg-target { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--tint); color: var(--navy); font-weight: 700; font-size: 14px; }
.post_content .zg-note { font-size: 13.5px; color: var(--muted); }
.post_content .zg-round img, .post_content .zg-about img { border-radius: var(--radius); box-shadow: var(--shadow); }
.post_content .zg-about { align-items: center; gap: 40px; margin-bottom: 2.5em; }

/* 写真つきのカード（特長・プログラム） */
.post_content .zg-points:not(:has(> .wp-block-group__inner-container)),
.post_content .zg-points > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.post_content .zg-points--3:not(:has(> .wp-block-group__inner-container)),
.post_content .zg-points--3 > .wp-block-group__inner-container { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post_content .zg-points { margin-bottom: 2.5em; }
.post_content .zg-point {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; padding: 0 0 18px; margin: 0 !important;
}
.post_content .zg-point .wp-block-image { margin: 0 0 14px; }
.post_content .zg-point .wp-block-image img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 0; } /* 2026-11-20 16:11→16:8 に低く（ユーザー：上下を削って） */
.post_content .zg-point h3.wp-block-heading { margin: 0 22px 10px; padding: 0; font-size: 17px; line-height: 1.6; border: 0; background: none; }
.post_content .zg-point h3.wp-block-heading::before, .post_content .zg-point h3.wp-block-heading::after { content: none; }
.post_content .zg-point p { margin: 0 22px; font-size: 14.5px; line-height: 1.9; }
.post_content .zg-points--text .zg-point { padding-top: 22px; border-top: 4px solid var(--navy); }
.post_content .zg-points--text:not(:has(> .wp-block-group__inner-container)),
.post_content .zg-points--text > .wp-block-group__inner-container { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* 具体的なサービス（チェックつきの一覧） */
.post_content ul.zg-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0 !important; list-style: none !important; margin-bottom: 3em; }
.post_content ul.zg-checks > li {
  position: relative; margin: 0; padding: 14px 16px 14px 46px; list-style: none;
  background: var(--tint); border-radius: 8px; color: var(--navy); font-weight: 700; font-size: 14.5px; line-height: 1.6;
}
.post_content ul.zg-checks > li::before {
  content: "" !important; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
  transform: none; border: 0; box-shadow: none;
}

/* 利用者さまからの声 */
.post_content ul.zg-voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 0 !important; list-style: none !important; margin-bottom: 3em; }
.post_content ul.zg-voices > li {
  position: relative; margin: 0; padding: 30px 26px 22px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 14.5px; line-height: 1.95;
}
.post_content ul.zg-voices > li::before {
  content: "\201C" !important; position: absolute; left: 20px; top: -14px; width: auto; height: auto; background: none; border: 0;
  font-family: Georgia, serif; font-size: 56px; line-height: 1; color: var(--point); transform: none;
}
.post_content .zg-voice__name { display: block; text-align: right; margin-top: 10px; color: var(--navy); font-weight: 700; }

/* 手続きの流れ（番号つき） */
.post_content ol.zg-steps { counter-reset: step; padding: 0 !important; list-style: none !important; margin: 0 0 1.5em; }
.post_content ol.zg-steps > li {
  counter-increment: step; position: relative; margin: 0; padding: 4px 0 26px 58px; list-style: none; line-height: 1.9;
}
.post_content ol.zg-steps > li::before {
  content: counter(step) !important; position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--green)); color: var(--white);
  font-family: var(--font-en); font-weight: 600; font-size: 15px; border: 0; transform: none;
}
.post_content ol.zg-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--line); }
.post_content ol.zg-steps--simple > li { padding-bottom: 16px; }
.post_content ol.zg-steps--label > li strong { display: block; color: var(--point); font-family: var(--font-en); letter-spacing: .1em; }

/* 加算料金などの番号つきの一覧 */
.post_content ol.zg-numlist { padding-left: 1.6em; margin-bottom: 1em; }
.post_content ol.zg-numlist > li { padding-left: .3em; margin-bottom: .6em; line-height: 1.8; }

/* 表：見出し行つき・中央そろえ・時刻 */
.post_content .zg-table--head tr:first-child :is(th, td) { background: var(--navy); color: var(--white); text-align: center; }
.post_content .zg-table--head tr:first-child th:empty { background: var(--white); }
.post_content .zg-table--center td { text-align: center; }
.post_content .zg-schedule th { width: 220px; font-size: 15px; color: var(--navy); white-space: nowrap; }
.post_content .zg-months th { width: 80px; }

/* 料金表（現HPの表をそのまま。スマホは横にスクロール） */
.post_content .zg-fee { overflow-x: auto; margin-bottom: 1.6em; -webkit-overflow-scrolling: touch; }
.post_content .zg-fee table { min-width: 600px; border-collapse: collapse; }
.post_content .zg-fee :is(th, td) { padding: 9px 10px; font-size: 13.5px; line-height: 1.5; text-align: center; vertical-align: middle; border: 1px solid var(--line); }
.post_content .zg-fee tr:first-child :is(th, td) { border-top: 1px solid var(--line); }
.post_content .zg-fee th { width: auto; background: var(--tint); color: var(--navy); }
.post_content .zg-fee tr:first-child th { background: var(--navy); color: var(--white); }
.post_content .zg-fee td { font-family: var(--font-en); font-weight: 500; }

/* アコーディオン（SWELL 標準のブロック） */
.post_content .swell-block-accordion { margin-bottom: 2em; }
.post_content .swell-block-accordion__item { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 10px; background: var(--white); }
.post_content .swell-block-accordion__title { background: var(--tint); color: var(--navy); font-weight: 700; padding: 14px 52px 14px 18px; line-height: 1.6; }
.post_content .swell-block-accordion__item[open] > .swell-block-accordion__title { background: var(--navy); color: var(--white); }
.post_content .swell-block-accordion__body { padding: 22px 20px 8px; }
.post_content .swell-block-accordion__body h4.wp-block-heading { font-size: 15px; margin-top: 1.4em; }

/* 写真3枚・2枚 */
.post_content .zg-photos { gap: 20px; margin-bottom: 2em; }
.post_content .zg-photos .wp-block-image img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 8px; }
.post_content .zg-photos figcaption { font-size: 13px; line-height: 1.7; text-align: left; }

/* 事業所概要（2事業所を横並び） */
.post_content .zg-offices { gap: 32px; }
.post_content .zg-offices h3.wp-block-heading { font-size: 17px; }
.post_content .zg-offices .zg-table th { width: 32%; }

/* お問い合わせ欄（各ページの最後） */
.post_content .zg-contact-box {
  margin-top: 4em; padding: 40px 32px; text-align: center; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--green)); color: var(--white);
}
.post_content .zg-contact-box h2.wp-block-heading { color: var(--white); margin: 0 0 .6em; padding: 0; border: 0; background: none; font-size: 24px; }
.post_content .zg-contact-box h2.wp-block-heading::before, .post_content .zg-contact-box h2.wp-block-heading::after { content: none; }
.post_content .zg-contact-box p { color: var(--white); }
.post_content ul.zg-tels { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding: 0 !important; list-style: none !important; margin: 1.2em 0 1.6em; }
.post_content ul.zg-tels > li { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.post_content ul.zg-tels > li::before { content: none !important; }
.post_content .zg-contact-box__name { font-size: 13px; opacity: .9; }
.post_content .zg-contact-box__tel { color: var(--white) !important; font-family: var(--font-en); font-weight: 600; font-size: 28px; letter-spacing: .06em; text-decoration: none; }

/* 「CoCo」に込めた思い */
.post_content .zg-principles--text > li { font-weight: 500; color: var(--text); }
.post_content .zg-principles--text > li strong { color: var(--navy); }

@media (max-width: 960px) {
  .post_content .zg-points--3 > .wp-block-group__inner-container, .post_content .zg-points--3:not(:has(> .wp-block-group__inner-container)),
  .post_content .zg-points--text > .wp-block-group__inner-container, .post_content .zg-points--text:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post_content ul.zg-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .post_content .zg-points > .wp-block-group__inner-container, .post_content .zg-points:not(:has(> .wp-block-group__inner-container)),
  .post_content .zg-points--3 > .wp-block-group__inner-container, .post_content .zg-points--3:not(:has(> .wp-block-group__inner-container)),
  .post_content .zg-points--text > .wp-block-group__inner-container, .post_content .zg-points--text:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: 1fr; }
  .post_content ul.zg-checks, .post_content ul.zg-voices { grid-template-columns: 1fr; }
  .post_content .zg-schedule th { width: 42%; white-space: normal; font-size: 14px; }
  .post_content .zg-contact-box { padding: 32px 16px; }
  .post_content .zg-contact-box__tel { font-size: 24px; }
}

/* 文章の多い料金表（こまちの加算など）は左寄せ */
.post_content .zg-fee--text td { text-align: left; font-family: inherit; font-weight: 400; line-height: 1.7; }
.post_content .zg-fee--text td:nth-child(2), .post_content .zg-fee--text td:nth-child(3) { text-align: right; white-space: nowrap; }
.post_content .zg-fee--text tr:first-child th { white-space: nowrap; }
.post_content .zg-fee--text table { table-layout: fixed; }
.post_content .zg-fee--text tr:first-child th:nth-child(1):nth-last-child(4) { width: 22%; }
.post_content .zg-fee--text tr:first-child th:nth-child(2):nth-last-child(3) { width: 15%; }
.post_content .zg-fee--text tr:first-child th:nth-child(3):nth-last-child(2) { width: 13%; }
.post_content .zg-fee--text td:nth-child(2) { white-space: normal; }
.post_content .zg-fee--text tr:first-child th:nth-child(1):nth-last-child(2) { width: 65%; }

/* サービスページのタイトル帯：集合写真の顔が切れないよう上寄せ */
:is(.page-id-376, .page-id-377, .page-id-378, .page-id-379, .page-id-380) .l-topTitleArea__img { object-position: 50% 30%; }

/* 事業所概要：Googleマップへのリンク */
.post_content .zg-table a.zg-maplink {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 14px 4px 10px;
  border: 1.5px solid var(--navy); border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; line-height: 1.6;
}
.post_content .zg-table a.zg-maplink::before {
  content: ""; width: 14px; height: 14px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.post_content .zg-table a.zg-maplink:hover { background: var(--navy); color: var(--white); }

/* ---------- 取り組み（/initiatives/） ---------- */
.post_content .zg-eyebrow { margin: 4.5em 0 0; font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .16em; color: var(--green); }
.post_content .zg-pagenav + .zg-eyebrow { margin-top: 1em; }
.post_content .zg-lead-strong { font-size: 18px; color: var(--navy); }
.post_content .zg-gallery { gap: 12px !important; margin-bottom: 2em; }
.post_content .zg-gallery .wp-block-image img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }
.post_content .zg-gallery--tall .wp-block-image img { aspect-ratio: 3 / 4; }
.post_content .zg-gallery--certs .wp-block-image img { aspect-ratio: auto; object-fit: contain; background: var(--white); border: 1px solid var(--line); padding: 8px; }
.post_content .zg-gallery--certs figcaption { position: static !important; background: none !important; color: var(--text) !important; font-size: 13px; line-height: 1.7; padding: 8px 0 0 !important; text-align: center; }
.post_content .zg-schedule-img img { border: 1px solid var(--line); border-radius: 8px; }
.post_content .zg-schedule-img figcaption { font-size: 13px; }
.post_content .zg-tools:not(:has(> .wp-block-group__inner-container)),
.post_content .zg-tools > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.post_content .zg-tool { margin: 0 !important; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.post_content .zg-tool .zg-tool__logo { margin: 0 0 14px; height: 56px; }
.post_content .zg-tool .zg-tool__logo img { height: 56px; width: auto; max-width: 200px; object-fit: contain; border-radius: 4px; }
.post_content .zg-tool h3.wp-block-heading { margin: 0 0 8px; font-size: 16px; }
.post_content .zg-tool p { font-size: 14px; line-height: 1.85; margin-bottom: .6em; }
@media (max-width: 768px) {
  .post_content .zg-tools > .wp-block-group__inner-container, .post_content .zg-tools:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: 1fr; }
  .post_content .zg-gallery--tall { --wp--style--unstable-gallery-gap: 8px; }
}
.post_content .zg-eyebrow + h2.wp-block-heading { margin-top: .3em !important; }
.post_content .zg-recruit-box { margin: 4em 0 0; padding: 22px 28px; border-radius: var(--radius); background: #fdf0f6; border-left: 5px solid var(--point); }
.post_content .zg-recruit-box p { margin-bottom: 12px; }
.post_content .zg-recruit-box p strong { color: var(--point-dark); font-size: 16px; }
.post_content .zg-recruit-box + .zg-eyebrow { margin-top: 3em; }
.post_content ul.zg-links-list { margin: .4em 0 0; padding-left: 1.2em; font-size: 14px; }
.post_content ul.zg-links-list > li { margin-bottom: .3em; }
.post_content .zg-kansha img { border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
.post_content .zg-kansha figcaption { font-size: 12.5px; text-align: center; }
/* 取り組みのタイトル帯：提灯が見える位置に */
.page-id-473 .l-topTitleArea__img { object-position: 50% 33%; }
/* 企業理念のタイトル帯：顔が入る位置に */
.page-id-115 .l-topTitleArea__img { object-position: 50% 22%; }

/* 表彰・感謝状 */
.post_content .zg-awards:not(:has(> .wp-block-group__inner-container)),
.post_content .zg-awards > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 2em; }
.post_content .zg-award { margin: 0 !important; padding: 16px 16px 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.post_content .zg-award .wp-block-image { margin: 0 0 12px; }
.post_content .zg-award .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #faf8f2; border-radius: 6px; }
.post_content .zg-award .wp-block-image figcaption { display: none; }
.post_content .zg-award .zg-award__date { margin: 0 0 4px; font-size: 12.5px; color: var(--point); font-weight: 700; }
.post_content .zg-award h4.wp-block-heading { margin: 0 0 6px; font-size: 15px; line-height: 1.5; color: var(--navy); }
.post_content .zg-award p { font-size: 13.5px; line-height: 1.8; margin-bottom: 0; }
@media (max-width: 960px) { .post_content .zg-awards > .wp-block-group__inner-container, .post_content .zg-awards:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post_content .zg-awards > .wp-block-group__inner-container, .post_content .zg-awards:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: 1fr; } }
.post_content .zg-award figure.wp-block-image figcaption { display: none !important; }

/* 具体的なサービスの表（ホームヘルプ）：PCは列幅をそろえ、スマホは1行ずつカード表示に */
.post_content .zg-svc-table table { table-layout: fixed; }
.post_content .zg-svc-table tr > :nth-child(1) { width: 26%; }
.post_content .zg-svc-table tr > :nth-child(2) { width: 40%; }
.post_content .zg-svc-table tr > :nth-child(3) { width: 34%; }
@media (max-width: 768px) {
  .post_content .zg-svc-table table, .post_content .zg-svc-table tbody, .post_content .zg-svc-table tr, .post_content .zg-svc-table td { display: block; width: 100% !important; }
  .post_content .zg-svc-table tr:first-child { display: none; }
  .post_content .zg-svc-table tr { margin-bottom: 12px; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 8px; overflow: hidden; background: var(--white); }
  .post_content .zg-svc-table td { border: 0 !important; padding: 10px 14px !important; font-size: 14.5px; line-height: 1.7; }
  .post_content .zg-svc-table td + td { border-top: 1px dashed var(--line) !important; }
  .post_content .zg-svc-table td::before { display: block; font-size: 11.5px; font-weight: 700; color: var(--green); letter-spacing: .06em; margin-bottom: 2px; }
  .post_content .zg-svc-table td:nth-child(1) { background: var(--tint); color: var(--navy); font-weight: 700; }
  .post_content .zg-svc-table td:nth-child(1)::before { content: "事業所"; }
  .post_content .zg-svc-table td:nth-child(2)::before { content: "サービス"; }
  .post_content .zg-svc-table td:nth-child(3)::before { content: "対象"; }
}

/* 料金表：スマホは横スクロール（文字を少し小さく、スクロールできる案内を表示） */
@media (max-width: 768px) {
  .post_content .zg-fee table { min-width: 520px; }
  .post_content .zg-fee :is(th, td) { padding: 7px 6px; font-size: 12.5px; }
  .post_content .zg-fee--text table { min-width: 640px; }
  .post_content .zg-fee::before { content: "← 表は横にスクロールできます →"; display: block; position: sticky; left: 0; margin-bottom: 6px; font-size: 11.5px; color: var(--muted); text-align: center; }
  .post_content .zg-table--head:not(.zg-svc-table) { overflow-x: auto; }
  .post_content .zg-table--head:not(.zg-svc-table) table { min-width: 480px; }
}
@media (max-width: 768px) {
  .post_content .zg-fee th { white-space: nowrap; }
  .post_content .zg-fee th[rowspan] { white-space: normal; min-width: 4.5em; }
  .post_content .zg-fee--text th { white-space: normal; }
  .post_content .zg-fee table { min-width: 0; width: max-content; }
  .post_content .zg-fee td { white-space: nowrap; }
  .post_content .zg-fee--text td { white-space: normal; }
  .post_content .zg-fee--text table { width: 640px; }
}
.post_content .nums .nums-more { margin-top: 28px; }
.post_content .nums .nums-more { display: flex; justify-content: center; }

/* サイトマップ */
.post_content .zg-sitemap:not(:has(> .wp-block-group__inner-container)),
.post_content .zg-sitemap > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.post_content .zg-sitemap__col { margin: 0 !important; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); }
.post_content h2.zg-sitemap__title { margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 18px; }
.post_content h2.zg-sitemap__title::before, .post_content h2.zg-sitemap__title::after { content: none !important; }
.post_content h2.zg-sitemap__title a { color: var(--navy); text-decoration: none; }
.post_content h2.zg-sitemap__title a:hover { text-decoration: underline; }
.post_content .zg-sitemap__list { margin: 0; padding: 0 !important; list-style: none !important; }
.post_content .zg-sitemap__list li { margin: 0; padding: 7px 0 7px 18px; position: relative; border-top: 1px dashed var(--line); list-style: none; font-size: 14.5px; }
.post_content .zg-sitemap__list li::before { content: "›" !important; position: absolute; left: 4px; top: 6px; color: var(--green); font-weight: 700; background: none; width: auto; height: auto; border: 0; transform: none; }
.post_content .zg-sitemap__list li a { color: var(--text); text-decoration: none; }
.post_content .zg-sitemap__list li a:hover { color: var(--navy); text-decoration: underline; }
.post_content .zg-sitemap__list .wp-block-pages-list__item__link { color: var(--text); }
@media (max-width: 960px) { .post_content .zg-sitemap > .wp-block-group__inner-container, .post_content .zg-sitemap:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post_content .zg-sitemap > .wp-block-group__inner-container, .post_content .zg-sitemap:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: 1fr; } }
/* 取り組みの子ページのタイトル帯 */
.page-id-561 .l-topTitleArea__img { object-position: 50% 30%; }
.page-id-563 .l-topTitleArea__img { object-position: 50% 40%; }
.page-id-561 .l-topTitleArea__img { object-position: 50% 33%; }

/* ホームヘルプ：事業所ごとの区分け（2026-11-11） */
.zg-ocards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 1em; }
.zg-ocard { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text) !important; text-decoration: none !important; transition: transform .2s; }
.zg-ocard:hover { transform: translateY(-3px); }
.zg-ocard__name { font-size: 20px; font-weight: 700; color: var(--navy); }
.zg-ocard__area { font-size: 13.5px; color: var(--muted); }
.zg-ocard__tel { font-family: var(--font-en); font-weight: 600; color: var(--point); font-size: 16px; }
.zg-ocard__no { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.zg-ocard__no small { font-size: 12px; margin-left: 2px; }
.zg-ocard__items { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 8px; }
.zg-ocard__items span { font-size: 13.5px; line-height: 1.6; padding: 6px 10px; background: var(--tint); border-radius: 6px; }
.zg-ocard__more { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--navy); }
.post_content .zg-osec { margin: 4em 0 0 !important; padding: 0 0 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.post_content .zg-osec > h2.wp-block-heading, .post_content .zg-osec > .wp-block-group__inner-container > h2.wp-block-heading { margin: 0 0 1.4em !important; padding: 18px 26px !important; background: linear-gradient(110deg, var(--navy-deep), var(--navy) 60%, var(--green)) !important; color: var(--white) !important; border: 0 !important; font-size: 22px; }
.post_content .zg-osec h2.wp-block-heading::before, .post_content .zg-osec h2.wp-block-heading::after { content: none !important; }
.post_content .zg-osec > *:not(h2):not(.wp-block-group__inner-container), .post_content .zg-osec > .wp-block-group__inner-container > *:not(h2) { margin-left: 26px; margin-right: 26px; }
.post_content .zg-osec h3.wp-block-heading { margin-top: 1.2em; }
.post_content .zg-kubun { margin: 2.2em 26px 0 !important; font-size: 13.5px; color: var(--muted); }
.post_content .zg-kubun__label { display: inline-block; margin-right: 10px; padding: 3px 12px; border-radius: 999px; background: var(--green); color: var(--white); font-weight: 700; font-size: 12.5px; }
.post_content .zg-osec .zg-kubun:first-of-type { margin-top: 0 !important; }
@media (max-width: 768px) {
  .zg-ocards { grid-template-columns: 1fr; }
  .post_content .zg-osec > *:not(h2):not(.wp-block-group__inner-container), .post_content .zg-osec > .wp-block-group__inner-container > *:not(h2) { margin-left: 14px; margin-right: 14px; }
  .post_content .zg-osec > h2.wp-block-heading, .post_content .zg-osec > .wp-block-group__inner-container > h2.wp-block-heading { padding: 14px 16px !important; font-size: 18px; }
  .post_content .zg-kubun { margin-left: 14px !important; margin-right: 14px !important; }
}
.post_content .zg-osec, .post_content .zg-osec > .wp-block-group__inner-container { padding-left: 0 !important; padding-right: 0 !important; padding-top: 0 !important; }
.post_content .zg-osec > h2.wp-block-heading, .post_content .zg-osec > .wp-block-group__inner-container > h2.wp-block-heading { margin-left: 0 !important; margin-right: 0 !important; width: 100%; }
.post_content .zg-osec .zg-table th { width: 8.5em; white-space: nowrap; }
@media (max-width: 768px) { .post_content .zg-osec .zg-table th { width: auto; } }

/* お問い合わせ /contact/（2026-11-18） */
.zg-telcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 1em; }
.zg-telcard { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 8px; box-shadow: var(--shadow); color: var(--text) !important; text-decoration: none !important; }
.zg-telcard:hover { border-left-color: var(--point); }
.zg-telcard__name { font-size: 14px; font-weight: 700; color: var(--navy); }
.zg-telcard__tel { font-family: var(--font-en); font-weight: 600; font-size: 24px; color: var(--point); letter-spacing: .04em; line-height: 1.3; }
.zg-telcard__hours { font-size: 12.5px; color: var(--muted); }
.zg-formwrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.zg-form-iframe { display: block; width: 100%; height: 1750px; border: 0; }
.post_content .zg-form-alt { font-size: 13px; text-align: center; margin-top: 10px; }
@media (max-width: 768px) {
  .zg-telcards { grid-template-columns: 1fr; }
  .zg-form-iframe { height: 2100px; }
}
.post_content .zg-formbox { padding: 32px 28px 22px; background: var(--tint); border-radius: var(--radius); text-align: center; }
.post_content .zg-formbox .zg-note { text-align: left; margin-top: 14px; }
.post_content .zg-formbtn .wp-block-button__link { min-height: 56px; padding: 0 40px; font-size: 16px; }

/* お知らせ：カテゴリーの切り替えボタン（functions.php の zg_cat_nav） */
.zg-catnav { margin: 0 0 2.5em; }
.zg-catnav ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none; }
.zg-catnav li { margin: 0 !important; padding: 0 !important; }
.zg-catnav li::before { display: none !important; }
.zg-catnav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy) !important; font-size: 14px; font-weight: 700; text-decoration: none !important; transition: background-color .2s, color .2s, border-color .2s; }
.zg-catnav a span { min-width: 1.6em; padding: 0 6px; border-radius: 999px; background: var(--tint); color: var(--navy); font-size: 12px; font-weight: 600; text-align: center; line-height: 1.6; }
.zg-catnav a:hover { border-color: var(--navy); }
.zg-catnav a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff !important; }
.zg-catnav a[aria-current="page"] span { background: rgba(255,255,255,.2); color: #fff; }
@media (max-width: 599px) {
  .zg-catnav ul { gap: 8px; }
  .zg-catnav a { padding: 7px 14px; font-size: 13px; }
}

/* トップ「お知らせ・ブログ」：カテゴリー「お知らせ」（重要な案内）は目立つ色 */
.news-top__cat--important { background: var(--point, #dd2a7b); color: #fff; }

/* 会社情報：ロゴマーク・創業30周年（build-company-extra.js） */
.post_content .zg-logo-main img { max-width: 420px; margin: 0 auto; display: block; }
.post_content .zg-logo-main figcaption { text-align: center; }
.zg-colors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 1em 0 1.5em; }
.zg-color { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.zg-color__chip { width: 100%; height: 56px; border-radius: 8px; margin-bottom: 6px; }
.zg-color strong { font-size: 18px; color: var(--navy); }
.zg-color__key { font-weight: 700; color: var(--point); }
.post_content .zg-designer { padding: 22px 26px; background: var(--tint); border-radius: var(--radius); }
.post_content .zg-logo-old img { max-width: 320px; margin: 0 auto; display: block; }
.post_content .zg-message { padding: 28px 32px; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); line-height: 2; }
.post_content .zg-message__sign { text-align: right; font-weight: 700; margin-bottom: 0; }
.zg-link__img--logo { object-fit: contain !important; background: #fff; padding: 12px; }
@media (max-width: 599px) {
  .zg-colors { grid-template-columns: 1fr; }
  .post_content .zg-message { padding: 20px 18px; }
}
.post_content .zg-logo-colors img { max-width: 640px; margin: 0 auto; display: block; }
.post_content .zg-logo-colors figcaption { text-align: center; }

/* kintone活用：kintoneのロゴ（ガイドライン：白地・余白・横幅140px以上・文中に入れない） */
.post_content .zg-kintone-logo { margin: 0 auto 2em; text-align: center; }
.post_content .zg-kintone-logo img { width: 280px; max-width: 70%; height: auto; padding: 16px 24px; background: #fff; }

/* 広報誌「銭形Times」（build-company-extra.js） */
.zg-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 1em 0 2.5em; }
.zg-times__item { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; color: var(--text) !important; text-decoration: none !important; transition: transform .2s; }
a.zg-times__item:hover { transform: translateY(-3px); }
.zg-times__cover { display: block; width: 100%; aspect-ratio: 637 / 900; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.zg-times__cover--none { display: grid; place-items: center; background: var(--tint); color: var(--muted); font-weight: 700; }
.zg-times__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.zg-times__vol { font-family: var(--font-en); font-weight: 700; font-size: 18px; color: var(--navy); }
.zg-times__title { font-size: 13.5px; font-weight: 700; }
.zg-times__items { display: flex; flex-direction: column; gap: 3px; font-size: 12px; line-height: 1.6; color: var(--muted); flex: 1; }
.zg-times__items span::before { content: "・"; }
.zg-times__more { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--point); }
@media (max-width: 959px) { .zg-times { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .zg-times { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .zg-times__items { display: none; } }
.zg-link__img--times { object-position: top !important; }

/* ブログ：広報誌への入り口（カテゴリーボタンの右端） */
.zg-catnav__times { margin-left: auto !important; }
.zg-catnav .zg-catnav__times a { background: var(--tint); border-color: var(--tint); }
.zg-catnav .zg-catnav__times a .icon { width: 14px; height: 14px; }
.zg-catnav .zg-catnav__times a:hover { border-color: var(--navy); }
@media (max-width: 599px) { .zg-catnav__times { margin-left: 0 !important; } }

/* 銭形Times の一覧カード：表紙の上（題字）が見えるように */
.p-postList__thumb img[src*="times-v"] { object-position: top !important; }
.post_content .zg-times-cover img { max-width: 420px; margin: 0 auto; display: block; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* お知らせ：広報誌「銭形Times」への入り口（functions.php） */
.zg-times-banner { display: flex; align-items: center; gap: 24px; margin: 0 0 2.5em; padding: 18px 24px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text) !important; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.zg-times-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.zg-times-banner__cover { width: 110px; aspect-ratio: 637 / 900; object-fit: cover; object-position: top; border: 1px solid var(--line); background: #fff; flex-shrink: 0; }
.zg-times-banner__body { display: flex; flex-direction: column; gap: 4px; }
.zg-times-banner__en { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--green); }
.zg-times-banner__title { font-size: 20px; font-weight: 700; color: var(--navy); }
.zg-times-banner__text { font-size: 14px; line-height: 1.7; }
.zg-times-banner__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; color: var(--point); }
.zg-times-banner__more .icon { width: 14px; height: 14px; }
@media (max-width: 599px) { .zg-times-banner { gap: 14px; padding: 14px; } .zg-times-banner__cover { width: 80px; } .zg-times-banner__title { font-size: 17px; } }
.p-postList > .zg-times-banner, .p-postList > .zg-catnav { flex: 0 0 100%; width: 100%; max-width: 100%; box-sizing: border-box; margin-left: 0; margin-right: 0; }

/* 文中の「詳しく見る」リンク（矢印つき） */
.post_content a.zg-more-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-weight: 700; color: var(--point); }
.post_content a.zg-more-link::after { content: "→"; }

/* 特長カード：写真を左・文章を右の横長（zg-points--side。ホームヘルプ。2026-11-20） */
.post_content .zg-points--side .zg-point { padding-bottom: 0 !important; overflow: hidden; }
.post_content .zg-points--side .zg-point:not(:has(> .wp-block-group__inner-container)),
.post_content .zg-points--side .zg-point > .wp-block-group__inner-container { display: grid; grid-template-columns: 40% 1fr; grid-template-rows: auto 1fr; column-gap: 0; height: 100%; }
.post_content .zg-points--side .zg-point .wp-block-image { grid-column: 1; grid-row: 1 / span 2; position: relative; margin: 0; min-height: 190px; }
.post_content .zg-points--side .zg-point .wp-block-image img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.post_content .zg-points--side .zg-point h3.wp-block-heading { grid-column: 2; margin: 18px 18px 8px; font-size: 16px; }
.post_content .zg-points--side .zg-point p { grid-column: 2; margin: 0 18px 18px; font-size: 14px; line-height: 1.8; }
@media (max-width: 599px) {
  .post_content .zg-points--side .zg-point:not(:has(> .wp-block-group__inner-container)),
  .post_content .zg-points--side .zg-point > .wp-block-group__inner-container { grid-template-columns: 1fr; }
  .post_content .zg-points--side .zg-point .wp-block-image { grid-row: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .post_content .zg-points--side .zg-point h3.wp-block-heading, .post_content .zg-points--side .zg-point p { grid-column: 1; }
}

/* 事業所ごとのブログ [zg_tag_posts]（functions.php、2026-11-25） */
.zg-tagposts { margin: 3em 0 1em; }
.post_content .zg-tagposts__heading { margin-bottom: 1em; }
.zg-tagposts__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.zg-tagposts__item { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; color: var(--text) !important; text-decoration: none !important; transition: transform .2s; }
.zg-tagposts__item:hover { transform: translateY(-3px); }
.zg-tagposts__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.zg-tagposts__img--none { background: var(--tint); }
.zg-tagposts__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 16px; }
.zg-tagposts__body time { font-size: 12px; color: var(--muted); }
.zg-tagposts__title { font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--navy); }
.zg-tagposts .zg-btns { margin-top: 20px; }
.post_content a.zg-tagposts__more { display: inline-block; padding: 12px 28px; border: 2px solid var(--navy); border-radius: 999px; color: var(--navy) !important; font-weight: 700; text-decoration: none !important; }
.post_content a.zg-tagposts__more:hover { background: var(--navy); color: #fff !important; }
@media (max-width: 767px) { .zg-tagposts__list { grid-template-columns: 1fr; gap: 14px; } .zg-tagposts__item { flex-direction: row; } .zg-tagposts__img { width: 38%; aspect-ratio: 4 / 3; } }
/* ============================================================
   フォント：見出しは Noto Sans JP の太字、英字は Poppins（参考：kssinet.co.jp）
   ============================================================ */
:root {
  --font-hand: "Noto Sans JP", sans-serif; /* 以前の手書き風（Klee One）から置き換え */
  --font-en: "Poppins", "Noto Sans JP", sans-serif;
}
body { font-family: "Noto Sans JP", sans-serif; }
.post_content .c-hero h1.c-hero__title {
  font-weight: 700; font-size: clamp(34px, 5vw, 60px); line-height: 1.35; letter-spacing: .04em;
}
.post_content .c-hero .c-hero__lead { font-weight: 700; font-size: 16px; letter-spacing: .06em; }
.post_content .zg-sec h2.section-title, .post_content .news h2.news__title,
.post_content .gate__title, .zg-link__title, .venn__center, .post_content .zg-statement,
.zg-foot-brand__name, .l-topTitleArea .c-pageTitle, .post_content h2.wp-block-heading {
  font-weight: 700; letter-spacing: .04em;
}
.post_content .zg-sec h2.section-title { font-size: clamp(24px, 3vw, 32px); line-height: 1.5; }
.post_content .zg-sec .eyebrow, .post_content .svc__en, .post_content .gate__en, .zg-link__en,
.news__title small, .l-topTitleArea .c-pageTitle__subTitle {
  font-family: var(--font-en); font-weight: 600; font-style: normal; letter-spacing: .14em;
}
.post_content .zg-sec .eyebrow { font-size: 13px; }
.post_content .num__value { font-family: var(--font-en); }
.post_content .num__value small { font-family: "Noto Sans JP", sans-serif; }

/* トップ：Instagram（Smash Balloon のフィード）を横1列に（PCは6件、スマホは3列×2段）。採用サイトと同じ並べ方 */
.insta #sb_instagram { padding: 0 !important; margin-top: 8px; }
.insta #sb_instagram #sbi_images { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding: 0 !important; }
.insta #sb_instagram .sbi_item { width: auto !important; padding: 0 !important; margin: 0 !important; }
.insta #sb_instagram .sbi_item:nth-child(n+7) { display: none !important; }
.insta #sb_instagram .sbi_photo { border-radius: 10px; overflow: hidden; }
@media (max-width: 768px) {
  .insta #sb_instagram #sbi_images { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
}

/* ============================================================
   タブレット
   ============================================================ */
@media (max-width: 960px) {
  .svc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .num-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .num:nth-child(4) { border-left: 0; }
  .insta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gate { grid-template-columns: 1fr; }
  .gate img { aspect-ratio: 16 / 9; height: auto; }
}

/* ============================================================
   スマホ
   ============================================================ */
@media (max-width: 768px) {
  .zg-sec { padding: 64px 0; }

  .c-hero > .wp-block-group__inner-container { display: block; min-height: 0; width: auto; padding: 0; }
  .c-hero .c-hero__media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .post_content .c-hero figure.c-hero__media::after { background: linear-gradient(180deg, rgba(233, 241, 249, 0) 70%, #e9f1f9); }
  .c-hero__body { padding: 20px 16px 48px; }
  .post_content .c-hero .c-hero__lead { font-size: 14px; margin: 14px 0 26px; }

  .about__inner { gap: 32px; }
  .about__inner > .wp-block-column:last-child { order: -1; }
  .venn { transform: scale(.9); margin-bottom: 16px; }

  .svc-sec .link-more { position: static; margin: -12px 0 20px; }
  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .svc-list > li:last-child { grid-column: 1 / -1; }
  .svc-list > li:last-child img { aspect-ratio: 16 / 7; }
  .svc__body { padding: 12px 12px 14px; }
  .post_content .svc__text { font-size: 12px; }

  .num-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num + .num { border-left: 0; }
  .num:last-child { grid-column: 1 / -1; }
  .post_content .num__value { font-size: 30px; }

  .people-list { grid-template-columns: 1fr; gap: 16px; }
  .person__link { flex-direction: row; }
  .person__img { width: 38%; aspect-ratio: 1 / 1; flex: none; }
  .person__body { padding: 12px 14px; }

  .gates { grid-template-columns: 1fr; gap: 16px; }
  .gate__body { padding: 22px 20px 56px; }

  .insta__head { flex-direction: column; align-items: flex-start; }
  .insta-grid { gap: 4px; }

  .news > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 12px; }
  .post_content .news-list > li { grid-template-columns: 1fr; gap: 2px; }

  /* 採用バナー：メインビジュアルでは文章の下に全幅、固定バナーは画面下の細い帯に */
  .c-hero__recruit { position: relative; right: auto; bottom: auto; width: auto; margin: -20px 16px 32px; padding: 20px 24px; gap: 16px; }
  .c-hero__recruit-en { font-size: 28px; }
  .c-hero__recruit-ja { font-size: 13px; }
  .zg-recruit-float { left: 0; right: 0; bottom: 0; width: auto; }
  .zg-recruit-float__link { height: 52px; border-radius: 0; display: flex; align-items: center; background: var(--recruit-grad); }
  .zg-recruit-float__img, .zg-recruit-float__bubble, .zg-recruit-float__link::after { display: none; }
  .zg-recruit-float__bonus { position: static; flex: 1; text-align: left; padding-left: 16px; font-size: 11px; text-shadow: none; }
  .zg-recruit-float__bonus strong { display: inline; font-size: 13px; margin-left: 4px; }
  .zg-recruit-float__bonus b { font-size: 20px; }
  .zg-recruit-float__label { position: static; height: auto; padding: 0 44px 0 12px; background: none; font-size: 14px; gap: 6px; }
  .zg-recruit-float__label .icon { width: 20px; height: 20px; }
  .zg-recruit-float__close { top: 13px; left: auto; right: 10px; width: 26px; height: 26px; background: rgba(0, 0, 0, .25); box-shadow: none; }
  .p-fixBtnWrap { bottom: 64px !important; }
  .l-footer { padding-bottom: 52px; }

  /* お知らせ：見出し → 一覧 → MORE の順に縦に並べる */
  .zg-sec.news-top { padding: 48px 0; }
  .news-top__head { margin-bottom: 20px; }
  .news-top__more { min-height: 36px; padding: 0 16px; font-size: 12px; }
  .post_content .zg-sec ul.news-top__list { padding: 2px 16px; }
  .news-top__list a { grid-template-columns: auto auto 1fr; grid-template-areas: "date cat arrow" "text text text"; gap: 6px 12px; padding: 16px 0; }
  .news-top__list time { grid-area: date; font-size: 14px; }
  .news-top__cat { grid-area: cat; }
  .news-top__text { grid-area: text; font-size: 14px; }
  .news-top__arrow { grid-area: arrow; }

  /* 会社情報のカード：写真を上、文字を下に */
  .zg-links { gap: 20px; }
  .zg-link { height: auto; }
  .zg-link__img { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; }
  .zg-link__body { position: relative; width: auto; padding: 22px 20px 24px; clip-path: none; }
  .zg-link__title { font-size: 22px; }
  .zg-link__text { max-width: none; }
  /* 2列の表（会社概要・事業所概要など）だけ縦並びに。料金表・見出し行つきの表は対象外 */
  .post_content .zg-table:not(.zg-fee):not(.zg-table--head) :is(th, td) { display: block; width: auto; font-size: 14px; }
  .post_content .zg-table:not(.zg-fee):not(.zg-table--head) th { padding: 10px 14px; }
  .post_content .zg-table:not(.zg-fee):not(.zg-table--head) td { padding: 12px 14px 18px; }
  .post_content .zg-table:not(.zg-fee):not(.zg-table--head) tr:first-child td { border-top: 0; }
  .post_content .zg-history th { padding-bottom: 0; }
  .post_content .zg-history td { padding-top: 4px; }
  .post_content .zg-principles > li { padding-left: 68px; font-size: 15px; }
  .zg-map { aspect-ratio: 4 / 3; }
}

/* 404ページ（404.php、2026-12-03）：旧HPからの迷子に行き先を案内 */
.post_content .zg-404__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 720px; margin: 2em auto; padding: 0; list-style: none; }
.post_content .zg-404__links li { margin: 0; padding: 0; }
.post_content .zg-404__links li::before { content: none; }
.post_content .zg-404__links a { display: block; padding: 14px 8px; border: 2px solid var(--navy); border-radius: 8px; color: var(--navy); font-weight: 700; text-align: center; text-decoration: none; }
.post_content .zg-404__links a:hover { background: var(--navy); color: #fff; }
@media (max-width: 599px) { .post_content .zg-404__links { grid-template-columns: repeat(2, 1fr); } }

/* フォーム枠の文章（2026-12-03 fix-formbox-text.php）：見出しを独立、日本語は文節で折り返す */
.post_content .zg-formbox p { word-break: auto-phrase; text-wrap: pretty; }
.post_content .zg-formbox .zg-formbox__ttl { margin-bottom: .4em; color: var(--navy); font-size: 1.1em; font-weight: 700; }
.post_content .zg-formbox .zg-types__ttl { margin: 22px 0 8px; font-size: 14px; font-weight: 700; text-align: left; }
.post_content .zg-formbox .zg-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; padding: 0; list-style: none; text-align: left; }
.post_content .zg-formbox .zg-types li { margin: 0; padding: 5px 12px; background: #fff; border: 1px solid #c9d6ea; border-radius: 999px; font-size: 13px; line-height: 1.5; }
.post_content .zg-formbox .zg-types li::before { content: none; }
@media (max-width: 599px) { .post_content .zg-formbox p br { display: none; } }
