/* recruit/newgraduate.html 専用スタイル */
.hero { padding-top: 0; }
.hero__img { display: block; width: 100%; height: auto; }
.hero__content { position: absolute; top: 40%; left: 80px; transform: translateY(-50%); z-index: 3; }
.hero__en { font-family: 'Barlow Semi Condensed', sans-serif; font-size: 68px; font-weight: 300; color: #fff; letter-spacing: 0.04em; line-height: 1; }
.hero__ja { font-size: 14px; color: rgba(255,255,255,0.9); margin-top: 10px; letter-spacing: 0.15em; font-weight: 400; }
.sec-message-wrap { background: #fff; padding: 80px 4vw; }
.sec-message { max-width: 1200px; margin: 0 auto; min-height: 480px; display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.msg-text-col h2 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; line-height: 1.5; margin-bottom: 28px; color: #1a1a2e; letter-spacing: 0.03em; }
.msg-text-col p { font-size: 16px; color: #333; line-height: 2; }
.msg-text-col .msg-btn-wrap { display: flex; justify-content: center; gap: 20px; margin-top: 48px; width: 100%; max-width: 100%; }
.msg-text-col .msg-btn { display: inline-flex; align-items: center; justify-content: center; flex: 1; min-width: 0; padding: 22px 24px; font-size: 18px; font-weight: 700; text-decoration: none; color: #fff; background: linear-gradient(to bottom, #0d47a1 0%, #42a5f5 100%); border: none; cursor: pointer; transition: opacity 0.3s; }
.msg-text-col .msg-btn:hover { opacity: 0.9; }
.msg-text-col .msg-btn--internship { display: none !important; }
/* メッセージ欄・総合職（参考: さくら採用HP制作PJ）白地・2px 縦グラデ枠・ラベル縦グラデ文字 */
.msg-text-col .msg-btn--entry {
  flex: 0 0 calc(50% - 10px);
  max-width: calc(50% - 10px);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(180deg, #0d47a1 0%, #1565c0 40%, #42a5f5 70%, #90caf9 100%) border-box !important;
  border: 2px solid transparent !important;
  color: transparent !important;
  padding: 22px 24px;
  box-sizing: border-box;
  border-radius: 0;
  cursor: pointer;
  transition: opacity 0.3s;
}
.msg-text-col .msg-btn--entry:hover {
  opacity: 1;
  background: linear-gradient(#f8fafc, #f8fafc) padding-box, linear-gradient(180deg, #0d47a1 0%, #1565c0 40%, #42a5f5 70%, #90caf9 100%) border-box !important;
}
.msg-text-col .msg-btn--entry .msg-btn__entry-text {
  font-family: 'Noto Sans JP', sans-serif;
  background: linear-gradient(180deg, #0d47a1 0%, #1565c0 40%, #42a5f5 70%, #90caf9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #1565c0;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .msg-text-col .msg-btn--entry { color: #1565c0 !important; -webkit-text-fill-color: #1565c0; }
  .msg-text-col .msg-btn--entry .msg-btn__entry-text { color: #1565c0; -webkit-text-fill-color: #1565c0; background: none; }
}
/* PC：エントリー横幅 50%・左寄せ */
@media (min-width: 769px) {
  .msg-text-col .msg-btn-wrap {
    justify-content: flex-start;
  }
  .msg-text-col .msg-btn--entry {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    align-self: flex-start;
  }
}
.msg-images-col { position: relative; min-height: 320px; }
.msg-img.msg-img--single { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; }
.msg-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sec-reasons { background: #fff; padding: 80px 8vw; }
.sec-reasons-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec-reasons__title { font-size: 36px; font-weight: 700; color: #000; margin-bottom: 96px; letter-spacing: 0.03em; }
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: stretch; }
@media (max-width: 900px) { .sec-reasons__title { font-size: clamp(17px, 5vw, 29px); white-space: nowrap; } .reasons-grid { row-gap: 90px; column-gap: 32px; } .reason-card { max-width: 520px; margin-left: auto; margin-right: auto; } }
@media (max-width: 768px) { .reason-card__title { font-size: 18px; } .reason-card__text .pc-br { display: none; } }
.reason-card { background: #fff; padding: 28px 28px 0; display: flex; flex-direction: column; border-radius: 8px; min-height: 100%; box-shadow: 0 2px 12px rgba(0,0,0,0.06); overflow: visible; }
.reason-card__num { font-family: 'Barlow Semi Condensed', sans-serif; font-size: 108px; font-weight: 600; line-height: 1; text-align: center; margin: -88px 0 0; background: linear-gradient(to bottom, #42a5f5 0%, #1565c0 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.reason-card__title { font-family: 'Noto Sans JP', sans-serif; font-size: 16px; font-weight: 700; color: #1976d2; line-height: 1.65; margin: 8px 0 16px; padding: 0; max-width: 100%; overflow-wrap: break-word; min-height: 4em; }
.reason-card__text { font-family: 'Noto Sans JP', sans-serif; font-size: 16px; color: #333; line-height: 1.85; margin-bottom: 24px; padding: 0; }
.reason-card__text .pc-br { display: block; }
.reason-card__img { margin: 24px -28px 0; width: calc(100% + 56px); height: 200px; overflow: hidden; flex-shrink: 0; border-radius: 0 0 8px 8px; }
.reason-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.sec-dna { background: #fff; padding: 40px 4vw 40px; }
.sec-dna-inner { max-width: 1200px; margin: 0 auto; }
.sec-dna__heading { font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: #0d47a1; margin-bottom: 40px; letter-spacing: 0.03em; line-height: 1.5; }
.sec-dna__block { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; margin-bottom: 80px; }
.sec-dna__block:last-child { margin-bottom: 0; }
.sec-dna__block--reverse .sec-dna__img-col { order: 2; }
.sec-dna__block--reverse .sec-dna__text-col { order: 1; }
.sec-dna__img { width: 100%; overflow: hidden; position: relative; }
.sec-dna__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sec-dna__img-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: rgba(255,255,255,0.9); font-family: var(--font-en); font-size: 28px; letter-spacing: 0.15em; }
.sec-dna__sub { font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: #0d47a1; margin-bottom: 20px; letter-spacing: 0.03em; }
.sec-dna__text { font-size: 16px; color: #333; line-height: 2; }
@media (max-width: 768px) { .sec-dna__block, .sec-dna__block--reverse { grid-template-columns: 1fr; } .sec-dna__block--reverse .sec-dna__img-col, .sec-dna__block--reverse .sec-dna__text-col { order: unset; } .sec-dna__block { margin-bottom: 60px; } .sec-dna__img-col { display: flex; justify-content: center; } .sec-dna__img { max-width: 320px; margin: 0 auto; } .sec-dna__img-text { display: none; } }
.sec-career { display: block; max-width: 1300px; margin: 0 auto; padding: 72px 60px 36px; background: #fff; }
.career__header { margin-bottom: 40px; }
.career__title { font-size: 26px; font-weight: 800; color: #000; margin-bottom: 20px; }
.career__intro { font-size: 16px; color: #333; line-height: 1.9; }
.career__body { display: flex; gap: 40px; align-items: flex-start; }
.career__tabs { flex: 0 0 200px; display: flex; flex-direction: column; gap: 12px; }
.career__tab { padding: 17px 24px; border-radius: 999px; font-size: 14px; font-weight: 700; text-align: center; cursor: pointer; transition: all 0.2s; border: 3px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to bottom, #0d47a1 0%, #1565c0 50%, #42a5f5 100%) border-box; color: #004a99; background-clip: padding-box, border-box; }
.career__tab:hover { opacity: 0.85; }
.career__tab.is-active { background: linear-gradient(to bottom, #0d47a1 0%, #1565c0 50%, #42a5f5 100%); border: none; color: #fff; }
.career__content { flex: 1; background: #E0F2F7; border-radius: 0; padding: 36px 56px 40px; }
.career__case-header { margin-bottom: 32px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.career__case-header strong { font-size: 18px; font-weight: 700; color: #333; margin-right: 0; }
.career__case-meta { font-size: 14px; font-weight: 400; color: #333; display: inline; }
.career__case-meta span { display: inline; }
.career__case-meta span::before { display: none; }
.career__case-meta span + span::before { content: '　'; }
.career__timeline { position: relative; padding-left: 140px; }
.career__timeline::before { content: ''; position: absolute; left: 110px; top: 20px; bottom: 40px; width: 2px; background: #1E6BE8; z-index: 1; }
.career__milestone { position: relative; display: flex; align-items: flex-start; padding-bottom: 44px; min-height: 64px; }
.career__milestone:last-child { padding-bottom: 0; }
.career__milestone::before { content: ''; position: absolute; left: -29px; transform: translate(-50%, -50%); width: 10px; height: 10px; background: #1E6BE8; border-radius: 50%; z-index: 2; }
.career__milestone:first-child::before { top: 20px; }
.career__milestone:nth-child(2)::before { top: 22px; }
.career__milestone:last-child::before { top: 24px; }
.career__year { position: absolute; left: -115px; transform: translateY(-50%); font-size: 14px; font-weight: 700; display: flex; align-items: baseline; width: 80px; background: linear-gradient(to bottom, #0d47a1 0%, #1565c0 50%, #42a5f5 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.career__year-num { font-size: 28px; font-weight: 700; line-height: 1; margin-right: 4px; margin-left: -8px; background: linear-gradient(to bottom, #0d47a1 0%, #1565c0 50%, #42a5f5 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.career__desc { flex: 1; font-size: 14px; color: #333; line-height: 1.75; margin-left: 28px; }
.career__milestone:first-child .career__desc { margin-top: 20px; }
.career__milestone:nth-child(2) .career__desc { margin-top: 22px; }
.career__milestone:last-child .career__desc { margin-top: 24px; }
.career__panel { display: none; opacity: 0; }
.career__panel.is-active { display: block; opacity: 1; }
@media (max-width: 900px) {
  .sec-career { padding: 40px 24px 24px; }
  .career__header { margin-bottom: 32px; }
  .career__title { font-size: 24px; margin-bottom: 16px; }
  .career__intro { font-size: 16px; line-height: 1.9; margin-bottom: 0; }
  .career__body { flex-direction: column; gap: 0; align-items: stretch; }
  .career__tabs { flex-direction: row; flex-wrap: nowrap; flex: none; width: 100%; gap: 0; margin-bottom: 0; }
  .career__tab { flex: 1; border-radius: 0; padding: 16px 12px; font-size: 14px; border: 1px solid #0078c1; margin-left: -1px; background: #fff; color: #004a99; }
  .career__tab:first-child { margin-left: 0; }
  .career__tab:not(.is-active):hover { opacity: 0.9; }
  .career__tab.is-active { background: linear-gradient(to bottom, #0d47a1 0%, #1565c0 50%, #42a5f5 100%); border: 1px solid #0078c1; color: #fff; margin-left: -1px; }
  .career__content { padding: 24px 20px 32px; background: #e0f7fa; }
  .career__case-header { margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
  .career__case-header strong { font-size: 20px; margin-bottom: 4px; }
  .career__case-meta { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #333; }
  .career__case-meta span { display: flex; align-items: center; gap: 8px; }
  .career__case-meta span::before { content: ''; width: 6px; height: 6px; background: #666; border-radius: 50%; flex-shrink: 0; }
  .career__case-meta span + span::before { content: ''; width: 6px; height: 6px; background: #666; border-radius: 50%; flex-shrink: 0; }
  .career__timeline { padding-left: 130px; }
  .career__timeline::before { left: 67px; top: 1.05em; bottom: 2.2em; width: 2px; background: #0078c1; }
  .career__milestone { padding-bottom: 36px; min-height: 72px; position: relative; padding-top: 2px; }
  .career__milestone:last-child { padding-bottom: 0; }
  .career__milestone::before { width: 12px; height: 12px; left: -62px; top: 1.05em; transform: translate(-50%, -50%); background: #0078c1; }
  .career__year { position: absolute; left: -130px; top: 1.05em; transform: translateY(-50%); width: 48px; font-size: 16px; font-weight: 700; background: linear-gradient(to bottom, #0d47a1 0%, #1565c0 50%, #42a5f5 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; text-align: left; }
  .career__year-num { font-size: 20px; background: linear-gradient(to bottom, #0d47a1 0%, #1565c0 50%, #42a5f5 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 0; }
  .career__desc { margin-left: 16px; margin-top: 0; font-size: 14px; line-height: 1.8; padding-top: 0; padding-left: 0; min-width: 0; flex: 1; }
  .career__milestone:first-child .career__desc { margin-top: 0; }
  .career__milestone:nth-child(2) .career__desc { margin-top: 0; }
  .career__milestone:last-child .career__desc { margin-top: 0; }
}
.entry-banner__img-wrap { display: block; line-height: 0; width: 100%; }
.news__card a { display: block; color: inherit; }
.entry-banner { width: calc(100% - 120px); max-width: 1200px; margin: 24px auto 56px; padding: 28px 0 0; position: relative; overflow: hidden; }
.entry-banner__img { display: block; width: 100%; height: auto; vertical-align: bottom; }
.entry-banner__btn-wrap { position: absolute; bottom: 56px; left: 0; right: 0; padding: 0 48px; display: flex; justify-content: flex-start; align-items: stretch; gap: 20px; pointer-events: none; }
.entry-banner__btn-wrap a { pointer-events: auto; flex: 0 0 50%; width: 50%; max-width: 50%; min-width: 0; box-sizing: border-box; }
.entry-banner__btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 62px; padding: 19px 26px; background: #fff; font-size: 20px; font-weight: 700; letter-spacing: 0.05em; text-decoration: none; border: none; border-radius: 0; box-shadow: none; transition: opacity 0.25s; }
.entry-banner__btn:hover { opacity: 0.92; transform: none; box-shadow: none; }
.entry-banner__btn-text {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.35;
  text-align: center;
  background: linear-gradient(180deg, #052a5c 0%, #0d3d7a 22%, #4da3e8 78%, #c5e8fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #1565c0;
  -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .entry-banner__btn-text { color: #0d47a1; -webkit-text-fill-color: #0d47a1; background: none; }
}
.entry-banner__btn-icon { flex-shrink: 0; width: 18px; height: 18px; color: #1565c0; }
.entry-banner__btn[title="インターンシップ"] { display: none !important; }
/* PC：下部バナー白ボタンは横幅 50%（.entry-banner__btn の width:100% や WP 側スタイルより優先） */
@media (min-width: 769px) {
  .entry-banner .entry-banner__btn-wrap {
    justify-content: flex-start;
  }
  .entry-banner .entry-banner__btn-wrap > a.entry-banner__btn {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    align-self: flex-start;
    box-sizing: border-box;
  }
}
.news { display: block !important; }
.news .news__img { aspect-ratio: 4 / 3; height: auto; }
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.scroll-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: #1a72c5; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 50; font-size: 18px; box-shadow: 0 4px 12px rgba(26,114,197,0.4); }
.scroll-top.show { opacity: 1; pointer-events: auto; }
.hero .pickup { right: auto; left: 80px; }
@media (max-width: 900px) { .hero__content { left: 24px; } .hero__en { font-size: 44px; } .hero__ja { font-size: 14px; } .reasons-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .header__inner .header__nav, .header > .header__tabs { display: none !important; } .header__hamburger { display: flex !important; margin-left: auto; } }
@media (max-width: 768px) { .hero__content { left: 24px; top: 35%; } .hero__en { font-size: 44px; } .hero__ja { font-size: 14px; } .hero .pickup { left: 24px; right: auto; } .sec-message-wrap { padding: 10px 4vw 5px; } .sec-reasons { padding-top: 40px; } .sec-message { grid-template-columns: 1fr; gap: 13px; } .msg-text-col { order: 2; text-align: center; } .msg-text-col h2, .msg-text-col p { text-align: center; } .msg-text-col .msg-btn-wrap { justify-content: center; } .msg-images-col { order: 1; } .sec-reasons__title { text-align: center; } .reason-card__title, .reason-card__text { text-align: center; } .sec-dna__heading, .sec-dna__sub, .sec-dna__text { text-align: center; } .career__header { text-align: center; } .career__title, .career__intro { text-align: center; } .footer__inner { flex-direction: column; gap: 40px; } .footer__info, .footer__sitemap { width: 100%; } .footer__sitemap { flex-direction: column; gap: 20px; } .footer__nav-col { width: 100%; } .entry-banner { width: calc(100% - 32px); margin: 3px 16px 48px; } .footer { padding-top: 4px; } .sec-dna { padding-bottom: 10px; } }
@media (max-width: 768px) {
  .sec-message-wrap,
  .sec-message,
  .msg-text-col {
    min-width: 0;
  }
  .msg-text-col {
    max-width: 100%;
  }
  .msg-text-col .msg-btn-wrap {
    margin-top: 12px;
    padding: 24px 0 32px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: transparent;
  }
  .msg-text-col .msg-btn--entry {
    flex: none !important;
    align-self: center;
    width: 100%;
    max-width: min(432px, 100%);
    min-width: 0;
    margin: 0 auto;
    padding: 20px 40px;
    font-size: 18px;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(180deg, #0d47a1 0%, #1565c0 40%, #42a5f5 70%, #90caf9 100%) border-box !important;
    border: 2px solid transparent !important;
    color: transparent !important;
    box-sizing: border-box;
    border-radius: 0;
  }
  .msg-text-col .msg-btn--entry:hover {
    background: linear-gradient(#fafafa, #fafafa) padding-box, linear-gradient(180deg, #0d47a1 0%, #1565c0 40%, #42a5f5 70%, #90caf9 100%) border-box !important;
  }
  .msg-text-col .msg-btn--entry .msg-btn__entry-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.35;
    text-align: center;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: keep-all;
    background: linear-gradient(180deg, #0d47a1 0%, #1565c0 40%, #42a5f5 70%, #90caf9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #1565c0;
  }
  .entry-banner__btn-wrap {
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    bottom: 18px;
    left: 0;
    right: 0;
    padding: 0 16px;
    gap: 0;
  }
  .entry-banner__btn-wrap a {
    pointer-events: auto;
    flex: 0 1 auto;
    width: 100%;
    max-width: min(432px, 100%);
    min-width: 0;
    box-sizing: border-box;
  }
  .entry-banner__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    padding: 18px 28px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: #fff;
    border: 1px solid rgba(30, 90, 160, 0.22);
    border-radius: 0;
    box-shadow: none;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  }
  .entry-banner__btn:hover {
    opacity: 1;
    background: #fafafa;
    border-color: rgba(30, 90, 160, 0.32);
    transform: none;
    box-shadow: none;
  }
  .entry-banner__btn-text {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.35;
    text-align: center;
    background: linear-gradient(180deg, #052a5c 0%, #0d47a1 30%, #2196f3 65%, #b3e5fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}
@media (max-width: 480px) { .hero__content { left: 16px; top: 35%; } .hero__en { font-size: 32px; } .hero__ja { font-size: 14px; margin-top: 8px; letter-spacing: 0.1em; } .hero .pickup { left: 16px; } .msg-text-col .msg-btn-wrap { padding: 20px 0 28px; } .msg-text-col .msg-btn--entry { max-width: 100%; padding: 17px 24px; } .msg-text-col .msg-btn--entry .msg-btn__entry-text { font-size: 16px; letter-spacing: 0.03em; } .entry-banner__btn-wrap { bottom: 14px; padding: 0 12px; } .entry-banner__btn-wrap a { width: 100%; max-width: 100%; } .entry-banner__btn { min-height: 52px; padding: 16px 14px; font-size: 16px; } }
