/* 最初のWebデザインを基準に、採用チラシの中央ビジュアルを直接使用。 */
:root {
  --gold: #d7bc83;
  --gold-light: #f1dfb3;
  --line: rgba(215, 188, 131, 0.23);
}
.hero {
  background: #06131f;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 80% 45%, #13344d42, transparent 60%);
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  padding-top: 111px;
  padding-bottom: 30px;
  min-height: 0;
}
.hero-topline {
  margin-bottom: 28px;
  gap: 12px;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}
.edition {
  border: 1px solid #d7bc8340;
  padding: 5px 12px;
  font-size: 14px;
  letter-spacing: 0.07em;
  background: #081a2760;
}
.hero-topline .micro {
  color: #aabcc7;
  font-size: 14px;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 8.5vw, 46px);
  line-height: 1.7;
  letter-spacing: 0;
  position: relative;
  z-index: 2;
}
h1 em {
  background: linear-gradient(110deg, #edddb0, #c2a162 58%, #f7e6b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-light);
}
.hero-line:first-child em {
  font-size: 1.12em;
  letter-spacing: 0.02em;
}
.hero-subcatch {
  font-family: var(--serif);
  font-size: 14px;
  margin-top: 20px;
  letter-spacing: 0.015em;
  line-height: 1.9;
  position: relative;
  z-index: 2;
}
.hero-description {
  font-size: 14px;
  color: #aabecb;
  margin-top: 19px;
  line-height: 1.95;
}
.hero-campaign-art {
  margin: 21px -20px 0;
  position: relative;
  align-self: stretch;
  min-width: 0;
  isolation: isolate;
}
.hero-campaign-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 1;
  filter: none;
}
.hero-campaign-art::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      #06131f 0%,
      transparent 14%,
      transparent 93%,
      #06131f 100%
    ),
    linear-gradient(
      90deg,
      #06131f4d,
      transparent 12%,
      transparent 88%,
      #06131f4d
    );
}
.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  position: relative;
  z-index: 2;
}
.hero-actions .button {
  font-size: 14px;
  min-height: 51px;
  padding: 14px 20px;
  gap: 25px;
}
.hero-actions .text-link {
  font-size: 14px;
  min-height: 44px;
}
.hero-contact-links {
  font-size: 14px;
  margin-top: 8px;
  gap: 16px;
}
.hero-contact-links a {
  min-height: 44px;
}
.hero-bottom {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 23px;
}
.hero-facts {
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}
.hero-facts > div {
  padding-right: 12px;
}
.hero-facts strong {
  font-size: 18px;
}
.hero-facts strong span {
  font-size: 14px;
}
.button-gold {
  background: linear-gradient(110deg, #dbc58e, #bda169);
  color: #071522;
}
.benefits {
  background: linear-gradient(120deg, #102b3b, #0a1e2e 70%);
}
.faculty {
  background: #0b1d2b;
}
.estimate {
  background: linear-gradient(120deg, #152f40, #0b1f30);
}
.course-detail {
  background: linear-gradient(145deg, #203446, #0c1d2d);
}
.price-featured {
  background: linear-gradient(150deg, #b69a6020, #071522);
}
.estimate-result {
  background: linear-gradient(135deg, #152633, #06131f);
}
.application {
  background: radial-gradient(ellipse at 50% 0%, #263d46, #0a1d2d 65%);
}
@media (min-width: 641px) {
  .hero-content {
    padding-top: 135px;
    padding-bottom: 45px;
    min-height: 780px;
    align-items: flex-start;
  }
  .hero-topline {
    margin-bottom: 44px;
    width: 55%;
  }
  h1 {
    font-size: clamp(39px, 4.6vw, 68px);
    line-height: 1.6;
  }
  .hero-subcatch {
    font-size: clamp(16px, 1.55vw, 23px);
    margin-top: 25px;
  }
  .hero-description {
    font-size: 14px;
    margin-top: 22px;
  }
  .hero-campaign-art {
    position: absolute;
    right: -5vw;
    top: 140px;
    bottom: 120px;
    width: 66%;
    margin: 0;
    z-index: -1;
  }
  .hero-campaign-art img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero-campaign-art::before {
    background:
      linear-gradient(
        90deg,
        #06131f 0%,
        #06131fd9 10%,
        #06131f60 27%,
        transparent 45%
      ),
      linear-gradient(
        180deg,
        #06131f 0%,
        transparent 15%,
        transparent 90%,
        #06131f 100%
      );
  }
  .hero-actions {
    margin-top: 33px;
    width: 56%;
    gap: 20px;
  }
  .hero-actions .button {
    min-height: 55px;
    font-size: 14px;
    gap: 30px;
  }
  .hero-actions .text-link {
    font-size: 14px;
  }
  .hero-contact-links {
    margin-top: 16px;
  }
  .hero-bottom {
    width: 100%;
    margin-top: auto;
    padding-top: 27px;
  }
  .hero-facts {
    width: auto;
    justify-content: start;
    gap: 38px;
  }
  .hero-facts > div {
    padding-right: 38px;
  }
  .hero-facts strong {
    font-size: 25px;
  }
  .hero-facts strong span {
    font-size: 14px;
  }
}
@media (min-width: 1100px) {
  .hero-content {
    padding-top: 158px;
    min-height: max(850px, 100svh);
    padding-bottom: 42px;
  }
  .hero-topline {
    margin-bottom: 47px;
  }
  .hero-campaign-art {
    right: -6vw;
    top: 151px;
    bottom: 117px;
    width: 69%;
  }
  h1 {
    font-size: clamp(54px, 4.7vw, 74px);
  }
  .hero-actions {
    margin-top: 37px;
  }
  .hero-description {
    font-size: 14px;
  }
}
@media (min-width: 1600px) {
  .hero-campaign-art {
    right: -8vw;
    width: 78%;
    top: 145px;
  }
  .hero-content {
    padding-top: 160px;
  }
}
@media (min-width: 641px) and (max-width: 960px) {
  .hero-content {
    min-height: 770px;
  }
  .hero-campaign-art {
    width: 68%;
    right: -8vw;
    top: 175px;
    bottom: 137px;
  }
  .hero-campaign-art::before {
    background:
      linear-gradient(90deg, #06131f 0%, #06131fc9 23%, transparent 58%),
      linear-gradient(
        180deg,
        #06131f,
        transparent 17%,
        transparent 85%,
        #06131f
      );
  }
  h1 {
    font-size: clamp(34px, 4.6vw, 45px);
  }
  .hero-topline {
    width: 65%;
    gap: 12px;
  }
  .hero-actions {
    width: 55%;
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }
}
@media (max-width: 380px) {
  h1 {
    font-size: clamp(25px, 8.5vw, 32px);
  }
  .hero-subcatch {
    font-size: 14px;
  }
  .hero-topline .micro {
    font-size: 14px;
  }
  .hero-facts {
    gap: 8px;
  }
  .hero-facts > div {
    padding-right: 8px;
  }
  .hero-facts strong {
    font-size: 16px;
  }
  .hero-facts strong span {
    font-size: 14px;
  }
  .hero-actions .button {
    font-size: 14px;
    gap: 16px;
  }
}
@media print {
  .hero-content {
    min-height: 0;
  }
  .hero-campaign-art {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 600px;
  }
  .hero-campaign-art::before {
    display: none;
  }
}

/* 採用画像は縦横比を保持。右端の氏名まで表示する。 */
@media (min-width: 641px) {
  .hero-campaign-art {
    right: 0;
    top: 185px;
    bottom: 112px;
    width: 68%;
    display: flex;
    align-items: flex-end;
  }
  .hero-campaign-art img {
    height: auto;
    width: 100%;
    object-fit: contain;
  }
  .hero-campaign-art::before {
    background:
      linear-gradient(90deg, #06131f 0%, #06131fb3 11%, transparent 27%),
      linear-gradient(
        180deg,
        #06131f 0%,
        transparent 13%,
        transparent 98%,
        #06131f 100%
      );
  }
}
@media (min-width: 1100px) {
  .hero-campaign-art {
    right: 0;
    width: 68%;
    top: 183px;
    bottom: 119px;
  }
}
@media (min-width: 1600px) {
  .hero-campaign-art {
    right: 0;
    width: 71%;
    top: 178px;
    bottom: 123px;
  }
}
@media (min-width: 641px) and (max-width: 960px) {
  .hero-campaign-art {
    right: 0;
    top: 238px;
    bottom: 133px;
    width: 75%;
  }
  .hero-campaign-art::before {
    background:
      linear-gradient(90deg, #06131f 0%, #06131fc9 14%, transparent 35%),
      linear-gradient(
        180deg,
        #06131f,
        transparent 15%,
        transparent 98%,
        #06131f
      );
  }
}

@media(min-width:641px){.hero-campaign-art img{mask-image:linear-gradient(180deg,transparent 0%,#000 9%,#000 98%,transparent 100%);-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 9%,#000 98%,transparent 100%)}}
