/*icon*/
.phone{position:fixed;right:0%;top:22%;z-index:1000;transform:scale(0.8);}

@media(max-width:414px){
.phone{position:fixed;right:0%;top:22%;z-index:1000;transform:scale(0.8);}
}



/*body*/
body {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.12em
}

a {
    color: #01245a;
    text-decoration: none;
}

a:hover {
    color: #01245a;
}

.row [class^="col-"] {
  padding:10px;
}


/*最下層空白處去掉*/
body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*回首頁*/
.navbar-nav > li > a {
  color: #fff;
}

.topnavbar .container {
  height: 100%;
  padding-top: 0px;
  padding-bottom: 10px;
  text-align: justify;
  font-size: 0;
}

.topnavbar {
  background-color: #fff;
  top: 0px;
  position: relative;
  z-index: 100;
  width: 100%;
  padding: .6rem 0;
  height: 90px;
  padding-top: 0px;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}


/*nav*/
#nav ul li a {
  white-space: nowrap;
  color: #333;
  line-height: 1.3;
  font-weight: normal;
  padding: 15px 20px;
  font-size: 100%;
  border-right: 0px #888 dotted;
  transition: all 0.5s;
}

#nav ul li a:hover {
  background: #01245a;
  color: #fff;
  border-radius: 0px 0px 0px 0px;
}

#nav ul li.current a {
  background: #01245a;
  color: #fff;
  border-radius: 0px 0px 0px 0px;
}

#nav .subnav {
  position: absolute;
  top: 100%;
  max-width: 300px;
  background-color: rgba(75,75,75,0.55);
}

#nav ul .subnav li a {
  background-color: rgba(75, 75, 75,0.85);
  color: #fff;
  text-align: left;
  width: 300px;
}

#nav ul li .subnav a span {
  display: inline-block;
  max-width: 300px;
}

#nav li.has-subnav ul li a {
  color: #fff;
  width: 300px;
  white-space: pre-line;
}


/*h1*/
/*
.h1title {
  color: #0032ad;
  border-bottom: 1px dashed #0032ad;
}
*/
.h1title {
  display:none;
}


/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}



/*產品格*/
ul.product-list li .desc {
    display: block;
    min-height: 1.2rem;
    max-height: 2.4rem;
    margin-bottom: auto;
    font-size: .8rem;
    line-height: 1.5;
    word-break: break-word;
    color: #666;
    overflow: hidden;
    padding: 0 16px;
    display: none;
}


/*隱藏詳細介紹*/
ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #333;
}
ul.product-list li h3 {
    flex: 1 0 auto;
    max-height: 3.15rem;
    margin: 0.7rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #444;
    overflow: hidden;
    padding: 0 16px;
}


/*改產品格名稱顏色*/
#side ul li.current > div a {
    color: #c4021a;
}
#side ul li a {
    color: #333;
    display: block;
    padding: 10px 20px;
    transition: .3s;
}
.product-list-div h2 a {
    color: #333;
    text-decoration: none;
    display: inline-block;

}
.product-list-div h2 {
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    text-shadow: 0 0px 0 #fff;
}
body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #333;
    transition-property: left, color;
}
ul.product-list li .money-icon {
    color: #333;
    font-size: 95%;
    margin-right: 8px;
    margin-left: 16px;
    text-shadow: 0 0px 0 rgba(255,255,255,0.7);
}


/*footer*/
#footer {
  background: #01245a;
}

#foot-nav ul li a {
  color: #fff;
  font-size: 1.06em;
}

#foot-nav {
  clear: both;
  padding: 1em 0;
  border-bottom: 1px solid #fff;
}

#footer {
  color: #fff;
}

#contact-info ul li span {
  color: #fff;
}

#copyright,
#copyright a {
  color: #dcdcdc;
}

#foot-nav{
  display:none;
}


/*I1*/
#bodyinhome .fcol.fcol-1{
  background:url(https://static.iyp.tw/35449/files/94bccb52-4d01-42d4-9e54-82130e9a04ad.png)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
   }


#bodyinhome .fcol.fcol-1 .container{
  padding:60px 20px;
}


/*Index_1*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 {
  background:url(https://static.iyp.tw/409752/files/2dbd0aa6-47ae-448b-9af3-bc1542c9a075.png)no-repeat;
  background-position:top center;
  background-size:cover;
  min-height:400px;
  display: flex;
  align-items: center;
  justify-content: center;
}



/*about*/
.company-section {
  padding: 80px 20px;
}

.company-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.company-left {
  flex: 1;
  min-width: 280px;
}

.company-subtitle {
  margin-bottom: 10px;
  letter-spacing: 2px;
}


.company-title {
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
}

.company-note {
  color: #444;
}

.company-right {
  flex: 1.6;
  min-width: 280px;
  line-height: 1.9;
}

.company-right p + p {
  margin-top: 16px;
}

/* RWD：手機與平板自動變上下排列 */
@media (max-width: 900px) {
  .company-inner {
    flex-direction: column;
    text-align: left;
  }

  .company-title {
    font-size: 28px;
  }

  .company-right {
    font-size: 16px;
  }
}


/*more*/
.intro {
	-webkit-animation-delay: 1.5s;
}
.intro a {
	overflow: hidden;
	position: relative;
	padding: 10px 20px;
	border: 1px #fff solid;
	display: inline-block;
	font-size: 100%;
	color: #fff;
  	background: transparent;
}
.intro a:hover {
	color: #01245a;
	background: #fff;
	transition: all 0.4s ease;
}
.intro a:hover:after {
	left: 0;
}


/*Index2*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2{
  background:url(https://static.iyp.tw/409752/files/8c864e17-52ea-400e-a668-7671971da383.png)no-repeat;
  background-position:top center;
  background-size:cover;
  min-height:400px;
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 .container{
  padding:60px 20px;
}


/*service*/
.qu{
  border:1px solid #eceae5;
  padding: 10px;
  border-radius:20px;
  height:380px;
}


/**/
.projects-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.projects-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.projects-desc {
  font-size: 16px;
  margin-bottom: 30px;
  color: #666;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: #e6e3ef;
  border: none;
  padding: 14px 16px;
  font-size: 18px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: 0.3s;
}

.accordion-header.active {
  background: #453876;
  color: white;
}

.accordion-content {
  display: none;
  padding: 0 0 20px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

table th, table td {
  padding: 10px 8px;
  border-bottom: 1px solid #ddd;
}

table th {
  background: #f7f7f7;
  font-weight: 600;
}

@media (max-width: 600px) {
  table thead {
    display: none;
  }
  table tr {
    display: block;
    margin-bottom: 12px;
    border-bottom: 2px solid #eee;
  }
  table td {
    display: flex;
    justify-content: space-between;
  }
  table td:before {
    content: attr(data-label);
    font-weight: 600;
  }
}


<style>
.record-year h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 20px;
  letter-spacing: 1px;
}

.record-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.record-item {
  padding: 16px 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  line-height: 1.6;
  font-size: 15px;
}

@media(max-width: 768px) {
  .record-table {
    grid-template-columns: 1fr; /* 手機自動轉為單欄 */
  }
}
</style>

