@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');

body{
	max-width: 2560px;
}

header{
	width: 100%;
	height: 100px;
}

#logo{
	margin-left: 50px;
	margin-top: 50px;
	width: 150px;
	height: 150px;
	float: left;
}


.banner {
  width: 100%;
  height: 80vh;
  background: url("../images/banner21.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.banner_content {
  background-color: rgba(0, 0, 0, 0.4); /* 半透明背景讓字更清楚 */
  padding: 40px 20px;
  border-radius: 12px;
}

.banner_title {
  font-family: "Noto Sans TC", serif;
  font-weight: 700;
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  margin-bottom: 20px;
}

.banner_text {
  font-family: "Noto Sans TC", serif;
  font-weight: 400;
  font-size: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  line-height: 1.8;
}


.about-section {
  width: 100%;
  background: linear-gradient(180deg, #f4f7fb, #e8eef5);
  padding: 80px 20px;
  box-sizing: border-box;
  overflow-x: hidden;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.about-left,
.about-right {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.lawyer-photo {
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  display: block;
  margin: auto;
}

.about-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1b355e;
  margin-bottom: 10px;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.about-title::before,
.about-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 60px;
  height: 2px;
  background-color: #2962ff;
}

.about-title::before {
  right: 100%;
  margin-right: 12px;
}

.about-title::after {
  left: 100%;
  margin-left: 12px;
}

.about-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #3f5a8a;
  margin-bottom: 25px;
  text-align: center;
}

.about-list {
  list-style: none;
  padding: 0;
  color: #3b4a57;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
}
/*第三區塊*/
.service-section {
  background: linear-gradient(180deg, #f4f7fb, #e8eef5);
  padding: 80px 20px;
  position: relative;
}

.service-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.service-carousel {
  flex: 1;
  min-width: 300px;
}

.swiper-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #ffffff;
}

.swiper-button-next,
.swiper-button-prev {
  color: #2962ff;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 1;
}

.service-content {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.service-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1b355e;
  margin-bottom: 30px;
  padding-bottom: 8px;
  border-bottom: 3px solid #2962ff;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #3b4a57;
}

.service-item img {
  width: 36px;
  height: 36px;
}

.section-divider {
  width: 120px;
  height: 4px;
  background: #2962ff;
  margin: 60px auto 0 auto;
  border-radius: 2px;
  opacity: 0.6;
}


.div4{
	width: 100%;
	height: 800px;
	margin-top: 10px;
	overflow: hidden;
	
}
.div4_title{
  font-family: "Noto Sans TC", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
	font-size: 45px;
}


.div5 {
  width: 100%;
  height: auto;
  margin-top: 10px;
  background: #f2f5fa; 
  text-align: center;
}

.div5_title {
  
  font-size: 2.2rem;
  font-weight: 700;
  color: #27476e;
  font-family: "Noto Sans TC", serif;
  position: relative;
  display: inline-block;
  
}

.div5_title::after {
  content: '';
  width: 50px;
  height: 3px;
  background: #2962ff;
  display: block;
  margin: 10px auto 0 auto;
  border-radius: 2px;
}


footer {
  width: 100%;
  background: linear-gradient(180deg, #1a1c1f, #2a2c30);
  color: #f5f6fa;
  font-family: "Noto Sans TC", sans-serif;
  padding: 60px 20px 20px 20px;
  box-sizing: border-box;
}

.footer_main {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 20px 0;
}

.footer_left,
.footer_right {
  flex: 1 1 45%;
  min-width: 300px;
}

.footer_title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.footer_title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #2962ff;
  margin: 8px auto 0 auto;
  border-radius: 2px;
}

.footer_content {
  font-size: 1.05rem;
  color: #dddddd;
  line-height: 1.8;
}

.footer_map {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.foot {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
}

.footer_text1 {
  font-size: 1rem;
  font-weight: 700;
  color: #cccccc;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.footer_links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: #aaa;
}

.footer_links a {
  color: #aabbee;
  text-decoration: none;
  transition: color 0.3s;
}

.footer_links a:hover {
  color: #4f9cff;
}

.footer_divider {
  color: #555;
}


/*即時通*/

@media (max-width: 768px) {
footer {
    padding-bottom: 150px; /* 預留 Messenger 按鈕的空間 */
  }
}





