.hp-achievement{
  background: #fff;
  padding-bottom: 42px;
}

#chartTitle{
      margin: 0;
    padding: 36px 0 20px;
}

.hp-achievement__chart {
  position: relative;
  width: 100%;
  height: 640px;
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .hp-achievement__chart {
    height: 460px;
  }

  .hp-achievement__chart canvas {
    width: 100%;
    height: 100%;
  }
}

.hp-achievement__head{
  text-align: center;
}


.hp-achievement__tabs{
  display: flex;
    justify-content: space-between;
}

#chartTotal>span{
	color: #ef6d87;
}

#chartTotal{
  font-size: 28px;
  font-weight: 600;
}

@media screen and (max-width: 767px) {
	#chartTotal{
		font-size: 20px;
	}
}


/* ==========================
   実績タブ
========================== */

.hp-achievement__tabs {
display: flex;
    gap: 15px;
    justify-content: center;
    padding: 0 15px;
  margin-top: 40px;
}

.hp-achievement__tabs button {
  appearance: none;
  background: #fff;
  color: #333;
  cursor: pointer;
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 500;
  line-height: 1.4;
padding: 12px 11px;
    border: 1px solid #c2a564;
    border-radius: 0;
    width: 100%;
    min-height: 48px;
  transition:
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease;
}

.hp-achievement__tabs button:hover {
  background: #c2a564;
  color: #fff;
}

.hp-achievement__tabs button.is-active {
  background: #c2a564;
  color: #fff;
}

@media screen and (max-width: 1024px) {

  .hp-achievement__tabs {
    gap: 10px;
  }

  .hp-achievement__tabs button {
    min-height: 60px;
    padding: 14px 10px;
  }

}

@media screen and (max-width: 767px) {
  .hp-achievement__tabs {
	  display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 24px;
  }

  .hp-achievement__tabs button {
    min-height: 52px;
    padding: 10px 8px;
    font-size: 15px;
  }
}

/* ==========================
   実績グラフ凡例
========================== */

.hp-achievement__legend {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  margin: 18px 0 18px;
  padding: 0 15px;
}

.hp-achievement__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.hp-achievement__legend-color {
  display: block;
  width: 30px;
  height: 18px;
  flex: 0 0 auto;
}

.hp-achievement__legend-color--blue {
  background: rgba(139, 166, 193, 0.9);
}

.hp-achievement__legend-color--red {
  background: rgba(238, 139, 128, 0.85);
}

@media screen and (max-width: 767px) {
  .hp-achievement__legend {
    justify-content: flex-start;
    gap: 12px 18px;
    margin: 12px 0 10px;
    padding: 0 8px;
  }

  .hp-achievement__legend-item {
    gap: 7px;
    font-size: 12px;
  }

  .hp-achievement__legend-color {
    width: 18px;
    height: 11px;
  }
}
