@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://layline.co.jp/
    Description: SWELLの子テーマ（株式会社レイライン）
    Version: 1.0.0
    Author: 株式会社レイライン
*/

/*
 * Layline / approved design v4
 * SWELL CHILD の既存テーマ情報コメントは残してください。
 * 下の @import は、既存のCSSルールより前に置いてください。
 * 本ファイルは子テーマへ追加するCSSです。テンプレートの変更は不要です。
 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600;700;750&display=swap');

:root {
  --ll-primary: #2768AF;
  --ll-secondary: #4695D6;
  --ll-cyan: #4CC4F2;
  --ll-navy: #323F77;
  --ll-text: #4A4849;
  --ll-muted: #64666C;
  --ll-white: #FFFFFF;
  --ll-pale: #F4F8FC;
  --ll-line: #DCE5EF;
  --ll-field-line: #73859D;
  --ll-font: 'Noto Sans JP', sans-serif;
  --ll-width: 1200px;
  --ll-gap: 24px;
  --ll-radius: 12px;
  --ll-shadow: 0 8px 26px rgb(50 63 119 / 3%);
}

/* Scope content styling to Layline blocks. SWELL manages navigation behavior. */
.l-header, .l-footer, .ll-home, .ll-page {
  font-family: var(--ll-font);
  color: var(--ll-text);
}
.ll-home, .ll-page { font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.ll-home *, .ll-page *, .ll-home *::before, .ll-home *::after,
.ll-page *::before, .ll-page *::after { box-sizing: border-box; }
.ll-home :is(a, button, input, select, textarea):focus-visible,
.ll-page :is(a, button, input, select, textarea, summary):focus-visible,
.l-header a:focus-visible, .l-footer a:focus-visible {
  outline: 3px solid var(--ll-primary); outline-offset: 5px;
}
.ll-home [id], .ll-page [id] { scroll-margin-top: 120px; }
.ll-sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important;
}

/* Full-width homepage: activated only where the supplied hero exists. */
#body_wrap.home:has(.ll-hero) :is(.l-content, .l-main, .l-mainContent, .l-mainContent__inner) {
  width: 100%; max-width: none; padding-inline: 0; margin-inline: 0;
}
#body_wrap.home:has(.ll-hero) :is(.l-content, .l-mainContent, .l-mainContent__inner) {
  padding-block: 0; margin-block: 0;
}
#body_wrap.home:has(.ll-hero) .post_content { margin: 0; padding: 0; }
#body_wrap.home:has(.ll-hero) .p-mainVisual { display: none; }
/* Preserve the theme's page title for assistive technology if one is present. */
#body_wrap.home:has(.ll-hero) .c-pageTitle {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.post_content > .ll-home { margin: 0 !important; max-width: none; }
.ll-home .ll-wrap { width: calc(100% - 48px); max-width: var(--ll-width); margin-inline: auto; }
.post_content .ll-home :is(h1, h2, h3, p, ul, ol, figure) { margin: 0; }
.post_content .ll-home :is(h1, h2, h3) {
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--ll-navy); line-height: 1.55; letter-spacing: -.035em;
  font-family: var(--ll-font); font-weight: 700;
}
.post_content .ll-home :is(h1, h2, h3)::before,
.post_content .ll-home :is(h1, h2, h3)::after { content: none; }
.post_content .ll-home h2 { font-size: 30px; }
.post_content .ll-home h3 { font-size: 23px; line-height: 1.65; letter-spacing: -.025em; }
.post_content .ll-home p { font-size: 15px; line-height: 2; }
.post_content .ll-home a { color: var(--ll-primary); text-decoration: none; }
.post_content .ll-home .ll-eyebrow, .post_content .ll-page .ll-eyebrow {
  margin: 0 0 16px; padding: 0; color: var(--ll-primary);
  font-size: 10px; font-weight: 600; letter-spacing: .22em; line-height: 1.8;
}
.post_content .ll-home .ll-btn, .post_content .ll-page .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 48px; max-width: 100%; padding: 14px 22px; border: 1px solid var(--ll-primary);
  border-radius: 8px; background: var(--ll-primary); color: var(--ll-white);
  font: 600 15px/1.7 var(--ll-font); text-decoration: none; box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.post_content .ll-home .ll-btn::after,
.post_content .ll-page .wp-block-button__link::after {
  content: ''; flex: 0 0 16px; width: 16px; height: 16px; background: currentColor;
  clip-path: polygon(20% 0,100% 0,100% 80%,86% 80%,86% 25%,11% 100%,0 89%,75% 14%,20% 14%);
}
.post_content .ll-home .ll-btn.ll-secondary,
.post_content .ll-page .ll-secondary .wp-block-button__link {
  background: var(--ll-white); color: var(--ll-primary);
}
.post_content .ll-home .ll-btn:hover,
.post_content .ll-page .wp-block-button__link:hover {
  background: var(--ll-navy); border-color: var(--ll-navy); color: var(--ll-white);
}
.post_content .ll-home .ll-inline-link {
  display: inline-block; margin-top: 28px; padding: 4px 0 5px; border-bottom: 1px solid #B7CDE4;
  font-size: 14px; font-weight: 600; line-height: 1.9;
}
.post_content .ll-home .ll-inline-link:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Homepage hero: original v4 SVG, no pale overlay or bottom waves. */
.ll-hero { position: relative; overflow: hidden; background: linear-gradient(105deg,#fff 32%,#F4F8FC 100%); }
.ll-hero > .ll-wrap { position: relative; }
.ll-hero .ll-hero-copy { position: relative; z-index: 2; padding-top: 48px; }
.post_content .ll-hero .ll-eyebrow { margin-bottom: 22px; letter-spacing: .13em; }
.post_content .ll-hero :is(h1, h2) {
  font-size: clamp(32px, 9.75vw, 38px); line-height: 1.48; letter-spacing: -.04em; font-weight: 750;
}
.post_content .ll-hero .ll-hero-copy > p { margin: 24px 0 28px; font-size: 15px; line-height: 2; }
.ll-actions { display: flex; gap: 10px; }
.post_content .ll-actions .ll-btn { flex: 1 1 0; gap: 10px; padding: 14px 12px; font-size: 13px; }
.ll-desktop-break { display: none; }
.ll-hero .ll-art { display: block; position: relative; width: calc(100% + 48px); max-width: none; height: 330px; margin: 18px 0 0 -6px; overflow: hidden; pointer-events: none; }
.ll-hero .ll-hero-note { display: none; }
.ll-section { padding-block: 64px; }
.ll-pale { background: var(--ll-pale); }
.ll-intro { display: grid; gap: 24px; }
.post_content .ll-intro p + p { margin-top: 16px; }
.ll-section-heading { margin-bottom: 30px; }
.post_content .ll-section-heading > p { margin-top: 18px; font-size: 14px; }
.ll-cards { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
.ll-card {
  display: flex; flex-direction: column; min-width: 0; padding: 26px 24px;
  border: 1px solid var(--ll-line); border-radius: var(--ll-radius); background: var(--ll-white); box-shadow: var(--ll-shadow);
}
.ll-symbol { min-height: 36px; color: var(--ll-primary); font-size: 12px; letter-spacing: .12em; }
.post_content .ll-card p { margin-top: 12px; }
.post_content .ll-card .ll-inline-link { margin-top: auto; padding-top: 18px; align-self: start; }
.ll-three { display: grid; gap: 32px; }
.ll-feature { min-width: 0; padding-top: 18px; border-top: 2px solid var(--ll-primary); }
.ll-feature .ll-number { margin-bottom: 18px; color: var(--ll-primary); font-size: 30px; line-height: 1.2; letter-spacing: -.04em; }
.post_content .ll-feature p { margin-top: 12px; }
.ll-industry-layout { display: grid; gap: 24px; }
.post_content .ll-industry-layout h2 { font-size: 29px; }
.post_content .ll-home .ll-industries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.post_content .ll-industries li { margin: 0; padding: 12px 16px; border: 1px solid #D5E1EE; border-radius: 6px; background: var(--ll-white); color: var(--ll-navy); font-size: 13px; }
.post_content .ll-industries li::before { content: none; }
.post_content .ll-home .ll-small { margin-top: 24px; color: var(--ll-muted); font-size: 13px; }
.ll-people { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: center; }
.ll-people > div:first-child { grid-column: 1/-1; margin-bottom: 12px; }
.post_content .ll-people p { margin-top: 18px; }
.ll-portrait { position: relative; display: flex; align-items: end; justify-content: center; overflow: hidden; height: 182px; border-radius: var(--ll-radius); background: #EDF2F8; color: var(--ll-navy); }
.ll-portrait svg { width: 125px; height: 175px; }
.ll-portrait span { position: absolute; bottom: 18px; padding: 2px 10px; background: #EDF2F8; font-size: 10px; letter-spacing: .1em; }
.ll-portrait img { width: 100%; height: 100%; object-fit: cover; }
.ll-cta-section { padding-bottom: 64px; }
.ll-home .ll-cta { display: grid; gap: 26px; padding: 32px 22px; border-radius: var(--ll-radius); background: var(--ll-navy); color: var(--ll-white); }
.post_content .ll-cta h2 { color: var(--ll-white); font-size: 28px; }
.post_content .ll-cta .ll-eyebrow { color: var(--ll-white); }
.post_content .ll-cta p { margin-top: 14px; color: var(--ll-white); font-size: 14px; }
.post_content .ll-cta .ll-btn { background: var(--ll-white); border-color: var(--ll-white); color: var(--ll-primary); }
.post_content .ll-cta .ll-btn:hover { background: var(--ll-pale); color: var(--ll-navy); }
.ll-cta a:focus-visible { outline-color: var(--ll-white); }

/* SWELL header/footer: retain theme markup, menus, mobile toggle and widgets. */
.l-header { background: var(--ll-white); border-bottom: 1px solid #E7EDF3; box-shadow: none; }
.l-header a { color: var(--ll-navy); }
.l-header .ll-nav-contact > a { margin: 8px; padding: 14px 22px; border-radius: 8px; background: var(--ll-primary); color: var(--ll-white); }
.l-header .ll-nav-contact > a:hover { background: var(--ll-navy); }
.l-footer { background: var(--ll-pale); border-top: 1px solid var(--ll-line); }
.l-footer a { color: var(--ll-navy); text-underline-offset: 4px; }
.l-footer a:hover { text-decoration: underline; }

/* Standard WordPress blocks on secondary pages.
 * Put all page-body blocks in a standard Group with class ll-page.
 * Classes below are entered in Advanced > Additional CSS class(es).
 */
.post_content .ll-page { max-width: var(--ll-width); margin-inline: auto; padding-block: 24px 64px; }
.post_content .ll-page :is(h2,h3,h4) {
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--ll-navy); font-family: var(--ll-font); font-weight: 700;
  line-height: 1.55; letter-spacing: -.025em;
}
.post_content .ll-page :is(h2,h3,h4)::before,
.post_content .ll-page :is(h2,h3,h4)::after { content: none; }
.post_content .ll-page h2 { margin: 64px 0 28px; font-size: 30px; }
.post_content .ll-page h3 { margin: 32px 0 16px; font-size: 23px; }
.post_content .ll-page h4 { margin: 24px 0 12px; font-size: 19px; }
.post_content .ll-page p { margin: 0 0 20px; font-size: 16px; line-height: 2; }
.post_content .ll-page a:not(.wp-block-button__link) { color: var(--ll-primary); text-decoration: underline; text-underline-offset: 4px; }
.post_content .ll-page :is(ul,ol) { margin: 20px 0; padding-inline-start: 1.5em; }
.post_content .ll-page li { margin: 8px 0; }
.post_content .ll-page li::marker { color: var(--ll-primary); }
body:has(.ll-page) .c-pageTitle {
  font-family: var(--ll-font); font-weight: 700; font-size: clamp(30px,4vw,58px);
  line-height: 1.5; letter-spacing: -.04em; color: var(--ll-navy);
  border: 0; padding-block: 32px; background: linear-gradient(115deg,#fff,#F4F8FC);
}
.post_content .ll-page .ll-lead { font-size: 17px; line-height: 2; }
.post_content .ll-page .ll-panel { margin-block: 48px; padding: 28px 24px; border-radius: var(--ll-radius); background: var(--ll-pale); }
.post_content .ll-page .ll-panel > :first-child { margin-top: 0; }
.post_content .ll-page .ll-panel > :last-child { margin-bottom: 0; }
.post_content .ll-page .ll-checklist { list-style: none; margin: 24px 0; padding: 20px 24px; border: 1px solid var(--ll-line); border-radius: var(--ll-radius); background: var(--ll-white); }
.post_content .ll-page .ll-checklist li { position: relative; margin: 0; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--ll-line); }
.post_content .ll-page .ll-checklist li:last-child { border-bottom: 0; }
.post_content .ll-page .ll-checklist li::before { content: '✓'; position: absolute; inset: 16px auto auto 0; color: var(--ll-primary); }
.post_content .ll-page .ll-service-grid,
.post_content .ll-page .ll-business-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; margin-block: 32px; }
.post_content .ll-page .ll-service-grid > *,
.post_content .ll-page .ll-business-grid > * { min-width: 0; margin: 0; padding: 28px 24px; border: 1px solid var(--ll-line); border-radius: var(--ll-radius); background: var(--ll-white); }
.post_content .ll-page .ll-service-grid h3 { margin: 0 0 14px; }
.post_content .ll-page .ll-service-grid p { font-size: 15px; }
.post_content .ll-page .ll-service-grid ul { font-size: 14px; }
.post_content .ll-page .ll-service-grid > * > :last-child { margin-bottom: 0; }
.post_content .ll-page ol.ll-steps { counter-reset: ll-step; list-style: none; display: grid; gap: 16px; padding: 0; margin-block: 32px; }
.post_content .ll-page .ll-steps > li { counter-increment: ll-step; margin: 0; min-width: 0; padding: 28px; border: 1px solid var(--ll-line); border-radius: var(--ll-radius); background: var(--ll-white); font-size: 15px; }
.post_content .ll-page .ll-steps > li::before { content: counter(ll-step,decimal-leading-zero); display: block; position: static; margin-bottom: 20px; color: var(--ll-primary); font-size: 36px; line-height: 1.2; }
.post_content .ll-page .ll-steps strong { display: block; margin-bottom: 12px; font-size: 22px; color: var(--ll-navy); }
.post_content .ll-page .ll-faq { max-width: 920px; margin-inline: auto; }
.post_content .ll-page .ll-faq h3 { position: relative; margin: 0; padding: 24px 0 14px 36px; font-size: 20px; }
.post_content .ll-page .ll-faq h3::before { content: 'Q'; display: block; position: absolute; inset: 24px auto auto 0; color: var(--ll-primary); font-weight: 600; }
.post_content .ll-page .ll-faq h3 + p { margin: 0; padding: 0 0 24px 36px; border-bottom: 1px solid var(--ll-line); font-size: 15px; }
.post_content .ll-page .wp-block-table { max-width: 100%; overflow-x: auto; margin: 28px 0; }
.post_content .ll-page .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post_content .ll-page .wp-block-table :is(th,td) { border: 1px solid var(--ll-line); padding: 16px; vertical-align: top; text-align: left; line-height: 1.9; overflow-wrap: anywhere; }
.post_content .ll-page .wp-block-table th { color: var(--ll-navy); background: var(--ll-pale); font-weight: 600; }
.post_content .ll-page .ll-company-table table { table-layout: fixed; }
.post_content .ll-page .ll-company-table :is(td,th):first-child { width: 30%; background: var(--ll-pale); color: var(--ll-navy); font-weight: 600; }
.post_content .ll-page .ll-person { display: grid; gap: 28px; margin-block: 48px 64px; }
.post_content .ll-page .ll-person-photo { margin: 0; min-width: 0; aspect-ratio: 4/5; border-radius: var(--ll-radius); overflow: hidden; background: #EDF2F8; }
.post_content .ll-page .ll-person-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post_content .ll-page .ll-person-name { margin-top: 0; font-size: 30px; }
.post_content .ll-page .ll-person-role { margin: 0 0 12px; color: var(--ll-primary); font-size: 14px; font-weight: 600; }
.post_content .ll-page .ll-contact-cta { margin-top: 64px; padding: 32px 24px; border-radius: var(--ll-radius); background: var(--ll-navy); color: var(--ll-white); }
.post_content .ll-page .ll-contact-cta h2 { margin: 0 0 16px; color: var(--ll-white); }
.post_content .ll-page .ll-contact-cta p { color: var(--ll-white); }
.post_content .ll-page .ll-contact-cta .wp-block-button__link { color: var(--ll-primary); background: var(--ll-white); border-color: var(--ll-white); }
.post_content .ll-page .ll-contact-cta .wp-block-button__link:hover { background: var(--ll-pale); }
.ll-contact-cta a:focus-visible { outline-color: var(--ll-white); }

/* Contact Form 7: put its shortcode in the ll-page Group. */
.ll-page .wpcf7 { max-width: 800px; margin-inline: auto; }
.ll-page .wpcf7 label { display: block; color: var(--ll-navy); font-weight: 600; }
.ll-page .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.ll-page .wpcf7 :is(input[type='text'],input[type='email'],input[type='tel'],input[type='url'],input[type='number'],input[type='date'],select,textarea) {
  width: 100%; max-width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--ll-field-line); border-radius: 8px; background: var(--ll-white);
  color: var(--ll-text); font: 400 16px/1.8 var(--ll-font);
}
.ll-page .wpcf7 textarea { min-height: 200px; resize: vertical; }
.ll-page .wpcf7 ::placeholder { color: var(--ll-muted); opacity: 1; }
.ll-page .wpcf7 :is(input[type='checkbox'],input[type='radio']) { width: 20px; height: 20px; vertical-align: middle; accent-color: var(--ll-primary); }
.ll-page .wpcf7 .wpcf7-list-item { display: inline-block; max-width: 100%; margin: 0 0 10px; padding-right: 16px; }
.ll-page .wpcf7 .wpcf7-list-item label { display: inline-flex; max-width: 100%; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 400; }
.ll-page .wpcf7 .wpcf7-list-item label > span { min-width: 0; }
.ll-page .wpcf7 .wpcf7-list-item input { flex: 0 0 20px; }
.ll-page .wpcf7 input[type='submit'] {
  min-height: 52px; padding: 14px 32px; border: 1px solid var(--ll-primary); border-radius: 8px;
  background: var(--ll-primary); color: var(--ll-white); font: 600 16px/1.7 var(--ll-font); cursor: pointer;
}
.ll-page .wpcf7 input[type='submit']:hover { background: var(--ll-navy); }
.ll-page .wpcf7 input[type='submit']:disabled { opacity: .65; cursor: not-allowed; }
.ll-page .wpcf7 [aria-invalid='true'] { border: 2px solid var(--ll-navy); }
.ll-page .wpcf7 .wpcf7-not-valid-tip { margin-top: 6px; color: var(--ll-navy); font-size: 14px; font-weight: 600; }
.ll-page .wpcf7 form .wpcf7-response-output { margin: 24px 0; padding: 16px; border: 2px solid var(--ll-primary); border-radius: 8px; color: var(--ll-text); background: var(--ll-pale); }

/* Tablet */
@media (min-width: 600px) {
  .ll-home .ll-wrap { width: calc(100% - 80px); }
  .ll-section { padding-block: 80px; }
  .post_content .ll-home h2, .post_content .ll-page h2 { font-size: 36px; }
  .ll-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .ll-hero .ll-hero-copy { max-width: 660px; padding-top: 64px; }
  .post_content .ll-hero :is(h1, h2) { font-size: 56px; }
  .ll-actions { gap: 16px; }
  .post_content .ll-actions .ll-btn { flex: 0 1 auto; padding: 15px 25px; font-size: 15px; gap: 38px; }
  .ll-hero .ll-art { width: min(740px,100% + 80px); height: 470px; margin: 0 -40px 0 auto; }
  .ll-portrait { height: 235px; }
  .ll-portrait svg { width: 170px; height: 220px; }
  .ll-home .ll-cta { padding: 48px; }
  .post_content .ll-cta h2 { font-size: 36px; }
  .ll-cta .ll-btn { justify-self: start; min-width: 220px; }
  .post_content .ll-page .ll-service-grid, .post_content .ll-page .ll-business-grid,
  .post_content .ll-page ol.ll-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .post_content .ll-page .ll-panel { padding: 40px; }
  .post_content .ll-page .ll-person { grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: 40px; }
}

/* Desktop */
@media (min-width: 960px) {
  .post_content .ll-home h2, .post_content .ll-page h2 { font-size: 42px; letter-spacing: -.025em; }
  .post_content .ll-home p { font-size: 16px; }
  .post_content .ll-home .ll-eyebrow { font-size: 11px; margin-bottom: 18px; }
  .ll-hero > .ll-wrap { min-height: 700px; display: flex; align-items: center; }
  .ll-hero .ll-hero-copy { width: 660px; max-width: 59%; padding-block: 76px; }
  .post_content .ll-hero :is(h1, h2) { font-size: clamp(54px,5vw,72px); line-height: 1.42; letter-spacing: -.035em; }
  .post_content .ll-hero .ll-eyebrow { margin-bottom: 28px; }
  .post_content .ll-hero .ll-hero-copy > p { max-width: 570px; margin: 30px 0 36px; font-size: 17px; }
  .ll-desktop-break { display: initial; }
  .ll-hero .ll-art { position: absolute; width: 740px; height: 700px; right: -160px; top: 0; margin: 0; overflow: visible; }
  .ll-hero .ll-hero-note { display: block; position: absolute; right: 0; bottom: 26px; color: var(--ll-navy); font-size: 10px; letter-spacing: .21em; }
  .ll-section { padding-block: 104px; }
  .ll-intro { grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 80px; }
  .post_content .ll-intro p { line-height: 2.15; }
  .ll-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; }
  .post_content .ll-section-heading .ll-eyebrow { margin-bottom: 15px; }
  .post_content .ll-section-heading > p { margin: 0; font-size: 14px; }
  .ll-cards { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .ll-card { padding: 30px 24px; }
  .post_content .ll-card h3 { font-size: 22px; }
  .post_content .ll-card p { font-size: 15px; }
  .ll-symbol { min-height: 47px; font-size: 13px; }
  .post_content .ll-card .ll-inline-link { padding-top: 25px; }
  .ll-three { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 44px; }
  .ll-feature { padding-top: 24px; }
  .ll-feature .ll-number { font-size: 36px; margin-bottom: 24px; }
  .post_content .ll-feature p { font-size: 16px; margin-top: 18px; }
  .ll-industry-layout { grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 54px; }
  .post_content .ll-industry-layout h2 { font-size: 38px; }
  .post_content .ll-home .ll-industries { gap: 12px; margin-top: 32px; }
  .post_content .ll-industries li { padding: 16px 26px; font-size: 16px; }
  .ll-people { grid-template-columns: minmax(0,1.3fr) repeat(2,minmax(0,1fr)); gap: 30px; }
  .ll-people > div:first-child { grid-column: auto; margin: 0; }
  .post_content .ll-people h2 { font-size: 36px; }
  .ll-portrait span { font-size: 11px; }
  .ll-cta-section { padding-bottom: 96px; }
  .ll-home .ll-cta { grid-template-columns: 1fr auto; align-items: center; padding: 64px; border-radius: 16px; }
  .post_content .ll-cta h2 { font-size: 42px; }
  .post_content .ll-cta p { font-size: 15px; }
  .post_content .ll-page { padding-block: 40px 96px; }
  .post_content .ll-page h2 { margin-top: 96px; }
  .post_content .ll-page .ll-service-grid > * { padding: 32px; }
  .post_content .ll-page .ll-service-grid h3 { font-size: 25px; }
  .post_content .ll-page ol.ll-steps { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .post_content .ll-page .ll-contact-cta { margin-top: 96px; padding: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .ll-home *, .ll-page * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---- 2026-09 追加：トップ「経営陣」写真のキャプション（06-leadership.html の figure 用） ---- */
.ll-people .ll-portrait-figure { margin: 0; min-width: 0; }
.ll-people .ll-portrait-figure figcaption { margin-top: 10px; color: var(--ll-navy); font-size: 14px; font-weight: 600; line-height: 1.5; text-align: left; }
.ll-people .ll-portrait-figure figcaption span { display: block; margin-top: 2px; color: var(--ll-muted); font-size: 12px; font-weight: 400; }
.ll-people .ll-portrait img { object-position: 50% 15%; }  /* 横長の枠でも頭が切れないよう上寄せ */
/* お問い合わせフォームの「必須」ラベル（pages/cf7-form.txt 用） */
.ll-page .wpcf7 label { margin-bottom: 20px; }
.ll-page .wpcf7 .ll-required { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: var(--ll-primary); color: var(--ll-white); font-size: 11px; font-weight: 600; vertical-align: middle; }

/* ---- SWELL対応：グループブロックが出力する inner-container を透過させ、グリッド／カード指定を子要素に届かせる ---- */
.post_content .ll-page .wp-block-group > .wp-block-group__inner-container { display: contents; }
.post_content .ll-page .ll-service-grid > .wp-block-group__inner-container > *,
.post_content .ll-page .ll-business-grid > .wp-block-group__inner-container > * { min-width: 0; margin: 0; padding: 28px 24px; border: 1px solid var(--ll-line); border-radius: var(--ll-radius); background: var(--ll-white); }
.post_content .ll-page .ll-service-grid > .wp-block-group__inner-container > * > :last-child { margin-bottom: 0; }
.post_content .ll-page .ll-panel > .wp-block-group__inner-container > :first-child { margin-top: 0; }
.post_content .ll-page .ll-panel > .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
@media (min-width: 960px) {
  .post_content .ll-page .ll-service-grid > .wp-block-group__inner-container > * { padding: 32px; }
}

/* SWELL対応：h3の装飾線が FAQ の「Q」擬似要素に乗らないようにする／工程カードは項目数に応じて自動列数 */
.post_content .ll-page .ll-faq h3::before { width: auto; height: auto; background: none; border: 0; }
@media (min-width: 960px) {
  .post_content .ll-page ol.ll-steps { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}
@media (min-width: 960px) {
  .post_content .ll-page ol.ll-steps:has(> li:nth-child(5)) > li { padding: 24px 16px; font-size: 14px; }
  .post_content .ll-page ol.ll-steps:has(> li:nth-child(5)) strong { font-size: 19px; }
  .post_content .ll-page ol.ll-steps:has(> li:nth-child(5)) > li::before { font-size: 30px; margin-bottom: 14px; }
}
