@charset "UTF-8";
.achievements-section {
  background-color: #FFF5ED;
  text-align: center;
  position: relative;
  padding: 48px 0 32px;
  overflow: hidden;
  margin-top: 11px;
}

.achievements-bg-text {
  font-size: 8vw;
  color: #FCEBC6;
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}

.achievements-title {
  position: relative;
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 900;
  color: #000;
  margin-top: -1.6rem;
  z-index: 2;
}

.achievements-line {
  width: 90px;
  height: 6px;
  margin: 6px auto 0;
  border-radius: 3px;
  background: linear-gradient(to right, #F18627, #FEB202);
}

.achievements-cards {
  overflow: hidden;
  display: flex;
  justify-content: flex-start; /* ← 左寄せ */
  padding: 32px 0;
  background-color: #FFF5ED;
  position: relative;
}

.achievements-slider {
  display: flex;
  gap: 16px;
  transition: transform 0.6s ease;
  transform: translateX(calc(50vw - 175px));
}

.achievement-card {
  flex-shrink: 0;
  width: 350px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 40px 16px;
  text-align: center;
}

/* 会社名 */
.achievement-company {
  font-weight: 700;
  color: #000;
  font-size: 5vw;
  margin-bottom: 30px;
}

/* 業種 */
.achievement-industry {
  display: inline-block;
  background: #1074C4;
  color: #fff;
  font-size: 1rem;
  padding: 11px 8px;
  border-radius: 8px;
  margin-bottom: 30px;
}

/* ロゴ */
.achievement-logo img {
  width: 100%;
  height: 110px;
  margin-bottom: 30px;
  object-fit: contain;
  animation: floatUpDown 3s ease-in-out infinite;
}

/* 課題エリア */
.achievement-task {
  background: #E6E6E6;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 40px;
}

/* 課題ラベル */
.achievement-task-label {
  display: inline-block;
  background: #fff;
  color: #000;
  border: 1px solid #1D7BE6;
  border-radius: 24px;
  padding: 2px 10px;
  font-size: 1rem;
  margin-bottom: 20px;
}

/* 課題本文 */
.achievement-task-text {
  font-size: 1.2rem;
  color: #000;
  line-height: 2;
  text-align: left;
}

/* 実績結果 */
.achievement-result {
  font-weight: 700;
  color: #1074C4;
  font-size: 1.5rem;
  line-height: 1.5;
}

/* ドットのスタイル */
.achievements-dots {
  text-align: center;
  position: relative;
  z-index: 10;
  background-color: #FFF5ED;
  padding: 12px 0;
  border-radius: 0;
}

.achievements-dots .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.achievements-dots .dot.active {
  background: #1074C4;
}

.youtube-movie {
  width: 250px;
  height: auto;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .achievement-card {
    width: 400px;
    padding: 20px;
  }
  .achievement-company {
    font-size: 1.1rem;
  }
  .achievement-result {
    font-size: 1rem;
  }
  .achievements-line {
    width: 160px;
    height: 8px;
  }
  .achievements-title {
    font-size: 2.5rem;
    margin-top: -2.2rem;
  }
  .achievements-bg-text {
    font-size: 10vw;
  }
}
.achievement-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

.achievement-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.achievement-modal-content {
  background: #fff;
  border: 2px solid #000;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 0 24px;
  box-sizing: border-box;
  position: relative;
}

.achievement-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-title {
  background: linear-gradient(90deg, #FF7D02, #FFCD94);
  color: #fff;
  font-weight: 900;
  padding: 16px 0;
  border-radius: 0;
  text-align: center;
  font-size: 4vw;
  margin: 0 -24px 16px;
}

/* 業種 */
.modal-industry {
  display: inline-block;
  background: #1074C4;
  color: #fff;
  font-size: 1rem;
  padding: 11px 8px;
  border-radius: 8px;
  margin: 24px auto;
  text-align: center;
  display: block;
  width: fit-content;
}

/* 説明文 */
.modal-description {
  margin: 30px 0;
  line-height: 1.6;
  font-size: 1rem;
}

/* ロゴ */
.modal-logo img {
  width: 100%;
  height: 110px;
  margin: 16px 0;
  object-fit: contain;
}

/* 支援前の課題 */
.modal-task {
  position: relative;
  background: #E6E6E6;
  border-radius: 16px;
  padding: 16px;
  margin-top: 16px;
  text-align: center;
}
.modal-task::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 16px 16px 0 16px;
  border-style: solid;
  border-color: #E6E6E6 transparent transparent transparent;
}

/* 支援前タイトル */
.modal-task-title {
  background: #fff;
  border-radius: 24px;
  display: inline-block;
  padding: 4px 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* 支援前文章 */
.modal-task-text {
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}

.modal-result {
  margin: 40px 0;
  text-align: center;
  position: relative;
  border-radius: 16px;
  background: #fff;
  padding: 40px 3px 0;
  overflow: hidden;
  box-shadow: 0 0 0 2px #F36A3A;
}

.modal-result-title {
  position: absolute;
  top: 0; /* 0でOK */
  left: 0;
  width: 100%;
  background: #F36A3A;
  color: #fff;
  font-weight: 700;
  padding: 12px 0;
  font-size: 1.1rem;
  border-radius: 16px 16px 0 0;
  text-align: center;
  z-index: 2;
}

/* 効果の中身 */
.modal-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  text-align: left;
  margin: 20px 0;
}
.modal-result-item p {
  color: #000;
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0;
}

.modal-result-item .check-icon {
  width: auto;
  height: 20px;
  flex-shrink: 0;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .achievements-bg-text {
    font-size: 8.5vw;
  }
  .achievement-company br {
    display: none;
  }
  .achievement-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 12px 20px;
    align-items: center;
    padding: 32px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  /* --- 左側のロゴ --- */
  .achievement-logo {
    grid-column: 1/2;
    grid-row: 1/4;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .achievement-logo img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0;
    object-fit: contain;
  }
  /* --- 右側の内容 --- */
  .achievement-company {
    grid-column: 2/3;
    grid-row: 1/2;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 4px;
  }
  .achievement-industry {
    grid-column: 2/3;
    grid-row: 2/3;
    font-size: 1rem;
    border-radius: 8px;
    padding: 6px 10px;
    display: inline-block;
    margin-bottom: 12px;
  }
  .achievement-task {
    grid-column: 2/3;
    grid-row: 3/4;
    background: #E6E6E6;
    border-radius: 10px;
    padding: 12px;
    margin: 0;
  }
  .achievement-task-label {
    background: #fff;
    border: 1px solid #1D7BE6;
    color: #000;
    border-radius: 24px;
    padding: 2px 10px;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: inline-block;
  }
  .achievement-task-text {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
  }
  .achievement-result {
    grid-column: 1/3;
    grid-row: 4/5;
    margin-top: 20px;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1074C4;
  }
  /* --- YouTube動画 --- */
  .youtube-movie {
    grid-column: 1/3;
    grid-row: 5/6;
    justify-self: center;
    margin-top: 20px;
    width: 320px;
    height: 180px;
  }
  .achievement-modal {
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
  }
  .achievement-modal-content {
    background: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;
    padding: 0 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
  }
  .modal-title {
    font-size: 1.5rem;
  }
}/*# sourceMappingURL=works.css.map */