.form-wrapper-box {
  background-color: #d7d1c5;
  overflow-x: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 30px;
}

/* --- 背景巨大浮水印文字 --- */
.bg-watermark {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(100px, 15vw, 210px);
  font-weight: 700;
  color: #DAD6CA;
  letter-spacing: 0.1em;
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* --- 主要限制寬度容器 (1600px) --- */
.main-wrapper {
    width: 100%;
    max-width: 1600px;
    padding: 40px 20px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- 頁首標題區 --- */
.page-header {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding-left: 20px;
}

.header-top-bar {
    width: 70px;
    height: 4px;
    background-color: #b9122a;
    margin-bottom: 20px;
}

.title-h1 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 16px;
    color: #ffffff;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* --- 聯絡表單區塊 --- */
.form-box {
    background-color: #f5f4f1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 100px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* 表單標題橫槓排版 */
.form-header-row {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.form-title {
    font-size: 32px;
    font-weight: 400;
    color: #111111;
    letter-spacing: 3px;
    margin-right: 20px;
    white-space: nowrap;
}

.form-title-line {
    flex-grow: 1;
    height: 2px;
    background-color: #b9122a;
}

.form-main-content {
  display: flex;
}

.form-left {
    width: 25%;
    font-size: 16px;
    color: #666666;
    letter-spacing: 1px;
    line-height: 1.6;
}

.form-right {
    width: 70%;
}

/* 表單欄位排版 */
.form-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-full-row {
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 18px 20px;
    background-color: #ffffff;
    border: none;
    outline: none;
    font-size: 15px;
    color: #333333;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    cursor: pointer;
}

input::placeholder,
textarea::placeholder {
    color: #333333;
}

textarea {
    height: 180px;
    resize: none;
}

input:focus,
select:focus,
textarea:focus {
    box-shadow: inset 0 0 0 1px #b9122a;
}

/* 提交按鈕 */
.submit-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-submit {
    background-color: #b9122a;
    color: #ffffff;
    border: none;
    padding: 14px 100px;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #930e21;
}

.end_but_box{
  display: flex;
  justify-content: center;
  margin-top: 100px;
}
.end_but {
    background-color: #b9122a;
    color: #ffffff;
    border: none;
    padding: 14px 100px;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.end_but:hover {
    background-color: #930e21;
}

.slider_code ,.slider_code_reply ,.slider_code_member{
  background: #ECECEC !important;
  height: 27px !important;
  font-size: 14px;
  color: #2B2B2B !important;
  line-height: 25px;
  width: 200px;
  display: flex;
  align-items: center; 
  justify-content: center;
}
.slider_code a ,.slider_code_reply a ,.slider_code_member a{
	width: 25px !important;
	height: 25px !important;
	background: #FFFFFF url(/images/pc/blockbg.png) no-repeat center center !important;
	top: 0px !important;
	margin-left: 0px !important;
	cursor: move !important;
}
.slider_code .suc ,.slider_code_reply .suc ,.slider_code_member .suc{
	display: inline-block;
	padding-bottom: 5px;
	padding-top: 5px;
	padding-right: 5px;
}
.end_date{
	width: 600px;
	text-align: center;
	color: #2A2A2A;
	font-size: 16px;
	line-height: 26px;
	height: 410px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -300px;
	margin-top: -205px;
}
.end_date h1{
	font-size: 30px;
}
.end_date span{
	color: #007dcd;
}
.end_date a{
	color: #555555;
	font-size: 14px;
}
.slider_box{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.end_box{
  display: flex;
  flex-direction: column;
  flex: 1;
}
.end_content{
  color: #232323;
  font-size: 20px;
}
.end_content a{
  display: flex;
  align-items: center; 
  justify-content: flex-end;
}

/* Swiper 滑動功能區塊展示 (在此作為背景裝飾或預留區塊) */
.swiper-section {
    display: none; /* 圖片中沒有滑動區塊，依照「不更動視覺」隱藏，但引入 JS 邏輯 */
}

/* --- 響應式排版 (RWD) --- */
@media (max-width: 1200px) {
    .form-box {
        padding: 60px 50px;
    }
}

@media (max-width: 991px) {
    .form-main-content {
        flex-direction: column;
    }

    .form-left {
        width: 100%;
        margin-bottom: 30px;
    }

    .form-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding-left: 0;
    }

    .form-box {
        padding: 40px 20px;
    }

    .form-grid-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-full-row {
        margin-bottom: 15px;
    }

    .title-h1 {
        font-size: 32px;
    }

    .btn-submit {
        width: 100%;
        padding: 15px 0;
    }
  
  .form-wrapper-box {
      padding-top: 20px;
  }  
  .bg-watermark {
      top: 12%;
  }
  
}

/* 英文版調整 */




