@charset "UTF-8";
/* ==========================================================================
   KANAME CONSTRUCTION — About Page  (style.css → sub.css の後に読み込む)
   --------------------------------------------------------------------------
   ※ 下層共通パーツ（ページヒーロー・目次・表・関連ページ等）は sub.css
   02. Message
   03. Philosophy (fan diagram / creed)
   04. Values
   05. Profile / Organization chart
   06. History
   07. Offices
   08. Certification / Awards
   09. Next contents / Contact
   10. Responsive
   ========================================================================== */

/* ---------- 02. Message ---------- */
.msg { padding: var(--section-space) 0; }
.msg__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 7vw; align-items: start; }
.msg__visual { position: sticky; top: 60px; }
.frame--msg::after { left: auto; right: 0; }
.msg__text { margin-top: 40px; }
.msg__text > p { line-height: 2.3; }
.msg__text > p + p, .msg__quote + p { margin-top: 1.6em; }
.msg__quote { position: relative; margin: 2.4em 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--red); }
.msg__quote p { font-family: var(--f-serif); font-weight: 600; font-size: clamp(20px, 2vw, 30px); line-height: 1.7; letter-spacing: .06em; color: var(--navy-2); }
.msg__sign { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.msg__sign-txt { font-size: 12px; line-height: 1.8; }
.msg__sign-txt b { display: block; margin-top: 6px; font-family: var(--f-serif); font-weight: 600; font-size: 26px; letter-spacing: .24em; color: var(--navy-2); }
.msg__sign-txt span { display: block; margin-top: 2px; font-family: var(--f-mono); font-size: 11px; opacity: .55; }
.seal { display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; border: 2.5px solid var(--red); border-radius: 6px; color: var(--red); rotate: -4deg;
  font-family: var(--f-serif); font-weight: 700; font-size: 20px; line-height: 1.05; writing-mode: vertical-rl; letter-spacing: .1em;
  box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 4px rgba(226, 51, 79, .5); }
.msg__sign.is-in .seal { animation: stamp .7s var(--ease) .5s backwards; }
@keyframes stamp { from { opacity: 0; transform: scale(1.8); } 60% { opacity: 1; transform: scale(.94); } to { transform: none; } }

/* ---------- 03. Philosophy ---------- */
.philo { padding: var(--section-space) 0; background: var(--blue-pale); }
.philo__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px 6vw; align-items: center; }

.fan { --pb: 56px; position: relative; padding: 0 0 var(--pb); }
.fan__svg { width: 100%; height: auto; overflow: visible; }
.fan__guide path { fill: none; stroke: rgba(18, 105, 207, .25); stroke-width: 1; stroke-dasharray: 3 5; }
.fan__leaf { fill: url(#fanLeaf); stroke: rgba(18, 105, 207, .35); stroke-width: 1; opacity: 0; transition: opacity 1s var(--ease) .9s; }
.fan__folds path { stroke: rgba(18, 105, 207, .22); stroke-width: 1; opacity: 0; transition: opacity 1s var(--ease) 1.1s; }
.fan__rib { transform-box: view-box; transform-origin: 300px 320px; rotate: 0deg; transition: rotate 1.4s var(--ease-io), opacity .4s; transition-delay: calc(var(--n, 0) * .06s + .2s); }
.fan__rib line { stroke: var(--black); stroke-width: 3; stroke-linecap: round; transition: stroke .4s; }
.fan__rib circle { fill: var(--white); stroke: var(--black); stroke-width: 2; transition: fill .4s, stroke .4s, r .4s var(--ease); }
.fan__rib[data-i="0"] { --n: 0; } .fan__rib[data-i="1"] { --n: 1; } .fan__rib[data-i="2"] { --n: 2; } .fan__rib[data-i="3"] { --n: 3; } .fan__rib[data-i="4"] { --n: 4; }
.fan__pivot-ring { fill: var(--white); stroke: var(--black); stroke-width: 2; }
.fan__pivot { fill: var(--red); transform-box: fill-box; transform-origin: center; }
.fan.is-in .fan__pivot { animation: pivotPulse 2.6s var(--ease) 1.4s infinite; }
@keyframes pivotPulse { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.35); } }
.fan.is-in .fan__rib { rotate: var(--a); }
.fan.is-in .fan__leaf, .fan.is-in .fan__folds path { opacity: 1; }
.fan__rib.is-hl line { stroke: var(--red); }
.fan__rib.is-hl circle { fill: var(--red); stroke: var(--red); r: 8; }

.fan__labels li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); opacity: 0; transition: opacity .8s var(--ease); transition-delay: calc(var(--n, 0) * .08s + 1.2s); }
.fan__labels li:nth-child(1) { --n: 0; } .fan__labels li:nth-child(2) { --n: 1; } .fan__labels li:nth-child(3) { --n: 2; } .fan__labels li:nth-child(4) { --n: 3; } .fan__labels li:nth-child(5) { --n: 4; }
.fan.is-in .fan__labels li { opacity: 1; }
.fan__labels a { display: flex; flex-direction: column; align-items: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); text-align: center; line-height: 1.35;
  box-shadow: 0 6px 18px rgba(18, 105, 207, .1); transition: background-color .4s, color .4s, border-color .4s, translate .5s var(--ease); }
.fan__labels b { font-size: 13px; font-weight: 700; white-space: nowrap; }
.fan__labels span { font-family: var(--f-mono); font-size: 10px; opacity: .6; }
.fan__labels li.is-hl a, .fan__labels a:hover { background: var(--red); border-color: var(--red); color: var(--white); translate: 0 -3px; }
.fan__center { position: absolute; left: 50%; top: calc((320 / 360) * (100% - var(--pb))); transform: translate(-50%, 34px); text-align: center;
  font-family: var(--f-serif); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--navy-2); }
.fan__center span { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .3em; color: var(--red); }
.fan__note { position: absolute; left: 0; bottom: 0; font-family: var(--f-mono); font-size: 11px; opacity: .6; }

.creed { border-top: 1px solid var(--line-strong); }
.creed__row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); }
.creed__row dt { display: flex; flex-direction: column; gap: 4px; line-height: 1.4; }
.creed__no { font-family: var(--f-mono); font-size: 11px; color: var(--red); }
.creed__en { margin-top: 6px; font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.creed__ja { font-size: 12px; opacity: .6; }
.creed__main { font-family: var(--f-serif); font-weight: 600; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.6; letter-spacing: .04em; }
.creed__sub { margin-top: 10px; font-size: 13px; line-height: 2; opacity: .75; }

/* ---------- 04. Values ---------- */
.vals { padding: var(--section-space) 0; }
.vals .sec-head__text { opacity: .85; }
.vcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.vcard { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 40px); border: 1px solid var(--line-w); border-radius: 14px; overflow: hidden; isolation: isolate;
  background: rgba(255, 255, 255, .06); backdrop-filter: blur(2px); }
.vcards[data-anim="stagger"] > .vcard { transition: opacity 1s var(--ease), transform 1s var(--ease), background-color .5s, color .5s, border-color .5s; transition-delay: calc(var(--i, 0) * .07s), calc(var(--i, 0) * .07s), 0s, 0s, 0s; }
.vcard__kanji { position: absolute; right: -.08em; bottom: -.2em; z-index: -1; font-family: var(--f-serif); font-weight: 700; font-size: clamp(180px, 18vw, 280px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .3); transition: transform 1s var(--ease), -webkit-text-stroke-color .5s; }
.vcard__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line-w); font-family: var(--f-mono); font-size: 11px; }
.vcard__head svg { width: 36px; height: 36px; transition: transform .8s var(--ease); }
.vcard__ttl { margin-top: 36px; font-family: var(--f-serif); font-weight: 700; font-size: clamp(30px, 3vw, 44px); line-height: 1.3; letter-spacing: .08em; }
.vcard__ttl .en { display: block; margin-bottom: 8px; font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.vcard__txt { margin-top: 16px; font-size: 14px; line-height: 2.05; opacity: .9; }
.vcard__list { margin-top: auto; padding-top: 28px; }
.vcard__list li { padding: 10px 0; border-top: 1px solid var(--line-w); font-size: 13px; line-height: 1.7; }
.vcard__list li::before { content: "—"; font-family: var(--f-mono); margin-right: 8px; color: var(--red-l); }
@media (hover: hover) {
  .vcards.is-in > .vcard:hover { background: var(--white); color: var(--black); border-color: var(--white); }
  .vcard:hover .vcard__kanji { transform: translate(-6%, -6%) rotate(-4deg); -webkit-text-stroke-color: rgba(18, 105, 207, .35); }
  .vcard:hover .vcard__head { border-color: var(--line); }
  .vcard:hover .vcard__head svg { color: var(--red); transform: rotate(-10deg) scale(1.1); }
  .vcard:hover .vcard__list li { border-color: var(--line); }
  .vcard:hover .vcard__list li::before { color: var(--red); }
}

/* ---------- 05. Profile ---------- */
.profile { padding: var(--section-space) 0; }
.profile__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 40px 6vw; align-items: start; }
.profile__side { position: sticky; top: 60px; }
.profile__date { margin-top: 18px; font-family: var(--f-mono); font-size: 11px; opacity: .6; }
.profile__side .btn { margin-top: 36px; }
.profile__side .btn__txt { min-width: 0; white-space: nowrap; }

/* organization chart */
.org { margin-top: clamp(56px, 7vw, 110px); padding: clamp(24px, 3.4vw, 52px); border: 1px solid var(--line); border-radius: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(18, 105, 207, .05) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(18, 105, 207, .05) 0 1px, transparent 1px 32px), var(--white); }
.org__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; }
.org__head span:last-child { font-family: var(--f-sans); opacity: .65; }
.org__tree { --c: rgba(29, 44, 70, .35); margin-top: clamp(28px, 3.4vw, 48px); }
.org__top { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.org__top .org__box { position: relative; }
.org__top .org__box + .org__box::before { content: ""; position: absolute; left: 50%; top: -23px; height: 22px; border-left: 1px solid var(--c); }
.org__box { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 168px; padding: 10px 18px; border: 1px solid var(--black); border-radius: 8px; background: var(--white);
  font-size: 13px; font-weight: 700; line-height: 1.5; text-align: center; }
.org__box small { font-family: var(--f-mono); font-weight: 400; font-size: 10px; color: var(--red); }
.org__box--line { border-style: dashed; border-color: var(--c); font-weight: 500; }
.org__box--ceo { background: var(--navy); border-color: var(--navy); color: var(--white); min-width: 200px; padding: 14px 22px; font-family: var(--f-serif); font-size: 16px; }
.org__staff { position: relative; display: flex; justify-content: center; gap: clamp(160px, 22vw, 300px); margin-top: 26px; padding-bottom: 26px; }
.org__staff::before { content: ""; position: absolute; left: 50%; top: -26px; bottom: 0; border-left: 1px solid var(--c); }
.org__staff::after { content: ""; position: absolute; left: calc(50% - clamp(80px, 11vw, 150px)); right: calc(50% - clamp(80px, 11vw, 150px)); top: 50%; margin-top: -13px; border-top: 1px solid var(--c); z-index: 0; }
.org__staff .org__box { position: relative; z-index: 1; min-width: 150px; }
.org__box--sub { background: var(--blue-pale); border-color: var(--line); font-weight: 500; }
.org__divs { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding-top: 26px; }
.org__divs::before { content: ""; position: absolute; top: 0; left: calc(100% / 12); right: calc(100% / 12); border-top: 1px solid var(--c); }
.org__divs > li { position: relative; display: flex; flex-direction: column; align-items: stretch; }
.org__divs > li::before { content: ""; position: absolute; left: 50%; top: -26px; height: 26px; border-left: 1px solid var(--c); }
.org__divs .org__box { min-width: 0; height: 64px; padding: 8px 6px; font-size: 12.5px; border-top: 3px solid var(--blue); transition: background-color .4s, color .4s; }
.org__divs > li:hover .org__box { background: var(--blue); color: var(--white); border-color: var(--blue); }
.org__divs > li:hover .org__box small { color: var(--red-l); }
.org__divs ul { margin-top: 10px; }
.org__divs ul li { position: relative; padding: 6px 0 6px 14px; margin-left: 12px; border-left: 1px solid var(--c); font-size: 12px; line-height: 1.5; }
.org__divs ul li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; border-top: 1px solid var(--c); }

/* ---------- 06. History ---------- */
.hist { padding: var(--section-space) 0; background: linear-gradient(180deg, var(--white), var(--blue-pale)); }
.hist__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 40px 6vw; align-items: start; }
.hist__side { position: sticky; top: 60px; }
.hist__now { margin-top: clamp(36px, 5vw, 72px); }
.hist__year { font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: clamp(64px, 8vw, 132px); line-height: 1; letter-spacing: -.04em; color: var(--blue); font-variant-numeric: tabular-nums; }
.hist__year.is-flip { animation: yearFlip .6s var(--ease); }
@keyframes yearFlip { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hist__era { margin-top: 14px; font-family: var(--f-serif); font-weight: 600; font-size: 18px; letter-spacing: .08em; }
.hist__era::before { content: ""; display: inline-block; width: 20px; height: 2px; margin: 0 10px 0 0; background: var(--red); vertical-align: middle; }
.hist__bar { position: relative; display: block; width: 100%; height: 2px; margin-top: 26px; background: var(--line); overflow: hidden; }
.hist__bar i { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s linear; }

.hist__list { position: relative; padding-left: 40px; }
.hist__list::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.hist__list::after { content: ""; position: absolute; left: 6px; top: 12px; width: 1px; height: calc((100% - 24px) * var(--p, 0)); background: var(--red); }
.hist__item { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 12px 24px; padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.hist__item::before { content: ""; position: absolute; left: -40px; top: 36px; width: 13px; height: 13px; border: 1px solid var(--black); border-radius: 50%; background: var(--white); transition: background-color .4s, border-color .4s, transform .5s var(--ease); }
.hist__item.is-on::before { background: var(--red); border-color: var(--red); transform: scale(1.15); }
.hist__date { font-family: var(--f-mono); font-size: 13px; line-height: 1.4; opacity: .45; transition: opacity .5s; }
.hist__date b { font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: 34px; letter-spacing: -.02em; }
.hist__item.is-on .hist__date { opacity: 1; }
.hist__item.is-on .hist__date b { color: var(--blue); }
.hist__body h3 { font-family: var(--f-serif); font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; letter-spacing: .04em; }
.hist__body p { margin-top: 8px; font-size: 13.5px; line-height: 2; opacity: .75; }
.hist__img { margin-top: 18px; max-width: 360px; aspect-ratio: 16 / 10; border-radius: 10px; }
.hist__img:hover img { transform: scale(1.06); }

/* ---------- 07. Offices + map ---------- */
.offices { padding: var(--section-space) 0; }
.access { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(14px, 2vw, 32px); align-items: start; }
.ofc { display: flex; flex-direction: column; gap: 10px; }
.ofc__card { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "code code" "name name" "addr addr" "tel acc" "btns btns"; gap: 0 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden;
  transition: opacity 1s var(--ease), transform 1s var(--ease), border-color .4s, box-shadow .5s; }
.ofc__card--hq { color: var(--white); border-color: transparent; background: var(--grad); }
.ofc__card--hq::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 36px), repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 36px);
  mask-image: radial-gradient(ellipse at 100% 100%, #000 10%, transparent 70%); }
.ofc__card > * { position: relative; z-index: 1; }
.ofc__card.is-active:not(.ofc__card--hq) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 14px 34px rgba(18, 105, 207, .12); }
.ofc__card--hq.is-active { box-shadow: 0 0 0 3px rgba(18, 105, 207, .25); }
.ofc__code { grid-area: code; display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; opacity: .85; }
.ofc__code span { padding: 1px 8px; border-radius: 4px; background: var(--red); color: var(--white); }
.ofc__name { grid-area: name; margin-top: 10px; font-family: var(--f-serif); font-weight: 600; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; }
.ofc__card--hq .ofc__name { font-size: clamp(26px, 2.4vw, 34px); }
.ofc__addr { grid-area: addr; margin-top: 6px; font-size: 13px; line-height: 1.8; }
.ofc__tel { grid-area: tel; margin-top: 4px; font-family: var(--f-en); font-stretch: 112%; font-weight: 700; font-size: 14px; }
.ofc__access { grid-area: acc; align-self: end; margin-top: 4px; font-size: 11.5px; opacity: .75; text-align: right; }
.ofc__btns { grid-area: btns; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; }
.ofc__show { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 700; transition: background-color .4s, color .4s, border-color .4s; }
.ofc__show svg { width: 16px; height: 16px; }
.ofc__show[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }
.ofc__show:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.ofc__card--hq .ofc__show:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.ofc__map { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .6s var(--ease); }
.ofc__map:hover { background-size: 0 1px; background-position: 100% 100%; }
.ofc__map svg { width: 12px; height: 12px; transition: transform .5s var(--ease); }
.ofc__map:hover svg { transform: translate(2px, -2px); }
.ofc__icon { position: absolute !important; right: 18px; top: 18px; width: 54px; height: 54px; opacity: .22; z-index: 0 !important; }
.access__map { position: sticky; top: 96px; }
.access__map .mapframe { height: clamp(420px, 72vh, 720px); border-radius: 14px; box-shadow: 0 20px 50px -30px rgba(18, 105, 207, .45); }
@media (hover: hover) {
  .ofc__card:not(.ofc__card--hq):hover { border-color: rgba(18, 105, 207, .5); }
}

/* ---------- 08. Certification ---------- */
.cert { padding: var(--section-space) 0; background: var(--blue-pale); }
.cert__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 5vw; align-items: start; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.badges li { position: relative; display: flex; flex-direction: column; min-height: 200px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); isolation: isolate; }
.badges li:nth-child(3n) { border-right: 0; }
.badges li:nth-child(n+4) { border-bottom: 0; }
.badges[data-anim="stagger"] > li { transition: opacity 1s var(--ease), transform 1s var(--ease), color .5s; transition-delay: calc(var(--i, 0) * .07s), calc(var(--i, 0) * .07s), 0s; }
.badges li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); clip-path: inset(100% 0 0 0); transition: clip-path .55s var(--ease); }
.badges svg { width: 40px; height: 40px; margin-bottom: auto; color: var(--blue); transition: color .4s, transform .7s var(--ease); }
.badges b { margin-top: 28px; font-family: var(--f-en); font-stretch: 112%; font-weight: 800; font-size: 17px; line-height: 1.35; }
.badges span { margin-top: 4px; font-size: 11.5px; line-height: 1.7; opacity: .65; }
@media (hover: hover) {
  .badges.is-in > li:hover { color: var(--white); }
  .badges li:hover::before { clip-path: inset(0); }
  .badges li:hover svg { color: var(--white); transform: rotate(-8deg) scale(1.08); }
}
.awards { padding: clamp(22px, 2.6vw, 36px); border-radius: 14px; background: var(--white); border-top: 4px solid var(--red); box-shadow: 0 12px 40px rgba(18, 105, 207, .08); }
.awards__head { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; }
.awards__head span:last-child { font-family: var(--f-sans); opacity: .65; }
.awards__list li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.awards__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.awards__list time { font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: 18px; line-height: 1.5; color: var(--blue); }
.awards__list p { font-size: 14px; font-weight: 500; line-height: 1.7; }
.awards__list small { display: block; font-weight: 400; font-size: 12px; opacity: .6; }

/* ---------- 10. Responsive ---------- */
@media (max-width: 1180px) {
  .org__divs { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .org__divs::before { display: none; }
  .org__divs > li::before { display: none; }
  .org__staff { padding-bottom: 0; margin-bottom: 30px; }
  .org__divs .org__box { height: auto; min-height: 56px; }
  .philo__grid { grid-template-columns: 1fr; }
  .fan { max-width: 680px; margin: 0 auto 12px; width: 100%; }
}

@media (max-width: 960px) {
  .msg__grid, .profile__grid, .hist__grid, .cert__grid { grid-template-columns: 1fr; }
  .msg__visual { position: static; max-width: 480px; }
  .profile__side, .hist__side { position: static; }
  .hist__now { display: none; }
  .vcards { grid-template-columns: 1fr; }
  .vcard__kanji { font-size: 200px; }
  .access { grid-template-columns: 1fr; }
  .access__map { position: relative; top: 0; order: -1; }
  .access__map .mapframe { height: 56vw; min-height: 300px; }
  .ofc { display: grid; grid-template-columns: 1fr 1fr; }
  .ofc__card--hq { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .msg__sign { align-items: center; }
  .seal { width: 54px; height: 54px; font-size: 16px; }
  .fan { --pb: 44px; }
  .fan__labels a { padding: 3px 7px; }
  .fan__labels b { font-size: 10.5px; }
  .fan__labels span { display: none; }
  .fan__labels li[data-i="0"] { --x: 9% !important; --y: 72% !important; }
  .fan__labels li[data-i="4"] { --x: 89% !important; --y: 72% !important; }
  .fan__center { font-size: 17px; transform: translate(-50%, 22px); }
  .creed__row { grid-template-columns: 1fr; gap: 10px; }
  .creed__row dt { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  .creed__en { margin-top: 0; }
  .org { padding: 20px 16px; }
  .org__staff { gap: 12px; flex-direction: column; align-items: center; margin-top: 22px; }
  .org__staff::after { display: none; }
  .org__staff::before { top: -22px; bottom: -30px; z-index: 0; }
  .org__divs { grid-template-columns: 1fr 1fr; gap: 28px 10px; }
  .org__box { min-width: 0; }
  .org__top .org__box { min-width: 180px; }
  .hist__list { padding-left: 28px; }
  .hist__item { grid-template-columns: 1fr; gap: 6px; padding: 22px 0 24px; }
  .hist__item::before { left: -28px; top: 32px; }
  .hist__date b { font-size: 28px; }
  .hist__img { max-width: none; }
  .ofc { grid-template-columns: 1fr; }
  .ofc__card { grid-template-areas: "code code" "name name" "addr addr" "tel tel" "acc acc" "btns btns"; }
  .ofc__access { text-align: left; }
  .badges { grid-template-columns: 1fr 1fr; }
  .badges li { min-height: 170px; padding: 16px; border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .badges li:nth-child(2n) { border-right: 0 !important; }
  .badges li:nth-child(n+5) { border-bottom: 0 !important; }
  .badges b { font-size: 15px; }
  .awards__list li { grid-template-columns: 56px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .fan__rib { rotate: var(--a); }
  .fan__leaf, .fan__folds path, .fan__labels li { opacity: 1; }
}
