@charset "UTF-8";
/* カネシロについて (p-about-*). PC px = artboard 1480 (+200 inside the hero); SP px = artboard 720 / 2. Instance values only:
   the variables and modifiers the shared components expose (lane rules); colours that have a foundation token use it. */
/* 「About Us」 tr 50 on both viewports: p1 and p2 draw the same glyph origins (PC Tc 32 + 18 of TJ per pair; census-rulings
   (a), M1). The SP artboard draws the U blue; D3 keeps A and U green on both (M12). */
.l-page-hero--about .l-page-hero__en { letter-spacing: 0.05em; }
.l-page-hero--about { --hero-panel-tint: 0.15; } /* the --c-sky tint over the hero photo: group opacity 0.15 (07 p1 Fm17 / GS9) */

/* ---- 代表メッセージ (#message; PC p1 y 539-2051, SP p2 y 1113.25-4376.85). Section tops are the h2 bar tops, so the
   heading starts the section: padding-top is the gap from the body top (PC 476, SP 1019). Texts are justified, as drawn
   (the drawn lines carry a stretched tracking; the last line of a paragraph is the plain 0.05em). Decorations are placed
   from the section's centre line (PC container 1000 = artboard x 240-1240, centre 740). ---- */
.p-about-body { padding-top: 47.1px; } /* body top (PC 476, SP 1019) to the first h2 bar top (539.05, 1113.25) */
.p-about-message { padding: 0 0 60.8px; }
.p-about-message__blob--1 { left: -198.2px; top: 765.63px; }   /* SP blue blob (-396.4, 2644.5) */
.p-about-message__blob--2 { left: 183.05px; top: 1460.18px; }  /* SP (366.1, 4033.6) */
.p-about-message__stripes { --p: 4.322px; --t: 1.0925px; --o: 1.61px; --op: 0.53; right: -39.14px; top: 108.27px; width: 170.34px; height: 121.8px; } /* #12 */
.p-about-message__catch { margin: 14.37px 0 0; color: var(--c-primary); font-size: 1.45rem; font-weight: 700; line-height: 22.5px; letter-spacing: 0.1em; text-align: center; }
.p-about-message__row { display: flex; flex-direction: column; align-items: center; }
.p-about-message__row--rev { margin-top: 22.6px; }
.p-about-message__row > .p-about-message__photo { order: -1; }
/* Text box fit (tracking rule: tracking as drawn, the box adjusts; precedent p-group-flow). The drawn lines are a justified
   text box set with Illustrator's full-width advances, which the proportional BIZ UDPGothic cannot reproduce: at the full
   600 / 548.5 column Chromium takes 1 line fewer per block. Measured (every block's drawn line count 6+8 / 3+6+2 PC, 8+11 /
   5+8+3 SP) the counts hold for a measure of 278-293.5 (SP) and 500-546.5 (PC): the box is 290.5 / 546 (best line-break
   agreement, 27 / 35 SP lines and 14 / 25 PC lines end where drawn, the rest one character off). tests/e2e/about.spec.mjs
   asserts the line counts. */
.p-about-message__text { align-self: flex-start; width: 100%; max-width: 290.5px; margin-top: 59.45px; font-size: 1.3rem; font-weight: 700; line-height: 22.5px; letter-spacing: 0.05em; text-align: justify; }
.p-about-message__row--rev > .p-about-message__text { margin-top: 20.2px; }
.p-about-message__text p { margin: 0; }
.p-about-message__text p + p { margin-top: 22.5px; }
.p-about-message__photo { position: relative; flex: none; width: 188px; height: 229.5px; margin: 13.45px 0 0; }
.p-about-message__row--rev > .p-about-message__photo { margin-top: 0; }
.p-about-message__photo img { position: relative; display: block; width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
/* the blue-to-green block behind the portrait, running off the right edge of the artboard (453.3 x 300.1; SP clip
   321.7-720 of the same box) */
.p-about-message__deco { position: absolute; left: 75.1px; top: 112.9px; width: 226.65px; height: 150.05px; border-radius: 15px; background: linear-gradient(90deg, #1fa0d7, #73ba4d); } /* sampled from the drawing's shading at its two ends (not brand tokens; the end is greener than --c-green) */
/* name plate: #005bb5 at 0.7 (drawn: over the gradient it reads #1473af = 0.7 of the blue on #3faaa1), texts placed from
   the plate's top left in artboard px x --k (SP 0.5) */
.p-about-plate { --k: 0.5px; --pw: 385; --ph: 120; position: absolute; left: calc(71.6 * var(--k)); top: calc(383.1 * var(--k)); z-index: 2; width: calc(var(--pw) * var(--k)); height: calc(var(--ph) * var(--k)); margin: 0; border-radius: calc(23.3 * var(--k)); color: #fff; }
.p-about-plate::before { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #005bb5; opacity: 0.7; content: ""; }
.p-about-plate__company, .p-about-plate__role, .p-about-plate__name { position: absolute; line-height: 1; letter-spacing: 0.05em; white-space: nowrap; transform: translateY(-50%); }
.p-about-plate__company { right: calc((385 - 342.9) * var(--k)); top: calc(33.5 * var(--k)); font-size: calc(22 * var(--k)); font-weight: 700; }
.p-about-plate__role { left: calc(36.9 * var(--k)); top: calc(76.8 * var(--k)); font-size: calc(20 * var(--k)); font-weight: 700; }
.p-about-plate__name { right: calc((385 - 338.5) * var(--k)); top: calc(71 * var(--k)); font-family: var(--ff-klee); font-size: calc(30.8 * var(--k)); font-weight: 600; }
@media (min-width: 768px) {
  .p-about-body { padding-top: 63.05px; }
  .p-about-message { padding-bottom: 136.05px; }
  .p-about-message__blob--1 { left: calc(50% - 1208.8px); top: 425.95px; }
  .p-about-message__blob--2 { left: calc(50% + 73px); top: 1089.55px; }
  .p-about-message__stripes { --p: 7.13px; --t: 1.802px; --o: 2.66px; --op: 0.6; right: auto; left: calc(50% + 353.51px); top: 183.8px; width: 281.03px; height: 200.96px; } /* #7 */
  .p-about-message__catch, .p-about-message__row { padding-inline: 50px; } /* the 1000 artboard column inside the 1100 container */
  .p-about-message__catch { margin-top: 67.95px; font-size: 2.5rem; line-height: 40px; text-align: left; }
  .p-about-message__row { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .p-about-message__row--rev { margin-top: 75.9px; }
  .p-about-message__row > .p-about-message__photo { order: 0; }
  .p-about-message__row--rev > .p-about-message__photo { order: -1; }
  .p-about-message__text { flex: 0 1 546px; width: auto; max-width: none; margin-top: 80px; font-size: 1.6rem; line-height: 35px; }
  .p-about-message__row--rev > .p-about-message__text { margin-top: 0; }
  .p-about-message__text p + p { margin-top: 35px; }
  .p-about-message__photo { width: 375px; height: 457.7px; margin: 84.5px 0 0; }
  .p-about-message__row--rev > .p-about-message__photo { width: 376px; height: 459px; margin-top: 9.5px; }
  .p-about-message__photo img { border-radius: 20px; }
  .p-about-message__deco { left: 162.7px; top: 225.2px; width: 453.3px; height: 300.1px; border-radius: 30px; }
  .p-about-plate { --k: 1px; --pw: 313.4; --ph: 103; left: 86.3px; top: 403.2px; border-radius: 20px; }
  .p-about-plate__company { right: calc((313.4 - 277.3) * var(--k)); top: calc(29.8 * var(--k)); font-size: calc(15.8 * var(--k)); }
  .p-about-plate__role { left: calc(37.1 * var(--k)); top: calc(67.1 * var(--k)); font-size: calc(14.1 * var(--k)); }
  .p-about-plate__name { right: calc((313.4 - 273.5) * var(--k)); top: calc(61 * var(--k)); font-size: calc(26.4 * var(--k)); }
}

/* ---- 企業理念 (#philosophy; PC p1 y 2051-3021, SP p2 y 4376.85-5404). The next section's panel starts at the end of this
   one; the blue cloud at the foot (PC only, #9) runs over that panel's top edge, so it paints above it (z-index). ---- */
.p-about-philosophy { padding: 0 0 48.1px; }
.p-about-philosophy__blob { left: -199.1px; top: 167.4px; } /* SP (-398.2, 4711.7) */
.p-about-philosophy__stripes { --p: 2.031px; --t: 0.5135px; --o: 1.52px; right: 24.43px; top: -38.5px; width: 112.65px; height: 77.26px; } /* #13, beige */
.p-about-philosophy__stripes-foot { z-index: 1; }
.p-about-philosophy__art { width: 199.8px; margin: 25.1px auto 0; }
.p-about-philosophy__art img { display: block; width: 100%; height: auto; }
.p-about-philosophy__catch { width: 300px; height: 60px; margin: 21.95px auto 0; border: 1px solid #bdd1db; border-radius: 5px; background: #fff; color: var(--c-primary); font-size: 1.35rem; font-weight: 700; line-height: 58px; letter-spacing: 0.2em; text-align: center; white-space: nowrap; }
.p-about-philosophy__catch-em { margin-right: 10.1px; font-size: 1.65rem; letter-spacing: 0.2em; }
.p-about-philosophy__text { margin: 24.9px 0 0; font-family: var(--ff-noto); font-weight: 500; font-size: 1.3rem; line-height: 22.5px; letter-spacing: 0.1em; text-align: center; }
@media (min-width: 768px) {
  .p-about-philosophy { padding-bottom: 132px; }
  .p-about-philosophy__blob { left: calc(50% - 1206.8px); top: 216.95px; }
  .p-about-philosophy__stripes { --p: 6.368px; --t: 1.61px; --o: 4.85px; right: auto; left: calc(50% + 337.59px); top: -9.96px; width: 353.18px; height: 242.21px; } /* #8 */
  .p-about-philosophy__stripes-foot { --p: 7.652px; --t: 1.934px; --o: 2.84px; --op: 0.37; left: calc(50% + 398.89px); top: 856.02px; width: 301.6px; height: 215.67px; } /* #9 */
  .p-about-philosophy__art { width: 548px; margin-top: 54.45px; }
  .p-about-philosophy__catch { width: 821px; height: 107px; margin-top: 42px; border-width: 2px; border-radius: 10px; font-size: 2.57rem; line-height: 103px; }
  .p-about-philosophy__catch-em { margin-right: 16.4px; font-size: 3.42rem; }
  .p-about-philosophy__text { margin-top: 32px; font-size: 1.7rem; line-height: 41px; }
}

/* Task 9: --history-tuck is how far the band runs below the banner (PC 508, SP 353.75: the band ends at artboard 6347 / 11000.5).
   #offices starts with margin-top: calc(-1 * var(--history-tuck) + var(--offices-gap)), --offices-gap = the drawn banner-bottom to
   panel-top distance (PC 118 = 5957 - 5839; SP 42.75 = (10378.5 - 10293) / 2), inside this same section (its isolation context),
   its panel plain in flow so the band stays behind it. */
/* ---- 会社概要 (#company; PC p1 y 3021-4526, SP p2 y 5404-8466) and 沿革 (#history, in #company). The grey panel is plain
   in-flow (no z-index: the philosophy foot cloud #9, z-index 1, paints over its top edge). The 沿革 band runs up under the
   panel's rounded foot (PC 4387, SP 8300.5) and down under Task 9's panel, so it sits at z-index -1 of .l-page-body's own
   stacking context: the panel's in-flow background paints over it, its content paints over the body's white. ---- */
.p-about-company { --history-tuck: 353.75px; isolation: isolate; } /* the section is the stacking context of the z-index -1 band: without it the section itself would take the band's pointer events */
.p-about-company__panel { padding: 39.4px 0 54.1px; }
/* PC: the slideshow runs past the container to the left (artboard x 72: container left 190 - 118) and every width is in
   artboard units (--u), so it keeps its place down to 1280 */
.p-about-company__slides { width: 250px; margin: 25.05px 0 0 25px; }
.p-about-company__slide-ph { width: 100%; height: 100%; background: #d9dee0; } /* TODO(client): slideshow photos 2-4 */
.p-about-company__table { margin-top: 27px; }
.p-about-company__table .p-about-company__addr { padding-bottom: 15.93px; } /* the drawn 所在地 row is 12.5 (SP 6.25) taller than its 8 lines (a trailing half line) */
.p-about-company__table .p-about-company__date { letter-spacing: 0.3em; } /* 創立 / 設立: drawn tr 300 (07 p1 / p2), the other cells 50 */
.p-about-orgs { --box-gap: 11.8px; --box-foot: 18.2px; margin-top: 52.6px; } /* margin: 44.9 drawn + 7.7 (the drawn multi-line rows 仕入先 / 販売先 are 3 / 4.8 taller than their lines) */
.p-about-orgs__list { margin: 0; padding: 0; list-style: none; font-family: var(--ff-noto); font-size: 1.25rem; font-weight: 500; line-height: 22.5px; letter-spacing: 0; color: var(--c-text); }
.p-about-orgs__list li { position: relative; padding-left: 21.5px; }
.p-about-orgs__list li::before { position: absolute; left: 2.5px; top: 5.5px; width: 11.5px; height: 11.5px; border-radius: 50%; background: var(--c-primary); content: ""; }

.p-about-history { position: relative; z-index: -1; margin-top: -82.75px; padding: 121.5px 0 var(--history-tuck); overflow: hidden; background: #f2eee9; }
.p-about-history > .l-container { position: relative; }
.p-about-history__blob { left: calc(50% + 3.05px); top: 524.85px; }
.p-about-history .c-heading-dot + .c-accordion { margin-top: 20.2px; }
.p-about-history__item { --bar-x: 14.5px; --bar-icon-dy: -2.7px; --bar-rule-l: 15.7px; --bar-rule-r: 7.25px; --bar-inner-pad: 20.5px 11.5px 25px; } /* SP-only variables (05 p2's bar); the open panel's padding (PC below) */
.p-about-history__item + .p-about-history__item { margin-top: 13px; }
.p-about-history__list { margin: 0; }
.p-about-history__row { padding-bottom: 12.45px; }
.p-about-history__row dt { display: flex; margin: 0 0 4px; font-size: 1.3rem; font-weight: 700; line-height: 18px; color: var(--c-primary); }
.p-about-history__year { flex: none; width: 79.3px; letter-spacing: 0.05em; }
.p-about-history__month { display: flex; flex: none; justify-content: flex-end; width: 26.8px; letter-spacing: 0.3em; white-space: nowrap; }
.p-about-history__month--two { letter-spacing: 0.05em; } /* 10月-12月 are drawn in one run with the year at tr 50 (the single digits are tr 300) */
.p-about-history__row dd { margin: 0; font-family: var(--ff-noto); font-size: 1.25rem; font-weight: 400; line-height: 17.5px; letter-spacing: 0.05em; color: #000; }
.p-about-history__banner { display: block; position: relative; width: 250px; margin: 31.9px auto 0; }
@media (min-width: 768px) {
  .p-about-company__panel { padding: 79px 0 102.5px; }
  .p-about-company__grid { display: grid; grid-template-columns: calc(615 * var(--u)) minmax(0, 1fr); column-gap: calc(69 * var(--u)); align-items: start; margin: 65px 0 0 calc(-118 * var(--u)); }
  .p-about-company__slides { width: auto; margin: 16.5px 0 0; }
  .p-about-company__table { margin-top: 0; }
  .p-about-company__table .p-about-company__addr { padding-bottom: 24.5px; }
  .p-about-orgs { --titled-pad: 12px 14px 20.5px; --box-gap-pc: 19.5px; margin-top: 104px; } /* the drawn band -> first line gap 19.5 (T8); the foot takes the 4.5 back, so the box stays the drawn 380.5 */
  .p-about-orgs__list { font-size: 1.6rem; line-height: 30px; letter-spacing: 0.05em; }
  .p-about-orgs__list li { padding-left: 39px; }
  .p-about-orgs__list li::before { left: 12px; top: 8px; width: 14px; height: 14px; }
  .p-about-company { --history-tuck: 508px; }
  .p-about-history { margin-top: -139px; padding: 256px 0 var(--history-tuck); }
  .p-about-history__blob { left: calc(50% + 5.8px); top: 662px; }
  .p-about-history .c-heading-dot + .c-accordion { margin-top: 46px; }
  .p-about-history__item + .p-about-history__item { margin-top: 32px; }
  .p-about-history .c-accordion--bar { --bar-fs: 2rem; }
  /* the open panel: bottom 30, the open edge cannot reach the drawn 5299 (the drawing has no 閉じる button; rows end 540 under the bar top, the button adds 135) */
  .p-about-history__item { --bar-inner-pad: 42px 58px 30px; }
  .p-about-history__row { display: flex; padding-bottom: 21px; }
  .p-about-history__row dt { flex: none; width: 160px; margin: 0; font-size: 1.8rem; line-height: 24px; }
  .p-about-history__year { width: 100px; }
  .p-about-history__month { width: 37px; }
  .p-about-history__row dd { font-size: 1.6rem; line-height: 24px; }
  .p-about-history__banner { width: min(711.6px, 100%); margin-top: 102px; }
}

/* ---- 事業所一覧 (#offices, in #company: the 沿革 band runs behind it, see --history-tuck above; PC p1 y 5957-7348.3, SP p2
   y 10378.5-12942; the state artboards p4 draw the same panel). Panel: the grey l-section--panel, PC r98.6 / SP r50 as the
   default (100 / 25: within the threshold), plain in flow so the band stays behind it. The tab group is c-tab--outline;
   the offices are cards of its panels. p1 and p4 differ by 3.5 (tabs, from the panel top) and 6 (cards), so the tab row
   sits between the two (188.5) and the cards follow the component's gaps. ---- */
.p-about-offices { --offices-gap: 42.75px; position: relative; margin-top: calc(-1 * var(--history-tuck) + var(--offices-gap)); padding: 34.5px 0 49.8px; overflow: hidden; }
.p-about-offices > .l-container { position: relative; } /* paints over the cloud */
.p-about-offices__stripes { --p: 4.322px; --t: 1.0925px; --o: 1.575px; --op: 0.53; left: calc(50% + 48.8px); top: 86.85px; width: 170.34px; height: 121.8px; } /* #14 */
.p-about-offices .c-heading-dot { margin: 0; }
.p-about-offices__tabs { margin-top: 33.66px; }
.p-about-office { --pad-b: 29.5px; position: relative; display: flex; flex-direction: column; align-items: center; margin: 0; padding: 0 0 var(--pad-b); border-radius: 10px; background: #fff; }
.p-about-office + .p-about-office { margin-top: 27.95px; }
.p-about-office__name { align-self: stretch; margin: 0; padding-top: 12px; color: var(--c-primary); font-size: 1.5rem; font-weight: 700; line-height: 22px; letter-spacing: 0.1em; text-align: center; }
.p-about-office__photo { width: 175px; height: 152.5px; margin: 19.5px 0 10.5px; overflow: hidden; border-radius: 10px; }
.p-about-office__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p-about-office__photo--empty { background: #aeaeae; }
.p-about-office__body { width: 100%; padding: 0 15px; }
.p-about-office--text .p-about-office__name + .p-about-office__body { margin-top: 20px; }
.p-about-office .c-table--lined { --th-w: 65px; --td-gap: 10px; --th-pr: 0; --td-py: 8.5px; } /* amendment 2: --th-pr 0; the SP pitch 54 of a 2-line row needs py 8.5 (PC 15.5) */
/* the value box: PC 20 px wider than the rule (margin-right -20px below; the drawn 持込品目 run is 15 px past the rule end) */
.p-about-office__v { display: block; }
.p-about-office__red { color: #e81c24; font-weight: 400; } /* the red notes are the 400 instance, the cell text 500 (07 p1 / p4) */
.p-about-office__map { display: flex; justify-content: center; margin: 22.5px 0 0; }
/* SP: the drawn 本社 連絡先 row (4 lines) is 85 high, 5 under the other rows' padding; the 東京支店 card has its own foot */
#offices-panel-head .p-about-office--photo tr:nth-child(2) { --td-py: 6px; }
.p-about-office--text { --pad-b: 23.1px; }
.p-about-office--text .p-about-office__map { margin-top: 19.7px; }
.p-about-offices__note { margin: 31.85px 0 0; padding: 13px 15px 13px 32px; border-radius: 10px; background: #fff; font-family: var(--ff-noto); font-size: 1.3rem; font-weight: 400; line-height: 18px; letter-spacing: 0.05em; text-indent: -20px; color: #e81c24; }
.p-about-offices__note a { color: var(--c-primary); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; } /* the note 400, its link 500 (07 p1 / p4) */
@media (min-width: 768px) {
  .p-about-offices { --offices-gap: 118px; padding: 63px 0 105.3px; }
  .p-about-offices__stripes { --p: 10.57px; --t: 2.672px; --o: 3.89px; --op: 0.6; left: calc(50% + 249.2px); top: 33.55px; width: 416.61px; height: 297.91px; } /* #10 */
  .p-about-offices__tabs { max-width: 1000px; margin: 93px auto 0; }
  .p-about-office { --pad-b: 46px; display: grid; grid-template-columns: 350px 1fr; column-gap: 50px; align-content: start; align-items: start; padding: 0 44px var(--pad-b); border-radius: 20px; }
  .p-about-office + .p-about-office, .p-about-office + .p-about-offices__note { margin-top: 47px; }
  .p-about-office__name { grid-column: 1 / -1; padding-top: 29px; font-size: 2.5rem; line-height: 36px; }
  .p-about-office__photo { grid-row: 2; width: 350px; height: 305px; margin: 37.4px 0 -2.9px; border-radius: 20px; } /* the foot margin: the 305 photo would otherwise be 2.9 taller than the table + pill column (p4 empty cards 450) */
  .p-about-office__body { grid-row: 2; grid-column: 2; width: auto; margin-top: 27px; padding: 0; }
  .p-about-office--photo { --pad-b: 60.4px; }
  #offices-panel-head .p-about-office--photo tr:nth-child(2) { --td-py: 15.5px; }
  .p-about-office--text { display: block; padding-inline: 0; }
  .p-about-office--text .p-about-office__name + .p-about-office__body { width: 694px; margin: 27px 0 0 154px; }
  #offices-panel-head .p-about-office--text .p-about-office__body { margin-top: 6px; }
  /* p4 draws every empty card 450 high; a two-line address (伊予松前) adds 21 to the table, the drawing takes 8.9 back from the pill gap and 13.4 from the foot */
  .p-about-office--addr2 { --pad-b: 32.6px; }
  .p-about-office--addr2 .p-about-office__map { margin-top: 22.4px; }
  /* p4 confidential: the pill is 10 lower and the foot 10 shorter (its rows are drawn 56.5 apart, the p1 cards' 54) */
  #offices-panel-confidential .p-about-office { --pad-b: 34.3px; }
  #offices-panel-confidential .p-about-office__name + .p-about-office__body { margin-top: 20px; }
  #offices-panel-confidential .p-about-office__map { margin-top: 41.5px; }
  #offices-panel-group .p-about-offices__note { margin-top: 41.4px; } /* p4 draws 41.4 here, 47 on p1 */
  .p-about-office__v { margin-right: -20px; }
  .p-about-office .c-table--lined { --th-w: 93px; --td-gap: 19px; --td-py: 15.5px; --th-pr: 4.6px; }
  .p-about-office__map { justify-content: flex-start; margin: 31.5px 0 0 169.5px; }
  .p-about-office--text .p-about-office__map { margin: 31.5px 0 0 240px; }
  .p-about-offices__note { margin-top: 47px; padding: 28px 43px; text-indent: 0; font-size: 1.6rem; line-height: 22px; letter-spacing: 0.05em; }
}

/* ---- 関連企業 (#company, after #offices; PC p1 y 7418.4-7693 = the box top, 5 above the heading's em top, down to the band's
   foot; SP p3 y 71.1). Three white cards 270 x 105 (3px #dfe7e8, r10; SP 135 x 52.5) over a full-width #e8f5f9 band that starts
   within them (PC y 7568-7693, SP 202.3-572.3 of p3). PC: a centred row (cards 276 / 605 / 934), the names centred in a 44 box
   (one line and two lines share the centre, 7636); SP: 2 + 1 as drawn, the names top aligned. Hover .7 (D16). ---- */
.p-about-related { position: relative; margin-top: 35px; padding-bottom: 29.1px; }
.p-about-related::before { position: absolute; left: 0; right: 0; top: 68.4px; bottom: 0; z-index: -1; background: var(--bg-pale); content: ""; }
.p-about-related > .l-container { position: relative; }
.p-about-related .p-about-related__list { display: grid; grid-template-columns: 135px 135px; column-gap: 30px; row-gap: 19.2px; margin: 21.25px 0 0; padding: 0; list-style: none; } /* two classes: ul[class] in foundation.css (0,1,1) resets the margin */
.p-about-related__link { display: block; color: #000; text-decoration: none; }
.p-about-related__logo { display: flex; align-items: center; justify-content: center; box-sizing: border-box; height: 52.5px; border: 1.5px solid #dfe7e8; border-radius: 5px; background: #fff; transition: opacity var(--dur); }
.p-about-related__logo img { display: block; width: 111px; height: 28px; }
.p-about-related__name { display: block; margin-top: 7.1px; font-size: 1.15rem; font-weight: 700; line-height: 15px; letter-spacing: 0.1em; text-align: center; transition: opacity var(--dur); }
.p-about-related__link:hover .p-about-related__logo, .p-about-related__link:hover .p-about-related__name { opacity: 0.7; }

/* ---- 認証・許可情報 (PC p1 y 7792.4 = the box top; bars 1100 x 90 at x 190, y 7877, closed pitch 122.5; open ISO14001 842 high;
   p5 draws the other three open; SP p3 y 685.9). The bars are c-accordion--bar; the SP variables are 05 p2's variant, as for
   the 沿革 bars. Inner: logo 133 x 100 centred (SP 110.8 x 83.3), lead 21px (SP 14.5) at a 51 line pitch (the drawn two-line
   FSC lead), text 16 / 33 (SP 13 / 22.5), then the table c-table--label-blue (th 180, the 各種許可証 th 376.5). ---- */
.p-about-certs { margin-top: 54px; padding-bottom: 82.2px; }
.p-about-certs .c-heading-dot + .c-accordion { margin-top: 20.2px; }
.p-about-cert { --bar-x: 14.5px; --bar-icon-dy: -2.7px; --bar-rule-l: 15.7px; --bar-rule-r: 7.25px; --bar-inner-pad: 18.35px 15px 25px; } /* SP-only variables (05 p2's bar); the open panel's padding (PC below) */
.p-about-cert + .p-about-cert { margin-top: 13px; }
.p-about-cert__logo { margin: 0; text-align: center; }
.p-about-cert__logo img { display: inline-block; width: 110.8px; height: 83.3px; }
.p-about-cert__lead, .p-about-cert__text { margin: 0; }
.p-about-cert__lead { font-size: 1.45rem; font-weight: 700; line-height: 22.5px; letter-spacing: 0.1em; color: var(--c-primary); }
.p-about-cert__logo + .p-about-cert__lead { margin-top: 18.65px; }
.p-about-cert__text { max-width: 264px; margin-top: 18.1px; font-size: 1.3rem; font-weight: 700; line-height: 22.5px; letter-spacing: 0.05em; text-align: justify; color: var(--c-text); }
.p-about-cert__table { margin-top: 20.1px; }
.p-about-cert__spaced { letter-spacing: 0.35em; } /* about.json: a cert row with "spaced": true wraps its value in this span (about.ejs); 「2016年4月25日」 and 「第44号」 are drawn at tracking 350 */
@media (min-width: 768px) {
  .p-about-related { margin-top: 70.1px; padding-bottom: 35px; }
  .p-about-related::before { top: 149.6px; }
  .p-about-related .p-about-related__list { display: flex; justify-content: center; gap: 59px; margin-top: 46.6px; }
  .p-about-related__link { width: 270px; }
  .p-about-related__logo { height: 105px; border-width: 3px; border-radius: 10px; }
  .p-about-related__logo img { width: 222px; height: 56px; }
  .p-about-related__name { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 9px; font-size: 1.6rem; line-height: 22px; }
  .p-about-certs { margin-top: 99.4px; padding-bottom: 160px; }
  .p-about-certs .c-heading-dot + .c-accordion { margin-top: 49.6px; }
  .p-about-cert + .p-about-cert { margin-top: 32.5px; }
  /* the open panel: top 19, the first line box of the lead (51) starts 19 under the bar; the logo sits 16 lower */
  .p-about-cert { --bar-inner-pad: 19px 50px 60px; }
  .p-about-cert__logo { margin-top: 16px; }
  .p-about-cert__logo img { width: 133px; height: 100px; }
  .p-about-cert__lead { font-size: 2.1rem; line-height: 51px; }
  .p-about-cert__logo + .p-about-cert__lead { margin-top: 17.5px; }
  .p-about-cert__text { max-width: none; margin-top: 13px; font-size: 1.6rem; line-height: 33px; letter-spacing: 0.1em; }
  .p-about-cert__table { margin-top: 34.5px; }
  .p-about-cert__table:first-child { margin-top: 12.5px; } /* 各種許可証 has no lead: p5 draws its table 31.5 under the bar */
  .p-about-cert--wide { --th-w: 376.5px; } /* census-phase3 c-table--label-blue: the 各種許可証 th 376.5 (the others keep the default 181.5 for the drawn 180) */
}

/* ---- ブランドメッセージ (#brand; PC p1 y 9282.05-10539, SP p3 y 3325.45-5198). The section top is the h2 bar top. The head is a
   box of fixed height (PC 377, SP 182.4: from the drawn globe's circle to the first text line), its parts placed from its
   top left in artboard px (SP / 2): the white circle (340, SP 121.7) with the 327 x 309 globe art (common/globe.webp is the
   same drawing as 08's) over the cloud, the title at x 575 (the second line 111 further in), the tagline under it (SP: centred).
   Text: 16 / 37, one paragraph per three drawn blocks, no gap on PC; SP draws a blank line between them (22.5). The strip is
   the 07 instance of c-slider-strip (PC 342 x 278 / 14, SP 192.2 x 156.2 / 7.85, r 7.2). ---- */
.p-about-brand { padding: 0 0 36.9px; }
.p-about-brand__blob--pale { left: 181.65px; top: 140.7px; } /* SP blue (363.3, 3606.8) */
.p-about-brand__blob--lime { left: -199.35px; top: 668.18px; } /* SP (-398.7, 4661.8) */
.p-about-brand__stripes { --p: 3.7835px; --t: 0.9565px; --o: 1.425px; --op: 0.37; left: -35.2px; top: 108.37px; width: 149.115px; height: 106.63px; } /* #15 */
.p-about-brand__head { position: relative; z-index: 1; height: 182.4px; margin-top: 36.1px; }
.p-about-brand__art { position: absolute; left: 5.1px; top: 0; width: 121.7px; height: 121.7px; margin: 0; border-radius: 50%; background: #fff; }
.p-about-brand__art img { position: absolute; left: 3.75px; top: -12.25px; display: block; width: 133.3px; height: auto; }
.p-about-brand__title { position: absolute; left: 143.15px; top: 26.5px; margin: 0; font-size: 2.62rem; font-weight: 700; line-height: 35.8px; letter-spacing: 0; color: var(--c-primary); white-space: nowrap; }
.p-about-brand__l1, .p-about-brand__l2 { display: block; }
.p-about-brand__l2 { margin-left: 50.5px; }
.p-about-brand__no { font-size: 1.495rem; color: #333; }
.p-about-brand__tagline { position: absolute; left: 0; right: 0; top: 144.35px; margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 22.5px; letter-spacing: 0.1em; text-align: center; color: var(--c-primary); }
/* ISO text: SP box 264 (the count 12 holds for 262-266; the 270 column gives 11 lines); PC takes the full 1000. Text box fit (ruling L1: the drawn line count, no hard breaks; precedent p-about-message__text). Drawn blocks: PC 3 / 3 / 1 lines, SP 7 / 7 / 3. The count holds for a measure of 970-992 (PC) and 278-300 (SP); 981 / 290 are the widths whose line ends agree best with the drawing. */
.p-about-brand__text { max-width: 290px; font-size: 1.3rem; font-weight: 700; line-height: 22.5px; letter-spacing: 0.05em; text-align: justify; color: var(--c-text); }
.p-about-brand__text p { margin: 0; }
.p-about-brand__text p + p { margin-top: 22.5px; }
.p-about-strip { --strip-w: 192.2px; --strip-h: 156.2px; --strip-gap: 7.85px; --strip-r: 7.2px; margin-top: 37.9px; }
@media (min-width: 768px) {
  .p-about-brand { padding-bottom: 105px; }
  .p-about-brand__blob--pale { left: calc(50% - 1px); top: -25.55px; }
  .p-about-brand__blob--lime { left: calc(50% - 1216.8px); top: 400.95px; }
  .p-about-brand__stripes { --p: 10.57px; --t: 2.672px; --o: 3.94px; left: calc(50% - 607.34px); top: 197.41px; width: 416.61px; height: 297.91px; } /* #11 */
  .p-about-brand__head { height: 377px; margin-top: 42.5px; }
  .p-about-brand__art { left: 139px; width: 340px; height: 340px; }
  .p-about-brand__art img { left: 11.4px; top: 9.6px; width: 327px; }
  .p-about-brand__title { left: 575px; top: 49.85px; font-size: 5.77rem; line-height: 78.8px; }
  .p-about-brand__l2 { margin-left: 111px; }
  .p-about-brand__no { font-size: 3.29rem; }
  .p-about-brand__tagline { left: 575px; right: auto; top: 240px; font-size: 2.5rem; line-height: 35px; text-align: left; }
  .p-about-brand__text { max-width: 981px; margin-left: 50px; font-size: 1.6rem; line-height: 37px; } /* the 1000 artboard column inside the 1100 container */
  .p-about-brand__text p + p { margin-top: 0; }
  .p-about-strip { --strip-w: 342px; --strip-h: 278px; --strip-gap: 14px; --strip-r: 20px; margin-top: 77px; }
}

/* ---- PC windows 768-1099 px (undrawn tier): the 1000 px artboard compositions do not fit, so the rows stack as on SP at the PC sizes
   (message, offices, brand head) or go fluid (philosophy catch, related cards). From 1100 px the PC rules above hold. ---- */
@media (min-width: 768px) and (max-width: 1099px) {
  /* 代表メッセージ: photo over its text (the deco, plate and photo keep their PC sizes; the deco bleeds off the right edge as drawn) */
  .p-about-message__row { flex-direction: column; align-items: center; }
  .p-about-message__row > .p-about-message__photo, .p-about-message__row--rev > .p-about-message__photo { order: -1; }
  .p-about-message__text { flex: none; align-self: center; margin-top: 80px; } /* clears the name plate that hangs 49 under the photo */
  .p-about-message__row--rev > .p-about-message__text { flex: none; align-self: center; margin-top: 40px; }
  /* 企業理念 */
  .p-about-philosophy__catch { width: min(821px, 100%); }
  /* 会社概要 > オフィス: the photo above the table, the 694 text body fluid */
  .p-about-office { grid-template-columns: minmax(0, 1fr); justify-items: center; padding-inline: 30px; }
  .p-about-office__photo { grid-row: auto; margin: 37.4px 0 0; }
  .p-about-office__body { grid-row: auto; grid-column: 1; width: 100%; margin-top: 30px; }
  .p-about-office--text .p-about-office__name + .p-about-office__body, #offices-panel-head .p-about-office--text .p-about-office__body { width: 100%; margin: 27px 0 0; }
  .p-about-office--text { padding-inline: 30px; }
  .p-about-office__v { margin-right: 0; }
  .p-about-office__map, .p-about-office--text .p-about-office__map { justify-content: center; margin-left: 0; }
  /* 関連企業: three fluid cards */
  .p-about-related .p-about-related__list { gap: min(59px, 4vw); }
  .p-about-related__link { flex: 0 1 270px; width: auto; min-width: 0; }
  .p-about-related__logo img { width: auto; max-width: calc(100% - 20px); height: auto; max-height: 56px; }
  /* ブランドメッセージ: the circle, the title and the tagline stack and centre */
  .p-about-brand__head { display: flex; flex-direction: column; align-items: center; height: auto; }
  .p-about-brand__art { position: relative; left: auto; flex: none; }
  .p-about-brand__title { position: static; margin-top: 20px; }
  .p-about-brand__tagline { position: static; margin-top: 14px; text-align: center; }
  .p-about-brand__text { margin-top: 30px; }
}
