/* 自動生成ファイル：scss/pages/company.scss を Sass（dart-sass 1.77）でコンパイルした出力。直接編集せず SCSS を修正して再コンパイルすること */
@layer base;
@layer base {
  a {
    color: #2560d8;
    text-decoration: none;
  }
  a:hover {
    color: #123a8a;
  }
}
@layer base {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1s cubic-bezier(0.16, 0.84, 0.3, 1);
  }
  .reveal.reveal--visible {
    opacity: 1;
    transform: none;
  }
}
@layer base {
  @keyframes fvUp {
    from {
      opacity: 0;
      transform: translateY(34px);
      filter: blur(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
    * {
      animation: none !important;
    }
  }
  @keyframes ctSpin {
    to {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }
  @keyframes ctBgA {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
  }
  @keyframes ctBgB {
    0%, 100% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
  }
  .jp-reveal {
    display: inline-flex;
    overflow: hidden;
    padding-bottom: 0.08em;
  }
  .jp-reveal .jp-reveal__char {
    display: inline-block;
    opacity: 0;
    transform: translateY(105%) rotate(3deg);
    filter: blur(6px);
    transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1.1s cubic-bezier(0.16, 0.84, 0.3, 1), filter 0.9s ease;
  }
  .jp-reveal.jp-reveal--visible .jp-reveal__char {
    opacity: 1;
    transform: translateY(0) rotate(0);
    filter: blur(0);
  }
  .ghost-en {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s, transform 1.7s cubic-bezier(0.16, 0.84, 0.3, 1) 0.1s;
  }
  .ghost-en.ghost-en--visible {
    opacity: 1;
    transform: translateX(0);
  }
  @media (prefers-reduced-motion: reduce) {
    .jp-reveal .jp-reveal__char {
      opacity: 1 !important;
      transform: none !important;
      filter: none !important;
    }
    .ghost-en {
      opacity: 1 !important;
      transform: none !important;
      transition: none;
    }
  }
  @keyframes pdraw {
    from {
      stroke-dashoffset: 1;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes pdrawrev {
    from {
      stroke-dashoffset: -1;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  .block-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1s cubic-bezier(0.16, 0.84, 0.3, 1);
  }
  .block-reveal.block-reveal--visible {
    opacity: 1;
    transform: none;
  }
  .offices__pin-group {
    cursor: pointer;
    opacity: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }
  .offices__pin-group:focus, .offices__pin-group:focus-visible {
    outline: none;
  }
  @keyframes cardGlow {
    0% {
      outline-color: rgba(77, 155, 239, 0);
      box-shadow: 0 1px 2px rgba(14, 38, 74, 0.04), 0 30px 60px -34px rgba(14, 38, 74, 0.32);
    }
    40% {
      outline-color: rgba(77, 155, 239, 0.95);
      box-shadow: 0 0 28px 6px rgba(77, 155, 239, 0.55), 0 30px 60px -34px rgba(14, 38, 74, 0.32);
    }
    100% {
      outline-color: rgba(77, 155, 239, 0);
      box-shadow: 0 1px 2px rgba(14, 38, 74, 0.04), 0 30px 60px -34px rgba(14, 38, 74, 0.32);
    }
  }
  .office-card.office-card--focused {
    outline: 3px solid rgba(77, 155, 239, 0);
    outline-offset: -2px;
    animation: cardGlow 1.6s ease-in-out;
  }
  .block-reveal.block-reveal--visible .offices__pin-group {
    animation: pinIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
  @keyframes pinIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .offices__pin-group text {
    transition: fill 0.3s ease;
  }
  .offices__pin-group:hover text {
    fill: #2560d8;
  }
  .pin-glow {
    opacity: 0.2;
    animation: pinGlow 2.8s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
  }
  .label-glow {
    animation: labelGlow 2.8s ease-in-out infinite;
  }
  @keyframes pinGlow {
    0%, 100% {
      opacity: 0.18;
      transform: scale(1);
    }
    50% {
      opacity: 0.4;
      transform: scale(1.5);
    }
  }
  @keyframes labelGlow {
    0%, 100% {
      opacity: 0.35;
    }
    50% {
      opacity: 0.9;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .pin-glow, .label-glow {
      animation: none;
    }
    .offices__pin-group {
      opacity: 1;
      animation: none !important;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .block-reveal {
      opacity: 1 !important;
      transform: none !important;
    }
  }
}
@layer base {
  #siteHeader .header-item {
    position: relative;
    min-width: 0;
  }
  #siteHeader img {
    max-width: 100%;
  }
  #siteHeader .header-dropdown {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 8px);
    min-width: 236px;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(40, 80, 150, 0.14);
    border-radius: 12px;
    box-shadow: 0 28px 60px -28px rgba(11, 36, 82, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0.28s;
    backdrop-filter: blur(10px);
  }
  #siteHeader .header-item:hover .header-dropdown, #siteHeader .header-item:focus-within .header-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 12px);
  }
  #siteHeader .header-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
  }
  #siteHeader .header-dropdown a {
    display: block;
    padding: 11px 24px;
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #16325a;
    white-space: nowrap;
    transition: background 0.22s ease, color 0.22s ease, padding-left 0.25s ease;
  }
  #siteHeader .header-dropdown a:hover {
    background: rgba(45, 111, 210, 0.1);
    color: #2d6fd2;
    padding-left: 30px;
  }
  #siteHeader .header-link {
    color: inherit;
    opacity: 0.92;
    transition: color 0.25s ease;
  }
  #siteHeader .header-link:hover {
    color: #1d55b0;
  }
  #siteHeader .header-link[aria-current=page] {
    color: #1d55b0;
    font-weight: 700;
    opacity: 1;
  }
  #siteHeader .site-header-nav__header-cta {
    position: relative;
    overflow: hidden;
    animation: hdPulse 2.6s ease-out infinite;
    transition: transform 0.4s ease, box-shadow 0.45s ease;
  }
  #siteHeader .site-header-nav__header-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-16deg);
    animation: hdSheen 3.4s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes hdSheen {
    0% {
      left: -60%;
    }
    45% {
      left: 130%;
    }
    100% {
      left: 130%;
    }
  }
  @keyframes hdPulse {
    0%, 100% {
      box-shadow: 0 14px 30px -12px rgba(29, 85, 176, 0.6), 0 0 0 0 rgba(90, 160, 240, 0.5);
    }
    50% {
      box-shadow: 0 14px 30px -12px rgba(29, 85, 176, 0.6), 0 0 0 12px rgba(90, 160, 240, 0);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    #siteHeader .site-header-nav__header-cta, #siteHeader .site-header-nav__header-cta::after {
      animation: none;
    }
  }
  #siteHeader .site-header-nav__header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -12px rgba(29, 85, 176, 0.7);
    color: #ffffff;
  }
}
.site-header__link {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  gap: clamp(8px, 1vw, 14px);
  color: inherit;
}
.site-header__logo-image {
  display: block;
  height: clamp(40px, 4.4vw, 58px);
  width: auto;
}
.site-header__logo-japanese-header-image {
  display: block;
  height: clamp(16px, 1.9vw, 24px);
  width: auto;
  margin-top: 6px;
  image-rendering: auto;
}

.site-header-nav {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(16px, 2.4vw, 44px);
  font-size: clamp(13.5px, 1.55vw, 17.5px);
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.site-header-nav__header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(30px, 3.2vw, 42px);
  height: clamp(30px, 3.2vw, 42px);
}
.site-header-nav__header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(120deg, #4d9bef, #1d55b0);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 30px -12px rgba(29, 85, 176, 0.6);
  padding: clamp(11px, 1.3vw, 16px) clamp(18px, 2.4vw, 34px);
  font-size: clamp(14px, 1.6vw, 18px);
  white-space: nowrap;
  flex: 0 0 auto;
}
.site-header-nav__label {
  display: flex;
  align-items: center;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  height: 84px;
  gap: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-bottom: 1px solid rgba(40, 80, 150, 0.14);
  color: #16325a;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.breadcrumb-nav {
  position: absolute;
  left: 120px;
  top: 104px;
  z-index: 5;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #5e7392;
}
.breadcrumb-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.breadcrumb-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.breadcrumb-nav__link {
  color: #5e7392;
  transition: color 0.25s ease;
}
.breadcrumb-nav__link:hover {
  color: #1d55b0;
}
.breadcrumb-nav__icon {
  opacity: 0.55;
}
.breadcrumb-nav__label--secondary {
  color: #5e7392;
}
.breadcrumb-nav__label--navy {
  color: #16325a;
  font-weight: 600;
}

@layer base {
  #contact .footer-column {
    display: flex;
    flex-direction: column;
  }
  #contact .footer-head {
    margin: 0 0 20px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.08em;
    color: #16325a;
  }
  #contact .site-footer-nav__footer-link {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 13.5px;
    letter-spacing: 0.03em;
    color: #4a5a70;
    text-decoration: none;
    padding: 7px 0;
    transition: color 0.25s ease, transform 0.25s ease;
  }
  #contact .site-footer-nav__footer-link:hover {
    color: #1d55b0;
    transform: translateX(3px);
  }
  @keyframes ctSpin {
    to {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }
  @keyframes ctBgA {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
  }
  @keyframes ctBgB {
    0%, 100% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
  }
  #contact .site-footer-contact__contact-button {
    position: relative;
    overflow: hidden;
    animation: ctPulse 2.6s ease-out infinite;
    transition: transform 0.4s ease, box-shadow 0.45s ease, background 0.4s ease;
  }
  #contact .site-footer-contact__contact-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-16deg);
    animation: ctSheen 3.4s ease-in-out infinite;
    pointer-events: none;
  }
  #contact .site-footer-contact__contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 56px -14px rgba(77, 155, 239, 0.7);
    color: #ffffff;
  }
  @keyframes ctSheen {
    0% {
      left: -60%;
    }
    45% {
      left: 130%;
    }
    100% {
      left: 130%;
    }
  }
  @keyframes ctPulse {
    0%, 100% {
      box-shadow: 0 18px 42px -14px rgba(77, 155, 239, 0.6), 0 0 0 0 rgba(90, 160, 240, 0.5);
    }
    50% {
      box-shadow: 0 18px 42px -14px rgba(77, 155, 239, 0.6), 0 0 0 12px rgba(90, 160, 240, 0);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    #contact .site-footer-contact__contact-button, #contact .site-footer-contact__contact-button::after {
      animation: none;
    }
  }
  #contact .site-footer-contact__contact-button:hover .site-footer-contact__contact-arrow {
    transform: translateX(4px);
  }
  #contact .site-footer-contact__contact-japanese {
    position: relative;
    overflow: hidden;
  }
  #contact .site-footer-contact__contact-japanese .site-footer-contact__contact-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(80%);
    filter: blur(7px);
    transition: opacity 1.1s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1.3s cubic-bezier(0.16, 0.84, 0.3, 1), filter 1.1s ease;
  }
  #contact .site-footer-contact__contact-japanese.site-footer-contact__contact-japanese--visible .site-footer-contact__contact-char {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  #contact .site-footer-contact__contact-ghost {
    opacity: 0;
    letter-spacing: 0.16em;
    transform: translate(-50%, 10%) scale(1.1);
    filter: blur(14px);
    transition: opacity 2.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s, transform 2.6s cubic-bezier(0.16, 0.84, 0.3, 1) 0.25s, letter-spacing 2.8s cubic-bezier(0.16, 0.84, 0.3, 1) 0.25s, filter 2.2s ease 0.25s;
  }
  #contact .site-footer-contact__contact-ghost.site-footer-contact__contact-ghost--visible {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
    letter-spacing: 0.01em;
    filter: blur(0);
  }
  @media (prefers-reduced-motion: reduce) {
    #contact .site-footer-contact__contact-japanese .site-footer-contact__contact-char {
      opacity: 1 !important;
      transform: none !important;
      filter: none !important;
      transition: none !important;
    }
    #contact .site-footer-contact__contact-ghost {
      opacity: 1 !important;
      transform: translate(-50%, 0) !important;
      filter: none !important;
      transition: none !important;
    }
  }
}
.site-footer-contact {
  position: relative;
  background: transparent;
  color: #16325a;
  padding: 200px 6vw 0;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
}
.site-footer-contact__decor {
  position: absolute;
  pointer-events: none;
}
.site-footer-contact__decor--rounded {
  left: 50%;
  top: 16%;
  width: 820px;
  height: 820px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px dashed rgba(150, 160, 175, 0.22);
  animation: ctSpin 90s linear infinite;
}
.site-footer-contact__decor--bordered {
  left: 50%;
  top: 16%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(150, 160, 175, 0.18);
}
.site-footer-contact__decor--gradient {
  inset: 0;
  background: linear-gradient(160deg, rgba(118, 190, 120, 0.12) 0%, rgba(118, 190, 120, 0) 58%);
  animation: ctBgA 3s ease-in-out infinite;
}
.site-footer-contact__decor--tint-blue {
  inset: 0;
  background: linear-gradient(200deg, rgba(120, 180, 235, 0.12) 0%, rgba(120, 180, 235, 0) 58%);
  animation: ctBgB 3s ease-in-out infinite;
}
.site-footer-contact__inner {
  position: relative;
  margin: 0 auto;
}
.site-footer-contact__inner--sized {
  z-index: 3;
  max-width: 1600px;
  width: 100%;
}
.site-footer-contact__inner--flex {
  max-width: 1480px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-top: 1px solid rgba(90, 74, 56, 0.12);
  padding-top: 26px;
}
.site-footer-contact__content--center {
  position: relative;
  text-align: center;
  margin-bottom: 118px;
}
.site-footer-contact__content--inline {
  position: relative;
  display: inline-block;
}
.site-footer-contact__content--tinted {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-left: 1px solid rgba(90, 74, 56, 0.08);
  border-right: 1px solid rgba(90, 74, 56, 0.08);
  padding: 26px 5% 40px;
  box-sizing: border-box;
}
.site-footer-contact__content--small {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #8a93a3;
}
.site-footer-contact__contact-ghost {
  position: absolute;
  left: 50%;
  top: -72px;
  z-index: -1;
  pointer-events: none;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 118px;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(90, 74, 56, 0.18);
  background: linear-gradient(180deg, rgba(90, 74, 56, 0.1), rgba(90, 74, 56, 0));
  -webkit-background-clip: text;
  background-clip: text;
}
.site-footer-contact__contact-japanese {
  display: inline-block;
  margin: 0;
  padding-bottom: 6px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 58px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #16325a;
}
.site-footer-contact__contact-char:nth-child(1) {
  transition-delay: 0s;
}
.site-footer-contact__contact-char:nth-child(2) {
  transition-delay: 0.1s;
}
.site-footer-contact__contact-char:nth-child(3) {
  transition-delay: 0.2s;
}
.site-footer-contact__contact-char:nth-child(4) {
  transition-delay: 0.3s;
}
.site-footer-contact__contact-char:nth-child(5) {
  transition-delay: 0.4s;
}
.site-footer-contact__contact-char:nth-child(6) {
  transition-delay: 0.5s;
}
.site-footer-contact__row {
  display: flex;
  justify-content: center;
  margin-bottom: 64px;
  position: relative;
  top: -2cm;
}
.site-footer-contact__contact-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px 20px 44px;
  border-radius: 999px;
  background: linear-gradient(120deg, #4d9bef, #1d55b0);
  color: #ffffff;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.14em;
  box-shadow: 0 20px 48px -16px rgba(77, 155, 239, 0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.site-footer-contact__contact-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #1748b8;
  transition: transform 0.45s cubic-bezier(0.5, 0, 0.2, 1);
}
.site-footer-contact__card {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(90, 74, 56, 0.08);
  border-bottom: none;
  border-radius: 26px 26px 0 0;
  padding: 64px 5% 56px;
  box-sizing: border-box;
  position: relative;
  top: -1.5cm;
  margin-bottom: -1.5cm;
  box-shadow: 0 -18px 50px -40px rgba(11, 36, 82, 0.35);
}
.site-footer-contact__image {
  position: absolute;
  right: 0;
  top: calc(50% + 0.5cm);
  transform: translateY(-50%);
  display: block;
  height: 56px;
  width: auto;
  background: #ffffff;
  padding: 4px 6px;
  border-radius: 5px;
  box-shadow: 0 6px 16px -12px rgba(0, 0, 0, 0.4);
}
.site-footer-contact--no-contact {
  padding-top: 120px;
}

.site-footer-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  max-width: 1480px;
  margin: 0 auto;
}
.site-footer-nav__footer-link {
  font-size: 14.5px;
}
.site-footer-nav__footer-link--flex {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.site-footer-nav__icon {
  flex: 0 0 auto;
  opacity: 0.55;
  margin-left: 1px;
}
.site-footer-nav__footer-head {
  margin-top: 36px;
}

html, body {
  margin: 0;
  padding: 0;
  background: #f6f8fb;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #0c1a33;
  -webkit-font-smoothing: antialiased;
}

.company__decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #f7f9fc 0%, #f4f7fb 40%, #eef3f9 72%, #e9eff7 100%);
}
.company__layer {
  position: absolute;
  inset: 0;
}
.company__layer--gradient {
  background-image: linear-gradient(rgba(22, 50, 79, 0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 50, 79, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.9;
}
.company__layer--in-decor {
  background: radial-gradient(150% 120% at 50% 50%, transparent 74%, rgba(10, 26, 52, 0.04) 100%);
}
.company__card {
  position: absolute;
  border-radius: 50%;
}
.company__card--gradient {
  top: -12%;
  right: -10%;
  width: 56vw;
  height: 56vw;
  background: radial-gradient(circle at 50% 50%, rgba(37, 96, 216, 0.11), rgba(37, 96, 216, 0) 62%);
  filter: blur(46px);
}
.company__card--top-offset {
  top: 38%;
  left: -12%;
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle at 50% 50%, rgba(21, 155, 196, 0.09), rgba(21, 155, 196, 0) 62%);
  filter: blur(48px);
}
.company__card--bottom {
  bottom: -14%;
  right: -6%;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle at 50% 50%, rgba(138, 92, 240, 0.09), rgba(138, 92, 240, 0) 62%);
  filter: blur(50px);
}
.company__main {
  position: relative;
  z-index: 1;
}
.company__business-detail {
  position: relative;
  padding: 0;
}

.hero {
  position: relative;
  height: calc(100vh - 9cm);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 4vh;
  box-sizing: border-box;
}
.hero__row {
  position: relative;
  top: 2cm;
  display: flex;
  align-items: baseline;
}
.hero__company-label {
  position: absolute;
  left: -6px;
  top: -86px;
  z-index: -1;
  pointer-events: none;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(96px, 11.5vw, 168px);
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(90, 74, 56, 0.18);
  background: linear-gradient(180deg, rgba(90, 74, 56, 0.1), rgba(90, 74, 56, 0));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero__title {
  position: relative;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(60px, 6.6vw, 94px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #16325a;
}
.hero__char:nth-child(1) {
  transition-delay: 0s;
}
.hero__char:nth-child(2) {
  transition-delay: 0.12s;
}
.hero__char:nth-child(3) {
  transition-delay: 0.24s;
}
.hero__char:nth-child(4) {
  transition-delay: 0.36s;
}

.company-table {
  position: relative;
  max-width: 1100px;
  margin: -2.5cm auto 0;
  padding: 40px 48px 160px;
  box-sizing: border-box;
}
.company-table__board-reveal {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(14, 38, 74, 0.05), 0 24px 52px -22px rgba(14, 38, 74, 0.22);
}
.company-table__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0 40px;
  padding: 26px 44px;
}
.company-table__grid--bordered {
  border-bottom: 1px solid rgba(20, 30, 50, 0.07);
}
.company-table__content--navy {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: 0.08em;
  color: #16325a;
}
.company-table__content--regular {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: #42556e;
  text-wrap: pretty;
}
.company-table__date {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: #42556e;
  text-wrap: pretty;
}
.company-table__stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: #42556e;
  text-wrap: pretty;
}

.offices {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 180px;
  box-sizing: border-box;
}
.offices__content--spaced {
  position: relative;
  margin-bottom: 8px;
}
.offices__content--bold {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  line-height: 1.85;
  color: #8a97ab;
}
.offices__content--regular {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14.5px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: #31465f;
  text-wrap: pretty;
}
.offices__content--relative {
  position: relative;
  align-self: stretch;
  overflow: hidden;
}
.offices__ghost {
  position: absolute;
  left: -4px;
  top: -72px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 118px;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(90, 74, 56, 0.18);
  background: linear-gradient(180deg, rgba(90, 74, 56, 0.1), rgba(90, 74, 56, 0));
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
}
.offices__row {
  display: flex;
}
.offices__row--gap-medium {
  position: relative;
  align-items: baseline;
  gap: 20px;
}
.offices__row--in-stack {
  align-items: flex-start;
  gap: 18px;
}
.offices__row--regular {
  align-items: baseline;
  gap: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: #5b6b84;
  text-wrap: pretty;
}
.offices__heading {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 58px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #16325a;
}
.offices__char:nth-child(1) {
  transition-delay: 0s;
}
.offices__char:nth-child(2) {
  transition-delay: 0.12s;
}
.offices__char:nth-child(3) {
  transition-delay: 0.24s;
}
.offices__board-reveal--spaced {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: -40px auto 16px;
}
.offices__board-reveal--grid {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 30px;
  margin-top: -1cm;
}
.offices__icon {
  display: block;
  width: 100%;
  height: auto;
  font-family: "Noto Sans JP", sans-serif;
}
.offices__pin-group {
  outline: none;
  transform-box: view-box;
}
.offices__pin-group:nth-child(3) {
  animation-delay: 0.15s;
}
.offices__pin-group:nth-child(4) {
  animation-delay: 1.35s;
}
.offices__pin-group:nth-child(5) {
  animation-delay: 0.75s;
}
.offices__card-tokyo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: stretch;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(14, 38, 74, 0.04), 0 30px 60px -34px rgba(14, 38, 74, 0.32);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.5s ease;
}
.offices__card-tokyo:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 2px rgba(14, 38, 74, 0.04), 0 44px 78px -34px rgba(14, 38, 74, 0.4);
}
.offices__stack {
  display: flex;
  flex-direction: column;
}
.offices__stack--padded {
  gap: 20px;
  padding: 32px 36px 32px 40px;
}
.offices__stack--tight {
  gap: 12px;
}
.offices__stack--in-grid {
  gap: 8px;
}
.offices__number {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.14em;
  color: rgba(37, 96, 216, 0.45);
}
.offices__subheading {
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: #16325a;
}
.offices__grid {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 20px 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 30, 50, 0.09);
}
.offices__button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  padding: 8px 17px;
  border-radius: 999px;
  border: 1px solid rgba(37, 96, 216, 0.28);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: #1d55b0;
  background: rgba(37, 96, 216, 0.05);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.offices__button:hover {
  background: rgba(37, 96, 216, 0.13);
  border-color: rgba(37, 96, 216, 0.5);
}
.offices__label {
  flex: none;
  display: block;
  width: 14px;
  height: 1px;
  background: rgba(37, 96, 216, 0.45);
  transform: translateY(-4px);
}
.offices__image {
  display: block;
  position: absolute;
  inset: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  object-fit: cover;
}
.offices__decor {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 34%);
}
.offices__card-kansai {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: stretch;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(14, 38, 74, 0.04), 0 30px 60px -34px rgba(14, 38, 74, 0.32);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.5s ease;
}
.offices__card-kansai:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 2px rgba(14, 38, 74, 0.04), 0 44px 78px -34px rgba(14, 38, 74, 0.4);
}
.offices__card-tokai {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: stretch;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(14, 38, 74, 0.04), 0 30px 60px -34px rgba(14, 38, 74, 0.32);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.5s ease;
}
.offices__card-tokai:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 2px rgba(14, 38, 74, 0.04), 0 44px 78px -34px rgba(14, 38, 74, 0.4);
}

/* ==========================================================================
   Responsive (Tablet / SP) — PC表示（1101px以上）には影響しません
   ========================================================================== */
@media screen and (max-width: 1100px) {
  .hero__inner {
    padding: 0 40px 4vh;
  }
  .company-table {
    padding: 40px 40px 150px;
  }
  .company-table__grid {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 0 28px;
    padding: 24px 36px;
  }
  .offices {
    padding: 0 40px 150px;
  }
  .offices__card-tokyo,
  .offices__card-kansai,
  .offices__card-tokai {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}
@media screen and (max-width: 900px) {
  /* FV：高さ固定と表の食い込みを解除 */
  .hero {
    height: auto;
    padding: 150px 0 8px;
  }
  .hero__inner {
    padding: 0 20px;
  }
  .hero__row {
    top: 0;
  }
  .hero__company-label {
    top: -48px;
    font-size: clamp(60px, 16vw, 110px);
  }
  .hero__title {
    font-size: clamp(36px, 10vw, 54px);
  }
  /* 会社概要テーブル */
  .company-table {
    margin-top: 0;
    padding: 36px 20px 100px;
  }
  .company-table__board-reveal {
    border-radius: 18px;
  }
  .company-table__grid {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 0 20px;
    padding: 20px 24px;
  }
  .company-table__content--navy {
    font-size: 14.5px;
    line-height: 1.9;
  }
  .company-table__content--regular,
  .company-table__date,
  .company-table__stack {
    font-size: 15px;
    line-height: 1.85;
  }
  /* 事業所 */
  .offices {
    padding: 0 20px 100px;
  }
  .offices__ghost {
    top: -40px;
    font-size: clamp(60px, 16vw, 110px);
  }
  .offices__heading {
    font-size: clamp(34px, 9vw, 46px);
  }
  .offices__board-reveal--spaced {
    margin: 12px auto 8px;
  }
  .offices__board-reveal--grid {
    grid-auto-rows: auto;
    gap: 20px;
    margin-top: 16px;
  }
  .offices__card-tokyo,
  .offices__card-kansai,
  .offices__card-tokai {
    grid-template-columns: minmax(0, 1fr) 34%;
    border-radius: 20px;
  }
  .offices__stack--padded {
    gap: 16px;
    padding: 24px 24px 28px;
  }
  .offices__subheading {
    font-size: 22px;
  }
  .offices__grid {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px 12px;
    padding-top: 16px;
  }
  .offices__button {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 13px;
    box-sizing: border-box;
  }
}
@media screen and (max-width: 480px) {
  /* 項目名と内容を縦積み */
  .company-table__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 18px 20px;
  }
  .company-table__content--navy {
    font-size: 13.5px;
    color: #1d55b0;
  }
  /* 事業所カード：写真を上、情報を下の1カラム */
  .offices__card-tokyo,
  .offices__card-kansai,
  .offices__card-tokai {
    grid-template-columns: minmax(0, 1fr);
  }
  .offices__content--relative {
    order: -1;
    aspect-ratio: 16/9;
  }
  .offices__stack--padded {
    padding: 22px 20px 26px;
  }
  .offices__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .offices__grid > .offices__content--bold:not(:first-child) {
    margin-top: 12px;
  }
}

/* --------------------------------------------------------------------------
   セクション見出し × 英字ゴーストの重なり：PCと同じ比率に揃える（タブレット・SP）
   PCは px 指定（例：top:-72px / font-size:118px ＝ 0.61em）のため、
   文字サイズが小さくなるSPでは重なりが浅くなっていた → em で同比率を指定
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1100px) {
  .hero__company-label {
    top: -0.519em;
  }
  .offices__ghost {
    top: -0.61em;
  }
}

@media screen and (max-width: 900px) {
  /* 事務所マップ：SVGが画面幅に縮小され拠点名が約9pxになるため、SPでは文字を拡大
     （拠点名 23→40、「since 〜年」13→26 にして拠点名の下へ移動） */
  .offices__pin-group text:not([font-family]) {
    font-size: 40px;
  }
  .offices__pin-group text[font-family] {
    font-size: 26px;
    letter-spacing: 0.08em;
    transform: translate(-111px, 34px);
  }
}

@media screen and (max-width: 480px) {
  /* 事業所の写真：元画像が正方形のため、枠も正方形にして上下が切れないように表示 */
  .offices__content--relative {
    aspect-ratio: 1 / 1;
  }
  .offices__image {
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

/* 事業所一覧（見出しを5文字に変更：2026-10-26）：4・5文字目の登場の遅延 */
.offices__char:nth-child(4) {
  transition-delay: 0.36s;
}
.offices__char:nth-child(5) {
  transition-delay: 0.48s;
}

/* 事業所一覧：事業所カード（東京本社・関西支社・東海支社）の登場演出を削除し、最初から表示（2026-10-28） */
.block-reveal.offices__board-reveal--grid {
  opacity: 1;
  transform: none;
  transition: none;
}

/* 会社概要：見出し（会社概要）と表の間の余白を詰める（2026-10-29）
   ファーストビューの高さが画面の高さで変わるため、画面の高さに関係なく約56pxの間隔になるよう調整 */
@media screen and (min-width: 901px) {
  .company-table {
    margin-top: min(0px, calc(304px - 50vh));
  }
}

/* 事業所の写真：右下の角を少し暗くし、白の英字（拠点名）を重ねる（2026-10-29） */
.offices__content--relative::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 95% 75% at 100% 100%, rgba(8, 20, 40, 0.72) 0%, rgba(8, 20, 40, 0.38) 42%, rgba(8, 20, 40, 0) 78%);
  pointer-events: none;
}
.offices__photo-label {
  position: absolute;
  right: 26px;
  bottom: 22px;
  z-index: 1;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.22em;
  text-align: right;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
@media screen and (max-width: 900px) {
  .offices__photo-label {
    right: 18px;
    bottom: 16px;
    font-size: 13px;
  }
}

/* ==========================================================================
   事業拠点・運営教室（2026-10-29 リデザイン）
   PC：左＝KPI（固定）＋カード（スクロール）／右＝日本地図（固定）
       セクションの終わりで固定が外れ、一緒にスクロール
   SP：KPI＋地図を画面上部に固定し、その下をカードがスクロール
   地図：画面に入っているカードに合わせて <html data-office-stage="hq|school|unico"> を切り替え
         hq＝全国（拠点ピン）／school＝教室のある都県へ拡大／unico＝全国（unicoのある道府県）
   ========================================================================== */
.offices__char:nth-child(6) { transition-delay: 0.6s; }
.offices__char:nth-child(7) { transition-delay: 0.72s; }
.offices__char:nth-child(8) { transition-delay: 0.84s; }
.offices__char:nth-child(9) { transition-delay: 0.96s; }

.offices__layout {
  --om-top: 100px;                      /* 固定ヘッダー（84px）＋余白 */
  --c-hq: #2560d8;
  --c-school: #f08a24;
  --c-unico: #d93f73;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(28px, 3.4vw, 56px);
  /* 本文幅（1004px）より広く使う（最大1184px） */
  margin: 36px calc((100% - min(1184px, 100vw - 96px)) / 2) 0;
}
.offices__stick {
  display: contents;
}
/* --- KPI --- */
.offices__kpi {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  position: sticky;
  top: var(--om-top);
  z-index: 3;
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 0.9fr;
  margin-bottom: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.95);
  /* 1つ目の影：KPIの上（ヘッダーとの隙間）を背景色で覆い、下を流れるカードを見せない */
  box-shadow: 0 -18px 0 0 #f9fafd, 0 1px 2px rgba(14, 38, 74, 0.05), 0 24px 48px -30px rgba(14, 38, 74, 0.35);
  overflow: hidden;
}
.offices__kpi-item {
  --kc: var(--c-hq);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 20px 16px;
  color: #16325a;
  text-decoration: none;
  transition: background 0.5s ease;
}
.offices__kpi-item + .offices__kpi-item {
  border-left: 1px solid rgba(20, 30, 50, 0.08);
}
.offices__kpi-item--school { --kc: var(--c-school); }
.offices__kpi-item--unico { --kc: var(--c-unico); }
.offices__kpi-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--kc);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.offices__kpi-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: #5b6b84;
  white-space: nowrap;
}
.offices__kpi-label::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kc);
}
.offices__kpi-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: "Noto Sans JP", sans-serif;
}
.offices__kpi-value b {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #16325a;
  transition: color 0.5s ease;
}
.offices__kpi-value small {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #5b6b84;
}
/* 表示中の項目を強調 */
html:not([data-office-stage]) .offices__kpi-item--hq,
html[data-office-stage="hq"] .offices__kpi-item--hq,
html[data-office-stage="school"] .offices__kpi-item--school,
html[data-office-stage="unico"] .offices__kpi-item--unico {
  background: color-mix(in srgb, var(--kc) 7%, transparent);
}
html:not([data-office-stage]) .offices__kpi-item--hq::before,
html[data-office-stage="hq"] .offices__kpi-item--hq::before,
html[data-office-stage="school"] .offices__kpi-item--school::before,
html[data-office-stage="unico"] .offices__kpi-item--unico::before {
  transform: scaleX(1);
}
html:not([data-office-stage]) .offices__kpi-item--hq b,
html[data-office-stage="hq"] .offices__kpi-item--hq b,
html[data-office-stage="school"] .offices__kpi-item--school b,
html[data-office-stage="unico"] .offices__kpi-item--unico b {
  color: var(--kc);
}

/* --- 地図（固定） --- */
.offices__map {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: start;
  position: sticky;
  top: var(--om-top);
  height: calc(100vh - var(--om-top) - 24px);
  min-height: 420px;
  max-height: 760px;
  display: flex;
  align-items: center;
  margin: 0;
  max-width: none;
}
.offices__map .offices__map-svg {
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}
.om-cam {
  transform-box: view-box;
  transform-origin: 354px 388px;
  transition: transform 1.4s cubic-bezier(0.65, 0, 0.25, 1);
}
.om-land,
.om-dots,
.om-okinawa,
.om-school-fill,
.om-mesh,
.om-unico-fill,
.om-school-labels,
.om-marks,
.om-pins {
  transition: opacity 0.7s ease;
}
.om-land,
.om-school-fill,
.om-mesh,
.om-unico-fill,
.om-school-labels,
.om-marks {
  opacity: 0;
}
.om-marks {
  pointer-events: none;
}
.om-school-fill path {
  fill: var(--c-school, #f08a24);
  fill-opacity: 0.78;
}
.om-school-labels text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  fill: #16325a;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 0.7px;
}
/* school：教室のある都県（神奈川・東京・千葉・愛知）へ拡大 */
html[data-office-stage="school"] .om-cam {
  transform: translate(96px, -73px) scale(6.6);
}
html[data-office-stage="school"] .om-land,
html[data-office-stage="school"] .om-school-fill,
html[data-office-stage="school"] .om-mesh,
html[data-office-stage="school"] .om-school-labels {
  opacity: 1;
}
html[data-office-stage="school"] .om-marks--school {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.7s;
}
html[data-office-stage="school"] .om-dots,
html[data-office-stage="school"] .om-okinawa {
  opacity: 0;
}
/* unico：全国に戻し、unicoのある道府県を色分け */
html[data-office-stage="unico"] .om-unico-fill {
  opacity: 1;
}
html[data-office-stage="unico"] .om-marks--unico {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.5s;
}
/* 拠点ピンは「本社・支社」のときだけ表示 */
html[data-office-stage="school"] .om-pins,
html[data-office-stage="unico"] .om-pins {
  opacity: 0;
  pointer-events: none;
}
/* ピンの登場順（東京→関西→東海） */
.om-pins .offices__pin-group:nth-child(1) { animation-delay: 0.15s; }
.om-pins .offices__pin-group:nth-child(2) { animation-delay: 1.35s; }
.om-pins .offices__pin-group:nth-child(3) { animation-delay: 0.75s; }

/* --- カード（スクロール） --- */
.offices__cards {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  gap: 28px;
  min-width: 0;
}
.offices__cards .office-card {
  grid-template-columns: minmax(0, 1fr);
}
.offices__cards .offices__content--relative {
  order: -1;
  aspect-ratio: 2.2 / 1;
}
.offices__cards .offices__image {
  inset: 0;
  width: 100%;
  height: 100%;
}
.offices__cards .offices__stack--padded {
  padding: 28px 32px 32px;
}
.office-brand {
  position: relative;
  display: grid;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(14, 38, 74, 0.04), 0 30px 60px -34px rgba(14, 38, 74, 0.32);
}
.office-brand--school { --bc: var(--c-school); }
.office-brand--unico { --bc: var(--c-unico); }
.office-brand .offices__number {
  color: color-mix(in srgb, var(--bc) 70%, transparent);
}
.office-brand__block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 30, 50, 0.09);
}
.office-brand__block--pentas {
  --bc: #22a565;
}
.office-brand__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.office-brand__name {
  position: relative;
  margin: 0;
  padding-left: 14px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #16325a;
}
.office-brand__name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 4px;
  height: 1em;
  border-radius: 2px;
  background: var(--bc);
}
.office-brand__count {
  flex: none;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #5b6b84;
}
.office-brand__count b {
  margin-right: 3px;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--bc);
}
.office-brand__text {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #31465f;
  text-wrap: pretty;
}
.office-brand__areas {
  display: grid;
  margin: 0;
  border-radius: 14px;
  background: rgba(22, 50, 90, 0.035);
  padding: 6px 18px;
}
.office-brand__area {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
}
.office-brand__area + .office-brand__area {
  border-top: 1px dashed rgba(20, 30, 50, 0.1);
}
.office-brand__area dt {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: #16325a;
}
.office-brand__area dd {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #5b6b84;
}
.office-brand__area dd b {
  margin-right: 10px;
  font-weight: 700;
  color: #16325a;
}
.office-brand__area dd span {
  text-wrap: pretty;
}
.office-brand .offices__button svg {
  stroke: currentColor;
}

/* --- タブレット（901〜1100px）：カード列を少し広く --- */
@media screen and (min-width: 901px) and (max-width: 1100px) {
  .offices__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }
  .offices__kpi-item {
    padding: 14px 14px 12px;
  }
  .offices__kpi-label {
    font-size: 11px;
    white-space: normal;
  }
}

/* --- SP：KPI＋地図を上部に固定 --- */
@media screen and (max-width: 900px) {
  .offices__layout {
    --om-top: 64px;
    display: block;
    margin: 20px 0 0;
  }
  .offices__stick {
    display: block;
    position: sticky;
    top: var(--om-top);
    z-index: 4;
    margin: 0 -20px;
    padding: 10px 20px 8px;
    background: linear-gradient(180deg, rgba(243, 246, 251, 0.97) 0%, rgba(243, 246, 251, 0.94) 86%, rgba(243, 246, 251, 0) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .offices__kpi {
    position: static;
    margin: 0;
    box-shadow: 0 1px 2px rgba(14, 38, 74, 0.05), 0 14px 30px -22px rgba(14, 38, 74, 0.35);
    grid-template-columns: 0.8fr 1.35fr 0.85fr;
    border-radius: 14px;
  }
  .offices__kpi-item {
    gap: 4px;
    padding: 10px 10px 9px;
  }
  .offices__kpi-label {
    gap: 5px;
    font-size: 10px;
    letter-spacing: 0.02em;
  }
  .offices__kpi-label::before {
    width: 6px;
    height: 6px;
  }
  .offices__kpi-value b {
    font-size: 24px;
  }
  .offices__kpi-value small {
    font-size: 11px;
  }
  .offices__map {
    position: static;
    height: min(38vh, 62vw);
    min-height: 0;
    margin-top: 6px;
  }
  .offices__cards {
    gap: 20px;
    margin-top: 12px;
  }
  .offices__cards .offices__stack--padded {
    padding: 22px 20px 26px;
  }
  .office-brand {
    border-radius: 20px;
  }
  .office-brand__name {
    font-size: 16px;
  }
  .office-brand__areas {
    padding: 4px 14px;
  }
  .office-brand__area {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .om-cam,
  .om-land, .om-dots, .om-okinawa, .om-school-fill, .om-mesh, .om-unico-fill, .om-school-labels, .om-marks, .om-pins {
    transition: none;
  }
}
/* unicoの写真：上部のコピー（画像内の文字）を見せず、人物を中心に表示 */
.office-brand--unico .offices__image {
  object-position: center 80%;
}
/* 地図のマーカー：色を塗った地域の上でも見分けられるよう、白地＋影 */
.om-mark circle {
  filter: drop-shadow(0 0.4px 0.8px rgba(14, 38, 74, 0.35));
}

/* ==========================================================================
   事業拠点・運営教室：レイアウト変更（2026-10-29 第3案）
   PC：KPIを横並びで上部に固定、地図は画面いっぱいの背景として固定（カードはその上をスクロール）
   ========================================================================== */
@media screen and (min-width: 901px) {
  .offices {
    --ow: min(1004px, 100% - 96px);   /* カード・見出しの幅（従来どおり） */
    max-width: none;
    padding: 0 0 60px;
  }
  .offices > .offices__content--spaced {
    width: var(--ow);
    margin-left: auto;
    margin-right: auto;
  }
  .offices__layout {
    --om-top: 96px;
    display: flex;
    flex-direction: column;
    margin: 36px 0 0;
  }
  /* 固定の解除前にKPIが最後のカードに重ならないよう、末尾に余白 */
  .offices__layout::after {
    content: "";
    order: 3;
    flex: none;
    height: 120px;
  }
  .offices__stick {
    display: contents;
  }
  /* --- 地図：背景 --- */
  .offices__map {
    order: 0;
    position: sticky;
    top: 84px;
    z-index: 0;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: calc(100vh - 84px);
    min-height: 0;
    max-height: none;
    margin: 0 0 calc(84px - 100vh);   /* 高さ分を打ち消し、後ろのKPI・カードを地図の上に重ねる */
    padding: 0;
    pointer-events: none;
    opacity: 0.62;
  }
  .offices__map .offices__map-svg {
    width: 100%;
    height: 100%;
  }
  /* --- KPI：横並びで上部に固定 --- */
  .offices__kpi {
    order: 1;
    position: sticky;
    top: var(--om-top);
    z-index: 3;
    grid-column: auto;
    grid-row: auto;
    align-self: center;
    width: var(--ow);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    margin: 0 0 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 2px rgba(14, 38, 74, 0.05), 0 24px 48px -30px rgba(14, 38, 74, 0.35);
  }
  .offices__kpi-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 28px;
  }
  .offices__kpi-label {
    font-size: 13px;
  }
  .offices__kpi-value b {
    font-size: clamp(32px, 2.8vw, 42px);
  }
  /* --- カード：元の大きさ（写真は右・横並び） --- */
  .offices__cards {
    order: 2;
    position: relative;
    z-index: 2;
    grid-column: auto;
    grid-row: auto;
    align-self: center;
    width: var(--ow);
    gap: 30px;
  }
  .offices__cards .office-card {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
  .offices__cards .offices__content--relative {
    order: 0;
    aspect-ratio: auto;
  }
  .offices__cards .offices__image {
    inset: -14px;
    width: calc(100% + 28px);
    height: calc(100% + 28px);
  }
  .offices__cards .offices__stack--padded {
    padding: 32px 36px 32px 40px;
  }
  .office-brand .office-brand__photo {
    order: 2;
  }
  .office-brand .offices__image {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .office-brand--unico .offices__image {
    object-position: 100% 50%;
  }
}
@media screen and (min-width: 901px) and (max-width: 1100px) {
  .offices {
    --ow: calc(100% - 80px);
  }
  .offices__cards .office-card {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .offices__kpi-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 18px;
  }
}
/* SP：固定（KPI＋地図）の解除前に最後のカードに重ならないよう、末尾に固定部分の高さ分の余白 */
@media screen and (max-width: 900px) {
  .offices {
    padding-bottom: 20px;
  }
  .offices__layout::after {
    content: "";
    display: block;
    height: calc(min(38vh, 62vw) + 96px);
  }
  .office-brand--unico .offices__image {
    object-position: center 80%;
  }
}
@media screen and (min-width: 901px) {
  /* 背景の地図がセクションの外（お問い合わせ）にはみ出さないよう、セクション内で切り取る（スクロール領域は作らない clip） */
  .offices__layout {
    overflow: clip;
    overflow-clip-margin: 40px;
  }
  .offices__map {
    opacity: 0.8;
  }
  /* カードを透かし、背景の地図が見えるように（文字の読みやすさを保つ程度） */
  .offices__cards .office-card {
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(1.5px);
    backdrop-filter: blur(1.5px);
  }
}
@media screen and (min-width: 901px) {
  /* 背景の地図は画面いっぱいに大きく表示されるため、拡大は控えめに（都県名ラベルは本文と重なるため非表示） */
  html[data-office-stage="school"] .offices__map .om-cam {
    transform: translate(-225px, -73px) scale(4.6);   /* 2026-10-29：拡大率 3.4→4.6、左へ寄せる */
  }
  .offices__map .om-school-labels {
    display: none;
  }
  .offices__cards .office-card {
    background: rgba(255, 255, 255, 0.56);
  }
}

/* ==========================================================================
   事業拠点・運営教室：個別指導塾・学童クラブ／unico を「教室名＋住所」の一覧に変更（2026-10-29）
   ========================================================================== */
.offices__cards .office-brand {
  grid-template-columns: minmax(0, 1fr);
}
.office-brand .offices__stack--padded {
  gap: 26px;
}
.office-brand__block {
  gap: 18px;
}
.office-list__group {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0 24px;
  padding-top: 14px;
  border-top: 1px dashed rgba(20, 30, 50, 0.1);
}
.office-brand__head + .office-list__group {
  border-top: 0;
  padding-top: 0;
}
.office-list__area {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding-top: 2px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: #16325a;
}
.office-list__area span {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--bc) 80%, #16325a);
}
.office-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.office-list__item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.office-list__name {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: #16325a;
}
.office-list__addr {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #5b6b84;
  text-wrap: pretty;
}
@media screen and (max-width: 1100px) {
  .office-list__group {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0 18px;
  }
}
@media screen and (max-width: 900px) {
  .office-list__group {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .office-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .office-list__addr {
    font-size: 12.5px;
  }
}
/* 背景の地図を右へ10cm移動（PC）。はみ出た部分はセクション内で切り取る（.offices__layout の overflow: clip） */
@media screen and (min-width: 901px) {
  .offices__map .offices__map-svg {
    translate: 20cm 0;   /* 2026-10-29：10cm → 15cm → 20cm（右へ） */
    scale: 0.86;         /* 地図を少し小さく */
  }
  .offices__map {
    overflow: clip;   /* 移動ではみ出た部分を地図の枠（画面幅）で切り取り、横スクロールを出さない */
  }
}


/* ==========================================================================
   事業拠点・運営教室：地図を全段階とも「都道府県別に色分けした地図」に統一（2026-10-29）
   （本社・支社／unico も 個別指導塾・学童クラブ と同じ表現。ドットの地図は使わない）
   ========================================================================== */
.offices__map .om-land,
.offices__map .om-mesh {
  opacity: 1;
}
.offices__map .om-dots {
  opacity: 0;
}
.om-hq-fill,
.om-unico-fill {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.om-hq-fill path {
  fill: var(--c-hq, #2560d8);
  fill-opacity: 0.72;
}
.om-unico-fill path {
  fill: var(--c-unico, #d93f73);
  fill-opacity: 0.72;
}
html:not([data-office-stage]) .om-hq-fill,
html[data-office-stage="hq"] .om-hq-fill,
html[data-office-stage="unico"] .om-unico-fill {
  opacity: 1;
}
/* 全国表示でも陸地が見えるよう、陸地の色を少し濃く */
.offices__map .om-land {
  fill: #cfdbee;
}
/* 本社・支社：都道府県は色を塗らない（ピンのみ）（2026-10-29） */
.offices__map .om-hq-fill {
  display: none;
}

/* 本社・支社の拠点名（PC）：地図を右に寄せているため、線と拠点名は地図の左上（日本海側）に表示（2026-10-29）
   SPは従来どおり右側の拠点名を使用 */
.om-pin-labels-pc {
  display: none;
}
@media screen and (min-width: 901px) {
  .om-pin-labels-pc {
    display: inline;
  }
  .offices__map .offices__pin-group text,
  .offices__map .offices__pin-group path,
  .offices__map .offices__pin-group rect {
    display: none;
  }
}
/* 個別指導塾・学童クラブ（拡大時）：地図全体をさらに右へ8cm（2026-10-29） */
@media screen and (min-width: 901px) {
  .offices__map .offices__map-svg {
    transition: translate 1.4s cubic-bezier(0.65, 0, 0.25, 1);
  }
  html[data-office-stage="school"] .offices__map .offices__map-svg {
    translate: 28cm 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .offices__map .offices__map-svg { transition: none; }
}
/* 個別指導塾・学童クラブ／unico：地図上の教室マーカー（ピン）を表示しない（2026-10-29） */
.offices__map .om-marks {
  display: none;
}
/* 沖縄の枠：角丸の半透明パネル＋左上・右下のアクセント（2026-10-29） */
.om-okinawa-card {
  filter: drop-shadow(0 6px 14px rgba(14, 38, 74, 0.08));
}
/* 沖縄の枠：塗り・枠線・影なし、左上・右下の青いアクセントのみ（2026-10-29） */
.om-okinawa-card {
  display: none;
}
/* 沖縄の角アクセント：色なし（白）＋影で立体感（2026-10-29） */
.om-okinawa-corner {
  filter: drop-shadow(0.6px 0.9px 0.6px rgba(14, 38, 74, 0.22)) drop-shadow(0 2px 4px rgba(14, 38, 74, 0.12));
}

/* 事業拠点・運営教室：カードが画面に入り始めたら KPI・カードを左へスッと移動（2026-10-29）
   最初は上の「会社概要」の表と揃った位置。移動量は最大7cm（画面左端に24pxの余白を残す） */
@media screen and (min-width: 1101px) {
  .offices__kpi,
  .offices__cards {
    transition: translate 1.2s cubic-bezier(0.65, 0, 0.25, 1);
  }
  html.om-shift .offices__kpi,
  html.om-shift .offices__cards {
    translate: calc(-1 * max(0px, min(7cm, (100vw - min(1004px, 100vw - 96px)) / 2 - 32px))) 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .offices__kpi, .offices__cards { transition: none; }
}
/* 事業拠点・運営教室のカード：不透明（背景の地図を透かさない）（2026-10-29） */
.offices__cards .office-card,
.offices__cards .office-brand {
  background: #ffffff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* KPI：個別指導学院サクシード／ペンタスkids を2行表示（2026-10-29） */
.offices__kpi-label--2l {
  align-items: flex-start;
  white-space: nowrap;
  line-height: 1.45;
}
.offices__kpi-label--2l::before {
  margin-top: 0.5em;
}
/* KPI：数字以外（項目名・単位）の文字を大きく（2026-10-29） */
.offices__kpi-label {
  font-size: 15px;
}
.offices__kpi-value small {
  font-size: 15px;
}
@media screen and (min-width: 901px) and (max-width: 1100px) {
  .offices__kpi-label { font-size: 13px; }
  .offices__kpi-value small { font-size: 14px; }
}
@media screen and (max-width: 900px) {
  .offices__kpi-label { font-size: 11px; }
  .offices__kpi-value small { font-size: 12px; }
}
.offices__kpi-value {
  flex: none;
  white-space: nowrap;
}
@media screen and (min-width: 901px) {
  .offices__kpi {
    grid-template-columns: 0.85fr 1.4fr 0.85fr;
  }
}
@media screen and (max-width: 900px) {
  .offices__kpi-label--2l { letter-spacing: 0; }
}
/* KPI：3つの欄を同じ幅に（2026-10-29） */
.offices__kpi {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
@media screen and (max-width: 900px) {
  /* 同じ幅にすると「個別指導学院サクシード」が1行に収まらないため、SPは折り返す */
  .offices__kpi-label--2l {
    white-space: normal;
    word-break: keep-all;
  }
}
/* KPI：中央の欄だけ少し広く（2026-10-29） */
.offices__kpi {
  grid-template-columns: 1fr 1.12fr 1fr !important;
}
/* 見出し（OFFICES・事業拠点・運営教室）も KPI・カードと一緒に左へ移動 */
@media screen and (min-width: 1101px) {
  .offices > .offices__content--spaced {
    transition: translate 1.2s cubic-bezier(0.65, 0, 0.25, 1);
  }
  html.om-shift .offices > .offices__content--spaced {
    translate: calc(-1 * max(0px, min(7cm, (100vw - min(1004px, 100vw - 96px)) / 2 - 32px))) 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .offices > .offices__content--spaced { transition: none; }
}

/* ==========================================================================
   事業拠点・運営教室（SP：900px以下）：地図なし／カードはアコディオン（2026-10-29）
   見出し（番号＋拠点名）をタップで開閉。初期は閉じた状態
   ========================================================================== */
@media screen and (max-width: 900px) {
  .offices__map {
    display: none;
  }
  .offices__stick {
    padding-bottom: 10px;
  }
  .offices__layout::after {
    height: 40px;
  }
  .offices__cards {
    gap: 12px;
  }
  .offices__cards .office-card {
    border-radius: 16px;
  }
  .offices__cards .offices__stack--padded {
    gap: 0;
    padding: 0;
  }
  /* 見出し（開閉ボタン） */
  .offices__cards .offices__row--in-stack {
    position: relative;
    align-items: center;
    gap: 14px;
    padding: 18px 52px 18px 20px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }
  .offices__cards .offices__row--in-stack:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(37, 96, 216, 0.4);
    border-radius: 16px;
  }
  .offices__cards .offices__row--in-stack .offices__subheading {
    font-size: 19px;
  }
  .offices__cards .offices__row--in-stack::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -7px;
    border-right: 2px solid #2560d8;
    border-bottom: 2px solid #2560d8;
    transform: rotate(45deg);
    transition: transform 0.35s ease, margin-top 0.35s ease;
  }
  .offices__cards .office-card.is-open .offices__row--in-stack::after {
    transform: rotate(-135deg);
    margin-top: -2px;
  }
  /* 中身（閉じているときは非表示） */
  .offices__cards .office-card > .offices__content--relative,
  .offices__cards .offices__stack--padded > :not(.offices__row--in-stack) {
    display: none;
  }
  .offices__cards .office-card.is-open > .offices__content--relative,
  .offices__cards .office-card.is-open .offices__stack--padded > :not(.offices__row--in-stack) {
    display: revert;
  }
  .offices__cards .office-card.is-open .offices__stack--padded > .offices__grid,
  .offices__cards .office-card.is-open .offices__stack--padded > .office-brand__block {
    display: flex;
    margin: 0 20px;
    padding: 16px 0 20px;
    animation: omAccIn 0.35s ease both;
  }
  .offices__cards .office-card.is-open .offices__stack--padded > .offices__grid {
    display: grid;
  }
  .offices__cards .office-card.is-open > .offices__content--relative {
    display: block;
    animation: omAccIn 0.35s ease both;
  }
  /* 写真は開いたときだけ（見出しの下に表示） */
  .offices__cards .office-card {
    display: flex;
    flex-direction: column;
  }
  .offices__cards .office-card > .offices__content--relative {
    order: 2;
    aspect-ratio: 16 / 9;
    margin: 0 20px 20px;
    border-radius: 12px;
  }
  @keyframes omAccIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
  }
}
@media screen and (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .offices__cards .office-card.is-open * { animation: none !important; }
}
/* SP：地図がないため、KPIの「表示中」強調は行わない */
@media screen and (max-width: 900px) {
  html .offices__kpi .offices__kpi-item {
    background: transparent !important;
  }
  html .offices__kpi .offices__kpi-item::before {
    transform: scaleX(0) !important;
  }
  html .offices__kpi .offices__kpi-item b {
    color: #16325a !important;
  }
}
/* SP：KPIの数字＋単位を各欄の中央に（2026-10-29） */
@media screen and (max-width: 900px) {
  .offices__kpi-value {
    justify-content: center;
    align-self: stretch;
  }
}
/* SP：拠点の写真（正方形）を切らずに全体表示（2026-10-29） */
@media screen and (max-width: 900px) {
  .offices__cards .office-card > .offices__content--relative {
    aspect-ratio: 1 / 1;
  }
  .offices__cards .office-card > .offices__content--relative .offices__image {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* SP：教室一覧の階層表示（地域見出し ＞ 教室）（2026-10-29）
   地域名を見出しバーにし、その下の教室を左の縦線つきで一段下げて表示 */
@media screen and (max-width: 900px) {
  .office-list__group {
    gap: 10px;
    padding-top: 16px;
    border-top: 0;
  }
  .office-brand__head + .office-list__group {
    padding-top: 4px;
  }
  .office-list__area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--bc) 9%, #ffffff);
    font-size: 13.5px;
  }
  .office-list__area span {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-size: 12px;
  }
  .office-list__area span::after {
    content: "校";
    font-family: "Noto Sans JP", sans-serif;
    font-size: 10.5px;
    font-weight: 700;
  }
  .office-brand--unico .office-list__area span::after {
    content: "教室";
  }
  .office-list {
    position: relative;
    gap: 12px;
    margin-left: 12px;
    padding-left: 16px;
    border-left: 2px solid color-mix(in srgb, var(--bc) 28%, #ffffff);
  }
  .office-list__item {
    position: relative;
  }
  /* 縦線から各教室への短い枝 */
  .office-list__item::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 0.8em;
    width: 10px;
    height: 2px;
    background: color-mix(in srgb, var(--bc) 28%, #ffffff);
  }
}

/* 教室名：各校の公式ページへのテキストリンク＋外部リンクアイコン（2026-10-29） */
.offices .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
a.office-list__name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  color: #16325a;
  text-decoration: underline;
  text-decoration-color: rgba(22, 50, 90, 0.25);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}
a.office-list__name .office-list__ext {
  flex: none;
  color: color-mix(in srgb, var(--bc) 85%, #16325a);
  transition: transform 0.25s ease;
}
a.office-list__name:hover {
  color: color-mix(in srgb, var(--bc) 75%, #16325a);
  text-decoration-color: currentColor;
}
a.office-list__name:hover .office-list__ext {
  transform: translate(1px, -1px);
}
a.office-list__name:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--bc) 60%, transparent);
  outline-offset: 2px;
  border-radius: 3px;
}

/* KPI：個別指導学院サクシード／ペンタスkids を別々のブランドとして表示（2026-10-29） */
.offices__kpi-brands {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.offices__kpi-brand {
  display: block;
}
/* SP：色の点なし・中央揃え。2つのブランドの間に短い区切り線 */
@media screen and (max-width: 900px) {
  .offices__kpi-label::before {
    content: none !important;
    display: none !important;
  }
  .offices__kpi-item {
    align-items: center;
    text-align: center;
  }
  .offices__kpi-label,
  .offices__kpi-label--2l {
    justify-content: center;
    text-align: center;
  }
  .offices__kpi-brands {
    align-items: center;
    gap: 0;
  }
  .offices__kpi-brand + .offices__kpi-brand {
    position: relative;
    margin-top: 5px;
    padding-top: 5px;
  }
  .offices__kpi-brand + .offices__kpi-brand::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 18px;
    height: 1px;
    margin-left: -9px;
    background: rgba(91, 107, 132, 0.45);
  }
}
/* SP：項目名を上下中央に／2ブランド間の線を削除（2026-10-29） */
@media screen and (max-width: 900px) {
  .offices__kpi-label,
  .offices__kpi-label--2l {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
  }
  .offices__kpi-brand + .offices__kpi-brand {
    margin-top: 4px;
    padding-top: 0;
  }
  .offices__kpi-brand + .offices__kpi-brand::before {
    content: none;
  }
}
/* SP：KPIの項目名を大きく（11px → 13px）（2026-10-29） */
@media screen and (max-width: 900px) {
  .offices__kpi-label,
  .offices__kpi-label--2l {
    font-size: 13px;
    line-height: 1.4;
  }
}
/* SP：「Google Mapsで開く」ボタンを中央に（2026-10-29） */
@media screen and (max-width: 900px) {
  .offices__cards .offices__button {
    align-self: center;
  }
}
/* 「Google Mapsで開く」ボタン：先頭に地図のピンアイコン（2026-10-29） */
.offices__button-pin {
  flex: none;
  color: #ea4335;
  margin-right: -2px;
}
.offices__button-pin {
  width: 18px;   /* 15px → 18px（2026-10-29） */
  height: 18px;
  margin: -2px -2px -2px -3px;   /* ボタンの高さは変えない */
}
/* SP：カード見出しの番号（01〜05）を大きく（13px → 17px）（2026-10-29） */
@media screen and (max-width: 900px) {
  .offices__cards .offices__row--in-stack .offices__number {
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: 0.08em;
  }
}

/* 会社概要の表：項目名・内容を各行の上下中央に（2026-10-29）
   ※480px以下は項目名と内容の縦積みのため対象外 */
@media screen and (min-width: 481px) {
  .company-table__grid {
    align-items: center;
  }
}

/* 会社概要の表：項目名の列を淡い色の「見出しセル」にし、本文との間に縦線（2026-10-29）
   --lw＝左の余白＋項目名の列幅＋列間の半分（ここに縦線） */
.company-table__grid {
  --lw: calc(44px + 260px + 20px);
  background: linear-gradient(90deg, rgba(37, 96, 216, 0.05) 0, rgba(37, 96, 216, 0.05) var(--lw), rgba(37, 96, 216, 0.16) var(--lw), rgba(37, 96, 216, 0.16) calc(var(--lw) + 1px), transparent calc(var(--lw) + 1px));
}
@media screen and (max-width: 1100px) {
  .company-table__grid { --lw: calc(36px + 200px + 14px); }
}
@media screen and (max-width: 900px) {
  .company-table__grid { --lw: calc(24px + 150px + 10px); }
}
/* 480px以下（項目名と内容を縦積み）：項目名を帯状の見出しにする */
@media screen and (max-width: 480px) {
  .company-table__grid {
    background: none;
    padding: 0 0 16px;
    gap: 0;
  }
  .company-table__grid > .company-table__content--navy {
    margin-bottom: 10px;
    padding: 9px 20px;
    background: rgba(37, 96, 216, 0.05);
    border-bottom: 1px solid rgba(37, 96, 216, 0.12);
  }
  .company-table__grid > :not(.company-table__content--navy) {
    padding: 0 20px;
  }
}
/* 会社概要の表：項目名を見出しセル（色の付いた部分）の左右中央に（2026-10-29） */
@media screen and (min-width: 481px) {
  .company-table__grid > .company-table__content--navy {
    margin: 0 -20px 0 -44px;
    padding: 0 8px;
    text-align: center;
  }
}
@media screen and (min-width: 481px) and (max-width: 1100px) {
  .company-table__grid > .company-table__content--navy { margin: 0 -14px 0 -36px; }
}
@media screen and (min-width: 481px) and (max-width: 900px) {
  .company-table__grid > .company-table__content--navy { margin: 0 -10px 0 -24px; padding: 0 4px; }
}
/* PC：KPI「本社・支社」「unico」の項目名を大きく（15px → 17px）（2026-10-29） */
@media screen and (min-width: 901px) {
  .offices__kpi-label:not(.offices__kpi-label--2l) {
    font-size: 17px;
  }
}
/* 個別指導学院サクシード・ペンタスkids（拡大時）：色を塗った都県（千葉など）が画面の右端で切れないよう、
   画面幅に応じて地図を左へ寄せる（広い画面では従来どおり）（2026-11-04） */
@media screen and (min-width: 901px) {
  html[data-office-stage="school"] .offices__map .offices__map-svg {
    translate: calc(28cm - max(0px, 1086px - 53vw)) 0;
  }
}
