html,
body {
overflow-x: hidden;
max-width: 100%;
margin: 0;
padding: 0;
} @media (min-width: 769px) {
.mobile-content {
display: none !important;
}
} @media (max-width: 768px) {
.desktop-content {
display: none !important;
} .hero-section+.agency-guide-section.mobile-content {
margin-top: -1px;
}
} .hero-section {
width: 100%;
overflow: visible;
position: relative;
margin-top: 30px;
margin-bottom: 0;
padding-bottom: 0;
line-height: 0;
font-size: 0;
z-index: 5;
}
.hero-image {
width: 100%;
height: auto;
display: block;
margin-bottom: 0;
padding-bottom: 0;
vertical-align: top;
font-size: 0;
line-height: 0;
} .agency-guide-section.desktop-content {
position: relative;
width: 100vw;
margin-left: calc(-50vw + 50%);
display: flex;
align-items: center;
z-index: 10;
overflow: hidden;
padding-top: 0;
height: 100vh;
margin-top: -70px;
background-image: url(//cxagent.com.tw/wp-content/themes/newtheme/images/外勞仲介合照.webp);
background-size: cover; background-position: top; background-repeat: no-repeat; } .agency-guide-section.mobile-content {
position: relative;
width: 100vw;
margin-left: calc(-50vw + 50%);
display: flex;
align-items: center;
overflow: hidden;
padding-top: 0;
height: 400px;
z-index: 10;
margin-top: -30px;
background-image: url(//cxagent.com.tw/wp-content/themes/newtheme/images/外勞仲介合照.webp);
background-size: cover; background-position: center; background-repeat: no-repeat; }
.agency-background {
position: relative;
width: 100%;
height: 100%;
margin-top: 0;
}
.agency-bg-image {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
margin-top: 0;
}
.agency-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 0 5%;
}
.agency-content {
background: transparent;
padding: 40px;
max-width: 500px;
text-align: center;
}
.agency-criteria {
display: flex;
flex-direction: column;
gap: 40px;
transform: translateX(-15rem);
}
.criterion-item {
display: flex;
align-items: center;
gap: 15px;
}
.number-icon {
width: 40px;
height: 40px;
flex-shrink: 0;
}
.criterion-item span {
font-size: 1.6rem;
line-height: 1.8;
font-weight: 600;
color: #333;
white-space: nowrap;
} .agency-guide-section.mobile-content .agency-overlay {
padding: 20px;
align-items: center;
justify-content: center;
height: 100%;
display: flex;
}
.agency-guide-section.mobile-content .agency-content {
padding: 20px;
max-width: 90%;
text-align: center;
background: transparent;
border-radius: 0;
box-shadow: none;
margin: 0 auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.agency-guide-section.mobile-content .agency-criteria {
transform: none;
gap: 20px;
display: flex;
margin-top: 25px;
flex-direction: column;
}
.agency-guide-section.mobile-content .criterion-item {
display: flex;
align-items: flex-start;
gap: 15px;
text-align: left;
}
.agency-guide-section.mobile-content .number-icon {
width: 40px;
height: 40px;
flex-shrink: 0;
margin-top: 5px;
}
.agency-guide-section.mobile-content .criterion-item span {
font-size: 1rem;
line-height: 1.5;
color: #333;
white-space: normal;
flex: 1;
font-weight: 500;
} .other-jobs-section {
background: white;
padding: 0 0 30px 0;
width: 100vw;
margin-left: calc(-50vw + 50%);
} .rwd-image-section {
padding: 40px 20px;
width: 100vw;
position: relative;
background-image: url(//cxagent.com.tw/wp-content/themes/newtheme/images/黃色波浪背景.webp);
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
}
.rwd-image-container {
max-width: 100%;
margin: 0 auto;
padding: 0 20px;
text-align: center;
position: relative;
}
.rwd-bg-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
z-index: 1;
}
.rwd-title {
position: relative;
font-size: 2rem;
font-weight: bold;
color: #F8751B;
z-index: 3;
text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}
.rwd-image {
width: 100%;
max-width: 500px;
height: auto;
display: block;
margin: 0 auto;
position: relative;
z-index: 2;
} .about-section {
position: relative;
width: 100vw;
margin-left: calc(-50vw + 50%);
height: 55vw;
background-image: url(//cxagent.com.tw/wp-content/themes/newtheme/images/黃色波浪背景.webp);
background-size: 100% 100%; background-position: center; background-repeat: no-repeat; } .about-text {
opacity: 0;
transform: translateX(-100px);
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-images {
opacity: 0;
transform: translateX(100px);
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-text.animate-in {
opacity: 1;
transform: translateX(0);
padding-top: 50px;
}
.about-images.animate-in {
opacity: 1;
transform: translateX(0);
} .about-section .about-text {
opacity: 0;
transform: translateX(-100px);
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-section .about-images {
opacity: 0;
transform: translateX(100px);
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-section .about-text.animate-in {
opacity: 1;
transform: translateX(0);
}
.about-section .about-images.animate-in {
opacity: 1;
transform: translateX(0);
} .news-section {
background: #f4e8be;
padding: 0;
width: 100vw;
margin-top: -10px;
margin-left: calc(-50vw + 50%);
} .news-section.desktop-content {
position: relative;
padding: 0;
z-index: 6;
}
.news-section.desktop-content .news-container {
max-width: 1400px;
margin: 0 auto;
padding: 0 40px 50px;
}
.news-section.desktop-content .news-header {
text-align: center;
margin-bottom: 80px;
margin-top: 0rem;
overflow: visible;
}
.news-section.desktop-content .news-title-container {
display: inline-flex;
align-items: center;
background: white;
padding: 0 75px 15px;
border-bottom-left-radius: 40px;
border-bottom-right-radius: 40px;
position: relative;
overflow: visible;
transform: translateY(-20px);
}
.news-section.desktop-content .news-title h2 {
font-size: 30px;
font-weight: bold;
color: #F8751B;
margin: 0;
white-space: nowrap;
}
.news-section.desktop-content .news-carousel {
position: relative;
display: flex;
align-items: center;
gap: 40px;
margin-bottom: 60px;
justify-content: center;
}
.news-section.desktop-content .news-carousel-btn {
background: #666;
color: white;
border: none;
border-radius: 50%;
width: 70px;
height: 70px;
font-size: 28px;
font-weight: bold;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
flex-shrink: 0;
z-index: 10;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.news-section.desktop-content .news-carousel-btn:hover {
background: #555;
transform: scale(1.1);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.news-section.desktop-content .news-carousel-container {
flex: 1;
max-width: 900px;
overflow: hidden;
position: relative;
}
.news-section.desktop-content .news-carousel-track {
display: flex;
gap: 30px;
transition: transform 0.5s ease;
padding: 0;
}
.news-section.desktop-content .news-item {
min-width: 1000px;
width: 1000px;
flex-shrink: 0;
display: flex;
gap: 30px;
align-items: stretch;
background: transparent;
padding: 30px;
position: relative;
overflow: hidden;
border-radius: 30px;
}
.news-section.desktop-content .news-left {
width: 65%;
flex-shrink: 0;
position: relative;
z-index: 2;
}
.news-section.desktop-content .news-image {
width: 100%;
height: 330px;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
position: relative;
z-index: 2;
}
.news-section.desktop-content .news-thumbnail {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 20px;
transition: transform 0.3s ease;
image-rendering: high-quality;
image-rendering: crisp-edges;
}
.news-section.desktop-content .news-image:hover .news-thumbnail {
transform: scale(1.05);
}
.news-section.desktop-content .news-right {
flex: 1;
display: flex;
flex-direction: column;
justify-content: flex-start;
position: relative;
z-index: 2;
padding: 10px 0 10px 20px;
}
.news-section.desktop-content .news-text {
padding: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 20px;
}
.news-section.desktop-content .news-item-title {
font-size: 1.8rem;
font-weight: bold;
color: #000;
margin: 0;
line-height: 1.3;
position: relative;
z-index: 2;
}
.news-section.desktop-content .news-excerpt {
font-size: 1rem;
color: #666;
line-height: 1.7;
margin: 0;
flex: 1;
position: relative;
z-index: 2;
}
.news-section.desktop-content .read-more {
display: inline-block;
background-color: #fbb03B;
color: white;
padding: 12px 30px;
border-radius: 25px;
text-decoration: none;
font-weight: bold;
font-size: 1.1rem;
transition: all 0.3s ease;
position: relative;
z-index: 2;
box-shadow: 0 4px 12px rgba(251, 176, 60, 0.3);
}
.news-section.desktop-content .read-more:hover {
background-color: #ffbe56ff;
text-decoration: none;
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(251, 176, 60, 0.4);
}
.news-section.desktop-content .news-dots {
display: flex;
justify-content: center;
gap: 25px;
margin-bottom: 50px;
}
.news-section.desktop-content .news-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #fff;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3)
}
.news-section.desktop-content .news-dot.active {
background: #F8751B;
transform: scale(1.3);
}
.news-section.desktop-content .news-more-button {
text-align: center;
}
.news-section.desktop-content .news-cta-button {
display: inline-block;
background: #F8751B;
color: white;
padding: 8px 40px;
border-radius: 30px;
text-decoration: none;
font-size: 1.3rem;
font-weight: bold;
transition: all 0.3s ease;
box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}
.news-section.desktop-content .news-cta-button:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
color: white;
text-decoration: none;
} .news-section.mobile-content {
padding: 0 0 40px 0;
margin-top: 0;
background: #ffed97;
position: relative;
z-index: 10;
}
.news-section.mobile-content .news-container {
max-width: 100%;
padding: 0 20px;
}
.news-section.mobile-content .news-header {
text-align: center;
margin-bottom: 30px;
margin-top: 0;
padding-top: 0;
}
.news-section.mobile-content .news-title-container {
display: inline-flex;
align-items: center;
background: white;
padding: 15px 100px;
border-radius: 0 0 30px 30px;
}
.news-section.mobile-content .news-title h2 {
font-size: 1.44rem;
font-weight: bold;
color: #Ff6b35;
margin: 0;
white-space: nowrap;
}
.news-section.mobile-content .news-carousel {
position: relative;
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 30px;
justify-content: center;
}
.news-section.mobile-content .news-carousel-btn {
background: #666;
color: white;
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
font-size: 18px;
font-weight: bold;
cursor: pointer;
display: none;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
flex-shrink: 0;
z-index: 10;
}
.news-section.mobile-content .news-carousel-btn:hover {
background: #555;
transform: scale(1.05);
}
.news-section.mobile-content .news-carousel-container {
flex: 1;
max-width: 280px;
overflow: hidden;
position: relative;
}
.news-section.mobile-content .news-carousel-track {
display: flex;
gap: 15px;
transition: transform 0.5s ease;
padding: 0;
}
.news-section.mobile-content .news-item {
min-width: 280px;
width: 280px;
flex-shrink: 0;
display: flex;
flex-direction: column;
border-radius: 20px;
padding: 15px;
box-sizing: border-box;
position: relative;
overflow: hidden;
}
.news-section.mobile-content .news-left {
width: 100%;
order: 1;
margin-bottom: 15px;
}
.news-section.mobile-content .news-image {
width: 100%;
height: 200px;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
position: relative;
z-index: 2;
}
.news-section.mobile-content .news-thumbnail {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 15px;
transition: transform 0.3s ease;
image-rendering: high-quality;
image-rendering: crisp-edges;
}
.news-section.mobile-content .news-right {
width: 100%;
order: 2;
position: relative;
z-index: 2;
}
.news-section.mobile-content .news-text {
width: 100%;
padding: 0;
height: auto;
display: flex;
flex-direction: column;
gap: 15px;
}
.news-section.mobile-content .news-item-title {
font-size: 1rem;
font-weight: bold;
color: #000;
margin: 0;
line-height: 1.3;
position: relative;
z-index: 2;
}
.news-section.mobile-content .news-excerpt {
font-size: 0.85rem;
color: #666;
line-height: 1.6;
margin: 0;
position: relative;
z-index: 2;
}
.news-section.mobile-content .read-more {
display: inline-block;
background-color: #fbb03c;
color: white;
padding: 10px 25px;
border-radius: 20px;
text-decoration: none;
font-weight: bold;
font-size: 0.9rem;
transition: all 0.3s ease;
position: relative;
z-index: 2;
box-shadow: 0 3px 10px rgba(251, 176, 60, 0.3);
}
.news-section.mobile-content .read-more:hover {
background-color: #e5a036;
text-decoration: none;
transform: translateY(-2px);
box-shadow: 0 5px 14px rgba(251, 176, 60, 0.4);
}
.news-section.mobile-content .news-dots {
display: flex;
justify-content: center;
gap: 8px;
margin-bottom: 25px;
}
.news-section.mobile-content .news-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #DDD;
cursor: pointer;
transition: all 0.3s ease;
}
.news-section.mobile-content .news-dot.active {
background: #F8751B;
transform: scale(1.2);
}
.news-section.mobile-content .news-more-button {
text-align: center;
}
.news-section.mobile-content .news-cta-button {
display: inline-block;
background: #F8751B;
color: white;
padding: 10px 40px;
border-radius: 30px;
text-decoration: none;
font-size: 1.1rem;
font-weight: bold;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}
.news-section.mobile-content .news-cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
color: white;
text-decoration: none;
}
.news-container {
max-width: 1400px;
margin: 0 auto;
padding: 0 20px;
}
.news-header {
text-align: center;
margin-bottom: 60px;
margin-top: -6rem;
}
.news-title-container {
display: inline-flex;
align-items: center;
background: white;
padding: 20px 40px;
padding-left: 104px;
padding-right: 104px;
border-radius: 0 0px 50px 50px;
position: relative;
}
.news-title h2 {
font-size: 2.5rem;
font-weight: bold;
color: #333;
margin: 0;
white-space: nowrap;
}
.news-carousel {
position: relative;
display: flex;
align-items: center;
gap: 30px;
margin-bottom: 40px;
}
.news-carousel-btn {
background: #F8751B;
color: white;
border: none;
border-radius: 50%;
width: 60px;
height: 60px;
font-size: 24px;
font-weight: bold;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
flex-shrink: 0;
z-index: 10;
box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}
.news-carousel-btn:hover {
background: #D2691E;
transform: scale(1.05);
}
.news-carousel-container {
flex: 1;
overflow: hidden;
position: relative;
}
.news-carousel-track {
display: flex;
gap: 30px;
transition: transform 0.5s ease;
padding: 20px 0;
}
.news-item {
min-width: 1170px;
flex-shrink: 0;
display: flex;
gap: 40px;
align-items: center;
}  @media (min-width: 1367px) {
.news-section.desktop-content .news-item {
min-width: 950px;
width: 950px;
}
.news-section.desktop-content .news-carousel-container {
max-width: 950px;
}
} @media (min-width: 1025px) and (max-width: 1366px) {
.news-section.desktop-content .news-item {
min-width: 900px;
width: 900px;
}
.news-section.desktop-content .news-carousel-container {
max-width: 900px;
}
} @media (max-width: 1024px) and (min-width: 769px) {
.news-section.desktop-content .news-item {
min-width: 800px;
width: 800px;
}
.news-section.desktop-content .news-carousel-container {
max-width: 800px;
}
} @media (max-width: 768px) and (min-width: 481px) {
.news-item {
min-width: 400px;
width: 400px;
}
.news-carousel-container {
max-width: 400px;
}
} @media (max-width: 480px) and (min-width: 321px) {
.news-item {
min-width: 330px;
width: 330px;
}
.news-carousel-container {
max-width: 330px;
}
} @media (max-width: 320px) {
.news-item {
min-width: 280px;
width: 280px;
}
.news-carousel-container {
max-width: 280px;
}
}
.news-left {
width: 45%;
flex-shrink: 0;
}
.news-image {
width: 100%;
height: 280px;
overflow: hidden;
border-radius: 20px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.news-image:hover {
transform: translateY(-5px);
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}
.news-thumbnail {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 20px;
transition: transform 0.3s ease;
}
.news-image:hover .news-thumbnail {
transform: scale(1.05);
}
.news-right {
width: 55%;
display: flex;
flex-direction: column;
justify-content: flex-start;
}
.news-text {
padding: 0;
display: flex;
flex-direction: column;
height: 100%;
justify-content: space-between;
}
.news-item-title {
font-size: 1.5rem;
font-weight: bold;
color: #000;
margin: 0 0 15px 0;
line-height: 1.3;
}
.news-excerpt {
font-size: 1rem;
color: #666;
line-height: 1.6;
margin: 0 0 20px 0;
flex: 1;
}
.read-more {
color: #F8751B;
text-decoration: none;
font-weight: bold;
font-size: 1rem;
align-self: flex-start;
transition: color 0.3s ease;
}
.read-more:hover {
color: #D2691E;
text-decoration: none;
}
.news-dots {
display: flex;
justify-content: center;
gap: 10px;
margin-bottom: 40px;
}
.news-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: #DDD;
cursor: pointer;
transition: all 0.3s ease;
}
.news-dot.active {
background: #F8751B;
transform: scale(1.2);
}
.news-more-button {
text-align: center;
}
.news-cta-button {
display: inline-block;
background: linear-gradient(135deg, #F8751B, #FFD700);
color: white;
padding: 15px 40px;
border-radius: 25px;
text-decoration: none;
font-size: 1.1rem;
font-weight: bold;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}
.news-cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
color: white;
text-decoration: none;
} .process-section {
position: relative;
width: 100vw;
margin-left: calc(-50vw + 50%);
background: white;
padding: 10px 20px 0;
margin-top: 0;
z-index: 5;
}
.process-container {
width: 100%;
margin: 0;
padding: 0;
}
.process-content {
width: 100%;
}
.process-title {
margin-bottom: 0;
}
.consultation-button {
margin-top: 0;
}
.process-title h2 {
font-size: 2.5rem;
font-weight: bold;
color: #333;
margin: 0;
position: relative;
display: inline-block;
}
.process-title h2::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 3px;
background: linear-gradient(135deg, #F8751B, #FFD700);
border-radius: 2px;
}
.process-image {
width: 75%;
justify-items: center;
display: block;
margin: 50px auto 0;
}
.flow-chart {
width: 65%;
height: auto;
display: block;
object-fit: cover;
}
.about-background {
position: relative;
width: 100%;
height: 100%;
}
.about-bg-image {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.about-overlay {
position: relative;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 0 5%;
}
.about-content {
display: flex;
align-items: flex-start;
;
justify-content: space-between;
max-width: 1200px;
width: 100%;
gap: 60px;
}
.about-text {
flex: 1;
max-width: 600px;
}
.about-title {
display: flex;
align-items: center;
margin-bottom: 30px;
gap: 15px;
}
.about-title h2 {
font-size: 2.5rem;
font-weight: bold;
color: #f8751b;
margin: 0;
text-align: center;
}
.about-description {
margin-bottom: 40px;
}
.about-description p {
font-size: 1.2rem;
line-height: 1.8;
color: #333;
margin: 0;
text-align: justify;
}
.about-button {
text-align: left;
}
.about-rwd-button {
text-align: center;
}
.cta-button {
display: inline-block;
background: #fbb03b;
color: white;
padding: 10px 50px;
border-radius: 25px;
text-decoration: none;
font-size: 1.1rem;
font-weight: 400;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}
.cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
color: white;
text-decoration: none;
}
.cta-rwd-button {
display: inline-block;
background: #fbb03b;
color: white;
padding: 15px 40px;
border-radius: 25px;
text-decoration: none;
font-size: 1.1rem;
font-weight: bold;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}
.cta-rwd-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
color: white;
text-decoration: none;
}
.about-images {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.about-image {
width: 800px;
height: auto;
object-fit: contain;
}
.jobs-container {
max-width: 1400px;
margin: 0 auto;
padding: 0 20px 50px 20px;
}
.jobs-title {
text-align: center;
margin-bottom: 50px;
position: relative;
z-index: 10;
display: flex;
justify-content: center;
align-items: center;
}
.title-image {
width: 300px;
height: auto;
max-width: 100%;
display: block;
margin: 0 auto;
}
.decoration-image {
position: absolute;
width: 210px;
height: auto;
right: 120px;
bottom: 0;
max-width: 100%;
}
.jobs-carousel {
position: relative;
display: flex;
align-items: center;
gap: 20px;
justify-content: center;
}
.carousel-btn {
background: transparent;
color: white;
border: none;
border-radius: 50%;
width: 50px;
height: 50px;
font-size: 24px;
font-weight: bold;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s;
flex-shrink: 0;
z-index: 10;
padding: 0;
}
.carousel-btn:hover {
transform: scale(1.1);
}
.carousel-icon {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}
.carousel-container {
width: 100%;
overflow: hidden;
position: relative;
}
.carousel-track {
display: flex;
gap: 2rem;
transition: transform 0.5s ease;
padding: 20px 0;
will-change: transform;
backface-visibility: hidden;
transform-style: preserve-3d;
perspective: 1000px;
}
.job-item {
width: 281px;
flex-shrink: 0;
}
.job-icon {
width: 196.7px; height: 196.7px; object-fit: cover;
transition: transform 0.3s;
}
.job-link {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
text-decoration: none;
color: inherit;
transition: transform 0.3s ease;
}
.job-link:hover {
transform: scale(1.05);
}
.job-text {
font-size: 2rem;
font-weight: bold;
color: #f8751b;
text-align: center;
white-space: nowrap;
} @media (max-width: 1024px) and (min-width: 769px) { .hero-section { margin-bottom: 0;
} .agency-guide-section {
background-image: url(//cxagent.com.tw/wp-content/themes/newtheme/images/外勞仲介合照.webp);
background-size: cover; background-position: center; background-repeat: no-repeat; width: 100%; height: 100%; padding: 100px 0; position: relative; }
.agency-overlay {
padding: 0 3%;
}
.agency-content {
padding: 30px;
max-width: 450px;
}
.agency-title h2 {
font-size: 2rem;
}
.agency-criteria {
transform: translateX(-10rem);
}
.criterion-item span {
font-size: 1.6rem;
line-height: 1.8;
} .other-jobs-section {
padding: 0;
}
.title-image {
width: 280px;
}
.job-item {
width: 250px;
}
.job-icon {
width: 250px;
height: 250px;
}
.job-text {
font-size: 1.8rem;
} .about-section {
height: 1000px;
}
.about-content {
gap: 40px;
max-width: 900px;
}
.about-title h2 {
font-size: 2.2rem;
}
.about-description p {
font-size: 1.1rem;
}
.about-image {
width: 600px;
}
.flow-chart {
width: 100%;
} .about-section .about-text {
opacity: 0;
transform: translateX(-100px);
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-section .about-images {
opacity: 0;
transform: translateX(100px);
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-section .about-text.animate-in {
opacity: 1;
transform: translateX(0);
}
.about-section .about-images.animate-in {
opacity: 1;
transform: translateX(0);
} .news-section {
padding: 60px 0;
}
.news-title h2 {
font-size: 2.2rem;
}
.news-item {
gap: 30px;
}
.news-image {
height: 220px;
}
.news-text {
height: auto;
}
.news-item-title {
font-size: 1.3rem;
}
.news-excerpt {
font-size: 0.95rem;
} .news-section.desktop-content {
padding: 0;
}
.news-section.desktop-content .news-container {
padding: 0 30px;
}
.news-section.desktop-content .news-header {
margin-bottom: 60px;
}
.news-section.desktop-content .news-title-container {
padding: 20px 65px;
border-radius: 0 0 50px 50px;
}
.news-section.desktop-content .news-title h2 {
font-size: 2rem;
color: #F8751B;
}
.news-section.desktop-content .news-carousel {
gap: 30px;
margin-bottom: 50px;
}
.news-section.desktop-content .news-carousel-btn {
width: 60px;
height: 60px;
font-size: 24px;
}
.news-section.desktop-content .news-carousel-container {
max-width: 1000px;
}
.news-section.desktop-content .news-item {
min-width: 1000px;
gap: 40px;
padding: 30px;
border-radius: 25px;
}
.news-section.desktop-content .news-image {
height: 280px;
border-radius: 18px;
}
.news-section.desktop-content .news-text {
height: auto;
gap: 15px;
}
.news-section.desktop-content .news-item-title {
font-size: 1.8rem;
}
.news-section.desktop-content .news-excerpt {
font-size: 1.1rem;
line-height: 1.6;
}
.news-section.desktop-content .read-more {
font-size: 1rem;
}
.news-section.desktop-content .news-dots {
gap: 10px;
margin-bottom: 40px;
}
.news-section.desktop-content .news-cta-button {
padding: 5px 40px;
font-size: 1.2rem;
border-radius: 25px;
}
} @media (max-width: 768px) { .hero-section {
width: 100%;
overflow: visible;
position: relative;
margin-top: 45px;
margin-bottom: 0;
padding-bottom: 0;
line-height: 0;
}
.hero-image {
width: 100%;
height: auto;
display: block;
margin-bottom: 0;
padding-bottom: 0;
vertical-align: top;
}
.process-image {
width: 100%;
}
.flow-chart {
width: 85%
} .agency-guide-section.mobile-content {
height: 500px;
}
.agency-guide-section.mobile-content .agency-content {
padding: 15px;
max-width: 95%;
}
.agency-guide-section.mobile-content .number-icon {
width: 35px;
height: 35px;
}
.agency-guide-section.mobile-content .criterion-item span {
font-size: 0.9rem;
color: #333;
} .other-jobs-section {
padding: 0 10px;
margin-top: 0;
width: 100%;
margin-left: 0;
}
.jobs-container {
padding: 0;
} .rwd-image-section {
padding: 30px 20px 0;
}
.rwd-image-container {
padding: 0;
position: relative;
}
.rwd-bg-image {
position: relative;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
}
.rwd-title {
font-size: 1.8rem;
text-align: center;
margin-bottom: 20px;
}
.rwd-image {
max-width: 400px;
position: relative;
z-index: 2;
}
.jobs-title {
margin-top: 0;
margin-bottom: 30px;
}
.title-image {
width: 150px;
}
.decoration-image {
max-width: 120px;
width: 75px;
right: 15px;
bottom: 10px;
}
.jobs-carousel {
gap: 5px;
}
.carousel-btn {
width: 40px;
height: 40px;
font-size: 20px;
}
.carousel-icon {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}
.carousel-container {
width: calc(100vw - 120px);
max-width: calc(100vw - 120px);
margin: 0 auto;
overflow: hidden;
}
.carousel-track {
gap: 0;
transition: transform 0.5s ease;
display: flex;
width: fit-content;
}
.job-item {
width: calc((100vw - 120px) / 2);
flex-shrink: 0;
}
.job-icon {
width: 100%;
height: auto;
aspect-ratio: 1;
object-fit: cover;
}
.job-text {
font-size: 1.4rem;
} .about-section {
height: auto;
min-height: 800px;
padding: 40px 0;
}
.about-overlay {
padding: 20px;
align-items: flex-start;
justify-content: center;
}
.about-content {
flex-direction: column;
gap: 30px;
text-align: center;
max-width: 100%;
}
.about-text {
max-width: 100%;
order: 1;
opacity: 0;
transform: translateX(-100px);
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-text.animate-in {
opacity: 1;
transform: translateX(0);
}
.about-title {
margin-bottom: 20px;
text-align: center;
}
.about-title h2 {
font-size: 1.8rem;
}
.about-description {
margin-bottom: 30px;
}
.about-description p {
font-size: 1rem;
text-align: center;
line-height: 1.6;
}
.about-images {
order: 2;
opacity: 0;
transform: translateX(100px);
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-images.animate-in {
opacity: 1;
transform: translateX(0);
}
.about-image {
width: 100%;
max-width: 300px;
}
.cta-button {
padding: 12px 30px;
font-size: 1rem;
}
.cta-rwd-button {
padding: 8px 30px;
font-size: 1rem;
margin-bottom: 30px;
}
.process-title h2 {
font-size: 1.8rem;
}
.process-title h2::after {
width: 60px;
height: 2px;
} .news-section {
padding: 40px 0;
}
.news-container {
padding: 0 15px;
}
.news-header {
margin-bottom: 40px;
margin-top: -4rem;
}
.news-title-container {
padding: 15px 20px;
padding-left: 70px;
padding-right: 70px;
border-radius: 0 0 30px 30px;
}
.news-title h2 {
font-size: 1.44rem;
color: #F8751B;
}
.news-carousel {
gap: 15px;
margin-bottom: 30px;
}
.news-carousel-btn {
width: 45px;
height: 45px;
font-size: 18px;
}
.news-carousel-track {
gap: 20px;
}
.news-item {
flex-direction: column;
gap: 20px;
align-items: center;
}
.news-left {
width: 100%;
order: 1;
}
.news-image {
width: 100%;
height: 200px;
}
.news-right {
width: 100%;
order: 2;
}
.news-text {
width: 100%;
padding: 0;
height: auto;
min-height: 200px;
justify-content: flex-start;
gap: 15px;
}
.news-item-title {
font-size: 1.3rem;
margin-bottom: 10px;
}
.news-excerpt {
font-size: 0.95rem;
margin-bottom: 15px;
}
.read-more {
font-size: 0.9rem;
align-self: flex-start;
}
.news-dots {
margin-bottom: 30px;
}
.news-dot {
width: 10px;
height: 10px;
}
.news-cta-button {
padding: 12px 30px;
font-size: 1rem;
} .news-section.mobile-content .news-carousel-container {
max-width: 300px;
}
.news-section.mobile-content .news-item {
min-width: 300px;
width: 300px;
padding: 20px;
box-sizing: border-box;
}
.news-section.mobile-content .news-image {
height: 160px;
}
.news-section.mobile-content .news-item-title {
font-size: 1.3rem;
}
.news-section.mobile-content .news-excerpt {
font-size: 0.9rem;
}
.section-header {
margin-bottom: 0;
margin-top: 30px
}
.process-section {
padding: 10px 20px 65px;
}
} @media (max-width: 480px) { .hero-section {
width: 100%;
overflow: visible;
position: relative;
margin-bottom: 0;
padding-bottom: 0;
line-height: 0;
} .agency-guide-section.mobile-content {
height: 450px;
}
.agency-guide-section.mobile-content .agency-content {
padding: 10px;
max-width: 98%;
}
.agency-guide-section.mobile-content .number-icon {
width: 30px;
height: 30px;
}
.agency-guide-section.mobile-content .criterion-item span {
font-size: 0.8rem;
color: #333;
} .other-jobs-section {
padding: 0 10px 50px;
margin-top: 0;
}
.consultation-button-container {
margin-top: 10px;
}
.jobs-container {
padding: 0;
} .rwd-image-section {
padding: 40px 25px 10px;
height: 185vw;
background-size: 175% 100%;
}
.rwd-image-container {
padding: 30px 0 55px;
position: relative;
}
.rwd-bg-image {
position: relative;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
}
.rwd-title {
font-size: 1.5rem;
}
.rwd-image {
max-width: 300px;
position: relative;
z-index: 2;
}
.carousel-container {
width: calc(100vw - 120px);
max-width: calc(100vw - 120px);
margin: 0 auto;
overflow: hidden;
}
.section-header {
margin-top: 0;
} .news-section.mobile-content {
position: relative;
z-index: 5;
padding: 0 0 30px 0;
}
.news-section.mobile-content .news-title-container {
padding: 5px 25px 10px;
}
.news-section.mobile-content .news-title h2 {
font-size: 1.28rem;
color: #F8751B;
}
.title-image {
width: 150px;
}
.job-item {
width: calc((100vw - 120px) / 2);
flex-shrink: 0;
}
.job-icon {
width: 75%;
height: auto;
aspect-ratio: 1;
object-fit: cover;
}
.job-text {
font-size: 1.2rem;
} .about-section {
min-height: 700px;
padding: 30px 0;
}
.about-overlay {
padding: 15px;
}
.about-content {
gap: 20px;
}
.about-text {
opacity: 0;
transform: translateX(-100px);
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-text.animate-in {
opacity: 1;
transform: translateX(0);
}
.about-images {
opacity: 0;
transform: translateX(100px);
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-images.animate-in {
opacity: 1;
transform: translateX(0);
}
.rwd-title {
text-align: center;
}
.about-title h2 {
font-size: 1.5rem;
}
.about-description p {
font-size: 0.9rem;
text-align: left;
line-height: 2.0;
}
.about-image {
max-width: 250px;
} .news-section {
padding: 30px 0;
}
.news-container {
padding: 0 10px;
}
.news-title-container {
padding: 10px 15px;
padding-left: 50px;
padding-right: 50px;
}
.news-title h2 {
font-size: 1.2rem;
color: #F8751B;
}
.news-item {
min-width: 280px;
}
.news-image {
height: 180px;
}
.news-text {
min-height: 180px;
}
.news-item-title {
font-size: 1.1rem;
}
.news-excerpt {
font-size: 0.85rem;
}
.read-more {
font-size: 0.8rem;
} .news-section.mobile-content .news-carousel-container {
max-width: 280px;
}
.news-section.mobile-content .news-item {
min-width: 280px;
width: 280px;
padding: 15px;
box-sizing: border-box;
}
.news-section.mobile-content .news-image {
height: 140px;
}
.news-section.mobile-content .news-item-title {
font-size: 1.2rem;
}
.news-section.mobile-content .news-excerpt {
font-size: 0.85rem;
}
} @media (max-width: 320px) {
.hero-section {
width: 100%;
overflow: visible;
position: relative;
}
.agency-guide-section.mobile-content .number-icon {
width: 25px;
height: 25px;
}
.agency-guide-section.mobile-content .criterion-item span {
font-size: 0.7rem;
color: #333;
}
.title-image {
width: 180px;
}
.carousel-container {
width: calc(100vw - 120px);
max-width: calc(100vw - 120px);
margin: 0 auto;
overflow: hidden;
}
.carousel-track {
gap: 0;
transition: transform 0.5s ease;
display: flex;
width: fit-content;
}
.job-item {
width: calc((100vw - 120px) / 2);
flex-shrink: 0;
}
.job-icon {
width: 100%;
height: auto;
aspect-ratio: 1;
object-fit: cover;
}
.job-text {
font-size: 1rem;
} .rwd-image-section {
padding: 15px 0;
}
.rwd-image-container {
padding: 0 8px;
position: relative;
min-height: 200px;
height: 40vh;
max-height: 350px;
}
.rwd-bg-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
}
.rwd-title {
font-size: 1.3rem;
}
.rwd-image {
max-width: 250px;
position: absolute;
top: 60%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
}
.about-title h2 {
font-size: 1.3rem;
}
.about-description p {
font-size: 0.85rem;
}
.about-image {
max-width: 200px;
}
.news-title h2 {
font-size: 1.04rem;
color: #F8751B;
}
.news-item {
min-width: 260px;
}
.news-item-title {
font-size: 1rem;
}
.news-excerpt {
font-size: 0.8rem;
} .news-section.mobile-content {
padding: 0 0 25px 0;
}
.news-section.mobile-content .news-title-container {
padding: 10px 60px;
}
.news-section.mobile-content .news-title h2 {
font-size: 1.12rem;
color: #F8751B;
}
.news-section.mobile-content .news-carousel-container {
max-width: 260px;
}
.news-section.mobile-content .news-item {
min-width: 260px;
width: 260px;
padding: 12px;
box-sizing: border-box;
}
.news-section.mobile-content .news-image {
height: 120px;
}
.news-section.mobile-content .news-item-title {
font-size: 1.1rem;
}
.news-section.mobile-content .news-excerpt {
font-size: 0.8rem;
}
}