/* 自然な実写と余白を主役にしたモバイルファーストの仕上げ。 */
:root {
  --gold: #c7b58f;
  --gold-light: #e6d8b8;
  --line: rgba(199, 181, 143, 0.2);
}
.micro {
  letter-spacing: 0.11em;
  text-transform: none;
  font-size: 14px;
  color: #c2b18d;
}
.hero {
  min-height: 0;
  background: #091720;
  overflow: visible;
}
.hero-content {
  padding-top: 105px;
  padding-bottom: 35px;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.hero-topline {
  gap: 15px;
  margin-bottom: 25px;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}
.hero-topline .micro {
  font-size: 14px;
  color: #94a6ae;
  letter-spacing: 0.03em;
}
.edition {
  border: 0;
  border-left: 2px solid var(--gold);
  padding: 0 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.08em;
}
h1 {
  font-size: clamp(28px, 8.2vw, 46px);
  line-height: 1.65;
  letter-spacing: 0;
}
h1 em {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--gold-light);
}
.hero-line:first-child em {
  font-size: 1.05em;
  letter-spacing: 0.01em;
}
.hero-subcatch {
  font-size: 14px;
  line-height: 1.9;
  white-space: normal;
  letter-spacing: 0.015em;
  margin-top: 16px;
}
.hero-photograph {
  margin: 24px 0 0;
  min-width: 0;
  position: relative;
}
.hero-photograph > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200/666;
  object-fit: cover;
  border-radius: 1px;
  filter: none;
}
.hero-photograph figcaption {
  display: flex;
  justify-content: space-around;
  gap: 16px;
  padding: 12px 12px 0;
  color: #dae1df;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.12em;
}
.hero-photograph figcaption span {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hero-photograph figcaption small {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #9eafb6;
}
.hero-actions {
  margin-top: 28px;
  gap: 12px;
  align-items: start;
}
.hero-actions .button {
  padding: 13px 19px;
  min-height: 49px;
}
.hero-contact-links {
  margin-top: 4px;
  gap: 16px;
  font-size: 14px;
}
.hero-contact-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.hero-bottom {
  padding-top: 28px;
  margin-top: 5px;
  border-top: 1px solid var(--line);
  margin-top: 27px;
}
.hero-facts {
  padding-bottom: 0;
  width: 100%;
  gap: 14px;
  justify-content: space-between;
}
.hero-facts > div {
  padding-right: 14px;
}
.hero-facts .micro {
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.hero-facts strong {
  font-size: 18px;
  white-space: nowrap;
}
.hero-facts strong span {
  font-size: 14px;
}
.concept-closure {
  height: 1px;
  background: var(--line);
  width: 52px;
  margin-top: 40px;
}
.button-gold {
  background: #cfbc91;
  color: #081721;
  box-shadow: none;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: none;
}
.button-outline {
  border-color: #c7b58f66;
  background: transparent;
}
.benefits {
  background: #11232e;
  border-block: 1px solid #ffffff06;
}
.faculty {
  background: #0c1e28;
}
.estimate {
  background: #122631;
}
.course-detail {
  background: #142b37;
  border-color: #c7b58f45;
}
.price-featured {
  background: #b39a6010;
}
.estimate-result {
  background: #0b1e29;
  border-color: #c7b58f55;
}
.application {
  background: #10232e;
}
.application::before,
.application::after {
  display: none;
}
.form-slot {
  background: transparent;
  box-shadow: none;
}
.contact-primary {
  background: #c7b58f08;
}
.contact-option .micro,
.benefit-card .micro {
  font-size: 14px;
  letter-spacing: 0.04em;
}
.detail-number {
  opacity: 0.18;
  font-size: 115px;
}
.detail-month {
  color: #9eb0b9;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.section-index {
  gap: 24px;
}
.section-index .micro {
  font-size: 14px;
  letter-spacing: 0.08em;
}
.site-footer {
  padding-top: 33px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer-main .brand {
  width: 112px;
  flex: 0 0 112px;
  min-height: 44px;
  display: flex;
  align-items: center;
  opacity: 0.87;
}
.footer-main > div {
  margin: 0 !important;
}
.footer-main > div p {
  margin: 0;
  font-size: 14px;
  color: #93a6af;
}
.footer-main .text-link {
  margin: 0;
  font-size: 14px;
}
.footer-bottom {
  margin-top: 25px;
  padding-top: 20px;
  gap: 16px;
  font-size: 14px;
}
.footer-bottom > a {
  font-size: 14px;
  letter-spacing: 0.02em;
}
.motion-toggle {
  font-size: 14px;
  letter-spacing: 0.02em;
}
.flyer {
  border-top: 1px solid var(--line);
}
.flyer-layout {
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.flyer-preview {
  background: #10232e;
  padding: 18px;
  min-width: 0;
  flex: 1;
}
.flyer-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.flyer-tabs button {
  border: 0;
  background: transparent;
  color: #9caeb7;
  padding: 8px 14px;
  min-width: 62px;
  min-height: 44px;
  font-size: 14px;
  position: relative;
}
.flyer-tabs button[aria-pressed="true"] {
  color: var(--gold-light);
}
.flyer-tabs button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold);
}
.flyer-tabs > span {
  margin-left: auto;
  font-size: 14px;
  color: #93a6af;
  letter-spacing: 0.025em;
}
.flyer-cover {
  display: block;
  max-width: 355px;
  margin: 0 auto;
  box-shadow: 0 10px 26px #0003;
  cursor: zoom-in;
}
.flyer-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}
.flyer-caption {
  font-size: 14px;
  color: #8fa5b0;
  margin-top: 15px;
  text-align: center;
}
.flyer-copy {
  padding: 0 0 8px;
}
.flyer-copy h3 {
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.6;
  margin-top: 18px;
}
.flyer-copy > p:not(.micro) {
  font-size: 14px;
  line-height: 2;
  color: #afbec6;
  margin-top: 23px;
}
.flyer-copy .button {
  width: 100%;
  margin-top: 17px;
  gap: 20px;
  font-size: 14px;
}
.flyer-copy .text-link {
  margin-top: 18px;
  min-height: 44px;
  font-size: 14px;
}
.flyer-dialog {
  width: calc(100% - 20px);
  max-width: 1000px;
  height: calc(100dvh - 30px);
  max-height: calc(100dvh - 30px);
  padding: 0;
  border: 1px solid #c7b58f55;
  background: #0a1922;
  color: var(--white);
  box-shadow: 0 20px 80px #0009;
}
.flyer-dialog::backdrop {
  background: rgba(3, 9, 14, 0.88);
}
.flyer-dialog[open] {
  display: flex;
  flex-direction: column;
}
.flyer-dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.flyer-dialog-toolbar h2 {
  font: 14px/1.8 var(--sans);
  letter-spacing: 0.03em;
}
.flyer-dialog-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.flyer-dialog-actions button {
  width: 44px;
  height: 44px;
  border: 1px solid #9caeb722;
  background: transparent;
  color: var(--white);
  font-size: 18px;
}
.flyer-dialog-actions button:disabled {
  opacity: 0.3;
}
.flyer-dialog-actions span {
  font-size: 14px;
  min-width: 33px;
  text-align: center;
  color: #a6b8c1;
}
.flyer-dialog-scroll {
  overflow: auto;
  flex: 1;
  min-height: 0;
  overscroll-behavior: contain;
  padding: 10px;
}
.flyer-dialog-scroll img {
  max-width: none;
  height: auto;
  display: block;
  margin: 0 auto;
}
.flyer-dialog-hint {
  font-size: 14px;
  color: #95a8b2;
  padding: 8px 13px;
  flex-shrink: 0;
  line-height: 1.7;
}
.viewer-open {
  overflow: hidden;
}
@media (min-width: 641px) {
  .hero-content {
    padding-top: 126px;
    padding-bottom: 46px;
    position: relative;
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
  }
  .hero-topline,
  h1,
  .hero-subcatch,
  .hero-actions,
  .hero-contact-links {
    grid-column: 1/2;
  }
  h1 {
    font-size: clamp(34px, 4.3vw, 62px);
    line-height: 1.65;
  }
  .hero-subcatch {
    font-size: clamp(14px, 1.4vw, 20px);
  }
  .hero-photograph {
    grid-column: 2/3;
    grid-row: 2/7;
    align-self: center;
    margin: 0;
  }
  .hero-photograph > img {
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: 56% center;
  }
  .hero-photograph figcaption {
    font-size: 18px;
    padding-top: 17px;
    flex-direction: row;
  }
  .hero-photograph figcaption span {
    display: block;
  }
  .hero-photograph figcaption small {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
  }
  .hero-bottom {
    grid-column: 1/-1;
    margin-top: 40px;
    padding-top: 25px;
  }
  .hero-facts {
    justify-content: start;
    gap: 38px;
    width: auto;
  }
  .hero-facts > div {
    padding-right: 38px;
  }
  .hero-facts strong {
    font-size: 23px;
  }
  .hero-facts strong span {
    font-size: 14px;
  }
  .hero-facts .micro {
    font-size: 14px;
  }
  .hero-actions {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 18px;
  }
  .hero-topline {
    margin-bottom: 24px;
  }
  .hero-contact-links {
    margin-top: 16px;
  }
  .hero-photograph {
    max-width: 650px;
  }
  .flyer-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 50px;
    align-items: center;
  }
  .flyer-preview {
    padding: 24px;
  }
  .flyer-copy .button {
    max-width: 350px;
  }
  .footer-main .brand {
    width: 128px;
    flex-basis: 128px;
  }
  .footer-main .text-link {
    margin-left: auto;
  }
  .flyer-dialog-toolbar h2 {
    font-size: 14px;
  }
  .flyer-dialog {
    width: calc(100% - 60px);
    height: calc(100dvh - 60px);
  }
}
@media (min-width: 1100px) {
  .hero-content {
    padding-top: 156px;
    padding-bottom: 52px;
    column-gap: 66px;
  }
  .hero-topline {
    margin-bottom: 40px;
  }
  .hero-photograph > img {
    aspect-ratio: 1.15;
    object-position: 56% center;
  }
  .hero-actions {
    margin-top: 35px;
  }
  .hero-bottom {
    margin-top: 55px;
  }
  .hero-photograph figcaption {
    font-size: 23px;
  }
}
@media (max-width: 380px) {
  h1 {
    font-size: clamp(26px, 8.2vw, 31px);
  }
  .hero-photograph figcaption {
    font-size: 15px;
  }
  .hero-photograph figcaption span {
    gap: 6px;
  }
  .hero-photograph figcaption small {
    font-size: 14px;
  }
  .flyer-dialog-toolbar {
    gap: 5px;
    padding-inline: 8px;
  }
  .flyer-dialog-toolbar h2 {
    font-size: 14px;
  }
  .flyer-dialog-actions {
    gap: 2px;
  }
  .flyer-dialog-actions span {
    min-width: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flyer-cover,
  .button {
    transition: none;
  }
}
@media print {
  .hero-photograph {
    max-width: 500px;
  }
  .flyer-dialog {
    display: none;
  }
  .flyer {
    break-inside: avoid;
  }
  .hero-content {
    display: block;
    padding-top: 20px;
  }
}
.hero-content {
  grid-template-columns: minmax(0, 1fr);
}
.hero-content > * {
  min-width: 0;
}
@media (min-width: 641px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 380px) {
  .hero-facts {
    gap: 8px;
  }
  .hero-facts > div {
    padding-right: 8px;
  }
  .hero-facts strong {
    font-size: 16px;
  }
  .hero-facts strong span {
    font-size: 14px;
  }
}
@media (min-width: 1100px) {
  .hero-photograph > img {
    aspect-ratio: 1.4;
    object-position: 56% center;
  }
  .hero-content {
    padding-top: 141px;
  }
  .hero-bottom {
    margin-top: 44px;
  }
}
