@keyframes touchMobile {
  0% {
    transform: translate(-30px, 10px);
  }
  100% {
    transform: translate(-15px, 10px);
  }
}

.head-content {
  display: flex;
  margin: 0 auto;
  max-width: 650px;
  /* min-height: 400px; */
  padding: 5em 2em 3em;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
}

.head-content > h1 {
  font-size: 3.5em;
}

.head-content > p {
  line-height: 2em;
}

.head-hr {
  width: 100%;
  border-bottom: solid 2px #fff;
  margin: 1em 0;
}

.about-us-banner {
  background-image: url('/images/newindex/banner_bg6.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: bottom;
  background-size: cover;
  position: relative;
  box-shadow: 0px 2px 10px #000000a6;
}

.about-us-banner h1 {
  color: #fff;
  text-shadow: 0px 0px 10px #757575;
}

.about-tag-btns {
  position: relative;
  justify-content: space-evenly;
  /* background-color: #cecece; */
}

.touch-select {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.mobile-thumbs {
  position: absolute;
  animation: touchMobile 3s infinite ease;
}

.selector-container {
  position: fixed;
  left: 100%;
  top: 50%;
  width: 0;
  height: 0;
  background-color: #000000d0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
  color: #cecece;
  transition: width 0.5s ease, height 0.5s ease, left 0.5s ease;
}

.selector-container.active {
  display: block;
  left: 50%;
  width: 300px;
  height: 300px;
}

.selector-btn {
  opacity: 0;
  transition: opacity 0.5s ease, color 0.3s ease;
  position: absolute;
  transform: translate(-50%, -50%);
}

.selector-container.active .selector-btn {
  opacity: 1;
}

.selecting .selector-btn {
  color: #77e29e;
}

.selector-btn-up {
  left: 50%;
  top: 10%;
}

.selector-btn-up-right {
  left: 78.2%;
  top: 21.7%;
}

.selector-btn-right {
  left: 90%;
  top: 50%;
}

.selector-btn-down-right {
  left: 78.2%;
  top: 78.2%;
}

.selector-btn-down {
  left: 50%;
  top: 90%;
}

.selector-btn-down-left {
  left: 21.7%;
  top: 78.2%;
}

.selector-btn-left {
  left: 10%;
  top: 50%;
}

.selector-btn-up-left {
  left: 21.7%;
  top: 21.7%;
}

.selector-btn-center {
  left: 50%;
  top: 50%;
  color: #fff;
}

.selector-btn-center-up {
  left: 50%;
  top: 35%;
  color: #fff;
}

.about-tag-btns ul {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.member-pic-outer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.member-pic {
  width: 270px;
  height: 270px;
  margin: 0 auto;
  object-fit: cover;
}

.member-title {
  text-align: center;
  color: #337ab7;
}

.member-desc {
  text-align: center;
}



.sv-img {
  box-shadow: 3px 3px 4px #909090;
}

.sv-title {
  text-align: center;
  color: #337ab7;
}

.achievement-div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.achievement-unit {
  flex: 1 1 50%;
  max-width: 50%;
  margin-bottom: 3.5em;
  cursor: pointer;
}

.achievement-unit-content {
  position: relative;
  padding-top: 100%;
}

.achievement-unit-content img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10%;
  padding: 10px;
  object-fit: cover;
}

.achievement-unit-content span {
  position: absolute;
  top: 100%;
  width: 100%;
  text-align: center;

  z-index: 2;
  padding: 0em 0.5em 0.5em;
  /* background-color: #00000096; */
  color: #000;
  font-size: 0.9em;
}

.achievement-unit-bottom {
  display: none;
}

.recruit-unit {
  border: solid 1px #999;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding-bottom: 0.5em;
  margin-bottom: 2em;
  position: relative;
}

.recruit-up {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recruit-title-img {
}

.recruit-status {
  text-align: center;
  font-size: 1.5em;
  padding: 0.3em 0;
  color: #999;
}

.recruit-desc {
  overflow: hidden;
  padding: 0.5em 1em;
  letter-spacing: 2px;
  color: #444;
}

.recruit-desc h3 {
  color: #136bca;
  text-decoration: underline;
  margin-top: 1em;
}

.recruit-desc li {
  margin-bottom: 0.5em;
}

.recruit-desc-part1 {
  padding: 0.5em;
  border: solid 2px #000;
  border-radius: 10px;
  background-color: #eee;
  margin-bottom: 1em;
}

.open-btn {
  color: #0029c5 !important;
}

.close-btn {
  color: #999 !important;
}

.open-btn,
.close-btn {
  position: absolute;
  right: 0.5em;
  bottom: 0.5em;
}

.recruit-bottom-desc {
}

.recruit-bottom-section {
  margin-bottom: 2em;
}

.recruit-bottom-section h2 {
  color: #58c1a0;
  padding-bottom: 0.5em;
}

.recruit-bottom-section h3 {
  color: #000;
}

.recruit-bottom-section p {
  color: #6d6d6d;
}

.nav-btns {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .about-us-banner {
    min-height: 300px;
    color: white;
  }

  .about-tag-btns {
    background-color: transparent;
  }

  .member-title {
    text-align: left;
  }

  .member-desc {
    text-align: left;
  }

  .sv-title {
    text-align: left;
  }

  .achievement-unit-content img {
    padding: 0;
    border-radius: initial;
  }

  .achievement-unit-content span {
    top: 50%;
    transform: translate(0, -50%);
    background-color: #00000096;
    padding: 2em 0;
    transition: opacity 0.3s ease;
    opacity: 0;
    color: #eee;
    font-size: 1.2em;
  }

  .achievement-unit-content:hover span {
    opacity: 1;
  }

  .achievement-unit {
    flex: 1 1 33.3333%;
    max-width: 33.3333%;
    padding-right: 0.5em;
    margin-bottom: 10px;
  }

  .recruit-unit {
    border-radius: 0;
    border: none;
    background: linear-gradient(to bottom, #f5f5f5, #eff7ff);
  }

  .recruit-up {
    float: left;
    max-width: 25%;
    padding: 0.5em;
  }

  .recruit-desc {
    display: block !important;
    max-width: 75%;
    padding: 0.5em 2em;
  }

  .recruit-desc h3 {
    text-align: center;
  }

  .recruit-desc-part1-5 {
    text-align: center;
  }

  .open-btn,
  .close-btn {
    display: none !important;
  }

  .recruit-desc-part1 {
    padding: 2em;
  }

  .recruit-desc-part4 li {
    list-style: none;
    display: inline-block;
  }

  .recruit-desc-part4 li:not(:last-child)::after {
    content: '、';
  }

  .member-pic-outer {
    padding: 2em 0;
  }
}

@media (min-width: 1024px) {
  .achievement-unit {
    flex: 1 1 25%;
    max-width: 25%;
  }
}

@media (max-width: 768px) {
  .nav-btns {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 1em;
  }

  .nav-btns a {
    display: block;
    margin-top: 0.5em;
    width: 44%;
  }
  .nav-btns a.team_building {
    width: 93%;
  }

  .head-content > h1 {
    font-size: 2rem;
  }
}

/* popworld.cc/aboutView */

.container.about_us span {
  font-size: clamp(1.5rem, 10vw, 3.2rem);
}

.container.about_us .about-title {
  font-size: clamp(1rem, 6vw, 1.2rem);
}

.iframe_wrap {
  position: relative;
  overflow: visible;
}

.ratio-padding {
  padding-top: 56%;
}

.ratio-padding > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  box-shadow: 0px 40px 40px 0px #00000033;
  background: transparent;
}

.responsive-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.responsive-item {
  display: flex;
  align-items: center;
  justify-content: space-center;
  padding: 1rem;
  gap: 5rem;
  width: 100%;
}

.responsive-item .content-title {
  font-size:1.5rem;
}

@media (min-width: 768px) {
  .responsive-item:nth-child(even) {
    flex-direction: row-reverse;
  }
}

@media (min-width: 1024px) {
  .responsive-item {
    flex: 0 0 33.33%;
  }
}

.responsive-image {
  max-width: 380px;
  aspect-ratio: 1/1;
  height: auto;
}

.responsive-content {
  width: 100%;
}

.content-title {
  margin-bottom: 0;
  padding-left: 5rem;
}

.content-desc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.title-wrap {
  width: 100%;
  border-bottom: 1px solid;
  padding-bottom: 1rem;
  position: relative;
  margin-bottom: 1rem;
}

.title-wrap::before {
  content: attr(data-num);
  position: absolute;
  color: var(--pwBlue);
  font-weight: bold;
  font-size: 1.5rem;
  top: calc(50% - .5rem);
  left: 0%;
  transform: translateY(-50%);  
}

@media screen and (max-width:768px){
  .responsive-item {
    flex-direction: column;
    gap: 1.5rem;
  }
  .responsive-image {
    max-width: 380px;
    width: 80%;
    aspect-ratio: 1/1;
    height: auto;
  }

  .content-title {
    padding-left: 3rem;
  }
  .content-desc {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
  }
  
}

.faq-container {
	margin: 0 auto;
}

.faq-container h3 {
	font-size:20px;
}

.faq-item {
	margin-bottom: 16px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-item summary {
	background-color: #2c2c2c;
	color: white;
	padding: 20px 24px;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
	transition: background-color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary:hover {
	background-color: #3a3a3a;
}

.faq-item summary:focus {
	outline: none;
}

.faq-item summary:focus-visible {
	outline: 2px solid #4a90e2;
	outline-offset: 2px;
}

.question-text {
	flex: 1;
	font-weight: 500;
}

.icon {
	width: 24px;
	height: 24px;
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 16px;
}

.faq-item[open] .icon {
	transform: rotate(180deg);
}

.faq-item .answer-content {
	background-color: #f8f8f8;
	padding: 20px 24px;
	color: #333;
	line-height: 1.6;
	font-size: 14px;
}

/* 平滑展開動畫 */
.faq-item {
	transition: all 0.3s ease;
}

.faq-item[open] summary {
	margin-bottom: 0;
}