@charset "UTF-8";
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

:root {
  --fontFamily: NotoSans, "PingFangTC", Microsoft JhengHei, "微軟正黑體", "Helvetica", "sans-serif";
  --primaryLinear: linear-gradient(to right, #008187 1%, #194294 98%);
  --primaryColor: #2F3D50;
  --secondaryColor:#15808f;
}

*:focus {
  outline: 3px dashed #765B27;
}

html {
  font-size: 1rem;
}

body {
  font-family: var(--fontFamily);
  color: var(--primaryColor);
  line-height: 1.4;
}

a {
  color: #0f3f85 !important;
  text-decoration: underline;
}

.wrap {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

@media screen and (min-width: 1200px) {
  .wrap {
    max-width: 1200px;
  }
}
main {
  min-height: calc(100dvh - 3.5rem);
  background-image: url(../images/bg_Portal.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
main.index {
  background-image: url(../images/bg_L_silver.jpg);
  background-position: 50% 100%;
}

.main-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
  padding: 4rem 0 5rem;
}
.main-title .cn {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  background-image: var(--primaryLinear);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.main-title .cn::before {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background-image: var(--primaryLinear);
  position: absolute;
  top: 50%;
  right: calc(100% + 0.375rem);
  transform: translateY(-50%);
}
.main-title .cn::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background-image: var(--primaryLinear);
  position: absolute;
  top: 50%;
  left: calc(100% + 0.375rem);
  transform: translateY(-50%);
}

.link-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, 23.75rem);
  justify-content: center;
  gap: 1.875rem;
  padding-bottom: 12.5vw;
}

.link-item {
  height: 13.75rem;
}
.link-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  border-radius: 20px;
}
.link-item a::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 47, 60, 0.55);
  position: absolute;
  z-index: 1;
}
.link-item a .inner-text {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  transition: all 0.3s;
  position: relative;
  transform: translateY(68px);
  z-index: 1;
}
.link-item a .sub-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  padding: 1rem 0.625rem 0;
  margin: 0;
  margin-bottom: 1.625rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.link-item a .sub-title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  background-color: #fff;
  position: absolute;
  top: calc(100% + 0.625rem);
  left: 50%;
  transform: translateX(-50%);
}
.link-item a .caption {
  font-size: 1rem;
  color: #fff;
  text-align: left;
  text-wrap: pretty;
  padding: 0 1.5rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.link-item a .pic {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  -o-object-fit: cover;
     object-fit: cover;
  transition: all 0.3s;
}
.link-item a:hover .inner-text, .link-item a:focus .inner-text {
  transform: translateY(0);
}
.link-item a:hover .caption, .link-item a:focus .caption {
  opacity: 1;
  visibility: visible;
}
.link-item a:hover .pic, .link-item a:focus .pic {
  transform: translate(-50%, -50%) scale(1.2);
}

main.index .link-list {
  grid-template-columns: repeat(auto-fit, 22.375rem);
  justify-content: flex-start;
  padding-bottom: 0;
}
main.index .link-list .link-item {
  height: 13rem;
}

@media screen and (max-width: 1199px) {
  .wrap {
    padding: 0 1rem;
  }
  .link-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .link-list .link-item a {
    width: 100%;
  }
  main.index .link-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .main-title .cn {
    font-size: 2.25rem;
    margin: 0 2.5rem;
  }
  .main-title .cn::before, .main-title .cn::after {
    width: 2.25rem;
  }
  .link-list {
    grid-template-columns: 1fr;
  }
  main.index .link-list {
    grid-template-columns: 1fr;
  }
}
.accordion-item {
  width: 100%;
  margin-bottom: 1.5rem;
}
.accordion-item:last-child {
  margin-bottom: 0;
  padding-bottom: 5vw;
}

.accordion-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: solid 1px #ececec;
  background-color: #fff;
  margin: 0;
  transition: background-color 0.5s;
}
.accordion-header .txt {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.625rem;
  font-weight: bold;
  background-image: linear-gradient(to right, #2195a5 6%, #00808e 41%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.accordion-header .txt::before {
  content: "";
  display: block;
  width: 1.8125rem;
  height: 1.125rem;
  background-image: url(../images/icon_decorate.png);
  background-repeat: no-repeat;
  background-size: contain;
}
.accordion-header .accordion-button {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  background-color: var(--secondaryColor);
  border-radius: 50%;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
}
.accordion-header .accordion-button img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  position: relative;
  transform: rotate(0);
  transition: all 0.5s;
}
.accordion-header:has(.accordion-button.active) {
  background-color: #ececec;
}
.accordion-header:has(.accordion-button.active) .accordion-button img {
  transform: rotate(180deg);
}

.accordion-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s;
}
.accordion-collapse.active {
  grid-template-rows: 1fr;
}

.accordion-body {
  border: solid 1px #ececec;
  border-top: 0;
  background-color: #fff;
  overflow: hidden;
}
.accordion-body .inner {
  padding: 1.875rem;
}

.error-container {
  padding-top: 6.25rem;
}

.error-panel {
  width: 100%;
  max-width: 51rem;
  border-radius: 32px;
  box-shadow: 4px 4px 8px 0 rgba(157, 157, 157, 0.25);
  background-color: #ececec;
  padding: 3.5rem 4.5rem;
  margin: auto;
  box-sizing: border-box;
}
.error-panel .error-pic {
  display: block;
  width: 4rem;
  height: 4rem;
  -o-object-fit: contain;
     object-fit: contain;
  margin: auto;
  margin-bottom: 1rem;
}
.error-panel p {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  white-space: pre-line;
  text-wrap: pretty;
}

@media screen and (max-width: 767px) {
  .error-panel {
    padding: 1.5rem 1.25rem;
  }
  .error-panel P {
    word-break: break-all;
  }
}
footer {
  min-height: 3.5rem;
  background-color: #2f3969;
  padding: 1rem 0;
  box-sizing: border-box;
}
footer .flex-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
footer .logo {
  width: 9rem;
  height: 1.1875rem;
}
footer .logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
footer span {
  color: #fff;
  font-weight: bold;
  padding-left: 0.75rem;
  border-left: 1px solid #fff;
}/*# sourceMappingURL=style.css.map */