@charset "UTF-8";

.survey {
  padding-top: 30px;
}

.survey-head {
  width: calc(100% - 40px);
  margin: 0 auto 60px;
}

.breadcrumb {
  display: none;
}

.survey-head>.survey-head {
  width: auto;
  margin-bottom: 0;
}

.survey-label {
  padding: 0 8px 14px;
  border-bottom: 1px solid #cfc4bb;
}

.survey-title {
  margin-top: 36px;
  color: #5b534d;
  font-size: var(--main-heading);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-align: center;
}

.survey-lead {
  margin-top: 60px;
  font-size: var(--middle-heading);
  color: #E7415E;
  text-align: center;
  font-weight: 400;
  margin-bottom: 26px;
}

.survey-intro {
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
  font-size: var(--main-text);
  font-weight: 400;
  letter-spacing: -0.1px;
  line-height: 28px;
  text-indent: 0;
  margin-bottom: 22px;
}

.survey-data {
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
  font-size: 15px;
  font-weight: 400;
  text-align: right;
}

.survey-block {
  --survey-pink: #e7415e;
  --survey-line: var(--survey-pink);
  --survey-point: var(--survey-pink);
  margin-bottom: 80px;
  color: #5b534d;
}

.survey-block-inner {
  width: calc(100% - 40px);
  max-width: 1440px;
  margin: 0 auto;
}

.survey-q {
  margin-bottom: 70px;
}

.survey-q:last-child {
  margin-bottom: 0;
}

.survey-q-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  padding-bottom: 12px;
  color: #5b534d;
  font-size: var(--middle-heading);
  /* font-weight: 500; */
  line-height: 1.45;
  letter-spacing: 0.05em;
}

.survey-q-heading::before,
.survey-q-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
}

.survey-q-heading::before {
  right: 0;
  background-color: #ddd5cd;
}

.survey-q-heading::after {
  width: 50px;
  background-color: var(--survey-line);
}

.survey-q-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.survey-people-cards {
  margin-bottom: 14px;
}

.survey-card {
  padding: 24px 20px;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.survey-card-staff {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon label" "value value" "note note";
  align-items: center;
  column-gap: 16px;
  margin-bottom: 14px;
}

.survey-card-icon {
  width: 44px;
  height: 44px;
}

.survey-card-staff .survey-card-icon {
  grid-area: icon;
}

.survey-card-label {
  font-size: var(--middle-heading);
  font-weight: 500;
  line-height: 1.5;
}

.survey-card-staff .survey-card-label {
  grid-area: label;
  padding-right: 70px;
  text-align: center;
}

.survey-card-value {
  text-align: center;
}

.survey-card-staff .survey-card-value {
  grid-area: value;
  margin-bottom: 10px;
}

.survey-num {
  font-family: "Inter", sans-serif;
  font-size: 60px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.05em ;
}

.survey-unit {
  margin-left: 4px;
  font-size: var(--middle-heading);
  font-weight: 700;
}

.survey-card-staff .survey-card-note {
  grid-area: note;
  font-size: var(--main-text);
  line-height: 1.7;
}

.survey-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.survey-card-small {
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: center;
  padding: 22px 10px 20px;
  text-align: center;
}

.survey-card-small .survey-card-icon {
  margin-bottom: 14px;
}

.survey-card-small .survey-card-label {
  margin-bottom: 8px;
}

.survey-card-small .survey-card-value,
.survey-card-small .survey-card-list {
  align-self: center;
}

.survey-card-list {
  display: grid;
  row-gap: 2px;
  margin: 0;
}

.survey-card-list-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.survey-card-list-row dt {
  min-width: 3em;
  font-size: var(--main-text);
  text-align: right;
}

.survey-card-list-row dd {
  margin: 0;
  white-space: nowrap;
}

.survey-card-list .survey-num {
  font-size: 40px;
}

.survey-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.survey-card-type .survey-card-head {
  justify-content: center;
}

.survey-pie {
  --age20: 25.9;
  --age30: 31.0;
  --age40: 17.2;
  --age50: 25.9;
  --pie-20: #f59a90;
  --pie-30: #f8b9aa;
  --pie-40: #f2d6c8;
  --pie-50: #ede6df;
  position: relative;
  width: min(100%, 240px);
  aspect-ratio: 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: conic-gradient(var(--pie-20) 0 calc(var(--age20) * 1%), var(--pie-30) 0 calc((var(--age20) + var(--age30)) * 1%), var(--pie-40) 0 calc((var(--age20) + var(--age30) + var(--age40)) * 1%), var(--pie-50) 0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.survey-pie-item {
  --pie-r: 30%;
  position: absolute;
  top: calc(50% - var(--pie-r) * cos(var(--mid) * 3.6deg));
  left: calc(50% + var(--pie-r) * sin(var(--mid) * 3.6deg));
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
}

.survey-pie-item-20 {
  --mid: calc(var(--age20) / 2);
}

.survey-pie-item-30 {
  --mid: calc(var(--age20) + var(--age30) / 2);
}

.survey-pie-item-40 {
  --mid: calc(var(--age20) + var(--age30) + var(--age40) / 2);
}

.survey-pie-item-50 {
  --mid: calc(var(--age20) + var(--age30) + var(--age40) + var(--age50) / 2);
}

.survey-pie-label {
  margin-bottom: 2px;
  font-size: var(--main-text);
  font-weight: 500;
  line-height: 1.3;
}

.survey-pie-value {
  display: flex;
  align-items: baseline;
}

.survey-pie .survey-num {
  font-size: 32px;
}

.survey-pie-value .survey-unit {
  margin-left: 2px;
  line-height: 1;
}

.survey-pie-average {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 16px;
  text-align: center;
}

.survey-pie-average-label {
  font-size: var(--middle-heading);
  font-weight: 500;
}

.survey-pie-average-value {
  white-space: nowrap;
}

.survey-pie-average .survey-num {
  font-size: 40px;
}

.survey-score {
  margin-bottom: 24px;
  text-align: center;
}

.survey-score-label {
  display: block;
  font-size: var(--main-text);
  line-height: 1.4;
}

.survey-score-value {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}

.survey-score-num {
  color: #e3ae1e;
  font-family: "Inter", sans-serif;
  font-size: 55px;
  font-weight: 600;
  line-height: 1.2;
}

.survey-score-max {
  color: var(--survey-line);
  font-family: "Inter", sans-serif;
  font-size: var(--middle-heading);
  font-weight: 700;
}

.survey-bars {
  margin-bottom: 36px;
}

.survey-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label value" "track track";
  align-items: end;
  column-gap: 12px;
  margin-bottom: 14px;
  --survey-bar-color: #c5ab93;
}

.survey-bar-high {
  --survey-bar-color: #e3ae1e;
}

.survey-bar:last-child {
  margin-bottom: 0;
}

.survey-bar-label {
  grid-area: label;
  font-size: var(--main-text);
  line-height: 1.5;
}

.survey-bar-value {
  grid-area: value;
  font-family: "Inter", sans-serif;
  font-size: var(--middle-heading);
  font-weight: 700;
  line-height: 1.3;
}

.survey-bar-track {
  --survey-bar-h: 15px;
  position: relative;
  grid-area: track;
  height: var(--survey-bar-h);
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background-color: #ece5e0;
}

.survey-bar-track::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(var(--survey-bar-h) * -1);
  width: calc(var(--rate) * 1% + var(--survey-bar-h));
  height: 100%;
  border-radius: 999px;
  background-color: var(--survey-bar-color);
}

.survey-rating-point {
  margin-bottom: 40px;
}

.survey-point-title {
  margin-bottom: 14px;
  color: var(--survey-point);
  font-size: var(--sub-heading);
  font-weight: 700;
  line-height: 1.6;
}

.survey-marker {
  background: linear-gradient(transparent 65%, #f9e08a 65%);
  font-size: var(--middle-heading);
}

.survey-point-text {
  font-size: var(--sub-heading);
  line-height: 1.8;
}

.survey-donut-figure {
  margin: 0;
  text-align: center;
}

.survey-donut {
  --rate: 0;
  --survey-donut-color: #e9cf7d;
  --survey-donut-rest: #eeeae4;
  position: relative;
  display: grid;
  place-items: center;
  width: min(80%, 300px);
  aspect-ratio: 1;
  margin: 0 auto 20px;
}

.survey-donut::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--survey-donut-color) 0 calc(var(--rate) * 1%), var(--survey-donut-rest) 0);
  -webkit-mask: radial-gradient(circle closest-side, transparent 54%, #000 calc(54% + 1px));
  mask: radial-gradient(circle closest-side, transparent 54%, #000 calc(54% + 1px));
}

.survey-donut-value {
  position: relative;
  display: flex;
  align-items: baseline;
}

.survey-donut-caption {
  display: block;
}

.survey-donut-title {
  display: block;
  margin-bottom: 4px;
  font-size: var(--main-text);
  font-weight: 700;
  line-height: 1.6;
}

.survey-donut-note {
  display: block;
  font-size: var(--breadcrumb-text);
  line-height: 1.6;
}

.survey-block-bg {
  padding: 60px 0 0;
  background-color: #f6f6f1;
}

.survey-block-satisfaction {
  --survey-line: #3e7a4b;
  --survey-point: #7f9f83;
}

.survey-block-satisfaction .survey-q {
  margin-bottom: 50px;
}

.survey-block-satisfaction .survey-q:last-child {
  margin-bottom: 0;
}

.survey-holiday {
  margin-bottom: 14px;
}

.survey-card-holiday {
  padding: 24px 22px 18px;
}

.survey-holiday>.survey-card-holiday:not(:last-child) {
  margin-bottom: 20px;
}

.survey-card-holiday+.survey-card-holiday {
  margin-top: 0;
}

.survey-card-holiday .survey-card-head {
  margin-bottom: 14px;
}

.survey-card-holiday .survey-card-label {
  font-size: var(--middle-heading);
}

.survey-holiday-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.survey-holiday-row:not(:last-child) {
  border-bottom: 1px solid #ddd5cd;
}

.survey-holiday-row dt {
  font-size: var(--sub-heading);
  line-height: 1.5;
  font-weight: 500;
}

.survey-holiday-row dd {
  margin: 0;
  white-space: nowrap;
}

.survey-source {
  margin-bottom: 30px;
  font-size: var(--main-text);
  text-align: right;
}

.survey-rating-img {
  width: calc(100% + 40px);
  max-width: none;
  margin-left: -20px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.survey-block-workplace {
  --survey-line: #3e7a4b;
  --survey-point: #7f9f83;
}

.survey-block-parent {
  padding-bottom: 60px;
  background-color: #f8eaea;
}

.survey-parent-summary {
  margin-bottom: 60px;
}

.survey-parent-title {
  margin-bottom: 24px;
  font-size: var(--main-heading);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.survey-parent-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.survey-parent-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 4px;
}

.survey-parent-value {
  display: flex;
  align-items: baseline;
  color: var(--survey-pink);
}

.survey-parent-num {
  font-family: "Inter", sans-serif;
  font-size: 88px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.survey-parent-value .survey-unit {
  margin-left: 10px;
  font-size: var(--main-heading);
}

.survey-parent-lead {
  margin-bottom: 30px;
  font-size: var(--middle-heading);
  font-weight: 500;
  line-height: 1.6;
}

.survey-parent-text {
  margin-bottom: 10px;
  font-size: var(--main-text);
  line-height: 1.8;
  letter-spacing: 0.05ems;
}

.survey-parent-period {
  font-size: var(--breadcrumb-text);
  line-height: 1.6;
}

.survey-parent-voices-title {
  margin-bottom: 30px;
  font-size: var(--middle-heading);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.survey-voice-list {
  margin-bottom: 20px;
}

.survey-voice {
  margin-bottom: 16px;
  padding: 14px 18px;
  border: 1px solid #e8dcdc;
  border-radius: 16px;
  background-color: #fff;
  font-size: var(--main-text);
  line-height: 1.75;
}

.survey-voice:last-child {
  margin-bottom: 0;
}

.survey-voice::before,
.survey-voice::after {
  color: var(--survey-pink);
}

.survey-voice::before {
  content: "\0022\00a0";
}

.survey-voice::after {
  content: "\0022";
}

.survey-parent-note {
  font-size: var(--breadcrumb-text);
  line-height: 1.6;
}

@media screen and (min-width: 1024px) {

  .survey {
    padding: 0 0;
  }

  .survey-head {
    max-width: 1180px;
    margin-bottom: 100px;
  }

  .breadcrumb {
    display: block;
    margin: 0 auto;
    padding: 10px 0 55px 0;
  }

  .breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    font-size: var(--breadcrumb-text);
    list-style: none;
  }

  .breadcrumb-link {
    color: #5b534d;
  }

  .breadcrumb-link:hover {
    text-decoration: underline;
  }

  .breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    margin: 0 10px;
  }

  .survey-label {
    padding: 0 0 16px;
  }

  .survey-title {
    margin-top: 100px;
  }

  .survey-lead {
    max-width: 842px;
    margin: 50px auto 26px;
    line-height: 1.6;
    text-align: center;
  }

  .survey-intro,
  .survey-data {
    max-width: none;
  }

  .survey-intro {
    text-align: center;
  }

  .survey-block {
    margin-bottom: 120px;
  }

  .survey-q {
    margin-bottom: 110px;
  }

  .survey-q-heading {
    gap: 22px;
    margin-bottom: 78px;
    padding-bottom: 10px;
  }

  .survey-q-heading::before,
  .survey-q-heading::after {
    height: 3px;
  }

  .survey-q-heading::after {
    width: 64px;
  }

  .survey-q-icon {
    width: 56px;
    height: 56px;
  }

  .survey-people,
  .survey-holiday {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: min(130px, 9vw);
  }

  .survey-people-cards {
    margin-bottom: 0;
  }

  .survey-card {
    border-radius: 20px;
  }

  .survey-card-staff {
    grid-template-columns: auto auto;
    grid-template-areas: "icon label" "value note";
    column-gap: min(50px, 3.5vw);
    row-gap: 10px;
    justify-content: center;
    align-content: center;
    margin-bottom: 15px;
    padding: 40px 40px 44px;
  }

  .survey-card-icon {
    width: 60px;
    height: 60px;
  }

  .survey-card-staff .survey-card-icon {
    justify-self: center;
  }

  .survey-card-staff .survey-card-label {
    padding-right: 0;
    text-align: left;
    font-size: var(--middle-heading);
  }

  .survey-card-staff .survey-card-value {
    align-self: start;
    margin-bottom: 0;
  }

  .survey-card-row {
    gap: 15px;
  }

  .survey-card-small {
    padding: 40px 10px 42px;
  }

  .survey-card-small .survey-card-icon {
    margin-bottom: 30px;
  }

  .survey-card-small .survey-card-label {
    margin-bottom: 14px;
  }

  .survey-card-list .survey-num {
    font-size: 55px;
  }

  .survey-card-type {
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 50px 30px;
  }

  .survey-card-type .survey-card-head {
    margin-bottom: 30px;
  }

  .survey-card-type .survey-card-label {
    font-size: var(--middle-heading);
  }

  .survey-card-label {
    font-size: var(--sub-heading);
  }

  .survey-card-type .survey-pie {
    align-self: center;
    margin-bottom: 30px;
  }

  .survey-pie {
    width: min(100%, 300px);
  }

  .survey-pie-average .survey-num {
    font-size: 55px;
  }

  .survey-rating {
    display: grid;
    grid-template-columns: minmax(0, 580px) minmax(0, 400px);
    grid-template-areas: "score img" "bars img" "point point";
    justify-content: space-between;
    column-gap: 60px;
    max-width: 1320px;
    margin: 0 auto;
  }

  .survey-score {
    grid-area: score;
    margin-bottom: 16px;
    text-align: left;
  }

  .survey-bars {
    grid-area: bars;
    margin-bottom: 50px;
  }

  .survey-bar {
    grid-template-columns: 190px 1fr;
    grid-template-areas: ". value" "label track";
    justify-items: start;
    margin-bottom: 10px;
  }

  .survey-bar-value {
    justify-self: end;
  }

  .survey-bar-track {
    width: 100%;
    align-self: center;
    margin-top: 4px;
  }

  .survey-rating-point {
    grid-area: point;
    margin-bottom: 0;
  }

  .survey-donut-figure {
    grid-area: img;
    align-self: center;
    margin-bottom: 50px;
  }

  .survey-donut {
    width: min(100%, 380px);
    margin-bottom: 24px;
  }

  .survey-block-bg {
    padding: 100px 0 110px;
  }

  .survey-block-satisfaction .survey-q {
    margin-bottom: 110px;
  }

  .survey-block-satisfaction .survey-q:last-child {
    margin-bottom: 0;
  }

  .survey-holiday {
    margin-bottom: 16px;
  }

  .survey-holiday>.survey-card-holiday:not(:last-child) {
    margin-bottom: 0;
  }

  .survey-card-holiday {
    padding: 34px 50px 30px;
  }

  .survey-card-holiday .survey-card-head {
    gap: 24px;
    margin-bottom: 16px;
  }

  .survey-holiday-row {
    padding: 12px 0;
  }

  .survey-source {
    margin-bottom: 40px;
  }

  .survey-rating-img {
    grid-area: img;
    align-self: center;
    width: 100%;
    margin-left: 0;
    margin-bottom: 50px;
  }

  .survey-block-parent {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .survey-parent {
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 560px);
    justify-content: space-between;
    column-gap: 60px;
    max-width: 1320px;
    margin: 0 auto;
  }

  .survey-parent-summary {
    margin-bottom: 0;
  }

  .survey-parent-title {
    margin-bottom: 30px;
    text-align: left;
  }

  .survey-parent-score {
    flex-direction: row;
    margin-bottom: 36px;
  }

  .survey-parent-icon {
    width: 87px;
    height: 87px;
    margin-right: 30px;
    margin-bottom: 0;
  }

  .survey-parent-num {
    font-size: 100px;
  }

  .survey-parent-lead {
    margin-bottom: 40px;
  }

  .survey-parent-voices-title {
    margin-bottom: 36px;
    text-align: left;
  }

  .survey-voice {
    padding: 14px 20px;
  }

}

@media screen and (min-width: 1440px) {

  .survey-head {
    width: calc(100% - 80px);
    max-width: 1440px;
  }

  .survey-block-inner {
    width: calc(100% - 80px);
  }

  .survey-rating:has(.survey-rating-img) {
    grid-template-columns: minmax(0, 580px) minmax(0, 480px);
  }

}
