@charset "UTF-8";
:root{
	--brand-primary:#333; 
	--brand-normal:#92BFB1; 
	--brand-danger:#e83616;
	--brand-warning:#F4AC45;
	--brand-addition:#DAD6D6;
}

body {
  font-family: verdana, sans-serif;
  background: #fbfbfb;
}

/*public*/
h1 {
  font-weight: bold;
  color: var(--brand-primary);
}

h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--brand-primary);
}

h4 {
  font-size: 16px;
  font-weight: bold;
}

img {
  width: 100% !important;
}

.zeroMargin {
  margin-bottom: 0;
  margin-top: 0;
}

.hide{
  display:none
}

.notify {
  color: var(--brand-danger);
  font-size: 12px;
  margin-bottom: 0;
}

nav.fixed {
  position: fixed !important;
  width: 100%;
  z-index: 999;
}

[type=search] {
  width: 100%;
  border-radius: 6px;
  padding-left: 15px;
  height: 42px;
  border-color: #ebebeb;
}

[type=search]:focus {
  outline: none;
}

[type=submit], .search-submit {
  width: 100%;
  border-radius: 6px;
  background: var(--brand-primary);
  color: #fff;
  margin-top: 15px;
  padding: 9px 12px;
  text-align: center;
}

[type=submit]:hover, .search-submit:hover {
  background: color-mix(in srgb, var(--brand-primary) 80%, transparent);
  color: #fff;
}

/* nav-menu */
.menu {
  display: flex;
  justify-content: space-around;
  position: fixed;
  background: var(--brand-primary);
  width: 100%;
  z-index: 998;
  transition: all 0.5s ease-in-out;
  transform: translateY(0);
}

.menu.navUp {
  transform: translateY(-100%);
}

.sub-th {
  background: #f5f5f5;
}

.menu ul {
  padding: 15px 0;
  display: flex;
  margin: auto;
}

.menu li {
  padding: 10px 25px;
  list-style-type: none;
}

.menu li a {
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}

#navTrigger {
  display: none;
  right: 4%;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 999;
  color: #fff;
  font-size: 18px;
  /*add*/
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  width: 30px;
  cursor: pointer;
}
.bar-top, .bar-middle, .bar-bottom{
	width: 100%;
	height: 2px;
	background: #fff;
	margin: 4px 0;
	transform-origin: left;
	transition: all 0.5s
}

#navTrigger.active .bar-top {
	transform: rotate(45deg)
}

#navTrigger.active .bar-middle {
	transform: translateX(1rem);
	opacity: 0
}
#navTrigger.active .bar-bottom {
	transform: rotate(-45deg)
}

.siteLogo {
	filter: drop-shadow(0px 2px 3px #000000c9);
	max-width: 66px;
	padding-left: 10px;
	background: var(--brand-danger);
	display: flex;
	align-items: center;
	padding-right: 10px;
}

.siteLogo img {
	filter: grayscale(1) brightness(0)
}

/* #navTrigger li:fist-child {
  margin-right: 5px;
} */

/* .hambergur{display: none;} */

@media screen and (max-width:767px) {
  .menu > ul {
    flex-direction: column;
    justify-content: flex-end;
  }
  .menu {
    padding: 2% 0;
    justify-content: space-between;
  }
  #navTrigger {
	display: flex;
	align-items: center
    /* display: block; */
  }
  #navMain {
    display: none;
    position: fixed;
    left: 0;
    top: 34px;
    background: var(--brand-primary);
    height: 100vh;
    max-width: inherit;
	top: 0;
	padding-top: 100px;
  }
}
@media screen and (min-width:768px) {
  #navMain {
    display: flex !important;
  }
  #navTrigger {
    display: none !important;
  }

  #company-info tr>td:first-child, 
  #basic-info tr>td:first-child, 
  #ingredient tr>td:first-child {
    min-width: 150px !important;
  } 
}
/* article - main - content */
.main {
  padding-top: calc(6vw + 62px) !important;
  padding-bottom: 7vw;
  min-height: calc(100vh - 5vw);
  padding: 3%;
}

#headInfo {
  margin-bottom: 2vw;
  display: flex;
  align-items: center;
  color: var(--brand-primary);
  gap: 20px;
}

#headInfo img {
  max-width: 120px;
}

#basicInfo img {
  max-width: 150px;
  height: auto;
}

#ingredient tr > td:last-child {
  position: relative;
  display:none;
}

#ingredient .info, .close {
  cursor: pointer;
  width:25px !important;
}

#ingredient .noteBack {
  display: none;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

#ingredient .noteBack p {
  position: relative;
  background: var(--brand-primary);
  color: #fff;
  min-height: 180px;
  display: flex;
  align-items: center;
  padding: 25px;
  width: 300px;
  border-radius: 12px;
}

#ingredient .noteBack p > span {
  transition: 0.2s;
  padding: 5px;
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 3;
  filter: invert(1);
}

#ingredient .noteBack p > span:hover {
  transform: rotate(45deg);
}

#reference{
  margin-top: 5vw;
}

#relatedArticle, #popularSearch {
  margin-top:50px
}

#relatedArticle h3, .about h3 {
  font-size: 20px;
  font-weight: bold;
  padding-top: 10px;
}

#relatedArticle .col-md-4 {
  margin-bottom: 20px;
}

#relatedArticle img {
  width: 100%;
  filter: brightness(0.9);
}

#popularSearch {
  margin-top: 5vw;
}

#popularSearch li {
  padding: 2% 0;
}

#popularSearch li a {
  text-decoration: none !important;
}

#popularSearch li:not(:last-child) {
  border-bottom: 1px solid #ebebeb;
}

.quote {
  background: rgba(162, 211, 215, 0.3803921569);
  text-align: center;
  font-size: 1.3rem;
  color: var(--brand-primary);
  padding-top: 2vw;
  padding-bottom: 2vw;
}

/* aritcle - main - table*/
table {
  width: 100%;
}

tbody tr:first-child {
  background: var(--brand-primary);
  color: #fff;
}

#company-info tr>td:first-child, 
#basic-info tr>td:first-child, 
#ingredient tr>td:first-child {
	min-width: 100px;
} 

table td, table th {
  border: 1px solid #979797;
  padding: 5px;
  min-width: 40px;
}

table th {
  background: #f5f5f5;
  font-size: 18px;
}

table td {
  font-size: 14px;
}

table td>*{
  margin-bottom:0;
}

table td > span {
  font-size: 14px;
}

.green {
  color: var(--brand-normal);
  font-weight:bold
}

.orange {
  color: var(--brand-warning);
  font-weight:bold;
}

.red{
  color:var(--brand-danger);
  font-weight:bold;
}

.orangebg{
  background:var(--brand-warning) !important;
}

.redbg{
  background:var(--brand-danger) !important;
}

.tag{
  margin-top:10px
}

.tag + hr, hr {
  margin-top: 3vw;
  margin-bottom:3vw
}

.tag h5 {
  color: var(--brand-primary) !important;
  display: inline-block;
  border-radius: 5px;
  background: #f5f5f5;
  padding: 10px 6px;
  font-size: 14px;
  margin:5px 5px 5px 0
}

.overview table:nth-of-type(-n+4) tr:first-child th {
  background: var(--brand-primary);
}

/* .overview table:nth-of-type(3) tr:first-child th {
  background: var(--brand-primary);
} */

.overview table:nth-of-type(5) tr:first-child th, .detail #sideEffect h3{
  background: var(--brand-warning);
}

.overview table:nth-of-type(6) tr:first-child th, .detail #restriction h3, .detail #intake h3 {
  background: var(--brand-danger);
}

.overview table:nth-of-type(7) tr:first-child th, #history-info th {
  background: #f5f5f5;
  color: var(--brand-primary);
}

#history-info {
  margin-top: 3vw;
}

.special td {
  background: #fff !important;
  color: var(--brand-primary) !important;
}

@media screena and (max-width:576px){
	#company-info tr>td:first-child, 
	#basic-info tr>td:first-child, 
	#ingredient tr>td:first-child {
		width: 90px;
	}
}

/* article - detail */
.inside-h2{
  font-size:1.1em;
  margin-top:1.5vw
}

.detail h3 {
  background: var(--brand-primary);
  font-size: 18px;
  padding: 5px;
  margin-bottom: 0;
  font-weight: bold;
  color: #fff;
  border-top-right-radius: 34px;
  border-top-left-radius: 3px;
}

.detail #headInfo h3 {
  background: none;
  color: inherit;
}

.detail section>div:nth-of-type(n+7) h3, #productList h3{
  background:#f5f5f5;
  color:var(--brand-primary)
} 

.detail h3 + * {
  padding-top: 10px;
}



.detail .main section > div:nth-of-type(n+2) {
  padding:5px 5px 20px;
}

h3 + table tr:first-child td {
  background: #f7f7f7;
  color: var(--brand-primary);
}

/* article - search */
.search #headInfo {
  margin-bottom: 2vw;
}

/* article - blog */
.blog-item h3{
  margin-top:10px;
  font-weight:bold
}

.blog-item h3>a{
  text-decoration: none;
  color: inherit;
}

/* article - home*/
.row-full{
  width:100vw;
  left:50%;
  margin-left:-50vw;
  position:relative;
}
.row-full::after{
  position:absolute;
  left:0;
  bottom: 0;
  /* background:url(/images/roberto-sorin-RS0-h_pyByk-unsplash.jpg); */
  background:url(/images/dietary-supplement-freepik.jpg);
  background-size:cover;
  filter: opacity(0.5);
  content:"";
  z-index:0;
  width:100%;
  height:100%
}

.row-full>div{
  max-width:1100px;
  margin:auto;
  color: var(--brand-primary);
  z-index: 1;
  position: relative;
  padding:5%;
  max-width:1100px
}
.home .sitelogo{max-width:400px;margin:auto}
.home form{max-width:1100px;margin:auto}
.home img{
  max-width:250px;
  margin-bottom:3vw
}

.home .row-full+div{
  padding-bottom:10vw;
  padding-top:3vw !important;
  width: 100%;
  margin: auto;
}
.home .col-12>div {
  padding-top: calc(6vw + 62px) !important;
  text-align:center;
}
.home .col-md-4{
  padding:0 10px;
  margin-top:50px;
}
.home .col-md-4>div{  
  padding: 10% 6%;
  border-radius: 14px;
  background: #fff;
  color: var(--brand-primary);
}
.home .col-md-4 h2{color:var(--brand-danger)}
.home .col-md-4 ul{
  list-style:none;
  padding-left:0;
}
.home .col-md-4 ul li{padding:10px 5px;border-bottom:1px solid #ebebeb}
.home .col-md-4 ul li:last-child{border-bottom:none}
.home .col-md-4 ul a{color:var(--brand-primary);text-decoration: none}


/* article - overview - 會員互動相關 */
.revise-button > button {
  border: 8px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
}

.revise-button > button:hover {
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.member-head {
  display: flex;
  justify-content: space-between;
}

.revise-button {
  text-align: center;
  margin-top: 5vw;
}

/* sidebar */
.s-title {
  font-weight: bold;
  font-size: 1.2rem;
}

.sidebar > div {
  margin-bottom: 2vw;
  background: #f5f5f5;
  padding: 10%;
  width: 100%;
  border-radius: 5px;
  margin-top: 2vw;
}

.sidebar ul {
  padding-left: 0;
}

.sidebar li {
  border-bottom: 1px solid #ddd;
  list-style-type: none;
}

.sidebar a, .menu a {
  text-decoration: none !important;
}

/* footer */
footer {
  background: var(--brand-primary);
  padding: 15px;
}

footer .menu {
  margin-bottom: 0;
  justify-content: flex-end;
  position: relative;
  padding: 0;
}

footer .menu li a {
  font-weight: normal;
  font-size: 16px;
  color:#333
}

/*$brand-primary:#B3C890;$brand-warning:#F5F0BB;$brand-danger:#FEA1A1;$addition-green:#DBDFAA;$addition-blue:var(--brand-primary)*/
/** alternate */
span.tag::after,
a.tag::after {
  content: ",";
}
span.tag:last-child::after,
a.tag:last-child::after {
  content: "";
}

.se-subtitle, .se-st {
  color: var(--bs-black);
  text-decoration: none!important;
}

.timeline {
  --color: rgba(30, 30, 30);
  --bgColor: rgba(245, 245, 245);
  /* line */
  /* columns*/
  /* row gaps */
  /* card */
  /* date */
  /* date flap */
  /* circle */
  /* title descr */
  /* shadows */
}
.timeline ul {
  --col-gap: 2rem;
  --row-gap: 2rem;
  --line-w: 0.25rem;
  display: grid;
  grid-template-columns: var(--line-w) 1fr;
  grid-auto-columns: max-content;
  -moz-column-gap: var(--col-gap);
       column-gap: var(--col-gap);
  list-style: none;
  width: min(60rem, 90%);
  margin-inline: auto;
}
.timeline ul::before {
  content: "";
  grid-column: 1;
  grid-row: 1/span 20;
  background: rgb(225, 225, 225);
  border-radius: calc(var(--line-w) / 2);
}
.timeline ul li:not(:last-child) {
  margin-bottom: var(--row-gap);
}
.timeline ul li {
  grid-column: 2;
  --inlineP: 1.5rem;
  margin-inline: var(--inlineP);
  grid-row: span 2;
  display: grid;
  grid-template-rows: min-content min-content min-content;
}
.timeline ul li .date {
  --dateH: 3rem;
  height: var(--dateH);
  margin-inline: calc(var(--inlineP) * -1);
  text-align: center;
  background-color: var(--accent-color);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  display: grid;
  place-content: center;
  position: relative;
  border-radius: calc(var(--dateH) / 2) 0 0 calc(var(--dateH) / 2);
}
.timeline ul li .date::before {
  content: "";
  width: var(--inlineP);
  aspect-ratio: 1;
  background: var(--accent-color);
  background-image: linear-gradient(rgba(0, 0, 0, 0.2) 100%, transparent);
  position: absolute;
  top: 100%;
  -webkit-clip-path: polygon(0 0, 100% 0, 0 100%);
          clip-path: polygon(0 0, 100% 0, 0 100%);
  right: 0;
}
.timeline ul li .date::after {
  content: "";
  position: absolute;
  width: 2rem;
  aspect-ratio: 1;
  background: var(--bgColor);
  border: 0.3rem solid var(--accent-color);
  border-radius: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  right: calc(100% + var(--col-gap) + var(--line-w) / 2);
}
.timeline ul li .title,
.timeline ul li .descr {
  background: var(--bgColor);
  position: relative;
  padding-inline: 1.5rem;
}
.timeline ul li .title {
  overflow: hidden;
  -webkit-padding-before: 1.5rem;
          padding-block-start: 1.5rem;
  -webkit-padding-after: 1rem;
          padding-block-end: 1rem;
  font-weight: 700;
}
.timeline ul li .title a {
  text-decoration: none;
  font-weight: 700;
}
.timeline ul li .descr {
  -webkit-padding-after: 1.5rem;
          padding-block-end: 1.5rem;
}
.timeline ul li .title::before {
  content: "";
  position: absolute;
  width: 90%;
  height: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  left: 50%;
  border-radius: 50%;
  filter: blur(4px);
  transform: translate(-50%, 50%);
}
.timeline ul li .title::before {
  bottom: calc(100% + 0.125rem);
}
.timeline ul li .descr::before {
  z-index: -1;
  bottom: 0.25rem;
}

table#ingredient tr td:last-child {
  display: none;
}
@media (min-width: 40rem) {
  .timeline {
    /* start second card */
  }
  .timeline ul {
    grid-template-columns: 1fr var(--line-w) 1fr;
  }
  .timeline ul::before {
    grid-column: 2;
  }
  .timeline ul li:nth-child(odd) {
    grid-column: 1;
  }
  .timeline ul li:nth-child(even) {
    grid-column: 3;
  }
  .timeline ul li:nth-child(2) {
    grid-row: 2/4;
  }
  .timeline ul li:nth-child(odd) .date::before {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%);
            clip-path: polygon(0 0, 100% 0, 100% 100%);
    left: 0;
  }
  .timeline ul li:nth-child(odd) .date::after {
    transform: translate(-50%, -50%);
    left: calc(100% + var(--col-gap) + var(--line-w) / 2);
  }
  .timeline ul li:nth-child(odd) .date {
    border-radius: 0 calc(var(--dateH) / 2) calc(var(--dateH) / 2) 0;
  }
}
@media screen (max-width:576px) {
  #company-info tr>td:first-child, #basic-info tr>td:first-child, #ingredient tr>td:first-child{min-width:80px}
}