:root {
  --iq-title: #1f4f86;
  --iq-title-en: #dbe7ea;
  --iq-deco: #ececec;
  --iq-badge: #3f6db5;
  --iq-border: #dcdcdc;
  --iq-text: #222;
  --iq-box: #eee;
  --iq-btn: #555;
}
#content{
    max-width: unset;
    padding-inline-end: 0px;
    padding-inline-start: 0px;
}
.page-header{
    display: none;
}
.banner{
    aspect-ratio: 1920 / 677;
    width: 100%;
    background-image: url("/wp-content/uploads/2026/10/162-banner-bk-scaled.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    font-size: 1.2vw;
}
.banner h1 {
    font-family: "Noto Serif TC", serif;
    font-weight: 600;
    position: absolute;
    top: 39%;
    left: 23%;
    font-size: 2.3em;
    letter-spacing: 0.1em;
    color: #04406d;
}
.banner p {
    font-family: "Noto Serif TC", serif;
    font-weight: 500;
    position: absolute;
    top: 48%;
    left:27.2%;
    font-size: 1.5em;
    letter-spacing: 0.1em;
    color: white;
}
.banner .m-btn {
    position: absolute;
    top: 0;
    left: 17%;
}
@media (max-width:1024px){
    .banner{
        aspect-ratio: 1216 / 568;
        background-image: url("/wp-content/uploads/2026/10/162-banner-bk-t.png");
        font-size: 1.8vw;
    }
    .banner .m-btn {
        left: 14%;
    }
    .banner h1 {
        top: 41%;
        left: 22%;
    }
    .banner p {
        top: 51%;
        left: 29.4%;
    }
}
@media (max-width:500px){
    .banner{
        aspect-ratio: 600 / 801;
        background-image: url("/wp-content/uploads/2026/10/162-banner-bk-m.png");
        font-size: 4vw;
    }
    .banner .m-btn {
        left: 14%;
    }
    .banner h1 {
        top: 20%;
        left: 32%;
    }
    .banner .m-btn.is-v.template .line {
       height: 7em;
    }
    .banner p {
        top: 28%;
        left: 47.9%;
    }
}


.contact{
    padding: 0 var(--box-padding);
}

.contact>div{
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 100px;
}
.contact-deco{
    writing-mode: vertical-lr;
    font-family: var(--noto-sans);
    font-size: min(10vw, 170px);
    line-height: 0.9em;
    white-space: nowrap;
    font-weight: 100;
    color: var(--iq-deco);;
}
.contact-title{
    font-size: var(--h2-size-small);
    letter-spacing: 0.1em;
    color: var(--font-main-color);
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1em;
    padding: 80px 0;
}
.contact-title>span:first-child{
    padding-left: 0.8em;
}
.contact-title>span:last-child {
    color: var(--font-en-color);
    font-weight: 500;
    line-height: 1em;
    transform: translateY(-0.2em);
}
.contact-inner{
    width: 100%;
    margin-bottom: var(--section-gap);
}
.field {
  margin-bottom: 35px;
}
.field label{
    padding: 0;
    font-size: var(--p-size-medium);
    font-weight: 700;
    color: #222;
    letter-spacing: 0.05em;
    font-family: var(--noto-serif);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.field label span{
    background-color: #3b6eb5;
    color: white;
    padding: 4px 7px;
    line-height: 1em;
    font-size: 0.9em;
}
.field input ,.field textarea{
    width: 100% !important;
    padding: 8px 12px !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 0 !important;
    font-family: var(--noto-sans);
    font-size: var(--p-size-medium);
    
}
.field textarea{
    resize: vertical;
    min-height: 120px;
}
.field input::placeholder,
.field textarea::placeholder{
  color: #aaa;
}
 
.field input:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--iq-title);
}

.privacy{
    margin-top: var(--section-gap);
    margin-bottom: 60px;
}
.privacy-lead{
    font-size: var(--p-size-medium);
    font-weight: 500;
    color: black;
    line-height: 1.4em;
    margin-bottom: 10px;
}
.privacy__box{
    padding: var(--box-padding);
    overflow-y: scroll;
    background-color: #eeeeee;
    max-height: 17em;
    font-size: var(--p-size-medium);
}
.privacy__heading{
    font-size: 1.2em;
    font-weight: 700;
    color: black;
    margin-bottom: 2em;
}
.privacy__sub{
    font-size: 1em;
    font-weight: 700;
    color: var(--font-main-color);
    margin-bottom: .8em;
}
.privacy__box p{
    font-size: 1em;
    font-weight: 400;
    margin-bottom: 3em;
}
.privacy__box p:last-child{
    margin-bottom: 0;
}
.privacy-agree{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: var(--p-size-medium);
}
.privacy-agree input {
    appearance: none;
    flex: none;
    width: 1rem;
    height: 1rem;
    margin: 0;
    border: 1px solid #9b9fa3;
    background: #fff center / 70% no-repeat;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}
.privacy-agree input[type="checkbox"]:checked {
    border-color: #24518a;
    background-color: #24518a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
}
.contact-btn{
    display: block;
    font-size: var(--p-size-medium);
    color: white;
    font-family: var(--noto-serif) ;
    background-color: #595757 !important;
    border: unset;
    font-weight: 500;
    letter-spacing: 0.05em;
    width: 100%;
    max-width: 25rem;
    margin: 0 auto;
    padding: 10px;
}
.contact-btn.is-active{
    background-color: var(--font-main-color) !important;
}

@media (max-width:1024px){
    .contact>div {
        gap: 8vw;
    }
}
@media (max-width:767px){
    .contact{
        position: relative;
        padding: 0 13vw;
    }
    .contact-deco{
        position: absolute;
        top: 0;
        left: 0;
    }
}
@media (max-width:600px){
    .contact{
        position: relative;
        padding: 0;
    }
    .contact-deco{
        position: absolute;
        top: 15px;
        left: 0;
        font-size: min(17vw, 170px);
        letter-spacing: 0.1em;
    }
    .contact-title{
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .contact-title,.contact-form .field{
        padding-left: 17vw;
        padding-right: var(--box-padding);
    }
    .privacy,.form-footer{
        padding: 0 var(--box-padding);
    }
}





 
/* ===== 隱私權政策 ===== */
/* .privacy {
  margin-top: 48px;
}
 
.privacy__lead {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--iq-text);
}
 
.privacy__box {
  height: 200px;
  overflow-y: auto;
  padding: 20px 24px;
  background: var(--iq-box);
  font-size: 13px;
  line-height: 2;
  color: var(--iq-text);
}
 
.privacy__heading,
.privacy__sub {
  margin: 0 0 12px;
  font-size: 14px;
}
 
.privacy__sub {
  margin-top: 24px;
  color: var(--iq-title);
}
 
.privacy__box p {
  margin: 0;
}
 
.privacy__agree {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 24px 0 12px;
  font-size: 13px;
  cursor: pointer;
}
 
.privacy__agree input {
  margin: 0;
  accent-color: var(--iq-title);
} */