@charset "UTF-8";

/* =========================================
   コンテンツ用余白設定
========================================= */
main.page-content { padding-top: 0; padding-bottom: 0; }

/* =========================================
   Hero Section & 画像リビールエフェクト
========================================= */
.hero { height: 100vh; width: 100%; display: flex; flex-direction: column; padding-top: 80px; box-sizing: border-box; background-color: var(--color-white); }
.hero-top-container { position: relative; width: 100%; flex: 0 0 auto; margin-bottom: 10vh; }
.hero-top { width: 80%; padding: 30px 0 30px 8%; position: relative; z-index: 2; box-sizing: border-box; }
.hero-title-en { font-size: clamp(2rem, 5vw, 6.5rem); font-weight: 900; line-height: 1.1; margin: 0; display: inline-block; width: 100%; }
.hero-bottom { flex: 1 1 auto; position: relative; width: 90%; overflow: hidden; background-color: var(--color-dark); }

.img-reveal-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.img-reveal-wrap::after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 100%; background-color: #e0e0e0; z-index: 5; transform: translateX(101%); }
.img-reveal-wrap.is-active::after { animation: blockRevealRL 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards; }
@keyframes blockRevealRL { 0% { transform: translateX(101%); } 50% { transform: translateX(0); } 100% { transform: translateX(-101%); } }
.img-reveal-wrap .img-inner { width: 100%; height: 100%; opacity: 0; }
.img-reveal-wrap.is-active .img-inner { animation: textReveal 0.1s 0.4s forwards; }
.img-reveal-wrap.delay-1::after { animation-delay: 0.2s; }
.img-reveal-wrap.delay-1 .img-inner { animation-delay: 0.6s; }
.img-reveal-wrap.delay-2::after { animation-delay: 0.4s; }
.img-reveal-wrap.delay-2 .img-inner { animation-delay: 0.8s; }

.hero-sub { width: 30%; position: absolute; top: 0; right: 0; bottom: 0; z-index: 1; }
.hero-sub-img { background-color: #fce205; background-image: url('/images/sdgz/hero-sub.jpg'); background-size: auto 100%; background-position: center; background-repeat: no-repeat; }
.hero-slide { background-size: cover; background-position: center; }
.slide1 { background-image: url('/images/sdgz/sdgz_list.svg'); }

/* =========================================
   PICK UP Section
========================================= */
.pickup { text-align: left; background-color: var(--color-white); position: relative; z-index: 10; width: 40%; margin-top: -100px; margin-left: 8%; margin-bottom: 80px; padding: 40px; box-sizing: border-box; border-radius: 4px; }
.pickup .pickup-catch { font-size: 1.6rem; font-weight: 700; margin-top: 0; margin-bottom: 20px; line-height: 1.6; color: var(--color-text); }
.pickup p.pickup-desc { font-size: 0.95rem; color: #555; line-height: 1.8; margin-top: 0; margin-bottom: 30px; }

.scroll-fade { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.scroll-fade.is-visible { opacity: 1; transform: translateY(0); }

.pickup-title-wrap { display: inline-block; overflow: hidden; padding-bottom: 0.1em; }
.reveal-text-lr { position: relative; display: inline-block; }
.reveal-text-lr > span { display: inline-block; opacity: 0; }
.reveal-text-lr::after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 100%; background-color: var(--color-dark); transform: translateX(-101%); }
.scroll-fade.is-visible .reveal-text-lr > span { animation: textReveal 0.1s 0.4s forwards; }
.scroll-fade.is-visible .reveal-text-lr::after { animation: blockRevealLR 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards; }

.reveal-wrap { display: block; overflow: hidden; padding-bottom: 0.1em; }
.reveal-text { position: relative; display: inline-block; }
.reveal-text > span { display: inline-block; opacity: 0; }
.reveal-text::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; transform: translateY(101%); }
.line1 { color: var(--color-dark); }
.line2 { color: #2c5282; }

.hero-title-en.is-active .line1 > span { animation: textReveal 0.1s 0.4s forwards; }
.hero-title-en.is-active .line1::after { background-color: var(--color-dark); animation: blockReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards; }
.hero-title-en.is-active .line2 > span { animation: textReveal 0.1s 0.7s forwards; }
.hero-title-en.is-active .line2::after { background-color: #2c5282; animation: blockReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.3s forwards; }

@keyframes blockReveal { 0% { transform: translateY(101%); } 50% { transform: translateY(0); } 100% { transform: translateY(-101%); } }
@keyframes blockRevealLR { 0% { transform: translateX(-101%); } 50% { transform: translateX(0); } 100% { transform: translateX(101%); } }
@keyframes textReveal { 0% { opacity: 0; } 100% { opacity: 1; } }

@media (max-width: 768px) {
  .hero-top { width: 100%; padding-left: 5%; }
  .hero-sub { width: 100%; opacity: 0.3; }
  .hero-bottom { width: 100%; }
  .pickup { width: 90%; margin-left: 5%; margin-right: 5%; padding: 30px; margin-top: -50px; }
}

/* =========================================
   ページ独自スタイル & 2カラムレイアウト
========================================= */
.tac { text-align: center; }
#site-body { margin: 0; padding: 0; }
#site-body .item7, #site-body .item8 { width: 1280px; max-width: 100%; margin: 0 auto; padding: 0; box-sizing: border-box; }
.layout-2col { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 40px; margin-bottom: 80px; }
.sidebar { width: 25%; position: sticky; top: 120px; align-self: flex-start; }
.local-menu { list-style: none; padding: 0; margin: 0; }
.local-menu li { margin-bottom: 15px; }
.local-menu a { text-decoration: none; color: var(--color-text); font-weight: 700; font-size: 0.95rem; transition: color 0.3s; display: flex; align-items: center; }
.local-menu a::before { content: ""; display: inline-block; width: 6px; height: 6px; background-color: var(--color-text); border-radius: 50%; margin-right: 10px; transition: background-color 0.3s; }
.local-menu a:hover { color: #9F8E23; }
.local-menu a:hover::before { background-color: #9F8E23; }

.main-col { width: 70%; }
.main-col h3.presenTitle { scroll-margin-top: 120px; }

@media (max-width: 1024px) {
  #site-body .item7, #site-body .item8 { width: 100%; padding: 0 24px; }
  .layout-2col { flex-direction: column; }
  .sidebar { width: 100%; position: static; margin-bottom: 40px; }
  .main-col { width: 100%; }
}

.presenTitle { font-family: var(--font-main); font-size: 2.5rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; color: #000; margin: 0 0 30px 0; padding: 0; border: none; }
@media (max-width: 768px) { .presenTitle { font-size: 1.8rem; } }
.presenSubTitle { font-family: var(--font-main); font-size: 15px; font-weight: 500; line-height: 1.8; letter-spacing: 3px; padding: 0 20px 20px 20px; margin: 0 0 40px 0; }
.presenSubTitle.with-icon { background: url(/images/recruit/next.svg) no-repeat left top; padding-top: 32px; }

/* モダンなリストレイアウト */
.info-list { width: 100%; margin: 0 0 50px 0; padding: 0; font-family: var(--font-main); display: flex; flex-direction: column; }
.info-row { display: flex; border-bottom: 1px solid #eaeaea; }
.info-list .info-row:first-child { border-top: 2px solid var(--color-dark); }
.info-list .info-row:last-child { border-bottom: 2px solid var(--color-dark); }
.info-row dt { width: 30%; padding: 24px 10px; font-weight: 700; text-align: left; color: var(--color-dark); box-sizing: border-box; }
.info-row dd { width: 70%; font-size: 0.95rem; line-height: 1.8; padding: 24px 10px; text-align: left; color: var(--color-text); margin: 0; box-sizing: border-box; }

.sdgz-list dt img { display: block; margin-bottom: 15px; width: 100%; max-width: 200px; }
.sdgz-td-title { font-size: 1.05rem; font-weight: 700; color: var(--color-dark); margin-bottom: 10px; display: block; }
.pt50 { padding-top: 50px; }

@media only screen and (max-width: 810px) {
  .info-row { flex-direction: column; }
  .info-row dt, .info-row dd { width: 100%; }
  .info-row dt { padding: 20px 10px 5px 10px; border-bottom: none; }
  .info-row dd { padding: 5px 10px 20px 10px; }
}

.presenLink { text-align: right; padding: 20px 20px 40px 20px; margin: 0; }
.presenLink a { color: #111; text-decoration: none; font-family: var(--font-main); font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: 2px; position: relative; display: inline-block; padding-right: 30px; }
.presenLink a::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; background: url(/images/common/arrow_l.svg) no-repeat center right; background-size: contain; }
.presenLink a:hover { color: #9F8E23; }
