@charset "utf-8";

:root {
  --yamaka-green: #03663a;
  --yamaka-pale: #e6f5f1;
  --yamaka-ink: #191919;
  --yamaka-border: #bfd9cf;
}

:focus-visible {
  outline: 3px solid #b86d00;
  outline-offset: 4px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hmbMenu {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.graduate-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 30px 0 55px;
}

.graduate-entry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 190px;
  padding: 24px 16px;
  border: 2px solid var(--yamaka-green);
  border-radius: 4px;
  background: white;
  color: var(--yamaka-green);
  line-height: 1.6;
  text-align: center;
}

.graduate-entry-card strong {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1;
}

.graduate-entry-label { font-size: 20px; font-weight: 700; }
.graduate-entry-card-pending { border-color: #7a8781; background: #f4f6f5; color: #515b56; }
.sns-section { padding: 70px 0; }
.sns-accounts { display: grid; gap: 44px; }
.sns-youtube { min-width: 0; scroll-margin-top: 110px; }
.youtube-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.45fr); align-items: center; gap: 32px; padding: 32px; border-radius: 12px; background: var(--yamaka-green); color: #fff; }
.youtube-feature-copy { min-width: 0; }
.youtube-feature-label { margin: 0 0 22px; color: inherit; font-family: 'Urbanist', sans-serif; font-size: 20px; font-weight: 500; line-height: 1.5; }
.youtube-feature-title { margin: 0; color: inherit; font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
.youtube-feature-description { margin: 16px 0 28px; color: inherit; font-size: 14px; line-height: 1.8; letter-spacing: .02em; }
.youtube-feature-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 54px; max-width: 100%; padding: 7px 9px 7px 24px; border: 0; border-radius: 999px; background: #fff; color: var(--yamaka-green); font: inherit; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; text-decoration: none; }
.youtube-feature-button:disabled { opacity: 1; cursor: default; }
.youtube-feature-play { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--yamaka-green); }
.youtube-feature-play::before { content: ''; display: block; width: 0; height: 0; margin-left: 3px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid #fff; }
.youtube-feature-media { position: relative; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 5px; background: var(--yamaka-pale); }
.youtube-feature-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.youtube-feature-placeholder { position: absolute; top: 12px; left: 12px; padding: 4px 9px; border-radius: 3px; background: #fff; color: var(--yamaka-green); font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.youtube-layout-note { margin: 12px 0 0; color: #505b55; font-size: 12px; line-height: 1.7; }

.instagram-section { padding: 130px 0 0; }
.instagram-recruit { min-width: 0; }
.instagram-recruit-photos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.instagram-post { position: relative; display: block; min-width: 0; aspect-ratio: 1; overflow: hidden; background: var(--yamaka-pale); color: #fff; }
.instagram-post img { display: block; width: 100%; height: 100%; object-fit: cover; }
.instagram-photo-left { object-position: left center; }
.instagram-photo-center { object-position: center; }
.instagram-photo-right { object-position: right center; }
.instagram-post-caption { position: absolute; inset: auto 0 0; padding: 14px 10px; background: rgba(0, 0, 0, .78); color: #fff; font-size: 12px; line-height: 1.6; letter-spacing: .02em; opacity: 0; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease; }
.instagram-post:hover .instagram-post-caption, .instagram-post:focus-visible .instagram-post-caption { opacity: 1; transform: translateY(0); }
.instagram-post:focus-visible { z-index: 1; outline-offset: -4px; }
.instagram-recruit-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  min-height: 72px;
  padding: 20px 24px;
  background: #d24685 url(../img/top/top-instagram-bg.png) center / cover no-repeat;
  color: #fff;
}
.instagram-recruit-logo { flex: 0 0 auto; width: 183px; height: auto; }
.instagram-recruit-copy { min-width: 0; margin: 0; color: inherit; font-size: 16px; font-weight: 500; line-height: 1.6; }
.instagram-recruit-band:hover { opacity: .85; }
.instagram-recruit-band:focus-visible { position: relative; z-index: 1; }
.instagram-recruit-feed { display: flow-root; min-width: 0; }
.instagram-recruit-feed-shell { position: relative; min-width: 0; }
.instagram-recruit-feed-shell[data-instagram-state="pending"] [data-instagram-live],
.instagram-recruit-feed-shell[data-instagram-state="fallback"] [data-instagram-live] { position: absolute; top: 0; width: 100%; height: 100%; overflow: hidden; visibility: hidden; pointer-events: none; }
.instagram-recruit-feed-shell[data-instagram-state="live"] [data-instagram-fallback] { display: none; }
.instagram-layout-note { margin: 12px 0 0; color: #505b55; font-size: 12px; line-height: 1.7; }
html.instagram-lightbox-open, html.instagram-lightbox-open body { overflow: hidden; overscroll-behavior: none; }
.instagram-lightbox { box-sizing: border-box; width: min(860px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; border: 0; border-radius: 8px; background: #fff; color: var(--yamaka-ink); box-shadow: 0 12px 60px rgba(0, 0, 0, .3); }
.instagram-lightbox::backdrop { background: rgba(0, 0, 0, .76); }
.instagram-lightbox-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 10px 24px; }
.instagram-lightbox-title { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.6; letter-spacing: .02em; }
.instagram-lightbox-close, .instagram-lightbox-previous, .instagram-lightbox-next, .instagram-lightbox-retry { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--yamaka-border); border-radius: 4px; background: #fff; color: var(--yamaka-green); font: inherit; font-size: 14px; font-weight: 700; line-height: 1.5; cursor: pointer; }
.instagram-lightbox-close { flex: 0 0 44px; width: 44px; padding: 0; border-color: transparent; font-size: 30px; font-weight: 400; }
.instagram-lightbox button:hover { background: var(--yamaka-pale); }
.instagram-lightbox button:disabled { opacity: .5; cursor: default; }
.instagram-lightbox-figure { margin: 0; }
.instagram-lightbox-media { display: grid; place-items: center; min-height: 120px; background: #f1f6f3; }
.instagram-lightbox-image { display: block; width: min(100%, 62vh, 620px, calc(100vh - 260px)); width: min(100%, 62vh, 620px, calc(100dvh - 260px)); height: auto; aspect-ratio: 1; object-fit: cover; }
.instagram-lightbox-caption { margin: 0; padding: 16px 24px 8px; font-size: 14px; line-height: 1.7; letter-spacing: .02em; }
.instagram-lightbox-status { padding: 16px 24px 8px; color: #505b55; font-size: 14px; line-height: 1.7; }
.instagram-lightbox-status-text { margin: 0 0 10px; }
.instagram-lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px 20px; }
.instagram-lightbox-count { margin: 0; font-size: 14px; line-height: 1.5; }
.instagram-lightbox [hidden] { display: none; }

.event-archive-return a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.event-archive-return { margin: 0 auto 40px; text-align: center; }
.event-archive-count { margin: 0 0 28px; font-size: 14px; line-height: 1.8; }
#event-archive, .eventPostList[id] { scroll-margin-top: 110px; }
.event-archive-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.event-archive-pagination .nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px 12px; }

@media (min-width: 641px) and (max-width: 1179px) {
  body { min-width: 0; }
  .wrap, .wrap980 { width: min(980px, 94%); min-width: 0; }
  .wrap850 { width: min(850px, 94%); min-width: 0; }
  .outer, .outer1180 { width: 100%; max-width: 100%; }
  .logo { left: 20px; width: 32%; }
  .secTitleWrap { left: 25px; }
  #gnav ul { width: 94%; max-width: 1180px; }
  .messageIndexList { display: flex; flex-direction: column; height: auto; min-height: 540px; }
  .messageIndexTxt { margin: 30px 24px 40px; }
  .messageIndexBtn { position: static; width: calc(100% - 48px); transform: none; margin: auto auto 40px; }
  .intSlideBox .slick-prev { left: 8px; z-index: 2; }
  .intSlideBox .slick-next { right: 8px; z-index: 2; }
  .topMenuCompanyJob .menuBox { width: min(510px, 70%); margin-left: auto; margin-right: 0; padding: 32px; }
  #menuArea02 .menuBox { width: min(510px, 70%); margin-left: 0; margin-right: auto; padding: 32px; }
  .instagram-section { padding: 90px 3% 0; }
  .instagram-recruit-band { gap: 28px; }
  .event-article-navigation { width: 94%; max-width: 980px; }
}

@media (max-width: 900px) {
  .youtube-feature { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 28px; }
}

@media (max-width: 640px) {
  .graduate-entry-grid { gap: 12px; }
  .graduate-entry-card { padding: 20px 10px; min-height: 170px; font-size: 13px; letter-spacing: 0; }
  .graduate-entry-label { font-size: 17px; }
  .sns-section { padding: 36px 4%; }
  .youtube-feature { gap: 24px; padding: 24px 18px; }
  .youtube-feature-label { margin-bottom: 14px; font-size: 18px; }
  .sns-accounts { gap: 28px; }
  .instagram-section { padding: 70px 20px 0; }
  .instagram-recruit-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .instagram-post-caption { padding: 8px 6px; font-size: 11px; }
  .instagram-recruit-band { flex-direction: column; gap: 14px; padding: 22px 16px; text-align: center; }
  .instagram-recruit-copy { font-size: 14px; text-wrap: balance; }
  .instagram-lightbox-heading { padding: 8px 8px 8px 16px; }
  .instagram-lightbox-title { font-size: 14px; }
  .instagram-lightbox-caption, .instagram-lightbox-status { padding: 14px 16px 6px; font-size: 13px; }
  .instagram-lightbox-controls { gap: 8px; padding: 12px 16px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .instagram-post-caption { transition: none; transform: none; }
}

/* Runtime display fixes 20261030: keep closed dialogs hidden after reset.css. */
dialog.instagram-lightbox:not([open]) { display: none; }

/* Form 516 CSS moved out of sanitized shortcode content. */
span.mwform-checkbox-field, span.horizontal-item {
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1em !important;
}
.mw_wp_form .error {
  padding-top: 10px;
  display: block;
}
.mw_wp_form_complete {
  margin-top: 2em !important;
  line-height: 1.6em !important;
}
@media only screen and (max-width: 640px) {
  span.mwform-checkbox-field, span.horizontal-item {
    width: 100%;
  }
}
