.survey-entry {
  position: fixed;
  z-index: 90;
  top: 50%;
  right: 0;
  width: 224px;
  transform: translate(224px, -50%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.survey-entry.is-open {
  transform: translate(0, -50%);
}
.survey-entry.is-open .survey-trigger-icon {
  display: none;
}
.survey-entry.is-open .survey-trigger-arrow {
  display: block;
}
.survey-trigger {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -46px;
  width: 46px;
  padding: 16px 0;
  border-radius: 12px 0 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(180deg, #7773ff, #5848ff);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
  min-height: 154px;
}
.survey-trigger:hover,
.survey-trigger:focus-visible {
  box-shadow: -5px 0 13.2px 3px rgba(89, 75, 193, 0.19);
}
.survey-trigger:hover::before,
.survey-trigger:focus-visible::before {
  opacity: 1;
}
.survey-trigger::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -3px;
  right: 0;
  bottom: -3px;
  left: -3px;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
  border-left: 3px solid #fff;
  border-radius: 15px 0 0 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.survey-trigger::after {
  position: absolute;
  content: '';
  width: 70px;
  height: 70px;
  background: #acd3ff2b;
  border-radius: 50%;
  right: -34px;
  bottom: -47px;
  clip-path: inset(0 34px 23px 0);
}
.survey-trigger span {
  width: 1em;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
}
.survey-trigger-icon {
  width: 21px;
  height: auto;
}
.survey-trigger-arrow {
  order: -1;
  width: 8px;
  height: auto;
  display: none;
}
.survey-panel {
  position: relative;
  border-radius: 14px 0 0 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 15.471px 3.516px rgba(192, 188, 216, 0.27);
}
.survey-close {
  display: none;
}
.survey-panel-picture {
  display: block;
}
.survey-panel-image {
  display: block;
  width: 100%;
  height: auto;
}
.survey-panel-body {
  padding: 12px 10px 20px 16px;
}
.survey-panel-body p {
  margin-top: 10px;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}
.survey-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #1C1C1C;
}
.survey-title .highlight,
.survey-title .br {
  display: block;
}
.highlight {
  color: #3F58FC;
}
.survey-link {
  height: 38px;
  margin-top: 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9.376px;
  background: linear-gradient(90deg, #808AFF 0%, #5E4CFC 100%);
  box-shadow: 0 4.688px 13.83px 0 #D9D6FA;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.survey-link img {
  width: 9px;
  height: auto;
}
.survey-link:hover,
.survey-link:focus-visible {
  color: #fff;
  background: linear-gradient(90deg, #65A2FF 0%, #5A47FF 100%), linear-gradient(90deg, #808AFF 0%, #5E4CFC 100%);
}
.survey-trigger--compact span {
  width: auto;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}
.survey-panel--compact {
  border-top: 8px solid #7862ff;
}
.survey-compact-icon {
  display: block;
  width: 34px;
  height: auto;
  margin: 12px 18px 10px;
}
.survey-title--compact {
  color: #1f1f1f;
}
.survey-info {
  max-width: 820px;
  margin: 30px auto;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 14px;
  border: 1px solid #CCD1E8;
  background: linear-gradient(91deg, #F9F9FE 0%, #FAF9FD 27.4%, #E7F9FA 96.15%);
  transition: box-shadow 0.3s ease;
}
.survey-info:hover {
  box-shadow: 0 8px 14px 0 rgba(188, 194, 229, 0.3);
}
.survey-info-jp {
  background: linear-gradient(91deg, #FAF4F6 0%, #F9F8FC 60.4%, #E8EBFC 96.15%);
}
.survey-info-en,
.survey-info-de {
  background: linear-gradient(90deg, #F7F9FE 0%, #F3F7FE 100%);
}
.survey-info-image {
  border-right: 1px solid #dddff2;
  flex: 0 0 auto;
  padding-right: 17px;
}
.survey-info-content {
  min-width: 0;
  flex: 1;
}
.survey-info-content p {
  margin-top: 8px;
  color: #4C4C4C;
  font-size: 15px;
  line-height: 1.6;
}
.survey-info-title {
  color: #1c1c1c;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.survey-info-link {
  min-width: 140px;
  height: 46px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 0 0 auto;
  border-radius: 9.376px;
  background: linear-gradient(90deg, #808AFF 0%, #5E4CFC 100%);
  box-shadow: 0 4.688px 13.83px 0 #D6E5FA;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.survey-info-link img {
  width: 12px;
  height: auto;
  transition: transform 0.3s ease;
}
.survey-info-link:hover,
.survey-info-link:focus-visible {
  color: #fff;
  background: linear-gradient(90deg, #65A2FF 0%, #5A47FF 100%), linear-gradient(90deg, #808AFF 0%, #5E4CFC 100%);
}
.survey-info-link:hover img,
.survey-info-link:focus-visible img {
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .survey-entry {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    transform: none;
    transition: none;
    pointer-events: none;
  }
  .survey-entry::before {
    content: '';
    position: fixed;
    z-index: -1;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }
  .survey-entry.is-open {
    transform: none;
  }
  .survey-entry.is-open::before {
    opacity: 1;
    visibility: visible;
  }
  .survey-entry.is-open .survey-trigger {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .survey-entry.is-open .survey-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%);
  }
  .survey-trigger {
    position: fixed;
    bottom: 28px;
    right: 15px;
    width: 40px;
    height: 40px;
    left: unset;
    min-height: auto;
    top: unset;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    background: linear-gradient(180deg, #7773ff, #6654f5);
    box-shadow: 0 5px 12px rgba(84, 68, 205, 0.28);
    overflow: hidden;
    pointer-events: auto;
  }
  .survey-trigger span,
  .survey-trigger .survey-trigger-arrow {
    display: none;
  }
  .survey-trigger-icon {
    width: 20px;
  }
  .survey-panel {
    position: fixed;
    top: auto;
    bottom: 45px;
    left: 50%;
    width: calc(100% - 30px);
    max-width: 400px;
    border-radius: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 16px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
  }
  .survey-close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    display: block;
    cursor: pointer;
  }
  .survey-close::before,
  .survey-close::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 2px;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: #a9adb5;
  }
  .survey-close::before {
    transform: rotate(45deg);
  }
  .survey-close::after {
    transform: rotate(-45deg);
  }
  .survey-panel-body {
    padding: 15px 19px 20px;
    text-align: center;
  }
  .survey-panel-body p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 2;
  }
  .survey-title {
    font-size: 18px;
  }
  .survey-title .highlight,
  .survey-title .br {
    display: inline-block;
  }
  .survey-link {
    height: 38px;
    margin: 16px auto 0;
    font-size: 14px;
    max-width: 190px;
  }
  .survey-compact-icon {
    margin: 16px auto 10px;
    width: 52px;
  }
  .survey-info {
    width: 100%;
    margin: 24px auto;
    padding: 12px 13px;
    display: block;
    border-radius: 6px;
  }
  .survey-info-image {
    display: none;
  }
  .survey-info-content p {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.7;
  }
  .survey-info-title {
    font-size: 12px;
  }
  .survey-info-link {
    min-width: 90px;
    height: 30px;
    width: max-content;
    padding: 0 14px;
    margin-top: 8px;
    font-size: 12px;
    border-radius: 6px;
  }
  .survey-info-jp {
    background: linear-gradient(91deg, #FDEBE7 0%, #FAF8FA 30.4%, #E9EDFD 96.15%);
  }
}
.survey-info *, .survey-entry * {
  font-style: normal;
  font-family: 'Montserrat', "Microsoft YaHei";
}