@charset "UTF-8";


:root {
  --logo-color: #df0011;
  --accent: #143bc2;
  --label-bg: rgba(0, 0, 0, 0.9);
  --thumb-muted: rgba(255, 255, 255, 0.58);
}


.wrapper-enpuradata .enpuradata .card h4,.sakuarea-left h4{font-family: 'Noto Sans JP', sans-serif;}
.date-entitle,.date-entitle02{font-family: 'Montserrat', sans-serif;}


.bg-data{background: #bad4ed;}
.bg-data02{background: #f3f3f3;}


.date-entitle{font-size:5.0rem;font-weight:600;color:#fff;margin-left:30px;}
.date-jptitle{font-size:2.5rem;font-weight:600;text-align:center;}

.date-entitle02{font-size:5.0rem;font-weight:600;color:#ddd;margin-left:30px;}

.nenkan img{max-width:250px;width:100%;height:auto;}
.hito img{max-width:100px;width:100%;height:auto;}
.ikuji img{max-width:150px;width:100%;height:auto;}
.pc img{max-width:200px;width:100%;height:auto;}
.shugo img{max-width:400px;width:100%;height:auto;}

/* 少し大きく */
.nenkan img,
.hito img,
.ikuji img,
.pc img,
.shugo img {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity .8s ease, transform .8s ease;
}

.enpuradata.is-active img {
  opacity: 1;
  transform: scale(1.05);
}

.enpuradata.is-active .nenkan img,
.enpuradata.is-active .pc img,
.enpuradata.is-active .shugo img {
  transition-delay: .3s;
}

/* end 少し大きく */


.engraph{display: flex;justify-content: space-between;flex-wrap: wrap;margin-top:80px;}
.engraph .engraph-left,.engraph .engraph-right{width:20%;text-align:center;}
.engraph .engraph-center{width:60%;}


.ikujiblock{display: flex;justify-content: space-between;flex-wrap: wrap;margin-top:20px;}
.ikujiblock .ikujiblock-left{width:40%;text-align:center;}
.ikujiblock .ikujiblock-right{width:60%;}



/* ########### 768px以下 ########### */
@media (max-width: 768px) {

.date-entitle{font-size:2.0rem;text-align:center;margin-left:0;padding-top:50px;}
.date-jptitle{font-size:1.8rem;font-weight:600;text-align:center;}

.date-entitle02{font-size:2.0rem;text-align:center;margin-left:0;}

}/* 768px以下end */


/* --------------------------------------------------
共通見出し
-------------------------------------------------- */

.heading-working {position: relative;padding-top: 50px;padding-bottom: 50px;font-size: 20px;text-align: center;font-weight:600;}
.heading-working span {position: relative;z-index: 2;}
.heading-working::before {content: attr(data-en);position: absolute;top: -10px;left: 50%;transform: translateX(-50%);color: var(--accent);font-size: 35px;letter-spacing:0.3em;}
.heading-working::after {content: '';position: absolute;bottom: 0;left: 50%;transform: translate(-50%) rotate(30deg);width: 1px;height: 35px;background-color: var(--logo-color);}




/* ########### 768px以下 ########### */
@media (max-width: 768px) {

.heading-working::before {content: attr(data-en);position: absolute;top: -10px;left: 50%;transform: translateX(-50%);color: var(--accent);font-size: 25px;letter-spacing:0;}

}/* 768px以下end */


/* --------------------------------------------------
福利厚生
-------------------------------------------------- */

.fukuri{display: flex;justify-content: space-between;flex-wrap: wrap;margin-top:30px;}
.fukuri div{width:31%;}
.fukuri div img{width:100%;height:auto;margin-bottom:15px;}
.fukuri div h4{text-align:center;font-size:18px;font-weight:bold;margin-bottom:5px;}
.fukuri div h5{text-align:center;font-size:16px;font-weight:bold;margin-bottom:10px;}



/* ########### 768px以下 ########### */
@media (max-width: 768px) {

.fukuri{display: block;margin-top:30px;}
.fukuri div{width:100%;margin-bottom:80px;}


}/* 768px以下end */


/* --------------------------------------------------
佐久市について
-------------------------------------------------- */

.sakuarea {max-width:1500px;display: flex;justify-content:center;align-items:center;flex-wrap: wrap;margin:0 auto;padding:80px 20px;}
.sakuarea-left{flex:1;padding:0 20px;}
.sakuarea-right{flex:1;padding:0 20px;}

.sakuarea-right img{max-width:800px;width:100%;height:auto;}

.sakuarea-left h4{font-size:34px;font-weight:600;margin-bottom:5px;}
.sakuarea-left h5{font-size:18px;font-weight:bold;margin-bottom:30px;color:var(--accent);line-height:1.6;}


/* ########### 768px以下 ########### */
@media (max-width: 768px) {

.sakuarea {display: block;}
.sakuarea-left h4{font-size:24px;font-weight:600;margin-bottom:5px;}
.sakuarea-left h5{font-size:16px;font-weight:bold;margin-bottom:30px;color:var(--accent);}


}/* 768px以下end */


/* --------------------------------------------------
動画
-------------------------------------------------- */

.movieblock {max-width:1500px;display: flex;justify-content:center;align-items:center;flex-wrap: wrap;margin:0 auto;padding:0 20px;}
.movieblock-left{flex:1;padding:0 20px;}
.movieblock-right{flex:1;padding:0 20px;}


/* ########### 768px以下 ########### */
@media (max-width: 768px) {

.movieblock {display: block;padding:0;}


}/* 768px以下end */



/* --------------------------------------------------
文字が流れる
-------------------------------------------------- */

/*------- 画像文字が流れる -------*/
.flow-font-date {
  position: relative;
  overflow: hidden;
}

.flow-font-date {
  position: relative;
  z-index: 0;
}

.flow-font-date::before {
  z-index: -1;
}


.flow-font-date::before {
  content: "";
  position: absolute;
  top: 1%;
  left: 0;
  width: 100%;
  height: 300px;
  background-image: url(../imgdate/flowing_home.png);
  background-repeat: repeat-x;
  background-position: 0 50px;
  background-size: 800px auto;
  animation: flow-font-date 10s linear infinite;
  z-index: -1;
}

@keyframes flow-font-date {
  0% {
    background-position: 0 50px;
  }
  100% {
    background-position: -1000px 50px;
  }
}

@media screen and (max-width: 768px) {
  .flow-font-date::before {
    height: 90px;
    background-size: 500px auto;
    animation: flow-font-date-sp 10s linear infinite;
  }

  @keyframes flow-font-date-sp {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: -500px 0;
    }
  }
}

/* --------------------------------------------------
第2階層NAVI
-------------------------------------------------- */

.centered {position: relative;overflow: hidden;margin:20px 0 80px;}
.centered ul {position: relative;left: 50%;float: left;padding-top:50px;}
.centered ul li {position: relative;left: -50%;float: left;font-size:16px;line-height:1.9;white-space: nowrap;}
.centered ul li a{margin:0 20px;}


/* ########### 768px以下 ########### */
@media (max-width: 768px) {

.centered ul li{font-size:14px;}
.centered ul li a{margin:0 5px;}

}/* 768px以下end */


/* ########### 500px以下 ########### */
@media (max-width: 500px) {

.centered ul li{font-size:11px;}

}/* 500px以下end */


/* ########### 400px以下 ########### */
@media (max-width: 500px) {

.centered ul li{font-size:10px;}

}/* 400px以下end */



/* --------------------------------------------------
キャリアステップ
-------------------------------------------------- */

.careerstep img{max-width:1800px;width:100%;height:auto;}
.careerstep p{margin-top:40px;}



/* --------------------------------------------------
データで見る株式会社エンプラ
-------------------------------------------------- */

.wrapper-enpuradata{display: flex;align-items: stretch;justify-content: space-between;flex-wrap: wrap;}
.wrapper-enpuradata .enpuradata{width:48%;margin:1%;}

.wrapper-enpuradata .enpuradata .card {width: 100%;max-width: 1100px;height: 500px; background: #fff;border-radius: 20px;box-shadow:0 20px 40px rgba(0, 0, 0, 0.10),0 5px 10px rgba(0, 0, 0, 0.05);padding: 40px;box-sizing: border-box;}


.wrapper-enpuradata .enpuradata .card h4{font-size:1.7rem;font-weight:600;}
.wrapper-enpuradata .enpuradata .card .datetext{font-size:1.1rem;color:var(--label-bg);text-align:center;}
.wrapper-enpuradata .enpuradata .card .datetext span{font-size:3.8rem;font-weight:600;margin-right:5px;}

.date-color01{background:linear-gradient(transparent 90%, #91c2df 90%);}
.date-color02{background:linear-gradient(transparent 90%, #f3b3c8 90%);}



/* 円グラフ */

@property --rate {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.gender-chart {
  text-align: center;
}

.pie {
  --rate: 0deg;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: conic-gradient(
    #91c2df 0deg var(--rate),
    #f3b3c8 var(--rate) 360deg
  );
  animation: none;
}

.gender-chart.is-active .pie {
  animation: pieChart 1.8s ease-out forwards;
}

@keyframes pieChart {
  to {
    --rate: 216deg; /* 60% = 360 × 0.6 */
  }
}


/* 平均年齢横グラフ */

.age-graphs {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.age-graph {
  width: 320px;
  font-family: sans-serif;
}

.age-title {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 800;
  color: #14218b;
  text-align: center;
}

.age-row {
  display: grid;
  grid-template-columns: 45px 1fr 50px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.age-label {
  font-size: 14px;
  font-weight: 700;
  color: #555;
  text-align: right;
}

.age-bar-wrap {
  height: 20px;
}

.age-bar {
  width: 0;
  height: 100%;
  border-radius: 0 8px 8px 0;
}

.age-percent {
  font-size: 18px;
  font-weight: 800;
  color: #14218b;
  opacity: 0;
  transform: translateX(-8px);
}

/* 男性カラー */
.blue-light { background: #91c2df; }
.blue { background: #4c73f0; }
.blue-dark { background: #1237c4; }
.blue-dark02 { background: #1d2082; }
.blue-dark03 { background: #0f0960; }


/* 女性カラー */
.pink-light { background: #f3b3c8; }
.pink { background: #ef6f9f; }
.pink-dark { background: #d83c7c; }
.pink-dark02 { background: #c7337f; }
.pink-dark03 { background: #a12b68; }



.gray { background: #c9caca; }

/* スクロールで表示されたら発火 */
.age-graphs.is-active .age-bar {
  animation: barAnime 1.4s ease-out forwards;
}

.age-graphs.is-active .age-percent {
  animation: percentAnime .6s ease-out forwards;
}

.age-graphs.is-active .age-row:nth-of-type(1) .age-bar { animation-delay: .1s; }
.age-graphs.is-active .age-row:nth-of-type(2) .age-bar { animation-delay: .25s; }
.age-graphs.is-active .age-row:nth-of-type(3) .age-bar { animation-delay: .4s; }
.age-graphs.is-active .age-row:nth-of-type(4) .age-bar { animation-delay: .55s; }
.age-graphs.is-active .age-row:nth-of-type(5) .age-bar { animation-delay: .7s; }

.age-graphs.is-active .age-row:nth-of-type(1) .age-percent { animation-delay: .9s; }
.age-graphs.is-active .age-row:nth-of-type(2) .age-percent { animation-delay: 1.05s; }
.age-graphs.is-active .age-row:nth-of-type(3) .age-percent { animation-delay: 1.2s; }
.age-graphs.is-active .age-row:nth-of-type(4) .age-percent { animation-delay: 1.35s; }
.age-graphs.is-active .age-row:nth-of-type(5) .age-percent { animation-delay: 1.5s; }

@keyframes barAnime {
  from { width: 0; }
  to { width: var(--w); }
}

@keyframes percentAnime {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ################################### 画面サイズ960px以下 ########################################### */
@media screen and (max-width:960px) {

.wrapper-enpuradata{display: block;}
.wrapper-enpuradata .enpuradata{width:100%;margin:0 0 50px;}

}/* 960px以下end */





/* ################################### 画面サイズ768px以下 ########################################### */
@media screen and (max-width: 768px) {
  .age-graphs {
    display: block;
  }

  .age-graph {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 35px;
  }
}/* 768px以下end */




/* 100％円グラフ */

@property --p {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

.donut {
  --p: 0;
  --target: 100;
  --color: #1237c4;
  --bg: #e5e5e5;

  width: 180px;
  height: 180px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;

  background: conic-gradient(
    var(--color) calc(var(--p) * 3.6deg),
    var(--bg) 0deg
  );
}

@property --p {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

.donut {
  --p: 0;
  --target: 46.6;
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(
    #1237c4 calc(var(--p) * 1%),
    #c9caca 0
  );
}

/* スクロールで表示されたら発火 */
.donut.is-active {
  animation: donutAnim 1.6s ease-out forwards;
}

.donut::before {
  content: "";
  position: absolute;
  inset: 28px;
  background: #fff;
  border-radius: 50%;
}

.donut-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #1237c4;
}

.donut-text span {
  font-size: 42px;
}

.donut-text small {
  font-size: 20px;
  margin-left: 2px;
}

@keyframes donutAnim {
  to {
    --p: var(--target);
  }
}


