.top-actions{
    position:fixed;
    top:20px;
    right:28px;
    display:flex;
    gap:14px;
    z-index:100;
    opacity:1;
    transform:translateY(0);
    transition:opacity .4s ease, transform .4s ease;
    pointer-events:auto;
}

.top-actions.show{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}

.top-actions.hide{
  opacity:0;
  transform:translateY(-20px);
  pointer-events:none;
}

.top-menu-toggle{
  display:none;
}

.top-menu-toggle.hide{
  opacity: 0;
  pointer-events: none;
}

body.modal-open .top-menu-toggle,
body.modal-open .top-actions,
body.modal-open .site-logo {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.top-btn{
  height:48px;
  padding:0 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-size:15px;
  line-height:1;
  text-decoration:none;
  font-weight:600;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.recruit{
    background: linear-gradient(135deg, #FFD86A, #FFC83D);
    color: #8a5c00;
    transition: all .3s ease;
}

.recruit:hover{
    background: linear-gradient(135deg, #FFE68A, #F4B400);
    box-shadow: 0 8px 30px rgba(255, 200, 61, 0.6);
    transform: translateY(-3px);
}

.contact{
    background: linear-gradient(135deg, #2f6ca8 0%, #1e3f70 100%);
    color: #fff;
    border: 2px solid rgba(215, 235, 255, 0.85);
    transition: all .3s ease;
}

.contact:hover{
    background: linear-gradient(135deg, #4b86c0 0%, #2a5f9d 100%);
    color: #fff;
    border-color: #ffffff;
}

.title-wrap{
  text-align:center;
  color:white;
}

.office-item {
  cursor: pointer;
}

.office-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.office-modal.is-open {
  display: flex;
}



.office-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 31, 58, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.office-modal__dialog {
  position: relative;
  width: min(92vw, 640px);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(93, 154, 214, 0.3);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(30, 63, 112, 0.35);
  padding: 28px 24px 24px;
}

.office-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #1e3f70;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.office-modal__title {
  margin: 0 0 18px;
  color: #1e3f70;
  font-size: 24px;
}

.office-modal__image {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(30, 63, 112, 0.15);
}

.office-modal__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 20px;
}

.office-modal__row {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid rgba(93, 154, 214, 0.2);
  padding-bottom: 12px;
}

.office-modal__row dt {
  min-width: 70px;
  color: #3f7fc2;
  font-weight: 700;
}

.office-modal__row dd {
  margin: 0;
  color: #1e3f70;
  line-height: 1.8;
}

.office-modal__map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(135deg, #3f7fc2 0%, #1e3f70 100%);
  color: #fff;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
}

.office-modal__map-btn:hover {
  background: linear-gradient(135deg, #5d9ad6 0%, #3f7fc2 100%);
}

/* 発見！ */
.catch{
  font-size:70px;
  font-weight:700;
  color:#FFC83D;
  letter-spacing:.08em;
  margin-bottom: 0;
  position:relative;
  display:inline-block;

  text-shadow:
    0 4px 0 #d39c22,
    0 10px 20px rgba(0,0,0,.25);
}

.word{
  display:inline-block;
}

.ex{
  
  position:absolute;
  animation:jump 1.6s ease-in-out infinite;
}

@keyframes jump{
  0%{ transform:rotate(15deg) translateY(0px);}
  50%{ transform:rotate(15deg) translateY(-10px);}
  100%{ transform:rotate(15deg) translateY(0px);}
}



/* メイン */
.main-title{
  line-height:1.4;
  font-size:clamp(26px,3.5vw,44px);
  margin: 0px 0px 10px 0px;
}

/* 行間調整 */
.line{
  display:block;
  font-size: 55px;
}

.brand-main{
  display:inline-block;
  line-height:1.08;
}

.brand-main br{
  display:none;
}

/* ヒミツ強調 */
/* .accent{
  color:#FFC83D;
  font-size:1.2em;
  text-shadow:
    0 0 8px rgba(255,200,61,.6),
    0 0 20px rgba(255,200,61,.6),
    0 0 40px rgba(255,200,61,.4);
} */

.small{
  font-size:40px;
  opacity:.8;
  margin-left:2px;
}


/* 「街」「支」強調 */
.big{
  font-size:60px;
  font-weight:700;

  text-shadow:
    0 3px 0 rgba(0,0,0,.15),
    0 10px 20px rgba(0,0,0,.25);
    transform:translateY(6px);
}


/* ヒミツ */
.accent{
  color:#FFC83D;
  display:block;
  font-size:64px;
  font-weight:700;
  margin-top:6px;

  text-shadow:
    0 0 8px rgba(255,200,61,.6),
    0 0 20px rgba(255,200,61,.6),
    0 0 40px rgba(255,200,61,.4);
}

/* 初期は非表示 */
.catch,
.main-title .line,
.accent{
  opacity:0;
  transform:translateY(25px) scale(.95);
}

/* 発見！ポン */
.show-catch{
  animation:pop .5s cubic-bezier(.2,1.6,.4,1) forwards;
}

/* タイトル */
.show-line{
  animation:rise .6s ease forwards;
}

/* ヒミツ専用 */
.show-secret{
  animation:secret .9s ease forwards;
}

@keyframes pop{
  0%{opacity:0; transform:scale(.6)}
  70%{opacity:1; transform:scale(1.15)}
  100%{opacity:1; transform:scale(1)}
}

@keyframes rise{
  to{opacity:1; transform:translateY(0) scale(1)}
}

@keyframes secret{
  0%{opacity:0; transform:translateY(30px) scale(.8)}
  60%{opacity:1; transform:translateY(0) scale(1.15)}
  100%{
    opacity:1;
    transform:scale(1);
    text-shadow:0 0 25px rgba(125,211,252,.9);
  }
}

.know{
  position: relative;  
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  pointer-events: none;
  padding: 80px 20px 0;

  /* 親は中央寄せ、テキストは内部で左寄せ */
  text-align: center; 
  max-width: 600px; /* 全体の最大幅 */
  margin: 80px auto 0 auto;
}

.know.show-know{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.know h2,
.know h3{
  text-align: center;
}

.know h2{
  margin-bottom: 0;
}
.know h3{
  margin-top: 10px;
  margin-bottom: 40px;
  font-size: 20px;
}

.know p{
  text-align: left;
  font-size: 18px;
  line-height: 1.8;
  margin: 16px 0;
}
.know_text{
max-width: 900px; /* 横幅広め */
  margin: 0 auto 40px auto;
}
/* 画像は中央寄せかつ最大幅を制限 */
.know img{
  display: block;
  margin: 20px auto; /* 中央寄せ */
  max-width: 100%;   /* 親幅に合わせて縮小 */
  width: 500px;      /* 最大サイズ */
  height: auto;
}



.recruit-message{
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
    135deg,
    #0a2463 0%,
    #247ba0 50%,
    #0a5fa0 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

/* 背景動画 */
.earth-video{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

/* 白いシャドウ */
/* .overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.15)
  );
  backdrop-filter: blur(2px);
  z-index: 2;
} */

.overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.2) 70%,
    rgba(0,0,0,0) 100%
  );
  z-index: 2;
}

/* メッセージ */
.message-inner{
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

.message-inner p {
  text-align: left; 
  margin: 0 auto 40px auto; 
}

.recruit-title{
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: .08em;
}

.recruit-text{
  font-size: 20px;
  line-height: 2;
  margin-bottom: 40px;
}

.recruit-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 48px;
  line-height: 1.2;
  background: linear-gradient(135deg, #FFD86A, #FFC83D);
  color: #000;
  font-weight: 700;
  font-size: 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: all .3s ease;
  box-shadow: 0 8px 25px rgba(255, 200, 61, 0.4);
  letter-spacing: 0.05em;
}

.recruit-btn:hover{
  background: linear-gradient(135deg, #FFE68A, #F4B400);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(255, 200, 61, 0.6);
}

.scroll-lock{
  overflow: hidden;
  height: 100vh;
}

.recruit-logo{
  display: block;
  margin: 30px auto; /* 上下の余白 */
  max-width: 250px;  /* ロゴの最大幅 */
  height: auto;
  position: relative;
}


.recruit-logo::before {
  content: "";
  position: absolute;
  width: 160px;  /* ロゴサイズに合わせる */
  height: 160px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at center,
    rgba(255,255,255,0.35) 0%,
    rgba(255,255,255,0.15) 40%,
    rgba(255,255,255,0.05) 60%,
    transparent 80%
  );
  z-index: -1;
  filter: blur(40px);
}

.Business-Operations {
  font-size: 28px;
  color: #fff;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 0;
  padding-bottom: 0;
}
.Business-Operations h2 {
  margin-bottom: 0;
  font-size: 40px;
}
.Business-Operations h3 {
  margin-top: 10px;
  margin-bottom: 40px;
  font-size: 20px;
}

.box-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.box-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.box-item {
  padding: 40px;
  text-align: center;
  border-radius: 20px;
  box-sizing: border-box;
  width: 100%;
  height: 320px;
  list-style: none;
  display: flex;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}

.box-item h4{
  margin: 0;
  transition: none;
}

.box-item h4 span{
  font-size: 20px;
}

.box-item__desc {
  margin: 0;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .35s ease, transform .35s ease;
}



/* 各ボックスに個別画像 */
.bg-access { background-image: url('../img/Business/Externallineconstruction/Externallineconstruction_main.jpg'); }
.bg-user { background-image: url('../img/Business/user-construction/main.jpg'); }
.bg-maintenance { background-image: url('../img/Business/maintenance/main.png'); }
.bg-general { background-image: url('../img/Business/general/general-top.jpg'); }

/* オーバーレイで文字を読みやすくする */
.box-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  border-radius: 20px;
  z-index: 0;
}

@media (hover: hover) and (pointer: fine) {
  .box-item__desc {
    opacity: 0;
    transform: none;
  }

  .box-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
    border-radius: 20px;
    z-index: 0;
    transform: translateY(-100%);
    transition: transform .35s ease;
  }

  .box-item:hover::after,
  .box-item:focus-within::after {
    transform: translateY(0);
  }

  .box-item:hover .box-item__desc,
  .box-item:focus-within .box-item__desc {
    opacity: 1;
    transform: none;
  }

  .box-item:hover,
  .box-item:focus-within {
    transform: none;
  }
}

.box-item * {
  position: relative;
  z-index: 1;
}

/* スマホ用：1列にする */
@media (max-width: 767px) {
  .box-list {
    grid-template-columns: 1fr;
  }
  
  .box-item {
    height: 280px;
  }
}

@media (hover: none), (pointer: coarse) {
  .box-item::after {
    display: none;
  }

  .box-item__desc {
    opacity: 1;
    transform: translateY(0);
  }
}

.CareerVision{
  color: #fff;
  font-size: 28px;
  margin-top: 80px;
  margin-bottom: 0;
  padding-bottom: 0;
}

.vehicle-encyclopedia {
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 0 20px;
  color: #fff;
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
}

.vehicle-encyclopedia h2 {
  margin-bottom: 0;
  font-size: 40px;
}

.vehicle-encyclopedia h3 {
  margin-top: 10px;
  margin-bottom: 40px;
  font-size: 20px;
}

.vehicle-lead {
  max-width: 760px;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.9;
}

.vehicle-slider {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

.vehicle-slider__viewport {
  overflow: hidden;
}

.vehicle-grid {
  display: flex;
  gap: 28px;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.vehicle-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #5d9ad6 0%, #3f7fc2 60%, #1e3f70 100%);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(10, 36, 99, 0.28);
  z-index: 4;
}

.vehicle-slider__arrow--prev {
  left: -26px;
}

.vehicle-slider__arrow--next {
  right: -26px;
}

.vehicle-slider__arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

.vehicle-card {
  flex: 0 0 calc((100% - 28px) / 2);
  min-width: 0;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(93, 154, 214, 0.22);
  text-align: left;
  cursor: pointer;
}

.vehicle-card__hero {
  position: relative;
  padding: 28px 170px 24px 28px;
  background: linear-gradient(135deg, #5d9ad6 0%, #3f7fc2 50%, #1e3f70 100%);
  overflow: hidden;
}

.vehicle-card__hero::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -38px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.vehicle-card__material {
  position: absolute;
  right: -6px;
  bottom: -8px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 20px rgba(11, 37, 67, 0.35);
  z-index: 1;
}

.vehicle-card__tag {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

.vehicle-card__hero h4 {
  margin: 0;
  font-size: 30px;
  color: #fff;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 2;
}

.mobile-only-break {
  display: none;
}

.vehicle-card__body {
  padding: 26px 28px 30px;
}

.vehicle-card__text {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.9;
  color: #1e3f70;
}

.vehicle-card__specs {
  display: grid;
  gap: 14px;
  margin: 0;
}

.vehicle-card__specs div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid rgba(63, 127, 194, 0.18);
}

.vehicle-card__specs dt {
  font-size: 13px;
  font-weight: 700;
  color: #3f7fc2;
}

.vehicle-card__specs dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #1e3f70;
}

.vehicle-card--pole .vehicle-card__hero {
  background: linear-gradient(135deg, #6aa9e2 0%, #4b8bd0 48%, #225486 100%);
}

.vehicle-card--cable .vehicle-card__hero {
  background: linear-gradient(135deg, #4f94d2 0%, #2f6db1 48%, #16385f 100%);
}

.vehicle-card--support .vehicle-card__hero {
  background: linear-gradient(135deg, #6db3df 0%, #538dca 45%, #274d79 100%);
}

.vehicle-card--underfloor .vehicle-card__hero {
  background: linear-gradient(135deg, #7bb7df 0%, #5b97cc 45%, #2d5a84 100%);
}

.vehicle-modal__text {
  margin: 0 0 18px;
  color: #1e3f70;
  line-height: 1.9;
}

.vehicle-modal__nav {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.vehicle-modal__nav-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #3f7fc2 0%, #1e3f70 100%);
}

.vehicle-modal__nav-btn:hover {
  background: linear-gradient(135deg, #5d9ad6 0%, #3f7fc2 100%);
}

.CareerVision h2, .CareerVision h3{
  text-align: center;
}

.CareerVision h2{
  margin-bottom: 0;
  font-size: 40px;
}
.CareerVision h3{
  margin-top: 10px;
  margin-bottom: 40px;
  font-size: 20px;
}

.roadmap {
  padding: 0 20px;
}

.roadmap-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 32px;
  font-weight: bold;
}

.roadmap-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.roadmap-box {
  transition: 0.3s;
}

.roadmap-box:nth-child(even) {
  margin-top: 120px;
}

.level {
  font-weight: bold;
  text-align: center;
  font-size: 30px;
  margin-top: 0;
  margin-bottom: 20px;
}

/* 画像 */
.image-wrapper {
  position: relative;
  border-radius: 15px;
  margin-bottom: 20px;
}

.image-wrapper img {
  width: 260px;
  height: 196px;
  object-fit: cover;
  display: block;
  border-radius: 80px;
}

/* STEPバッジ */
.step-badge {
  display: flex;
  flex-direction: column;
  text-align: center;
  position: absolute;
  top: -26px;     /* 上に少しはみ出す */
  left: -20px;    /* 左に少しはみ出す */
  background: #000;
  color: #fff;
  padding: 8px 8px;
  font-size: 14px;
  border-radius: 50%;
  font-weight: bold;
  width: 65px;
  height: 65px;
  align-items: center;
}

.step-badge span{
  font-size: 30px;
}

/* 説明文 */
.description {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.description p {
  text-align: left;
  margin: 0;
}

.description h4,
.description h5{
  margin: 20px 0;
  font-size: 20px;
}

.voices {
  margin: 80px auto 0;
  padding: 0 20px;
  color: #fff;
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
}

.voices h2 {
  margin-bottom: 0;
  font-size: 40px;
}

.voices h3 {
  margin-top: 10px;
  margin-bottom: 40px;
  font-size: 20px;
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  max-width: 860px;
  margin: 0 auto;
}

.voice-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  cursor: pointer;
}

.voice-card__photo-wrap {
  position: relative;
  width: 340px;
  height: 600px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
}

.voice-card__photo-wrap img {
  width: 340px;
  height: 600px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.voice-card[data-voice-key="m"] .voice-card__photo-wrap img {
  object-position: 63% center;
}

/* .voice-card[data-voice-key="yamamoto"] .voice-card__photo-wrap img {
  object-position: 42% center;
} */

.voice-card__name {
  position: absolute;
  left: -24px;
  right: -24px;
  bottom: 54px;
  margin: 0;
  transform: rotate(-8deg);
  background: linear-gradient(140deg, #fffdf8 0%, #f5edd2 100%);
  color: #16365f;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(24, 58, 99, 0.22);
  box-shadow: 0 10px 22px rgba(16, 48, 78, 0.26);
  text-align: center;
}

.voice-card__entry-badge {
  position: absolute;
  top: -18px;
  left: 48px;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, #2f6ca8 0%, #1e3f70 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transform: rotate(-8deg);
  box-shadow: 0 8px 18px rgba(18, 40, 68, 0.32);
}

.voice-card__name-main {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #16365f;
}

.voice-card__name-sub {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  color: #345f8e;
}

.voice-card__comment {
  margin: 0;
  color: #1e3f70;
  text-align: left;
  font-size: 15px;
  line-height: 1.9;
}

.voice-modal__meta {
  margin: 0 0 12px;
  color: #3f7fc2;
  font-size: 14px;
  font-weight: 700;
}

#voiceModal .office-modal__dialog {
  width: min(94vw, 1040px);
  height: min(90vh, 860px);
  margin: 0;
  padding: 22px;
}

.voice-modal__layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 22px;
  height: 100%;
}

.voice-modal__left {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#voiceModal .office-modal__image {
  width: 100%;
  height: 420px;
  min-height: 420px;
  max-height: 420px;
  object-fit: cover;
  margin-bottom: 12px;
  flex: none;
}

.voice-modal__profile {
  background: rgba(30, 63, 112, 0.08);
  border: 1px solid rgba(93, 154, 214, 0.28);
  border-radius: 12px;
  padding: 10px 12px;
}

.voice-modal__affiliation {
  margin: 0;
  color: #3f7fc2;
  font-size: 13px;
  font-weight: 700;
}

.voice-modal__name {
  margin: 4px 0 0;
  color: #1e3f70;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.voice-modal__right {
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: none;
}

.voice-modal__right::-webkit-scrollbar {
  display: none;
}

.voice-modal__message {
  margin: 0 0 8px;
  color: #1e3f70;
  font-size: 15px;
  line-height: 1.9;
}

.voice-modal__schedule-title {
  margin: 18px 0 10px;
  color: #1e3f70;
  font-size: 18px;
}

.voice-modal__schedule {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.voice-modal__schedule li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: start;
  color: #1e3f70;
  font-size: 14px;
  line-height: 1.8;
  padding-top: 8px;
  border-top: 1px solid rgba(63, 127, 194, 0.18);
}

.voice-modal__schedule-time {
  font-weight: 700;
  color: #3f7fc2;
}

.voice-modal__schedule-text {
  margin: 0;
}

.voice-modal__qa-title {
  margin: 20px 0 10px;
  color: #1e3f70;
  font-size: 18px;
}

.voice-modal__qa {
  display: grid;
  gap: 12px;
  padding-bottom: 8px;
}

.voice-modal__qa-section {
  border: 1px solid rgba(93, 154, 214, 0.28);
  border-radius: 12px;
  background: rgba(30, 63, 112, 0.04);
  padding: 10px 12px;
}

.voice-modal__qa-section h5 {
  margin: 0 0 8px;
  color: #3f7fc2;
  font-size: 15px;
}

.voice-modal__qa-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.voice-modal__qa-list li {
  color: #1e3f70;
  font-size: 14px;
  line-height: 1.7;
}

.voice-modal__qa-q {
  margin: 0;
  font-weight: 700;
}

.voice-modal__qa-a {
  margin: 2px 0 0;
  color: #345f8e;
}

@media (max-width: 900px) {
  .office-modal {
    padding: 12px;
    box-sizing: border-box;
  }

  .office-modal__dialog {
    width: 100%;
    max-width: 680px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #voiceModal .office-modal__dialog {
    width: min(94vw, 640px);
    height: auto;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    border-radius: 20px;
    margin: auto;
  }

  #voiceModal .office-modal__close {
    position: sticky;
    top: 8px;
    float: right;
    margin: 0 0 -46px 0;
    z-index: 10;
  }

  .voice-modal__layout {
    grid-template-columns: 1fr;
    height: auto;
    gap: 12px;
  }

  #voiceModal .office-modal__image {
    height: 52vw;
    max-height: 280px;
    min-height: unset;
    border-radius: 12px;
    flex: none;
  }

  .voice-modal__right {
    max-height: none;
    overflow-y: visible;
  }
}

/* スマホ */
@media (max-width: 900px) {
  .vehicle-card {
    flex: 0 0 100%;
  }

  .roadmap-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .voices-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  .office-modal {
    padding: 10px;
  }

  .office-modal__dialog {
    max-height: calc(100vh - 20px);
    padding: 14px 14px 12px;
  }

  .office-modal__image {
    max-height: 220px;
    margin-bottom: 10px;
  }

  .office-modal__title {
    margin-bottom: 10px;
  }

  .vehicle-modal__text {
    margin-bottom: 18px;
    line-height: 1.6;
  }

  .office-modal__details {
    gap: 6px;
    margin-bottom: 10px;
  }

  .office-modal__row {
    padding-bottom: 6px;
  }

  .office-modal__row dd {
    line-height: 1.5;
  }

  #vehicleModal .office-modal__row {
    min-height: 54px;
  }

  .vehicle-card__text {
    margin-bottom: 36px;
  }

  .vehicle-encyclopedia {
    margin-top: 90px;
  }

  .vehicle-card {
    border-radius: 20px;
  }

  .vehicle-card__hero {
    padding: 22px 132px 18px 20px;
    min-height: 125px;
  }

  .vehicle-card__material {
    width: 120px;
    height: 120px;
    right: -10px;
    bottom: -10px;
  }

  .vehicle-card__hero::after {
    width: 140px;
    height: 140px;
    right: -24px;
    bottom: -28px;
  }

  .vehicle-card__hero h4 {
    font-size: 24px;
  }

  .mobile-only-break {
    display: block;
  }

  .vehicle-card__body {
    padding: 20px 20px 24px;
  }

  .vehicle-card__specs div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .vehicle-slider__arrow {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .vehicle-slider__arrow--prev {
    left: -21px;
  }

  .vehicle-slider__arrow--next {
    right: -21px;
  }

  .roadmap-container {
    grid-template-columns: 1fr;
  }

  .voices {
    margin-top: 90px;
  }

  .voice-card__photo-wrap {
    width: min(340px, calc(100vw - 48px));
    height: 600px;
  }

  .voice-card__photo-wrap img {
    width: 100%;
    height: 100%;
  }

  .voice-card__name {
    left: -14px;
    right: -14px;
    bottom: 40px;
    padding: 12px 14px;
  }

  .voice-card__entry-badge {
    top: -14px;
    left: 34px;
    font-size: 10px;
    padding: 4px 9px;
  }

  .voice-card__name-main {
    font-size: 20px;
  }

  .voice-card__name-sub {
    font-size: 13px;
  }
}



.area {
  font-size: 28px;
  color: #fff;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 0;
  padding-bottom: 0;
}
.area h2 {
  margin-bottom: 0;
  font-size: 40px;
}
.area h3 {
  margin-top: 10px;
  margin-bottom: 40px;
  font-size: 20px;
}
.area h4 {
  margin: 0;
  padding-bottom: 5px;
  font-size: 30px;
  font-weight: normal;
}

.map-click-hint {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #dff0ff;
  letter-spacing: 0.01em;
  animation: mapHintPulse 1.8s ease-in-out infinite;
}

.map-filter-reset {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(12, 31, 58, 0.35);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  margin: 0 0 18px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.map-filter-reset:hover {
  background: rgba(12, 31, 58, 0.55);
  transform: translateY(-1px);
}

@keyframes mapHintPulse {
  0% { opacity: 0.65; }
  50% { opacity: 1; }
  100% { opacity: 0.65; }
}




svg {
  width: 900px; /* ここでサイズを制御 */
  height: 500px;
  overflow: hidden; /* はみ出しをカット */
  display: block;
  margin: 0 auto;
  padding: 0;
}
/* 地図コンテナ */
#map-container {
  position: relative;
  width: 100%;       /* 横幅いっぱい */
  max-width: none;   /* 最大幅制限なし */
  margin: 0 auto;
  overflow: visible;
  padding: 0;
}

#map-container p {
  margin: 0;
  font-size: 18px;
  padding: 0;
  
}

/* SVG 地図 */
#japan-map {
  width: 100%;        /* 横幅に合わせる */
  height: auto;     /* 高さを大きくして縦方向も広げる */
  max-height: none;
}

/* 都道府県 */
.prefecture {
  fill: #d9d9d9;
  stroke: #4b5563;
  stroke-width: 1.3;
  cursor: pointer;
  transition: fill 0.24s ease, stroke-width 0.24s ease, filter 0.24s ease, transform 0.24s ease;
}

.prefecture:hover {
  stroke-width: 2.2;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45));
}

/* 県ごとのイメージカラー */
#aichi.prefecture {
  fill: #f5b83d;
  stroke: #9a6800;
}

#aichi.prefecture:hover,
#aichi.prefecture.is-selected {
  fill: #ffd56d;
  stroke: #7d5300;
  filter: drop-shadow(0 0 10px rgba(245, 184, 61, 0.75));
}

#mie.prefecture {
  fill: #61b98b;
  stroke: #1f6b47;
}

#mie.prefecture:hover,
#mie.prefecture.is-selected {
  fill: #82d2a8;
  stroke: #175235;
  filter: drop-shadow(0 0 10px rgba(97, 185, 139, 0.75));
}

#shizuoka.prefecture {
  fill: #6bb9d8;
  stroke: #1f5f88;
}

#shizuoka.prefecture:hover,
#shizuoka.prefecture.is-selected {
  fill: #8ed5ef;
  stroke: #184c6e;
  filter: drop-shadow(0 0 10px rgba(107, 185, 216, 0.75));
}

/* 詳細情報ボックス */
#pref-info {
  margin-top: 20px;
  padding: 15px 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 8px;
  display: none; /* 初期非表示 */
  max-width: 600px;
}

.office-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ← 最大2列 */
  gap: 40px;
  list-style: none;
  padding: 0;
  max-width: 1100px;
  margin: 0 auto 50px;
}

.office-item {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30, 63, 112, 0.22);
  border: 1px solid rgba(93, 154, 214, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 400px;
  cursor: pointer;
}

.office-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(30, 63, 112, 0.3);
  border-color: rgba(63, 127, 194, 0.45);
}

/* 画像 */
.office-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.38s ease;
}

.office-item:hover .office-image img {
  transform: scale(1.05);
}

/* 下の情報部分 */
.office-info {
  padding: 20px;
  text-align: left;
}

.office-info h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #1e3f70;
  transition: color 0.28s ease;
}

.office-item:hover .office-info h3 {
  color: #2a5f9d;
}

.office-info p {
  color: #1e3f70;
}

@media (max-width: 1100px) {
  .vehicle-slider {
    padding: 0 16px;
  }

  .vehicle-slider__arrow--prev {
    left: 2px;
  }

  .vehicle-slider__arrow--next {
    right: 2px;
  }
}

@media (max-width: 600px) {
  .vehicle-slider__arrow--prev {
    left: -7px;
  }

  .vehicle-slider__arrow--next {
    right: -7px;
  }
}

@media (max-width: 1100px) {
  .vehicle-card__hero {
    padding: 24px 150px 20px 24px;
  }

  .vehicle-card__material {
    width: 150px;
    height: 150px;
    right: -8px;
    bottom: -8px;
  }

  svg {
    width: min(100%, 760px);
    height: auto;
  }

  .office-list {
    max-width: 100%;
    padding: 0 16px;
    gap: 24px;
  }

  .office-item {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .office-list {
    grid-template-columns: 1fr;
  }
}

.slide_page {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 28px;
  color: #fff;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 0;
  padding-bottom: 0;
}

.slide_page__pdf {
  width: min(920px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.slide_page__pdf-btn {
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #3f7fc2 0%, #1e3f70 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.slide_page__pdf-btn:hover {
  background: linear-gradient(135deg, #5d9ad6 0%, #3f7fc2 100%);
}

.slide_page__pdf iframe {
  width: min(920px, 92vw);
  height: min(72vh, 680px);
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: none;
}

.slide_page__pdf iframe.is-loaded {
  display: block;
}

.slide_page__pdf-link {
  color: #dbeeff;
  font-size: 16px;
  text-decoration: underline;
}

/* フリップブック */
.flipbook-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(920px, 92vw);
  padding: 40px 0;
  color: #dbeeff;
  font-size: 16px;
}

.flipbook-loading-text {
  margin: 0;
  font-size: 16px !important;
}

.flipbook-progress {
  width: 260px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.flipbook-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #5d9ad6, #3f7fc2);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.flipbook-wrapper {
  width: min(920px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#flipbook {
  margin: 0 auto;
}

.flipbook-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.flipbook-nav-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #3f7fc2 0%, #1e3f70 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.flipbook-nav-btn:hover {
  background: linear-gradient(135deg, #5d9ad6 0%, #3f7fc2 100%);
}

.flipbook-page-info {
  color: #dbeeff;
  font-size: 14px;
  min-width: 64px;
  text-align: center;
}

/* 採用条件サブタイトル */
.recruit-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: #1e3f70;
  margin: 0 0 12px 0;
  padding: 6px 12px;
  border-left: 4px solid #3f7fc2;
  background: rgba(63, 127, 194, 0.06);
}

.recruit-subtitle + .recruit-spec-wrap {
  margin-bottom: 28px;
}

.recruit-spec-wrap + .recruit-subtitle {
  margin-top: 36px;
}

.recruit-subtitle + .recruit-spec-wrap:last-child {
  margin-bottom: 0;
}

.recruit-contact {
  padding: 16px 20px;
  background: rgba(63, 127, 194, 0.06);
  border-radius: 8px;
  line-height: 1.8;
}

.recruit-contact p {
  margin: 0;
  font-size: 15px;
  color: #1e3f70;
}

.recruit-contact a {
  color: #3f7fc2;
  text-decoration: underline;
}
.slide_page h2 {
  margin-bottom: 0;
}
.slide_page h3 {
  margin-top: 10px;
  margin-bottom: 40px;
  font-size: 20px;
}

.slide_page p {
  margin: 0 0 20px 0;
  font-size: 30px;
}

@media (max-width: 1024px) {
  .top-menu-toggle.hide{
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
  }

  .top-menu-toggle{
    position: fixed;
    top: 18px;
    right: 10px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(20, 50, 84, 0.8);
    box-shadow: 0 8px 20px rgba(9, 26, 46, 0.35);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 10001;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .top-menu-toggle span{
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: transform .25s ease, opacity .25s ease;
  }

  .top-menu-toggle.is-open span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
  }

  .top-menu-toggle.is-open span:nth-child(2){
    opacity: 0;
  }

  .top-menu-toggle.is-open span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
  }

  .top-actions{
    top: 66px;
    left: auto;
    right: 10px;
    gap: 6px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(20, 50, 84, 0.72);
    box-shadow: 0 8px 24px rgba(9, 26, 46, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: max-content;
    max-width: calc(100vw - 20px);
    justify-content: flex-end;
    flex-wrap: nowrap;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }

  .top-actions.show,
  .top-actions.hide{
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }

  .top-actions.is-mobile-open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .top-btn{
    min-height: 44px;
    height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }
}

/* =========================
   📱 スマホ最適化
========================= */
@media (max-width: 768px){

  /* =====================
     ロゴ
  ===================== */
  .site-logo{
    top:16px;
    left:8px;
    padding:6px 12px;
  }

  .site-logo img{
    height:28px;
  }

  /* =====================
     タイトル調整
  ===================== */
  .catch{
    font-size:40px;
  }

  .line{
    font-size:28px;
  }

  .brand-main br{
    display:block;
  }

  .big{
    font-size:36px;
  }

  .small{
    font-size:20px;
  }

  .accent{
    font-size:40px;
  }

  /* =====================
     orbit画像小さく
  ===================== */
  .orbit{
    width:220px;
  }

  /* =====================
     電気通信とは？
  ===================== */
  .know{
    margin-top: 80px;
    max-width:90%;
    font-size:20px;
  }

  .know p{
    font-size:14px;
  }

  .know img{
    width:100%;
  }

  /* =====================
     仕事一覧
  ===================== */
  .Business-Operations{
    margin-top: 80px;
  }

  .box-list{
    gap:20px;
  }

  .box-item{
    width:100%;
    height:220px;
    padding:20px;
  }

  .box-item h4{
    font-size:18px;
  }

  .box-item h4 span{
    font-size:14px;
  }

  .box-item__desc {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.7;
  }

  /* =====================
     キャリア
  ===================== */
  .CareerVision{
    margin-top: 80px;
    text-align: center;
  }

  .roadmap-container{
    grid-template-columns:1fr;
    gap:30px;
  }

  .roadmap-box{
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
  }

  .roadmap-box:nth-child(even){
    margin-top:0;
  }

  .image-wrapper img{
    width:100%;
    height:200px;
    object-fit:cover;
  }

  .level{
    font-size:26px;
  }

  /* =====================
     PDF
  ===================== */
  .slide_page{
    margin-top: 80px;
    padding: 0 16px;
  }

  .slide_page h2 {
    font-size: 28px;
  }

  .slide_page h3 {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .slide_page p {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .slide_page__pdf {
    width: min(100%, 560px);
  }

  .slide_page__pdf iframe {
    width: 100%;
    height: min(62vh, 420px);
  }
  /* =====================
     地図
  ===================== */
  .area{
    margin-top: 80px;
  }

  .area h4 {
    font-size: 18px;
    line-height: 1.4;
  }

  svg{
    width:100%;
    height:auto;
  }

  .office-list{
    grid-template-columns:1fr;
    gap:20px;
  }

  .office-item{
    width:100%;
    height:auto;
  }

  .office-image img{
    height:200px;
  }

  /* =====================
     リクルート
  ===================== */
  .recruit-title{
    font-size:22px;
  }

  .recruit-text{
    font-size:14px;
    line-height:1.8;
  }

  .recruit-btn{
    min-height: 48px;
    padding: 8px 28px;
    font-size: 15px;
  }

  .message-inner{
    padding:0 16px;
  }

  /* =====================
     見出し余白統一
  ===================== */
  h3{
    margin-bottom: 30px;
  }

  .quiz-option {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 18px 16px;
    border-radius: 22px;
  }

  .quiz-option.correct {
    padding-right: 74px;
  }

  .quiz-option.correct::after {
    right: 12px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .top-menu-toggle {
    width: 48px;
    height: 48px;
  }

  .vehicle-slider__arrow {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .vehicle-lead {
    text-align: left;
  }

  .office-modal__close {
    width: 46px;
    height: 46px;
    font-size: 34px;
    top: 8px;
    right: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 8px rgba(30, 63, 112, 0.18);
  }

  .office-modal__map-btn,
  .vehicle-modal__nav-btn {
    min-height: 46px;
    font-size: 15px;
    padding: 12px 18px;
  }

  .quiz-result {
    margin-top: 32px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .quiz-result h4 {
    font-size: 20px;
  }

  .quiz-result p {
    font-size: 14px;
  }

}

/* =====================
   iPad / タブレット対応 (769px〜1024px)
===================== */
@media (min-width: 769px) and (max-width: 1199px) {
  .CareerVision {
    text-align: center;
  }

  .roadmap-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .roadmap-box:nth-child(even) {
    margin-top: 0;
  }

  .image-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 43 / 20;
    object-fit: cover;
  }
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .top-actions {
    left: 200px;
    right: 16px;
    max-width: calc(100vw - 216px);
    justify-content: flex-end;
  }
}

@media (hover: none) and (pointer: coarse) {
  .site-logo:hover,
  .recruit:hover,
  .contact:hover {
    transform: none;
  }
}

.quiz-one {
  padding: 12px 20px 0;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  margin-bottom: 0;
}

.quiz-one.show-quiz {
  opacity: 1;
  transform: translateY(0);
}

/* タイトル */
.quiz-title{
  margin-bottom:30px;
}

/* ?アイコン */
.quiz-icon{
  display:inline-block;
  font-size:70px;
  font-weight:bold;
  color:#ffc107;
  animation:swingQuestion 2.5s ease-in-out infinite;
  transform-origin:center;
  font-family: "Zen Maru Gothic", sans-serif;
  text-shadow: 0 4px 0 #d39c22, 0 10px 20px rgba(0, 0, 0, .25);
}

@keyframes swingQuestion{

  0%{
    transform:rotate(-20deg) translate(-2px,-2px);
  }

  50%{
    transform:rotate(20deg) translate(2px,-2px);
  }

  100%{
    transform:rotate(-20deg) translate(-2px,-2px);
  }

}

.quiz-box {
  max-width: 750px;
  margin: 0 auto;
  padding: 40px ;
  border-radius: 30px;
  background: #fff;
  box-shadow: 
    0 30px 80px rgba(0,0,0,0.1),
    0 8px 0 #000;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.quiz-box.show {
  opacity: 1;
}

.quiz-question {
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 50px;
  max-width: 620px;
  text-align: left;
}

.quiz-option {
  margin: 22px 0;
  padding: 20px;
  border-radius: 100px;
  border: 3px solid #000;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s;
  background: #fff;
  position: relative;
  display: block;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  text-align: left;
  box-sizing: border-box;
}

.quiz-option:hover {
  transform: scale(1.06) rotate(-1deg);
}

/* 正解 */
.quiz-option.correct {
  background: linear-gradient(135deg, #b8ffdb 0%, #72f6b4 100%);
  border-color: #16a34a;
  color: #065f46;
  animation: bounce 0.4s ease;
}

.quiz-option.correct::after {
  content: "正解";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* 不正解 */
.quiz-option.wrong {
  background: #ff9f9f;
  animation: shake 0.3s ease;
}

.quiz-result {
  margin-top: 50px;
  padding: 35px;
  border-radius: 25px;
  border: 2px solid #ffd86a;
  background: linear-gradient(180deg, #fffbe6 0%, #fff4bf 100%);
  box-shadow: 0 14px 28px rgba(245, 180, 0, 0.2);
  display: none;
  animation: pop 0.4s ease;
  text-align: left;
  position: relative;
}

.quiz-result::before {
  content: "解説";
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f4b400;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.quiz-result h4 {
  font-size: 22px;
  margin: 0 0 12px;
  text-align: right;
  color: #2a7a4a;
}

.quiz-result p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #2d3748;
}

/* アニメーション */
@keyframes bounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-6px); }
  100% { transform: translateX(0); }
}

@keyframes pop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ===============================
   Footer
================================ */

.site-footer{
  background:#fff;
  border-top:1px solid #eee;
  overflow-x: hidden;
}

/* フッター内側 */

.footer-inner{
  max-width:1000px;
  margin:0 auto;
  padding:60px 40px;

  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;

  align-items:center;
}

.footer-logo{
  width: 100%;
  max-width: 440px;
}

/* ===============================
   左：会社情報
================================ */

.footer-company{
  font-weight: bold;
}

/* ===============================
   右：上下構造
================================ */

.footer-right{
  display:flex;
  flex-direction:column;
  gap:40px;
}

/* ===============================
   MENU
================================ */

.footer-menu ul{
  list-style: none;
  padding: 0;
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.footer-menu li{
  margin-bottom: 0;
}

.footer-menu a{
  text-decoration:none;
  color:#555;
  transition:.2s;
}

.footer-menu a:hover{
  color:#000;
}

.footer-recruit-buttons{
  margin-top:15px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.footer-recruit h4 {
  font-size: 20px;
  letter-spacing: 0.12em;
  color: #0e3f88;
  margin-bottom: 8px;
}

/* ===============================
   会社ホームページ
================================ */

.footer-main-btn{
  display:inline-block;
  margin-top:15px;
  padding:10px 24px;

  background:#0e3f88;
  color:#fff;

  text-decoration:none;
  border-radius:30px;
  font-size:14px;

  transition:.3s;
}

.footer-main-btn:hover{
  background:#2d8bf5;
  transform:translateY(-2px);
  box-shadow:0 6px 15px rgba(0,0,0,0.15);
}

/* ===============================
   お問い合わせ
================================ */

.footer-contact-btn{
  display:inline-block;
  margin-top:10px;
  padding:10px 24px;

  border:2px solid #0e3f88;
  color:#0e3f88;

  text-decoration:none;
  border-radius:30px;
  font-size:14px;

  transition:.3s;
}

.footer-contact-btn:hover{
  background:#0e3f88;
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 6px 15px rgba(0,0,0,0.15);
}

/* ===============================
   個人情報リンク
================================ */

.footer-policy{
  margin-top:15px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.footer-policy a{
  padding:6px 14px;
  border:1px solid #ccc;
  border-radius:20px;

  font-size:12px;
  color:#555;
  text-decoration:none;

  transition:.2s;
}

.footer-policy a:hover{
  border-color:#333;
  color:#000;
}

/* ===============================
   採用ボタン
================================ */

.footer-btn{
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: all .3s ease;
  display: inline-block;
}

/* 新卒：プライマリ */
.footer-btn.new{
  background: linear-gradient(135deg, #FFD86A, #FFC83D);
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 200, 61, 0.4);
  display: flex;
  align-items: center;
}

.footer-btn.new:hover{
  background: linear-gradient(135deg, #FFE68A, #F4B400);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 200, 61, 0.6);
}

/* 中途：セカンダリ */
.footer-btn.mid{
  background: #1e3f70;
  color: #fff;
  border: 2px solid #1e3f70;
}

.footer-btn.mid:hover{
  background: transparent;
  color: #1e3f70;
  border-color: #1e3f70;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 63, 112, 0.2);
}

/* ===============================
   コピーライト
================================ */

.footer-bottom{
  border-top:1px solid #eee;
  text-align:center;
  padding:20px;
  font-size:13px;
  color:#888;
}

#scrollTopBtn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #FFD86A, #FFC83D);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
  z-index: 999;
}

#scrollTopBtn.visible {
  opacity: 1;
  pointer-events: auto;
}

#scrollTopBtn:hover {
  transform: translateY(-3px);
}

#scrollTopBtn svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 1024px) {
  #scrollTopBtn {
    right: 10px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 20px;
  }

  .footer-logo {
    width: min(100%, 360px);
  }
}

@media (max-width: 768px) {
  .footer-inner {
    gap: 36px;
    padding: 42px 16px;
  }

  .footer-logo {
    width: min(100%, 320px);
  }

  .footer-menu ul {
    grid-template-columns: 1fr;
  }

  .footer-btn {
    width: 100%;
    text-align: center;
  }

  .footer-btn.new {
    justify-content: center;
  }
}

/* ===============================
   会社情報セクション
================================ */

.company-info {
  margin-top: 80px;
  padding: 48px 5% 0;
  margin-bottom: 0;
}

.company-info > h2 {
  font-size: 40px;
  letter-spacing: normal;
  color: #fff;
  text-align: center;
  margin-bottom: 0;
  font-weight: 700;
}

.company-info > h3 {
  font-size: 20px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 40px;
  font-weight: 400;
  color: #fff;
  text-shadow: none;
}

/* 会社概要（常時表示） */
.company-overview {
  max-width: 900px;
  margin: 0 auto 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(30, 63, 112, 0.3);
  border: 1px solid rgba(93, 154, 214, 0.2);
}

.company-overview h4 {
  font-size: 24px;
  color: #1e3f70;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #5d9ad6;
  font-weight: 700;
}

.company-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-row {
  display: flex;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row dt {
  font-weight: 700;
  color: #3f7fc2;
  width: 180px;
  min-width: 180px;
  flex-shrink: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.detail-row dd {
  color: #1e3f70;
  line-height: 1.8;
  font-size: 15px;
}

/* アコーディオンセクション */
.accordion-section {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30, 63, 112, 0.25);
  border: 1px solid rgba(93, 154, 214, 0.2);
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 12px 40px rgba(30, 63, 112, 0.35);
  border-color: rgba(93, 154, 214, 0.4);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  cursor: pointer;
  background: linear-gradient(135deg, #3f7fc2 0%, #1e3f70 100%);
  color: white;
  transition: all 0.3s ease;
  user-select: none;
}

.accordion-header:hover {
  background: linear-gradient(135deg, #5d9ad6 0%, #3f7fc2 100%);
}

.accordion-header h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.accordion-icon {
  font-size: 28px;
  font-weight: 300;
  transition: transform 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 40px;
}

.accordion-item.active .accordion-content {
  padding: 40px;
  max-height: 8000px;
}

.recruit-spec-note {
  margin: 0 0 16px;
  color: #1e3f70;
  font-size: 14px;
}

.recruit-spec-wrap {
  overflow-x: auto;
  border: 1px solid rgba(93, 154, 214, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.recruit-spec-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #1e3f70;
  font-size: 14px;
  line-height: 1.6;
}

.recruit-spec-table th,
.recruit-spec-table td {
  border: 1px solid rgba(93, 154, 214, 0.22);
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
}

.recruit-spec-table thead th {
  background: linear-gradient(135deg, #3f7fc2 0%, #1e3f70 100%);
  color: #fff;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 1;
}

  .area h2,
  .Business-Operations h2,
  .vehicle-encyclopedia h2,
  .CareerVision h2,
  .slide_page h2 {
    font-size: 32px;
  }

  .area h3,
  .Business-Operations h3,
  .vehicle-encyclopedia h3,
  .CareerVision h3,
  .slide_page h3 {
    font-size: 18px;
    margin-bottom: 28px;
  }

  .map-click-hint {
    font-size: 12px;
    margin-bottom: 10px;
  }

.recruit-spec-table .category-row th {
  background: rgba(63, 127, 194, 0.16);
  color: #1e3f70;
  font-size: 15px;
}

#map-container {
  padding: 0;
}

.recruit-spec-table .item-col {
  width: 180px;
  padding: 10px 12px;
  background: rgba(93, 154, 214, 0.08);
  font-weight: 700;
  color: #1e3f70;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
  .company-info {
    margin-top: 80px;
    padding: 60px 5%;
  }

  .company-info > h3 {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .company-overview {
    padding: 30px 20px;
  }

  .company-overview h4 {
    font-size: 20px;
  }

  .detail-row {
    flex-direction: column;
    gap: 10px;
  }

  .detail-row dt {
    width: auto;
    min-width: auto;
    font-size: 14px;
  }

  .detail-row dd {
    font-size: 14px;
  }

  .accordion-header {
    padding: 20px 20px;
  }

  .accordion-header h4 {
    font-size: 16px;
  }

  .accordion-icon {
    font-size: 24px;
  }

  .accordion-content {
    padding: 0 20px;
  }

  .accordion-item.active .accordion-content {
    padding: 30px 20px;
  }

  .recruit-spec-table {
    font-size: 13px;
    min-width: 680px;
  }

  .recruit-spec-table th,
  .recruit-spec-table td {
    padding: 8px 10px;
  }

}

@media (max-width: 480px) {
  .company-info > h3 {
    font-size: 20px;
  }

  .company-overview {
    padding: 20px 15px;
  }

  .accordion-header {
    padding: 15px;
  }

  .accordion-header h4 {
    font-size: 14px;
  }

  .accordion-item.active .accordion-content {
    padding: 20px 15px;
  }

}