/* 画像を切らず、書体・操作・アイコンを整えたディテール。 */
.ui-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  pointer-events: none;
}
.action-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.action-mark .ui-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.text-link:hover .action-mark {
  transform: none;
}
.text-link:hover .ui-icon,
.button:hover .ui-icon {
  transform: translateX(2px);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}
.button,
.text-link,
.header-cta {
  -webkit-tap-highlight-color: transparent;
}
.button {
  border-radius: 1px;
}
.text-link {
  min-height: 44px;
}
.button:active {
  transform: translateY(0);
}
.hero-facts .micro {
  display: flex;
  gap: 7px;
  align-items: center;
}
.hero-facts .micro .ui-icon {
  width: 12px;
  height: 12px;
  opacity: 0.8;
}
.hero-facts strong {
  font-variant-numeric: tabular-nums;
}
/* 2枚を巨大な横長バナーにしない。人物と名前、略歴に階層を付ける。 */
.faculty-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.faculty-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px 20px;
  align-items: center;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.faculty-portrait {
  width: 120px;
  height: 158px;
  aspect-ratio: auto;
  position: relative;
  align-self: center;
  overflow: visible;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(155deg, #233947, #122634);
  padding: 20px 0 0;
  border-bottom: 1px solid #d7bc8360;
}
.faculty-portrait img {
  width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center bottom;
  filter: none;
  transform: none !important;
  transition: none;
  display: block;
}
.faculty-card:hover .faculty-portrait img {
  filter: none;
  transform: none !important;
}
.faculty-copy {
  padding: 0;
  min-width: 0;
  align-self: center;
}
.faculty-copy .faculty-role {
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin: 0 0 13px;
  line-height: 1.7;
}
.faculty-copy h3 {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.55;
  letter-spacing: 0.1em;
  margin: 0;
  white-space: nowrap;
  font-weight: 400;
}
.affiliation {
  font-size: 14px;
  line-height: 1.85;
  margin-top: 12px;
  color: #aebfcb;
  text-wrap: pretty;
}
.faculty-bio {
  grid-column: 1/-1;
  font-size: 14px;
  line-height: 2.15;
  letter-spacing: 0.01em;
  margin: 0;
  padding: 0;
  color: #bccbd4;
  text-wrap: pretty;
}
.faculty .section-intro {
  margin-bottom: 35px;
}
.contact-icon {
  color: var(--gold);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
}
.contact-icon .ui-icon {
  width: 33px;
  height: 33px;
  stroke-width: 1.25;
}
.contact-option {
  position: relative;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 28px 23px;
  background: #0b1e2a70;
  transition: border-color 0.25s;
}
.contact-option:hover {
  border-color: #d7bc8380;
}
.contact-options {
  gap: 20px;
}
.contact-primary {
  background: #c8ae6f0a;
  border-color: #d7bc8370;
}
.contact-option h3 {
  font-size: 25px;
  letter-spacing: 0.07em;
  font-weight: 400;
}
.contact-option .button {
  min-height: 50px;
  font-size: 14px;
  padding-inline: 18px;
}
.form-integration-slot {
  border: 0;
  border-top: 1px solid #ffffff0c;
  background: transparent;
  padding: 15px 0 0;
  margin-top: 24px;
}
.form-slot-note {
  font-size: 14px;
  color: #8ea5b3;
  line-height: 1.9;
}
.estimate-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.estimate-label .ui-icon {
  width: 18px;
  height: 18px;
}
.staff-field legend .ui-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  color: #a9bcc6;
}
.stepper {
  height: 46px;
  border: 1px solid var(--line);
}
.stepper button {
  width: 44px;
  min-width: 44px;
  height: 44px;
}
.stepper select {
  min-width: 54px;
  height: 44px;
  font-size: 14px;
  cursor: pointer;
}
.radio-option {
  min-height: 70px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.radio-option:hover {
  border-color: #d7bc834d;
}
.radio-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}
.price-amount,
.estimate-total strong {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.benefit-icon {
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #d7bc83;
}
.benefit-card {
  position: relative;
}
.course-arrow .ui-icon {
  width: 16px;
  height: 16px;
}
.course-select {
  transition:
    background 0.2s,
    border-color 0.2s;
}
.course-select[aria-pressed="true"] {
  box-shadow: inset 2px 0 0 var(--gold);
}
.faq-list summary {
  min-height: 58px;
  gap: 20px;
  line-height: 1.85;
}
.faq-list summary .action-mark {
  width: 20px;
  height: 20px;
  min-width: 20px;
}
.faq-list details[open] summary span {
  transform: none;
}
.faq-list details[open] summary .action-mark {
  transform: rotate(45deg);
}
.faq-answer {
  line-height: 2.15;
}
.footer-bottom > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.footer-bottom > a .ui-icon {
  width: 14px;
  height: 14px;
}
.copy-button {
  min-height: 44px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.copy-button .ui-icon {
  width: 16px;
  height: 16px;
}
/* ハンバーガーは言葉で機能を明示。Menu / Closeを同じ幅で表示。 */
.menu-toggle {
  width: 68px;
  height: 46px;
  padding: 0;
  border: 1px solid #d7bc833d;
  background: #07152290;
  color: #eadbb7;
  border-radius: 1px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.menu-toggle .menu-bars {
  display: flex;
  width: 17px;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}
.menu-bars i {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s;
}
.menu-toggle .menu-label {
  display: block;
  margin: 0;
  height: auto;
  width: auto;
  background: none;
  font: 14px/1 var(--sans);
  letter-spacing: 0.04em;
  color: inherit;
}
.menu-toggle[aria-expanded="true"] .menu-bars i:first-child {
  transform: translateY(3px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-bars i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}
.mobile-menu {
  padding: 16px 24px 22px;
  max-height: calc(100dvh - var(--header) - 18px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #091d2b;
  border-top: 1px solid #ffffff09;
  border-bottom: 1px solid #d7bc8340;
  box-shadow: 0 20px 50px #0006;
}
.mobile-menu a {
  display: flex;
  gap: 13px;
  align-items: center;
  min-height: 51px;
  font-size: 14px;
  padding: 11px 2px;
  border-bottom: 1px solid #ffffff0b;
  color: #d6e0e4;
}
.mobile-menu a > .ui-icon:first-child {
  width: 17px;
  height: 17px;
  color: #cbb888;
}
.mobile-menu a > .ui-icon:last-child {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: #90a7b4;
}
.mobile-menu a[data-form="application"] {
  color: var(--gold-light);
}
.menu-open .mobile-cta {
  opacity: 0;
  pointer-events: none;
}
html.menu-open {
  overflow: hidden;
}
.mobile-cta {
  padding: 0 14px env(safe-area-inset-bottom, 0px);
  background: #091925f5;
  border-top: 1px solid #d7bc8330;
  backdrop-filter: blur(14px);
  transition: opacity 0.2s;
}
.mobile-cta > a {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 6px;
  font-size: 14px;
  letter-spacing: 0.015em;
  border-radius: 0;
}
.mobile-cta > a > .ui-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.mobile-cta > a > .action-mark {
  display: none;
}
.mobile-cta > a:last-child {
  background: linear-gradient(110deg, #dbc58e, #bda169);
  border: 0;
  margin: 0;
}
.mobile-cta > a:not(:last-child) {
  background: transparent;
  border: 0;
}
@media (min-width: 641px) {
  .faculty-card {
    grid-template-columns: 190px minmax(0, 1fr);
    column-gap: 32px;
    row-gap: 24px;
    padding-top: 30px;
  }
  .faculty-portrait {
    width: 190px;
    height: 235px;
    padding-top: 26px;
  }
  .faculty-copy h3 {
    font-size: 32px;
  }
  .faculty-copy .faculty-role {
    font-size: 14px;
    margin-bottom: 19px;
  }
  .affiliation {
    font-size: 14px;
    margin-top: 17px;
    max-width: 300px;
    line-height: 1.9;
  }
  .faculty-bio {
    font-size: 14px;
    line-height: 2.2;
  }
  .faculty-grid {
    gap: 48px;
  }
  .contact-option {
    padding: 32px;
  }
}
@media (min-width: 1100px) {
  .faculty-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }
  .faculty-card {
    grid-template-columns: 170px minmax(0, 1fr);
    column-gap: 27px;
    row-gap: 27px;
  }
  .faculty-portrait {
    width: 170px;
    height: 225px;
    padding-top: 30px;
  }
  .faculty-copy h3 {
    font-size: 30px;
    letter-spacing: 0.07em;
  }
  .affiliation {
    font-size: 14px;
  }
  .faculty-bio {
    font-size: 14px;
  }
}
@media (min-width: 1500px) {
  .faculty-card {
    grid-template-columns: 195px minmax(0, 1fr);
    gap: 32px;
  }
  .faculty-portrait {
    width: 195px;
    height: 248px;
  }
  .faculty-copy h3 {
    font-size: 33px;
  }
}
@media (max-width: 960px) {
  .menu-toggle {
    display: flex;
  }
  .desktop-nav,
  .header-cta {
    display: none;
  }
  .site-header {
    gap: 14px;
    justify-content: space-between;
  }
  .site-header .brand {
    max-width: calc(100% - 85px);
  }
}
@media (max-width: 640px) {
  .section {
    padding-block: 68px;
  }
  .faculty-grid {
    gap: 40px;
  }
  .faculty .section-intro {
    margin-bottom: 30px;
  }
  .contact-options {
    gap: 26px;
  }
  .contact-option {
    padding: 25px 22px;
  }
  .staff-control {
    gap: 16px;
    flex-wrap: wrap;
  }
  .staff-control small {
    font-size: 14px;
  }
  .staff-control p {
    font-size: 14px;
  }
  .staff-control {
    align-items: center;
  }
  .stepper select {
    min-width: 54px;
  }
  .flyer-tabs > span {
    font-size: 14px;
  }
  .flyer-caption {
    font-size: 14px;
  }
  .faq-list summary {
    font-size: 14px;
  }
  .faq-answer {
    font-size: 14px;
  }
  .site-footer {
    padding-bottom: 99px;
  }
  .estimate-fineprint {
    font-size: 14px;
    line-height: 1.9;
  }
  .hero-contact-links {
    gap: 14px;
  }
}
@media (max-width: 380px) {
  .faculty-card {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
  }
  .faculty-portrait {
    width: 110px;
    height: 150px;
  }
  .faculty-copy h3 {
    font-size: 23px;
    letter-spacing: 0.045em;
  }
  .faculty-copy .faculty-role {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .affiliation {
    font-size: 14px;
    margin-top: 10px;
  }
  .faculty-bio {
    font-size: 14px;
  }
  .mobile-cta > a {
    gap: 6px;
    font-size: 14px;
  }
  .mobile-cta > a > .ui-icon {
    width: 16px;
    height: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ui-icon,
  .menu-bars i,
  .mobile-cta,
  .radio-option,
  .contact-option {
    transition: none;
  }
}

/* 共通写真枠は全画像を保ったまま、過剰な頭上余白だけを整理。 */
.faculty-portrait {
  height: 142px;
  padding-top: 18px;
}
.menu-toggle .menu-bars {
  height: 13px;
  background: none;
  flex-shrink: 0;
  justify-content: center;
}
.menu-toggle .menu-bars i {
  height: 1px;
  flex: 0 0 1px;
}
.desktop-nav a[aria-current="location"] {
  color: var(--gold-light);
}
.desktop-nav a[aria-current="location"]::after {
  transform: scaleX(1);
}
@media (min-width: 641px) {
  .faculty-portrait {
    width: 190px;
    height: 214px;
    padding-top: 20px;
  }
}
@media (min-width: 1100px) {
  .faculty-card {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .faculty-portrait {
    width: 190px;
    height: 214px;
    padding-top: 20px;
  }
}
@media (min-width: 1500px) {
  .faculty-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .faculty-portrait {
    width: 210px;
    height: 238px;
    padding-top: 24px;
  }
}
@media (max-width: 380px) {
  .faculty-portrait {
    width: 110px;
    height: 134px;
    padding-top: 18px;
  }
}
