@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&family=Noto+Sans+TC:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --white: #F8F9FA;
  --grey: #EEF0F3;
  --dark: #30525E;
  --beige: #F3ECDA;
  --dark-beige: #CDB3A2;
  --blue: #003956;
  --green: #69949B;
  --blue-green: #305160;
}

/* 文字反白的狀況 */
::-moz-selection {
  color: var(--dark);
  background: var(--beige);
}

::selection {
  color: var(--dark);
  background: var(--beige);
}

/* 網頁捲軸【寬度】 */
::-webkit-scrollbar {
  width: 8px;
}

/* 網頁捲軸【背景】顏色 */
::-webkit-scrollbar-track {
  background: var(--dark);
}

/* 網頁捲軸【把手】顏色 */
::-webkit-scrollbar-thumb {
  background: var(--beige);
}

/* 網頁捲軸【滑過時】把手的顏色 */
::-webkit-scrollbar-thumb:hover {
  background: var(--beige);
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem var(--white), 0 0 0 0.35rem var(--blue);
}

body:not(.focus-visible) :focus:not(.focus-visible) {
  outline: 0 !important;
  box-shadow: none !important;
}

/* BS5修改預設 */
html,
body {
  font-family: 'Montserrat','Noto Sans TC', sans-serif;
  line-height: 1.75;
  letter-spacing: 2px;
  /* background: 
    url('../../images/pattern.png'),
    radial-gradient(
      circle at 50% 0,
      rgba(13, 236, 218, 0.5),
      rgba(255, 0, 0, 0) 70.71%
    ),
    radial-gradient(
      circle at 6.7% 75%,
      rgba(9, 79, 141, 0.5),
      rgba(0, 0, 255, 0) 70.71%
    ),
    radial-gradient(
      circle at 93.3% 75%,
      rgba(17, 181, 223, 0.5),
      rgba(0, 255, 0, 0) 70.71%
    ),
    var(--blue); */
  color: var(--dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 6px;
}

section {
  padding-top: clamp(32px, 30vw, 95px);
  padding-bottom: clamp(32px, 30vw, 95px);
}

hr {
  margin: 2rem 0;
}

hr:not([size]) {
  height: 5px;
}

.cinzel {
  font-family: 'Cinzel', 'Noto Serif TC', serif;
}

.form-control {
  border-radius: 0;
}

.text-beige {
  color: var(--beige) !important;
}

.text-dark-beige {
  color: var(--dark-beige) !important;
}

.text-blue {
  color: var(--blue) !important;
}

.bg-blue-green {
  background-color: var(--blue-green);
}

.bg-green {
  background-color: var(--green);
}

.bg-dark-beige {
  background-color: var(--dark-beige);
}

.btn-green {
  background-color: var(--green);
  color: var(--white);
}

.btn-beige {
  background-color: var(--beige);
  color: var(--dark);
}

.btn-beige:hover, .btn-green:hover {
  background-color: var(--dark);
  color: var(--white);
}

.max-section {
  max-width: 1400px;
  margin: 0 auto;
}

.img-box {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.img-box img {
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: center center;
}

.decorate {
  margin-left: -15px;
  margin-bottom: -7px;
  vertical-align: bottom;
  height: 4rem;
}

.letter-spacing-6 {
  letter-spacing: 6px;
}

.letter-spacing-12 {
  letter-spacing: 12px;
}

/* header 輪播 start */
.header-banner {
  position: relative;
}

.header-bg-img {
  height: 500px;
  width: 100%;
  object-fit: cover;
  object-position: center bottom;
  background: transparent;
}

.header-box {
  position: relative;
}
/* header 輪播 end *

/* top start */
.top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 1vw;
  z-index: 999;
  border: none;
  outline: none;
  color: var(--dark);
  background-color: transparent;
  cursor: pointer;
  border-radius: 0px;
}
/* top end */

.fixed-top .nav .nav-link {
  border-radius: 0;
  color: var(--white) !important;
  width: 25%;
  border-right: 1px solid var(--white);
  padding: 0.5rem;
}
.fixed-top .nav .nav-link:nth-child(4) {
  border-right: 0;
}

.fixed-top .nav .nav-link:hover,
.fixed-top .nav .nav-link:focus,
.fixed-top .nav .nav-link.active {
  opacity: 1;
}

.fa-icon {
  margin-right: 6px;
}

@media (max-width:767.9px) {
  .fa-icon {
    font-size: 2rem;
    margin-right: auto;
    margin-left: auto;
    margin-top: 5px;
    display: block;
  }
  .fixed-top .nav .nav-link span {
    font-size: 70%;
    font-weight: 600;
  }
}

.line {
  width: 26%;
  height: 1px;
  background-color: var(--dark);
}

.header-bg {
  background: linear-gradient(to bottom, #FFF 35%, #69949B 35%, #69949B 100%);
}

.header-square {
  width: 80px;
  height: 80px;
  background-color: var(--dark);
}

.header-arch {
  width: 90px;
  height: 80px;
  background-color: var(--dark-beige);
  border-radius: 0% 50% 50% 0%;
}

.about-arch-top {
  width: 60px;
  height: 60px;
  background-color: var(--dark-beige);
  border-radius: 0% 0% 50% 50%;
  right: 10%;
}

.about-arch-bottom {
  width: 60px;
  height: 60px;
  background-color: var(--dark);
  border-radius: 50% 50% 0% 0%;
  bottom: 0;
  left: 10%;
}

.discount {
  background-color: var(--dark-beige);
  color: var(--white);
  letter-spacing: 6px;
}

.discount-right {
  width: 50px;
  height: 200px;
  border: 1px var(--blue) solid;
  border-right: 0;
  top: 85%;
}

.advantage {
  background: linear-gradient(to right, var(--dark) 10%, #FFF 10%, #FFF 100%);
}

.advantage-square-line {
  width: 40px;
  height: 40px;
  background-color: var(--dark-beige);
  right: 15%;
  top: -20px;
  z-index: -1;
}

.advantage-square {
  width: 60px;
  height: 60px;
  background-color: var(--dark);
  left: 45%;
  bottom: 0;
}

@media(max-width: 991.9px) {
  .advantage-square {
    width: clamp(200px, 80%, 500px);
    height: 20px;
    left: 50%;
    transform: translate(-50%, 0)!important;
  }
}

.advantage-left {
  width: 30px;
  height: 130px;
  border: 1px var(--dark-beige) solid;
  border-left: 0;
  left: 0;
  bottom: -4%;
}

.portfolio-square-top {
  width: 100px;
  height: 100px;
  left: -20px;
  top: 30px;
  transform: translate(0%, -50%)!important;
  background-color: var(--beige);
  z-index: 1;
}

.portfolio-border-square {
  width: 150px;
  height: 50px;
  border: 1px var(--dark) solid;
  border-bottom: 0;
  bottom: -95px;
  left: 44px;
}

.portfolio-bottom-square {
  width: 50px;
  height: 50px;
  background-color: var(--dark);
  bottom: -65px;
  left: 94px;
}

.apply-top-arch {
  width: 90px;
  height: 80px;
  background-color: var(--dark-beige);
  border-radius: 50% 0% 0% 50%;
  top: -40px;
  right: 0;
}

.apply-square-line {
  width: 40px;
  height: 40px;
  background-color: var(--dark-beige);
  right: 5%;
  top: -20px;
  z-index: -1;
}