/*
Theme Name: SHINZO Neumorphic
Theme URI: https://www.shinzo-creative.jp/
Author: SHINZO / Claude
Description: 株式会社SHINZO コーポレートサイト用ニューモーフィズム・テーマ。実績(work)・メンバー(member)・お知らせ(news)をCMS管理。SEO/構造化データ対応。
Version: 1.8.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: shinzo
*/

:root{
  --surface:#faf6ea; --surface-press:#f4eedf;
  --ink:60,55,45; --ink-deep:45,40,32; --hi:255,255,255;
  --text:#574f41; --text-soft:#8b8270; --text-faint:#a59c89;
  --f-jp:'Noto Sans JP', sans-serif; --f-jost:'Jost', sans-serif;
  --emboss:1px 1px 2px rgba(var(--ink),.30), -1px -1px 1.5px rgba(var(--hi),.92);
  --emboss-lg:2px 2px 5px rgba(var(--ink),.20), -2px -2px 4px rgba(var(--hi),.96);
  --emboss-xl:3px 3px 8px rgba(var(--ink),.20), -3px -3px 6px rgba(var(--hi),.97);
  --raise:-6px -6px 14px rgba(var(--hi),.97), 6px 6px 14px rgba(var(--ink),.13);
  --raise-lg:-8px -8px 20px rgba(var(--hi),.92), 9px 9px 22px rgba(var(--ink),.13);
  --raise-hover:-7px -7px 16px rgba(var(--hi),1), 7px 7px 17px rgba(var(--ink),.17);
  --press:inset 4px 4px 9px rgba(var(--ink),.16), inset -4px -4px 9px rgba(var(--hi),.9);
  --inset-tile:inset -4px -4px 10px rgba(var(--hi),.20), inset 5px 5px 13px rgba(var(--ink-deep),.32);
  --inset-field:inset 3px 3px 7px rgba(var(--ink),.13), inset -3px -3px 7px rgba(var(--hi),.92);
  --header-h:76px;
}
*,*::before,*::after{box-sizing:border-box;}
html{scroll-padding-top:calc(var(--header-h) + 20px);-webkit-text-size-adjust:100%;}
body{margin:0;background:var(--surface);color:#fff;font-family:var(--f-jp);font-weight:500;line-height:1.85;letter-spacing:.015em;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
::selection{background:rgba(var(--ink),.14);}

.emboss{color:#fff;text-shadow:var(--emboss);}
.emboss-lg{color:#fff;text-shadow:var(--emboss-lg);}
.emboss-xl{color:#fff;text-shadow:var(--emboss-xl);}
.muted{color:#fff;text-shadow:var(--emboss);}

.wrap{width:100%;max-width:1440px;margin-inline:auto;padding-inline:clamp(22px,7vw,100px);}
.section{padding-block:clamp(64px,9vw,120px);}
.section-tight{padding-block:clamp(48px,6vw,88px);}
.divider{height:1px;border:0;margin:0;background:rgba(var(--ink),.10);box-shadow:0 -1px 0 rgba(var(--hi),.85);}

.eyebrow{font-family:var(--f-jost);font-weight:600;font-size:12px;letter-spacing:.24em;text-transform:uppercase;margin:0;color:#fff;text-shadow:var(--emboss);}
.h-hero{font-family:var(--f-jp);font-weight:600;margin:.18em 0 0;font-size:clamp(40px,7.6vw,84px);line-height:1.12;letter-spacing:-.02em;color:#fff;text-shadow:var(--emboss-xl);}
/* ブランド・鼓動：筆の手書き・大きめ（書体は個別指定） */
.h-hero{ letter-spacing:0; }
.h-hero .hw{ display:inline-block; font-weight:400; font-size:1.5em; vertical-align:-.05em; letter-spacing:0; }
.h-hero .hwb{ font-family:'Yuji Syuku', var(--f-jp); }   /* ブランド */
.h-hero .hwk{ font-family:'Yuji Mai', var(--f-jp); }     /* 鼓動 */
.h-hero .cn{ display:inline-block; letter-spacing:0; }   /* に、 / を。（字間は各文字のmargin-leftで個別調整） */

/* ===== ヒーロー導入：一画ずつ筆順で描く手書きSVG（JSが制御。失敗時はテキスト表示） ===== */
@keyframes hwDraw{ to{ stroke-dashoffset:0; } }
.hw-svg{ display:block; width:auto; height:clamp(54px,9.5vw,120px); max-width:100%; margin:.18em 0 0; overflow:visible; }
.hw-svg path{ fill:none; stroke:#403a2e; stroke-width:6; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1; stroke-dashoffset:1; }
@media (max-width:880px){ .hw-svg{ height:auto; width:100%; } }
.h-page{font-family:var(--f-jp);font-weight:600;margin:.32em 0 0;font-size:clamp(34px,5.6vw,64px);line-height:1.42;letter-spacing:.005em;color:#fff;text-shadow:var(--emboss-xl);}
.h-section{font-family:var(--f-jp);font-weight:600;margin:.30em 0 0;font-size:clamp(27px,3.9vw,46px);line-height:1.28;letter-spacing:-.015em;color:#fff;text-shadow:var(--emboss-lg);}
.h-sub{font-family:var(--f-jp);font-weight:600;margin:0;font-size:clamp(19px,2.2vw,23px);line-height:1.42;color:#fff;text-shadow:var(--emboss);}
.lead{max-width:640px;margin:1.6em 0 0;font-size:clamp(15px,1.15vw,16.5px);line-height:2;color:#fff;text-shadow:var(--emboss);}
.numeral{font-family:var(--f-jost);font-weight:600;letter-spacing:-.012em;line-height:.9;color:#fff;text-shadow:var(--emboss-lg);}

.btn{display:inline-flex;align-items:center;gap:.7em;cursor:pointer;background:var(--surface);border:none;border-radius:44px;padding:16px 30px;font-family:var(--f-jp);font-weight:600;font-size:15px;color:#fff;text-shadow:var(--emboss);box-shadow:var(--raise);transition:box-shadow .25s ease, transform .25s ease;}
.btn .arw{font-family:var(--f-jost);}
.btn:hover{transform:translateY(-1px);box-shadow:var(--raise-hover);background:#c2402c;color:#fff;text-shadow:none;}
.btn:hover .arw{color:#fff;}
.btn:active{transform:translateY(0);box-shadow:var(--press);}
.btn-sm{padding:13px 24px;font-size:14px;}
.pill{display:inline-flex;align-items:center;gap:.5em;cursor:pointer;background:var(--surface);border:none;border-radius:44px;padding:11px 22px;font-family:var(--f-jp);font-weight:600;font-size:13.5px;color:#fff;text-shadow:var(--emboss);box-shadow:var(--raise);transition:box-shadow .22s ease;}
.pill.is-active{box-shadow:var(--press);}
.tag{display:inline-flex;align-items:center;border-radius:30px;padding:9px 18px;font-family:var(--f-jp);font-weight:600;font-size:13px;letter-spacing:.02em;color:#fff;text-shadow:var(--emboss);background:var(--surface);box-shadow:var(--raise);}

.tile{position:relative;border-radius:14px;overflow:hidden;border:1px solid rgba(var(--hi),.45);box-shadow:var(--inset-tile);}
.tile::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:var(--inset-tile);pointer-events:none;}
.tile-initial{position:absolute;inset:0;z-index:1;display:grid;place-items:center;font-family:var(--f-jp);font-weight:600;font-size:clamp(54px,7vw,84px);color:rgba(255,255,255,.92);text-shadow:2px 3px 10px rgba(0,0,0,.28), -1px -1px 2px rgba(255,255,255,.25);}
.tile-photo{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;}
.t-terracotta{background-image:linear-gradient(144deg,rgb(201,138,94) 15%,rgb(126,74,48) 85%);}
.t-steel{background-image:linear-gradient(144deg,rgb(110,138,156) 15%,rgb(54,72,88) 85%);}
.t-green{background-image:linear-gradient(144deg,rgb(74,130,118) 15%,rgb(32,69,63) 85%);}
.t-wine{background-image:linear-gradient(144deg,rgb(168,106,124) 15%,rgb(87,51,65) 85%);}
.t-sand{background-image:linear-gradient(144deg,rgb(196,170,118) 15%,rgb(120,96,52) 85%);}
.t-slate{background-image:linear-gradient(144deg,rgb(120,124,134) 15%,rgb(56,58,68) 85%);}
.ratio-43{aspect-ratio:560/403;} .ratio-portrait{aspect-ratio:292/388;} .ratio-wide{aspect-ratio:16/7;}

.panel{background:var(--surface);border-radius:22px;box-shadow:var(--raise-lg);padding:clamp(26px,3.4vw,44px);}
.panel-inset{background:var(--surface);border-radius:18px;box-shadow:var(--press);padding:clamp(22px,3vw,36px);}

.site-header{position:fixed;top:0;left:0;right:0;z-index:60;height:var(--header-h);background:var(--surface);display:flex;align-items:center;transition:box-shadow .3s ease;}
.site-header.scrolled{box-shadow:0 6px 18px rgba(var(--ink),.08);}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;}
.brand{font-family:var(--f-jost);font-weight:600;font-size:19px;letter-spacing:.20em;color:#fff;text-shadow:var(--emboss);}
.nav{display:flex;align-items:center;gap:34px;list-style:none;margin:0;padding:0;}
.nav li{list-style:none;margin:0;padding:0;}
.nav li::marker{content:"";}
.nav a{font-family:var(--f-jost);font-weight:600;font-size:13.5px;letter-spacing:.04em;color:#fff;text-shadow:var(--emboss);opacity:.78;transition:opacity .2s ease;}
.nav a:hover,.nav a.current-menu-item{opacity:1;}
/* ハンバーガー：横に細い2本線（小さめ・ヘッダー内で上下中央） */
.nav-toggle{display:none;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:24px;height:24px;background:none;border:none;padding:0;cursor:pointer;align-self:center;}
.nav-toggle span{display:block;width:22px;height:1.5px;background:#403a2e;border-radius:2px;transition:transform .3s ease, opacity .3s ease;}
body.nav-open .nav-toggle span:first-child{transform:translateY(3.25px) rotate(45deg);}
body.nav-open .nav-toggle span:last-child{transform:translateY(-3.25px) rotate(-45deg);}

.hero{min-height:calc(100vh - 132px);min-height:calc(100svh - 132px);display:flex;flex-direction:column;justify-content:center;padding-top:calc(var(--header-h) + clamp(16px,3vw,40px));padding-bottom:clamp(20px,2.5vw,36px);}
@media (max-width:880px){.hero{min-height:calc(100svh - 150px);}}
/* スクロールジャック：各セクションを画面いっぱい（中央寄せ）に。上下に大きめの余白を取り、次セクションの内容が下から覗き見えないようにする */
.jsec:not(.hero){ min-height:100vh; min-height:100svh; display:flex; flex-direction:column; justify-content:center; box-sizing:border-box; padding-top:clamp(80px,12vh,170px); padding-bottom:clamp(80px,12vh,170px); }
.jsec > .grid, .jsec > .sec-head, .jsec > .panel, .jsec > .client-logos, .jsec > .svc, .jsec > .info-table{ width:100%; }
/* SPでもジャックさせるため各セクションを全画面高に */
@media (max-width:880px){ .jsec:not(.hero){ min-height:100vh; min-height:100svh; padding-top:clamp(52px,10vw,96px); padding-bottom:clamp(52px,10vw,96px); } }
/* WORK（課題から、成果まで。）は下に大きな余白を取り、最後の事例が画面上部へ消えそうになってから次のジャックを出す */
.jsec.jsec-work{ padding-bottom:58vh !important; }
@media (max-width:880px){ .jsec.jsec-work{ padding-bottom:50vh !important; } }
.page-hero{padding-top:calc(var(--header-h) + clamp(56px,9vw,104px));padding-bottom:clamp(40px,5vw,64px);}
.hero .lead,.page-hero .lead{margin-top:1.7em;}
.hero-actions,.cta-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:40px;}

.grid{display:grid;gap:clamp(24px,3vw,40px);}
.cols-2{grid-template-columns:repeat(2,1fr);} .cols-3{grid-template-columns:repeat(3,1fr);} .cols-4{grid-template-columns:repeat(4,1fr);}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:clamp(16px,3vw,40px);margin-bottom:clamp(48px,6.5vw,76px);}
.viewall,.backlink{font-family:var(--f-jost);font-weight:600;font-size:13.5px;letter-spacing:.06em;color:#fff;text-shadow:var(--emboss);}
/* View all はカテゴリ名と同じ行で、コンテンツ幅の右端に配置 */
.sec-head > div{width:100%;}
.sec-head .eyebrow{display:flex;align-items:center;width:100%;gap:16px;}
.sec-head .eyebrow .viewall{margin-left:auto;text-transform:none;display:inline-flex;align-items:center;gap:.45em;}

.work-card{display:block;}
.work-card .tile{transition:transform .35s ease;} .work-card:hover .tile{transform:translateY(-4px);}
.work-card .cat{font-family:var(--f-jost);font-weight:600;font-size:11px;letter-spacing:.18em;margin:22px 0 0;color:#fff;text-shadow:var(--emboss);}
.work-card .title{margin:10px 0 0;font-family:var(--f-jp);font-weight:600;font-size:23px;line-height:1.45;color:#fff;text-shadow:var(--emboss);}
.work-card .desc{margin:12px 0 0;font-size:14px;line-height:1.75;color:#fff;text-shadow:var(--emboss);max-width:560px;}
.scope{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;}

.svc{display:grid;grid-template-columns:200px 1fr;gap:clamp(20px,3vw,48px);padding-block:clamp(36px,5vw,56px);border-top:1px solid rgba(var(--ink),.10);}
.svc:first-of-type{border-top:0;}
.svc .no{font-size:clamp(54px,7vw,80px);}
.svc .svc-en{font-family:var(--f-jost);font-weight:600;font-size:12px;letter-spacing:.16em;margin:8px 0 0;color:#fff;text-shadow:var(--emboss);}
.svc .svc-ttl{font-family:var(--f-jp);font-weight:600;font-size:clamp(24px,2.8vw,28px);color:#fff;text-shadow:var(--emboss);margin:0;}
.svc .svc-body{font-size:15px;line-height:1.95;max-width:560px;margin:14px 0 0;color:#fff;text-shadow:var(--emboss);}
.deliverables{list-style:none;padding:0;margin:22px 0 0;display:flex;flex-wrap:wrap;gap:9px;}

.news-row{display:grid;grid-template-columns:120px 90px 1fr 24px;align-items:center;gap:24px;padding:22px 0;border-bottom:1px solid rgba(var(--ink),.10);transition:opacity .2s ease;}
.news-row:hover{opacity:.62;}
.news-row .date{font-family:var(--f-jost);font-weight:600;font-size:14px;color:#fff;text-shadow:var(--emboss);}
.news-row .ncat{font-family:var(--f-jost);font-weight:600;font-size:11px;letter-spacing:.1em;color:#fff;text-shadow:var(--emboss);}
.news-row .ntitle{font-size:15.5px;color:#fff;text-shadow:var(--emboss);line-height:1.5;}
.news-row .arw{font-family:var(--f-jost);justify-self:end;color:#fff;text-shadow:var(--emboss);}

.member .photogap{height:16px;}
.member .name{margin:0;font-family:var(--f-jp);font-weight:600;font-size:18px;color:#fff;text-shadow:var(--emboss);}
.member .role{margin:6px 0 0;font-family:var(--f-jost);font-weight:600;font-size:11px;letter-spacing:.14em;color:#fff;text-shadow:var(--emboss);}
.member .bio{margin:12px 0 0;font-size:13.5px;line-height:1.85;color:#fff;text-shadow:var(--emboss);}

.prose{max-width:720px;}
.prose p{margin:0 0 1.5em;font-size:16px;line-height:2.05;color:#fff;text-shadow:var(--emboss);}
.prose h2{margin:2.4em 0 .9em;font-family:var(--f-jp);font-weight:600;font-size:clamp(21px,2.4vw,26px);color:#fff;text-shadow:var(--emboss);line-height:1.5;}
.prose h3{margin:2em 0 .7em;font-family:var(--f-jp);font-weight:600;font-size:18px;color:#fff;text-shadow:var(--emboss);}
.prose ul,.prose ol{margin:0 0 1.6em;padding-left:1.3em;}
.prose li{margin:.5em 0;font-size:15.5px;line-height:1.95;color:#fff;text-shadow:var(--emboss);}
.prose blockquote{margin:1.8em 0;padding:20px 26px;border-radius:14px;box-shadow:var(--press);color:#fff;text-shadow:var(--emboss);font-size:15px;}

.doc{max-width:760px;}
.doc h2{margin:2.6em 0 .8em;font-family:var(--f-jp);font-weight:600;font-size:clamp(18px,2vw,21px);color:#fff;text-shadow:var(--emboss);}
.doc h2:first-of-type{margin-top:0;}
.doc p,.doc li{font-size:15px;line-height:1.95;color:#fff;text-shadow:var(--emboss);}
.doc p{margin:0 0 1.2em;} .doc ul,.doc ol{margin:0 0 1.3em;padding-left:1.3em;} .doc li{margin:.45em 0;}

.info-table{width:100%;border-collapse:collapse;}
.info-table th,.info-table td{text-align:left;vertical-align:top;padding:20px 0;border-bottom:1px solid rgba(var(--ink),.10);}
.info-table th{width:200px;font-family:var(--f-jp);font-weight:600;font-size:13px;letter-spacing:.04em;color:#fff;text-shadow:var(--emboss);}
.info-table td{font-size:15px;color:#fff;text-shadow:var(--emboss);line-height:1.85;}

.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(18px,2.4vw,28px);}
.field-row{display:flex;flex-direction:column;gap:10px;} .field-row.full{grid-column:1 / -1;}
.label{font-family:var(--f-jp);font-weight:600;font-size:13px;letter-spacing:.03em;color:#fff;text-shadow:var(--emboss);}
.field,.wpcf7-form input[type=text],.wpcf7-form input[type=email],.wpcf7-form input[type=tel],.wpcf7-form textarea,.wpcf7-form select{width:100%;background:var(--surface);border:none;border-radius:14px;padding:15px 18px;font-family:var(--f-jp);font-size:15px;color:var(--text);box-shadow:var(--inset-field);transition:box-shadow .2s ease;}
.wpcf7-form textarea{min-height:160px;resize:vertical;line-height:1.8;}
.field:focus,.wpcf7-form :focus{outline:none;box-shadow:inset 4px 4px 9px rgba(var(--ink),.18), inset -4px -4px 9px rgba(var(--hi),.95);}

.cta-band{text-align:center;} .cta-band .lead{margin-inline:auto;} .cta-band .cta-actions{justify-content:center;}

.site-footer{padding-top:clamp(56px,7vw,80px);padding-bottom:40px;}
.footer-top{display:grid;grid-template-columns:1fr auto auto;gap:56px;padding-block:clamp(48px,6vw,72px);}
.footer-top .foot-col{min-width:140px;}
.footer-brand .brand{font-size:30px;}
.footer-brand p{margin:22px 0 0;max-width:320px;font-size:14px;line-height:1.95;color:#fff;text-shadow:var(--emboss);}
.foot-col h4{margin:0 0 18px;font-family:var(--f-jost);font-weight:600;font-size:12px;letter-spacing:.16em;color:#fff;text-shadow:var(--emboss);}
.foot-col a{display:block;margin:0 0 13px;font-size:14.5px;color:#fff;text-shadow:var(--emboss);}
.copyright{font-family:var(--f-jost);font-weight:600;font-size:12.5px;letter-spacing:.04em;color:#fff;text-shadow:var(--emboss);padding-top:30px;display:block;}
.crumb{font-family:var(--f-jost);font-size:12px;letter-spacing:.08em;color:#fff;text-shadow:var(--emboss);margin-bottom:8px;}

@media (max-width:1024px){.footer-top{grid-template-columns:1fr 1fr;}.footer-brand{grid-column:1/-1;}}
@media (max-width:880px){
  :root{--header-h:56px;}
  .header-cta{display:none;} .nav-toggle{display:flex;}
  /* モバイルメニュー：ハンバーガーで開閉するドロップダウンパネル */
  .nav{display:none;position:fixed;top:var(--header-h);left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:6px 0 12px;box-shadow:0 12px 26px rgba(0,0,0,.08);border-top:1px solid rgba(60,55,45,.08);}
  body.nav-open .nav{display:flex;}
  .nav a{display:block;width:100%;padding:15px 28px;font-size:15px;opacity:1;border-bottom:1px solid rgba(60,55,45,.06);}
  /* SP：View all はカテゴリ名の行の右端に寄せる */
  .sec-head .eyebrow{display:flex;width:100%;align-items:center;}
  .sec-head .eyebrow .viewall{margin-left:auto;}
  .cols-2,.cols-3,.cols-4{grid-template-columns:repeat(2,1fr);}
  .svc{grid-template-columns:1fr;gap:8px;} .form-grid{grid-template-columns:1fr;}
  .news-row{grid-template-columns:96px 1fr 18px;gap:14px 16px;} .news-row .ncat{display:none;}
  .info-table th{width:130px;}
  /* SPフッター：紹介文はコンテンツ幅いっぱいに／SITEMAP・CONTACTは左に詰めて配置 */
  .footer-brand p{max-width:none;}
  .footer-top{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:30px 52px;}
  .footer-brand{flex-basis:100%;}
  .footer-top .foot-col{min-width:0;}
  /* SP FV：本文は上下中央、CTAは画面下部に固定配置 */
  .hero{position:relative;min-height:100svh;justify-content:center;padding-bottom:clamp(120px,18vh,180px);}
  .hero-actions{position:absolute;left:0;right:0;bottom:clamp(26px,5vh,52px);margin-top:0;flex-direction:column;gap:12px;padding-inline:clamp(22px,7vw,100px);}
}
@media (max-width:560px){.cols-3,.cols-2{grid-template-columns:1fr;} .cols-4{grid-template-columns:repeat(2,1fr);} .hero-actions .btn{width:100%;justify-content:center;}
  /* SPフッター：SITEMAP / CONTACT を左寄せでまとめる */
  .footer-top{justify-content:flex-start;gap:28px 48px;}
}

/* ---- subtle scroll reveal (animation only; layout/design unchanged) ---- */
.js-anim .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);will-change:opacity,transform;}
.js-anim .reveal.in{opacity:1;transform:none;}
@media (prefers-reduced-motion:reduce){.js-anim .reveal{opacity:1 !important;transform:none !important;transition:none !important;}}

/* =========================================================
   WHITE THEME OVERRIDE — 白背景 + 読みやすい濃い文字
   ========================================================= */
:root{ --surface:#ffffff; }
body{ background:#ffffff; color:#403a2e; }
.site-header{ background:#ffffff; }
/* 主要テキスト・見出し：濃いインク色、グロー無しで可読性確保 */
.emboss,.emboss-lg,.emboss-xl,.h-hero,.h-page,.h-section,.h-sub,.lead,.numeral,
.brand,.nav a,.viewall,.backlink,.tag,.pill,
.work-card .cat,.work-card .title,.work-card .desc,
.svc .svc-ttl,.svc .svc-body,
.news-row .ntitle,
.member .name,.member .bio,
.prose p,.prose h2,.prose h3,.prose li,.prose blockquote,
.doc h2,.doc p,.doc li,
.info-table td,
.foot-col a,
.label{ color:#403a2e !important; text-shadow:none !important; }
/* 補助ラベル：少し淡いブラウンで階層をつける（白地でも十分読める） */
.muted,.eyebrow,.svc .svc-en,.news-row .date,.news-row .ncat,.news-row .arw,
.member .role,.footer-brand p,.foot-col h4,.copyright,.info-table th,.crumb{ color:#8b8b8b !important; text-shadow:none !important; }
/* 色付きタイル上の文字／ホバー時の白文字は白のまま維持 */
.tile-initial{ color:rgba(255,255,255,.95) !important; text-shadow:2px 3px 10px rgba(0,0,0,.28) !important; }
.tile-label{ color:rgba(255,255,255,.92) !important; }
.btn:hover,.btn:hover .arw{ color:#fff !important; }
/* 区切り線を白背景でも見えるよう少し濃く */
.divider,.svc,.news-row,.info-table th,.info-table td{ border-color:rgba(60,55,45,.12); }

/* CTA/ボタン：黒地・白文字・角丸四角（スタイリッシュ） */
.btn{ background:#322d24; color:#fff; text-shadow:none; box-shadow:0 4px 12px rgba(50,45,36,.16); border-radius:12px; padding:11px 22px; gap:.5em; min-width:0; font-size:15px; line-height:1.3; justify-content:center; font-weight:600; transition:background .22s ease, box-shadow .25s ease, transform .25s ease; }
.btn-sm{ padding:9px 18px; font-size:14px; }
.btn:hover{ background:#c2402c; color:#fff; transform:translateY(-2px); box-shadow:0 10px 24px rgba(194,64,44,.26); }
.btn:active{ transform:translateY(0); box-shadow:0 4px 10px rgba(50,45,36,.2); }
.btn .arw{ color:#fff; }
.btn-sm{ padding:12px 22px; }

/* 矢印アイコン（細線・スタイリッシュ）。テキストの→は隠してSVGに置換、currentColorで配色 */
.arw{ display:inline-block; width:.62em; height:.95em; vertical-align:-.13em; background:currentColor; overflow:hidden; text-indent:130%; white-space:nowrap;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M4.5 3L10 8L4.5 13' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%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 14 16'%3E%3Cpath d='M4.5 3L10 8L4.5 13' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn:hover .arw{ transform:none; }
/* 戻るリンク用：TOPと同じchevronを左向きに反転して使用 */
.arw-back{ transform:scaleX(-1); }
.backlink .arw-back{ margin-right:.15em; }

/* 改行：PCは改行なし / スマホ(SP)のみ改行 */
.br-sp{ display:none; }
@media (max-width:880px){ .br-sp{ display:inline; } }
/* PC専用改行（SPでは無効） */
.br-pc{ display:inline; }
@media (max-width:880px){ .br-pc{ display:none; } }
/* PCで折り返さず指定行のみで表示（SPは通常折り返し） */
@media (min-width:881px){ .lead-nowrap-pc{ white-space:nowrap; max-width:none; } }
/* SP：CTA本文は左寄せ */
@media (max-width:880px){ .cta-band .lead{ text-align:left; margin-inline:0; } }

/* セクション全画面スワイプ切替：白オーバーレイ＋中央タイトル */
.sectrans{ position:fixed; inset:0; z-index:999; background:#ffffff; display:flex; align-items:center; justify-content:center; text-align:center; padding:24px; opacity:0; visibility:hidden; transition:opacity .55s ease, visibility .55s; }
.sectrans.show{ opacity:1; visibility:visible; }
.sectrans .st-title{ font-family:var(--f-jp); font-weight:600; font-size:clamp(28px,5vw,56px); line-height:1.5; letter-spacing:.03em; color:#403a2e; opacity:0; transform:translateY(18px); transition:opacity .7s ease .15s, transform .7s ease .15s; }
.sectrans.show .st-title{ opacity:1; transform:none; }

/* CLIENT ロゴ帯（FV直下）— 枚数に関わらず中央・等間隔・高さ統一 */
.client-strip{ padding-block:0 clamp(20px,3vw,40px); }
.client-strip .eyebrow{ color:#8b8b8b; text-shadow:none; margin-bottom:clamp(18px,3vw,30px); }
/* PC：横4列グリッド。各ロゴをセル中央に揃え、列の中心が縦に一致。高さもそろえる */
.client-logos{ display:grid; grid-template-columns:repeat(4,1fr); column-gap:clamp(18px,2.5vw,44px); row-gap:clamp(30px,4vw,52px); align-items:center; justify-items:center; }
.client-logo{ width:100%; height:clamp(32px,3.4vw,42px); display:flex; align-items:center; justify-content:center; }
.client-logo img{ height:auto; width:auto; max-height:clamp(26px,3vw,34px); max-width:84%; object-fit:contain; opacity:1; box-shadow:none; border-radius:0; }
/* SP：横2列グリッド。上下の列で中心が一致 */
@media (max-width:640px){
  .client-logos{ grid-template-columns:1fr 1fr; column-gap:14px; row-gap:clamp(24px,7vw,36px); }
  .client-logo{ height:40px; }
  .client-logo img{ max-height:28px; max-width:84%; }
}

/* 実績詳細：メインビジュアル & 本文内の画像 */
.work-hero-img{ border-radius:18px; overflow:hidden; box-shadow:var(--raise-lg); }
.work-hero-img img{ display:block; width:100%; height:auto; }
.prose img{ border-radius:14px; box-shadow:var(--raise-lg); max-width:100%; height:auto; display:block; }
/* 単体で挿入した画像は全幅。ギャラリー内の画像はブロックの段組みに従う */
.prose > figure.wp-block-image img, .prose > p > img{ width:100%; }
.prose figure{ margin:1.8em 0; }
.prose .wp-block-image{ margin:1.8em 0; }
/* ギャラリー：登録した枚数だけ段組み表示（2〜3列、スマホ1列） */
.prose .wp-block-gallery{ margin:1.8em 0; gap:clamp(12px,2vw,18px); }
.prose .wp-block-gallery figure.wp-block-image{ margin:0; }
.prose .wp-block-gallery img{ border-radius:14px; box-shadow:var(--raise-lg); }
@media (max-width:560px){ .prose .wp-block-gallery.columns-default, .prose .wp-block-gallery{ display:grid !important; grid-template-columns:1fr; } }
.prose figcaption,.prose .wp-element-caption{ font-size:13px; color:#8b8b8b; text-align:center; margin-top:8px; }
.prose .alignleft{ float:left; margin:.4em 1.4em 1.2em 0; max-width:50%; }
.prose .alignright{ float:right; margin:.4em 0 1.2em 1.4em; max-width:50%; }
.prose .aligncenter{ margin-inline:auto; }

/* =========================================================
   CONTACT ページ — フラット構成（凸パネルなし）＋見やすいフォーム
   ========================================================= */
.contact-grid{ display:grid; grid-template-columns:1.55fr 1fr; gap:clamp(40px,6vw,96px); align-items:start; }
.contact-form-ttl{ margin:12px 0 clamp(26px,3.4vw,40px); font-size:clamp(17px,2vw,21px); line-height:1.5; }

/* 右カラム：囲みをやめてフラットに。区切りは細線のみ */
.contact-side{ position:sticky; top:calc(var(--header-h) + 30px); }
.contact-info-ttl{ margin:10px 0 0; font-size:clamp(18px,2vw,22px); }
.contact-info-lead{ margin:12px 0 0; font-size:14px; }
.contact-info-link{ margin:12px 0 0; font-size:15px; line-height:1.6; }
.contact-info-link a{ display:inline-flex; align-items:center; gap:.45em; color:#403a2e; border-bottom:1px solid rgba(60,55,45,.30); padding-bottom:2px; transition:color .2s ease, border-color .2s ease; }
.contact-info-link a:hover{ color:#c2402c; border-color:#c2402c; }
.contact-divider{ margin:clamp(30px,3.6vw,44px) 0; }

/* --- フォーム本体：CF7出力(p > label.label + span.wrap > field) --- */
.contact-form .wpcf7-form > p{ margin:0 0 clamp(18px,2.2vw,24px); }
.contact-form .wpcf7-form .label{ display:block; margin-bottom:9px; font-weight:600; font-size:13.5px; letter-spacing:.02em; color:#403a2e; }
.contact-form .wpcf7-form-control-wrap{ display:block; }

/* 入力欄：白背景でも輪郭がハッキリ分かるよう塗り＋枠線を付与 */
.contact-form .wpcf7-form input[type=text],
.contact-form .wpcf7-form input[type=email],
.contact-form .wpcf7-form input[type=tel],
.contact-form .wpcf7-form input[type=number],
.contact-form .wpcf7-form input[type=url],
.contact-form .wpcf7-form textarea,
.contact-form .wpcf7-form select{
  width:100%; background:#f8f8f9; border:1px solid rgba(0,0,0,.10);
  border-radius:12px; box-shadow:inset 0 1px 2px rgba(0,0,0,.03);
  padding:14px 16px; font-family:var(--f-jp); font-size:15px; color:#403a2e;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form .wpcf7-form textarea{ min-height:170px; resize:vertical; line-height:1.8; }
.contact-form .wpcf7-form input::placeholder,
.contact-form .wpcf7-form textarea::placeholder{ color:#9a9a9a; }
.contact-form .wpcf7-form input:focus,
.contact-form .wpcf7-form textarea:focus,
.contact-form .wpcf7-form select:focus{
  outline:none; background:#fff; border-color:#c2402c;
  box-shadow:0 0 0 3px rgba(194,64,44,.12);
}

/* セレクトの矢印（TOPと同じ細chevronを下向きで） */
.contact-form .wpcf7-form select{
  appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M3 5.5L8 10.5L13 5.5' fill='none' stroke='%23403a2e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 16px center; background-size:13px; padding-right:44px;
}

/* プライバシー同意チェックボックス：横並び・アクセントカラー */
.contact-form .wpcf7-acceptance .wpcf7-list-item{ margin:0; }
.contact-form .wpcf7-acceptance label{ display:flex; align-items:center; gap:10px; cursor:pointer; font-size:14.5px; color:#403a2e; }
.contact-form .wpcf7-form input[type=checkbox]{ width:18px; height:18px; accent-color:#c2402c; flex:none; }

/* 送信ボタン：中央寄せ・少し広め（.btn 由来の黒地はそのまま活用） */
.contact-form .wpcf7-form p:last-of-type{ text-align:center; margin-top:clamp(24px,3vw,32px); }
.contact-form .wpcf7-submit{ min-width:220px; padding:15px 44px; font-size:15px; }

/* 応答・バリデーションメッセージ */
.contact-form .wpcf7-response-output{ border-radius:10px; padding:13px 18px !important; font-size:14px; margin:20px 0 0 !important; }
.contact-form .wpcf7-not-valid-tip{ color:#c2402c; font-size:12.5px; margin-top:6px; }

@media (max-width:880px){
  .contact-grid{ grid-template-columns:1fr; gap:clamp(44px,9vw,60px); }
  .contact-side{ position:static; }
}

/* =========================================================
   メンバー宣材写真：縁を「黒⇔白のグラデーションが流れる」1px枠に
   （太さは既存の1pxのまま。対象はメンバー写真のみ）
   ========================================================= */
.member .tile{ border-color:transparent; }
.member .tile::before{
  content:""; position:absolute; inset:0; z-index:3; pointer-events:none;
  border-radius:inherit; padding:0.5px;             /* 枠線の太さ＝0.5px（従来の約半分） */
  background:conic-gradient(from var(--shinzoAngle,0deg), #000, #fff, #000, #fff, #000);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
          mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite:exclude;
  animation:shinzoEdgeSpin 12s linear infinite;      /* ゆっくり回転（境目なく滑らか） */
}
@property --shinzoAngle{ syntax:'<angle>'; inherits:false; initial-value:0deg; }
@keyframes shinzoEdgeSpin{ to{ --shinzoAngle:360deg; } }
/* 一人ひとり動きをまばらに（開始位置と速度を変える） */
.member:nth-child(1) .tile::before{ animation-duration:11s;   animation-delay:0s; }
.member:nth-child(2) .tile::before{ animation-duration:14s;   animation-delay:-3.5s; }
.member:nth-child(3) .tile::before{ animation-duration:12.5s; animation-delay:-7s; }
.member:nth-child(4) .tile::before{ animation-duration:15s;   animation-delay:-2s; }
.member:nth-child(5) .tile::before{ animation-duration:13s;   animation-delay:-9s; }
.member:nth-child(6) .tile::before{ animation-duration:16s;   animation-delay:-5s; }
.member:nth-child(7) .tile::before{ animation-duration:11.5s; animation-delay:-8s; }
.member:nth-child(8) .tile::before{ animation-duration:14.5s; animation-delay:-1s; }
@media (prefers-reduced-motion:reduce){ .member .tile::before{ animation:none; } }
