/* 自動生成ファイル：scss/pages/philosophy.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 {
  .jp-reveal {
    display: inline-flex;
    overflow: hidden;
    padding-bottom: 0.08em;
  }
  .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 (max-width: 900px) {
    .photo-grid {
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 34px !important;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
    .ghost-en {
      opacity: 1 !important;
      transform: none !important;
      transition: none;
    }
    * {
      animation: 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;
}

.philosophy__decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #f7f9fc 0%, #f4f7fb 40%, #eef3f9 72%, #e9eff7 100%);
}
.philosophy__layer {
  position: absolute;
  inset: 0;
}
.philosophy__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;
}
.philosophy__layer--in-decor {
  background: radial-gradient(150% 120% at 50% 50%, transparent 74%, rgba(10, 26, 52, 0.04) 100%);
}
.philosophy__card {
  position: absolute;
  border-radius: 50%;
}
.philosophy__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);
}
.philosophy__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);
}
.philosophy__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);
}
.philosophy__main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  height: 200px;
  box-sizing: border-box;
  overflow: hidden;
}

.philosophy-statement {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 60px 0;
  box-sizing: border-box;
}
.philosophy-statement__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.philosophy-statement__label {
  display: block;
  width: 64px;
  height: 1px;
}
.philosophy-statement__label--gradient {
  background: linear-gradient(90deg, rgba(29, 85, 176, 0), #1d55b0);
}
.philosophy-statement__label--in-row {
  background: linear-gradient(90deg, #1d55b0, rgba(29, 85, 176, 0));
}
.philosophy-statement__title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: normal;
  letter-spacing: 0.24em;
  color: #1d55b0;
}
.philosophy-statement__heading {
  margin: 46px 0 0;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.62;
  letter-spacing: 0.04em;
  color: #16325a;
  text-wrap: pretty;
}
.philosophy-statement__lead {
  margin: 56px auto 0;
  max-width: 900px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 2;
  letter-spacing: 0.035em;
  color: #16325a;
  text-wrap: pretty;
}

.edu-service {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 60px 0;
  box-sizing: border-box;
}
.edu-service__photo-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0 64px;
  align-items: start;
  padding-top: 38px;
  border-top: 1px solid rgba(40, 80, 150, 0.18);
}
.edu-service__stack {
  display: flex;
  flex-direction: column;
}
.edu-service__stack--tight {
  gap: 12px;
}
.edu-service__stack--loose {
  gap: 34px;
}
.edu-service__number {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  color: rgba(22, 50, 90, 0.28);
}
.edu-service__subheading {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: #16325a;
}
.edu-service__text {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 19px;
  line-height: 2.15;
  letter-spacing: 0.03em;
  color: #41556c;
  text-wrap: pretty;
}

.hr-service {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 60px 120px;
  box-sizing: border-box;
}
.hr-service__photo-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0 64px;
  align-items: start;
  padding-top: 38px;
  border-top: 1px solid rgba(40, 80, 150, 0.18);
}
.hr-service__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hr-service__number {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  color: rgba(22, 50, 90, 0.28);
}
.hr-service__subheading {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: #16325a;
}
.hr-service__text {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 19px;
  line-height: 2.15;
  letter-spacing: 0.03em;
  color: #41556c;
  text-wrap: pretty;
}

/* ==========================================================================
   Responsive (Tablet / SP) — PC表示（1101px以上）には影響しません
   ========================================================================== */
@media screen and (max-width: 1100px) {
  .philosophy-statement {
    padding: 40px 40px 0;
  }
  .edu-service {
    padding: 60px 40px 0;
  }
  .hr-service {
    padding: 60px 40px 110px;
  }
  .edu-service__photo-grid,
  .hr-service__photo-grid {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 0 44px;
  }
  .edu-service__text,
  .hr-service__text {
    font-size: 17px;
  }
}
@media screen and (max-width: 900px) {
  .hero {
    height: 130px;
  }
  .philosophy-statement {
    padding: 24px 20px 0;
  }
  .philosophy-statement__label {
    width: 40px;
  }
  .philosophy-statement__title {
    font-size: 16px;
  }
  /* 2行の理念見出しが1行ずつ収まるサイズ */
  .philosophy-statement__heading {
    margin-top: 28px;
    font-size: clamp(21px, 6vw, 34px);
    line-height: 1.6;
    letter-spacing: 0.03em;
  }
  /* 本文：強制改行を解除し左揃え */
  .philosophy-statement__lead {
    margin-top: 32px;
    font-size: 16px;
    line-height: 2;
    text-align: left;
  }
  .philosophy-statement__lead br {
    display: none;
  }
  .edu-service {
    padding: 48px 20px 0;
  }
  .hr-service {
    padding: 48px 20px 80px;
  }
  .edu-service__photo-grid,
  .hr-service__photo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 28px;
  }
  .edu-service__stack--tight,
  .hr-service__stack {
    gap: 8px;
  }
  .edu-service__stack--loose {
    gap: 22px;
  }
  .edu-service__number,
  .hr-service__number {
    font-size: 28px;
  }
  .edu-service__subheading,
  .hr-service__subheading {
    font-size: 22px;
  }
  .edu-service__text,
  .hr-service__text {
    font-size: 15px;
    line-height: 2;
  }
}

/* SP（900px以下）：番号（01・02）の横に見出しを並べる */
@media screen and (max-width: 900px) {
  .edu-service__stack--tight,
  .hr-service__stack:has(> .hr-service__number) {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }
  .edu-service__number,
  .hr-service__number {
    font-size: 28px;
  }
}

/* 経営理念：段落と段落の間を「1行分」空ける（教育サービス・人材サービス共通） */
.edu-service__stack--loose {
  gap: 0;
}
.edu-service__text + .edu-service__text,
.hr-service__text + .hr-service__text {
  margin-top: 2.15em; /* 1lh 非対応ブラウザ用 */
  margin-top: 1lh;
}
@media screen and (max-width: 900px) {
  .edu-service__text + .edu-service__text,
  .hr-service__text + .hr-service__text {
    margin-top: 2em;
    margin-top: 1lh;
  }
}

/* PC：番号（01・02）の横に見出しを並べる（SPと同じ配置）（2026-10-29） */
@media screen and (min-width: 901px) {
  .edu-service__stack--tight,
  .hr-service__stack:has(> .hr-service__number) {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
  }
  .edu-service__subheading,
  .hr-service__subheading {
    white-space: nowrap;
  }
}
