@charset "UTF-8";
@import url("//fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@400;600&family=Noto+Serif+SC:wght@600&family=Inter&display=swap");
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  font-family: "Inter", system-ui, -apple-system, "微軟正黑體", "Microsoft JhengHei", "游明朝体", YuMincho, "游明朝", "Yu Mincho", "Hiragino Kaku Gothic Pro", Meiryo, "MS PGothic", sans-serif;
  line-height: 1.2;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  margin: 0 auto;
  background: url(../images/bg.gif) no-repeat 82% -108px, #f2f1ed url(../images/bg.jpg) repeat 0 0;
  color: #4d4d4d;
  letter-spacing: 0.03em;
  -webkit-overflow-scrolling: touch;
}

b, .b,
strong, .strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.2;
  color: inherit;
  background: transparent;
  margin: 0;
}

button,
input:where([type=button], [type=reset], [type=submit]) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

legend {
  padding: 0;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

textarea {
  resize: vertical;
}

::placeholder {
  opacity: 1;
  color: color-mix(in srgb, currentColor 50%, transparent);
}

:disabled {
  cursor: default;
}

[hidden] {
  display: none !important;
}

button,
[role=button] {
  cursor: pointer;
  border: 0;
}
button:focus,
[role=button]:focus {
  outline: 0;
}

h1 {
  font-size: 36px;
  margin: 0.67em 0;
}

hr {
  height: 0;
  color: inherit;
  border: 0 solid #F0B97A;
  border-top-width: 1px;
  margin: 2rem 0;
}

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

a {
  color: var(--color, #c92c29);
  -webkit-text-decoration: none;
  text-decoration: none;
  transition: color 350ms, background 300ms ease;
}
a:hover {
  --color: #B38838;
}
a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
  --color: inherit;
}
a:not([href]):not([tabindex]):focus {
  outline: 0;
}

img {
  vertical-align: middle;
  border-style: none;
}

dd {
  margin: 0;
}

table {
  border-spacing: 0;
  width: 100%;
}

.table-fixed {
  table-layout: fixed;
  word-wrap: break-word;
  word-break: break-all;
}

th,
td,
thead, tbody:not(:last-child) {
  border: solid var(--border-color, #F0B97A);
  border-width: var(--cell-bordered);
}

th,
td {
  --cell-bordered: 0 0 1px;
  text-align: center;
  vertical-align: middle;
  padding: 0.35em 0.3em;
}

thead, tbody:not(:last-child) {
  --cell-bordered: 0 0 2px;
}

.table-bordered {
  border: var(--border-width, 1px) solid var(--border-color, #F0B97A);
}
.table-bordered th, .table-bordered td {
  --cell-bordered: 1px;
}

.table-striped :not(thead) > tr:nth-child(even), .table-striped-tbody tbody:nth-child(even) {
  background-color: #f8f9fa;
}

.table-hover tr, .table-hover th, .table-hover td {
  transition: 300ms;
}
.table-hover tbody > tr:not(.nohover):hover, .table-hover tbody:hover > tr > [rowspan] {
  background-color: #f9f5ef;
}

.table-hover tbody > tr:not(.nohover):hover th, .table-hover tbody > tr:not(.nohover):hover td {
  background-color: transparent !important;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  color: inherit;
  display: block;
  margin-bottom: 0.3em;
  padding: 0.3em 0;
  width: 100%;
}

.form-element, .appearance-none {
  appearance: none;
}
.form-element::-ms-expand, .appearance-none::-ms-expand {
  background-color: transparent;
  border: 0;
  display: none;
}

.form-element {
  color: #4d4d4d;
  font-size: 0.94rem;
  background-color: #fff;
  background-clip: padding-box;
  border-radius: 0.25em;
  border: 1px solid #dddad9;
  transition: border-color ease-in-out 300ms, box-shadow ease-in-out 300ms;
  vertical-align: middle;
  padding: 0.6em 0.6em;
}
.form-element:focus {
  --ring-offset-width: 0.2rem;
  --ring-color: rgba(216, 167, 110, 0.3);
  --ring-shadow: 0 0 0 var(--ring-offset-width) var(--ring-color);
  box-shadow: var(--ring-shadow);
  border-color: var(--border-color, #d8a76e);
  outline: 0;
}
.form-element:focus:invalid {
  --border-color: #FF4444;
  --ring-color: rgba(255, 68, 68, 0.3);
}

.form-element::placeholder, .form-element:disabled, .form-element[readonly] {
  opacity: 1;
}
.form-element:disabled, .form-element[readonly] {
  background-color: #F2F1ED;
}
.form-element::placeholder {
  color: #bdb6b5;
}
.form-stacked .form-element {
  width: 100%;
}
.form-inline .form-element, .form-stacked .form-element.inline {
  display: inline;
  width: auto;
}
.form-inline .form-element:not(:last-child), .form-stacked .form-element.inline:not(:last-child) {
  margin-right: 4.8px;
}

select.form-element {
  --select-caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23bdb6b5' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
  background: #fff var(--select-caret) no-repeat right 6px center/10px 12px;
  padding-right: 1.4em;
  height: 38px;
  padding-block: 0;
}
select.form-element[size], select.form-element[multiple] {
  height: auto;
}
select.form-element:focus::-ms-value {
  background-color: #fff;
  color: #4d4d4d;
}

textarea.form-element {
  height: auto;
}

.label {
  margin-block: 0.6em;
  font-size: 0.94rem;
}

.help {
  cursor: help;
  color: #C43C3A;
}

.input-group {
  display: flex;
  height: 38px;
}
.input-group.is-inline {
  display: inline-flex;
}
.input-group .form-element {
  flex: 1 1 auto;
  height: auto;
}
.input-group-btn:focus, .input-group-addon:focus, .input-group .form-element:focus {
  z-index: 1;
}
.input-group-btn:not(:last-child), .input-group-addon:not(:last-child), .input-group .form-element:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group-btn:not(:first-child), .input-group-addon:not(:first-child), .input-group .form-element:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: -1px;
}

.input-group-addon {
  background-color: #fff;
  color: #4d4d4d;
}
.input-group-btn, .input-group-addon {
  align-content: center;
  border: 1px solid #dddad9;
  border-radius: 0.25em;
  padding-inline: 0.56rem;
  font-size: 0.94rem;
  white-space: nowrap;
}

.input-group-btn {
  color: #fff;
  background-color: #9C1816;
  transition: 600ms;
}
.input-group-btn:hover {
  background-color: #a17a32;
}

.spaces::after, #header::after, .container::after, .clearfix::after {
  display: table;
  content: "";
  clear: both;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.clear {
  clear: both;
}

.rest, .overlay {
  overflow: hidden;
}

.inline {
  display: inline;
}

.inline-block {
  display: inline-block;
}

.block {
  display: block;
}

.circle {
  border-radius: 50%;
}

.hidden {
  display: none;
}

.full {
  width: 100%;
}

.max-full {
  max-width: 100%;
}

.w-auto {
  width: auto;
}

.img-center, .thumbnail img, .title-img {
  display: block;
  margin-inline: auto;
  max-width: 100%;
}

.disabled {
  cursor: not-allowed;
}

.overflow-hidden {
  overflow: hidden;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-help {
  cursor: help;
}

.font-tiny, .news-date small, [class*=label-] {
  font-size: 0.75rem;
}
.font-sm, .breadcrumb, #footer {
  font-size: 0.88rem;
}
.font-md, .album-links a {
  font-size: 0.94rem;
}
.font-lg, .cart-price, .temple p, .temple cite {
  font-size: 1.13rem;
}
.font-xl, .modal button {
  font-size: 1.5rem;
}
.font-xxl {
  font-size: 2rem;
}
.font-xxxl {
  font-size: 3rem;
}
.font-jumbo {
  font-size: 4rem;
}
.font-normal {
  font-weight: 400;
}

.italic {
  font-style: italic;
}

.no-italic {
  font-style: normal;
}

.modal button, .receipt-title, .hover-white, .text-white {
  color: #fff;
}

.album, .card, .receipt, .panel-head, .fackbook, .mobile-toggle, .bg-white {
  background-color: #fff;
}

.text-left, .moon-blocks small, .light-nav {
  text-align: left;
}
.text-right, .cart-price {
  text-align: right;
}
.text-center, .lottery-link, .card, .news-date, .panel-head {
  text-align: center;
}

.align-top {
  vertical-align: top;
}
.align-middle {
  vertical-align: middle;
}
.align-bottom {
  vertical-align: bottom;
}

.directors, .list-inline, .list-unstyled {
  list-style: none;
  padding-left: 0;
}

.list-inline > li {
  display: inline-block;
}
.list-inline > li:not(:last-child) {
  margin-right: 8px;
}

.border {
  border: 1px solid #F0B97A;
}

.border-none {
  border-width: 0;
}

html, body {
  height: 100%;
}

@media (min-width: 75em) {
  body {
    background: url(../images/side-bg.png) no-repeat 0 bottom, url(../images/bg.gif) no-repeat 82% -108px, #f2f1ed url(../images/bg.jpg) repeat 0 0;
  }
}

#wrapper {
  --bg_p-b: -230px bottom;
  --bg_p-tr: 98.5% 0;
  min-height: 100%;
  margin-bottom: -118px;
  padding-bottom: 238px;
  background: url(../images/footer-img2.png) no-repeat var(--bg_p-b);
}
@media (min-width: 64em) {
  #wrapper {
    background: url(../images/footer-img2.png) no-repeat var(--bg_p-b), url(../images/bg-light2.gif) no-repeat var(--bg_p-tr);
  }
}
@media (min-width: 75em) {
  #wrapper {
    --bg_p-b: -100px bottom;
  }
}
@media (min-width: 105em) {
  #wrapper {
    --bg_p-b: 0 bottom;
  }
}

.container {
  max-width: 1420px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 90.75em) {
  #header, .container {
    padding-inline: 16px;
  }
}

.container.small {
  max-width: 980px;
}

@media (min-width: 90.75em) and (max-width: 104.38em) {
  .has-side {
    margin-right: 16px;
  }
}
@media (min-width: 75em) and (max-width: 117.5em) {
  .has-side {
    margin-left: 230px;
  }
}
@media (min-width: 75em) and (max-width: 91.25em) {
  .has-side.small {
    margin-left: 230px;
  }
}

#header {
  padding-bottom: 16px;
  max-width: 1420px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 75em) and (max-width: 117.5em) {
  #header {
    margin-left: 230px;
  }
}
@media (min-width: 75em) {
  [lang=zh-Hant] #header {
    padding-bottom: 74px;
  }
}

.logo {
  padding: 0;
  cursor: pointer;
  background: url(../images/logo2.png) no-repeat center 0;
  margin-block: 0;
  width: 188px;
  height: 87px;
}
.text-hide, .logo {
  text-indent: 101%;
  overflow: hidden;
  white-space: nowrap;
}

@media (min-width: 75em) {
  .logo {
    background-image: url(../images/logo.png);
    width: 153px;
    height: 373px;
    position: absolute;
    left: 49px;
    top: 35px;
  }
}
@media (max-width: 74.99em) {
  .logo {
    float: left;
    margin-top: 12px;
    margin-right: 20px;
  }
}

.lang-nav {
  position: absolute;
  right: 8.5%;
  top: 10px;
}
@media (min-width: 75em) and (max-width: 81.25em) {
  .lang-nav {
    top: 6px;
  }
}
@media (max-width: 63.99em) {
  .lang-nav {
    right: 80px;
  }
  .overlay .lang-nav {
    display: block;
    top: 24px;
    right: 65px;
    z-index: 5;
  }
}
@media (max-width: 35.5em) {
  .lang-nav {
    display: none;
  }
}

.lang-item {
  transition: 300ms;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
.lang-item:hover, .lang-item:active {
  background: #fff;
}
.lang-item span {
  margin: -2px 0 0 -1px;
  font-size: 1.13em;
  line-height: 1;
}

#footer {
  background: #991816 url(../images/footerBg.gif) repeat-x 0 bottom;
  border-top: 6px solid #F0CC7E;
  min-height: 118px;
  padding-top: 24px;
  position: relative;
  color: #F0CC7E;
  letter-spacing: 0.13em;
}
#footer::before {
  background: url(../images/footer-img.png) no-repeat 0 0;
  width: 50%;
  height: 122px;
  position: absolute;
  right: 0;
  bottom: 105%;
  z-index: 1;
}
.draw-lots::before, .title-border::before, .news-item:not(:last-of-type)::before, .slider::before, #footer::before {
  content: "";
  display: block;
}

@media (min-width: 35.56em) {
  #footer {
    background: url(../images/footerBg2.gif) no-repeat 90% -1px, #991816 url(../images/footerBg.gif) repeat-x 0 bottom;
  }
}
@media (min-width: 64em) {
  #footer::before {
    background-position: 0 0;
    width: 614px;
  }
}
#footer .indent {
  margin: 10px 0 10px 16px;
}
#footer a {
  color: #f0cc7e;
}
#footer a:hover {
  color: #f8e6bf;
}
#footer a:before {
  content: "。";
}

.copyright {
  color: #bdb6b5;
}

.gotop {
  background: url(../images/temple_gotop.png) no-repeat 0 0;
  width: 157px;
  height: 80px;
  position: fixed;
  right: 16px;
  z-index: 2;
  bottom: 0;
  visibility: hidden;
  opacity: 0;
  transition: 500ms;
}
.gotop.inbottom.fadein {
  visibility: visible;
  opacity: 1 !important;
  bottom: 117px;
}
.gotop::before {
  content: "";
  display: inline-block;
  border: solid #fff;
  border-width: 0 1px 1px 0;
  padding: 8px;
  transition: 0.35s ease;
  transform: translate(70px, 20px) rotate(-135deg);
  opacity: 0;
}
.gotop:hover {
  opacity: 1;
}
.gotop:hover:before {
  opacity: 1;
}

.fadein {
  visibility: visible;
  opacity: 0.5;
}

@media (min-width: 64em) {
  .menu {
    position: relative;
  }
}
@media (max-width: 63.99em) {
  .menu {
    z-index: 4;
    overflow-y: auto;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    outline: 1px solid #F0CC7E;
    outline-offset: -15px;
    padding: 45px 20px 0;
    opacity: 0;
    visibility: hidden;
    transition: 800ms;
  }
  .menu.open {
    opacity: 1;
    visibility: visible;
  }
}

.menu .has-sub,
.nav-link {
  display: inline-block;
  vertical-align: top;
}

@media (max-width: 74.99em) {
  .lg-max\:hant-rl {
    -ms-writing-mode: tb-rl;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
  }
}

.nav-link {
  color: #000;
  font-family: "Noto Serif TC", "Noto Serif SC", serif;
  font-size: 2.06em;
  font-weight: 600;
  letter-spacing: 0.09em;
}
.nav-link:hover {
  color: #9C1816;
}
@media (min-width: 64em) {
  .nav-link {
    padding: 38px 12px 6px;
    font-size: 1.31em;
  }
  .nav-link.active {
    background: url(../images/nav-line.gif) no-repeat 0 bottom;
  }
}
@media (max-width: 91.25em) {
  [lang=en] .nav-link {
    max-width: 10em;
  }
}
@media (max-width: 63.99em) {
  .nav-link {
    margin: 25px 5px 5px 15px;
  }
}

.logout:hover {
  color: #9C1816;
}
@media (min-width: 64em) {
  .logout {
    margin: 42px 0 0 -20px;
  }
}
@media (max-width: 74.99em) {
  .logout span {
    -ms-writing-mode: tb-rl;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
  }
}
@media (max-width: 63.99em) {
  .logout {
    margin: 9.4em 0 0 -2.6em;
    position: absolute;
    font-size: 1.13em;
  }
}

@media (min-width: 75em) {
  .submenu {
    width: 800px;
  }
  .has-sub:hover .submenu {
    opacity: 1;
    visibility: visible;
  }
}
@media (min-width: 64em) {
  .submenu {
    z-index: 3;
    background: #fff;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    outline: 1px solid #F0CC7E;
    outline-offset: -5px;
    padding: 17px;
    position: absolute;
    left: 0;
    top: 76px;
    transition: 300ms;
    opacity: 0;
    visibility: hidden;
  }
  .nav-link.active ~ .submenu {
    opacity: 1;
    visibility: visible;
  }
  .has-sub:hover .submenu {
    z-index: 4;
  }
}
@media (max-width: 74.99em) {
  .submenu {
    top: 32px;
    left: 584px;
  }
}
@media (max-width: 63.99em) {
  .submenu {
    display: inline;
    vertical-align: top;
    margin-right: 1.2em;
  }
}

.sub-nav {
  color: #665652;
  vertical-align: top;
}
.sub-nav:hover, .sub-nav.active {
  color: #a62f2d;
}
@media (min-width: 75em) {
  .sub-nav {
    margin-right: 16px;
  }
}
@media (max-width: 74.99em) {
  .sub-nav {
    margin: 0 3px;
  }
}
@media (max-width: 63.99em) {
  .sub-nav {
    margin-top: 2em;
    font-size: 1.31em;
    letter-spacing: 0.09em;
  }
}

.mobile-toggle {
  z-index: 5;
  cursor: pointer;
  display: none;
  float: right;
  outline: 1px solid #F0CC7E;
  outline-offset: -5px;
  margin-top: 10px;
  padding: 10px;
  transition: 600ms;
  font-size: 1.5em;
  line-height: 1;
}
.mobile-toggle:before {
  margin-right: 0 !important;
}
.mobile-toggle:hover {
  background: #F0CC7E;
  outline-color: #fff;
}
.mobile-toggle.active {
  background: none;
  border: none;
  position: fixed;
  right: 16px;
  outline: none;
  color: #9C1816;
}
.mobile-toggle.active:before {
  content: "\e0db";
}
@media (max-width: 63.99em) {
  .mobile-toggle {
    display: block;
  }
}

.fackbook {
  border: 1px solid #e6e5e1;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  padding: 0;
  position: relative;
  top: 32px;
}
.fackbook:hover {
  background: #F0CC7E;
}
@media (max-width: 63.99em) {
  .fackbook {
    width: 50px;
    height: 50px;
    top: 0;
  }
}

.social-icon {
  width: 92%;
  height: 92%;
  display: block;
  fill: #665652;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.form-check {
  cursor: pointer;
  display: inline-block;
  padding-left: 26.6px;
  margin: 0 0.564em 8px 0;
  position: relative;
}
.form-check.stacked {
  display: block;
  margin-bottom: 0.47em;
}

.form-check-input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}
.form-check-input ~ .icon {
  position: absolute;
  left: 0;
  top: 0;
  transition: 350ms;
  background-color: #fff;
}
.form-check-input:disabled ~ .icon {
  background-color: #dad9d5 !important;
}
.form-check-input[type=checkbox] ~ .icon {
  width: 21.6px;
  height: 21.6px;
}
.form-check-input[type=checkbox] ~ .icon:after {
  content: "";
  display: none;
  position: absolute;
  left: 7px;
  top: 4px;
  width: 7px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-check-input[type=checkbox]:checked ~ .icon {
  background: #d8a76e;
}
.form-check-input[type=checkbox]:checked ~ .icon:after {
  display: block;
}
.form-check-input[type=radio] ~ .icon {
  border-radius: 50%;
  border-color: #fff;
  width: 21.6px;
  height: 21.6px;
}
.form-check-input[type=radio]:checked ~ .icon {
  box-shadow: 0 0 0 3px rgba(216, 167, 110, 0.5);
  border: 3px solid #fff;
  background: #d8a76e;
}

.slider {
  cursor: pointer;
  background-color: #dddad9;
  border-radius: 21.6px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: border-color ease-in-out 300ms, box-shadow ease-in-out 300ms;
}
.slider::before {
  position: absolute;
  left: 2px;
  bottom: 2px;
  transition: 300ms;
  height: 21.6px;
  width: 21.6px;
  background-color: white;
  border-radius: 50%;
}

.switch {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 38.4px;
  height: 25.6px;
}
.switch input {
  display: none;
}
.switch input:checked + .slider {
  background: #fff;
  box-shadow: inset 1px 1px 1px #e0e0e0;
}
.switch input:checked + .slider:before {
  transform: translateX(13.608px);
}
.switch input:focus + .slider {
  box-shadow: 0 0 1px #fff;
}

.input-underline {
  color: #4d4d4d;
  border: 1px solid #dddad9;
  transition: border-color ease-in-out 300ms, box-shadow ease-in-out 300ms;
  background-color: transparent;
  border-width: 0 0 1px 0;
}
.input-underline:focus {
  border-color: #d8a76e;
  outline: 0;
}
.input-underline:focus:invalid {
  border-color: #C43C3A;
}
.input-underline:disabled, .input-underline[readonly] {
  border-color: #dddad9;
}
.input-underline::placeholder {
  color: #bdb6b5;
}

.resize-ver {
  resize: vertical;
}

.resize-hor {
  resize: horizontal;
}

.field:not(:last-child) {
  margin-bottom: 0.94em;
}
@media (min-width: 48em) {
  .field {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }
  .field .label {
    text-align: right;
    flex-basis: 100px;
    min-width: 100px;
    margin: 0;
    padding-right: 8px;
  }
  .field-body {
    flex-grow: 1;
  }
  .field .flex-top {
    align-self: flex-start;
    padding-top: 8px;
  }
}
@media (max-width: 47.99em) {
  .field .label {
    font-weight: bold;
  }
  .field .form-check {
    margin-bottom: 8px;
    margin-top: 8px;
  }
}

.field-row.gutters {
  margin-left: -16px;
}
.field-row.gutters .col {
  margin-bottom: 16px;
  padding-left: 16px;
}
@media (min-width: 48em) {
  .field-row {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (min-width: 48em) {
  .col {
    flex: 1;
  }
  .col.cm6 {
    flex: 0 0 calc(50% - 16px);
  }
  .col.cm12 {
    flex: 0 0 calc(33.3% - 16px);
  }
}
.submit-bar .btn {
  margin: 5px;
}
@media (max-width: 35.5em) {
  .submit-bar .btn {
    width: 100%;
  }
}

input.btn {
  border: none;
}

.btn {
  color: var(--color, #fff);
  font-size: 1.06rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  background-color: var(--bg, #9C1816);
  border-radius: 2.06em;
  padding: 0.575em 1.75em;
  transition: 300ms;
}
.btn {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  -webkit-appearance: none;
}
.btn:focus {
  outline: 0;
}

.btn[disabled] {
  cursor: default;
  --bg: #F2F1ED;
  --color: #b3b2af;
}
.btn:hover {
  --bg: #a17a32;
  --color: #fff;
}
.btn:not(:disabled):not(.disabled):focus {
  box-shadow: 0 0 0 0.2rem rgba(216, 167, 110, 0.3);
}
.btn:not(:disabled):not(.disabled):active {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.3);
}
.btn-stacked > .btn {
  display: block;
  width: 100%;
}
.btn-stacked > .btn:not(:last-of-type) {
  margin-bottom: 0.5rem;
}
.btn.success {
  --bg: #B38838;
}
.btn.success:hover, .btn.success:active {
  --bg: #987430;
}
.btn.info {
  --bg: #cc9d68;
}
.btn.info:hover, .btn.info:active {
  --bg: #ad8558;
}
.btn.lg {
  padding: 0.53em 1.13em;
  font-size: 1.5rem;
  white-space: normal;
}
.btn.sm {
  padding: 0.4em 1em;
  font-size: 0.94rem;
}

.btn-group {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}
.btn-group > .btn {
  position: relative;
  flex: 1 1 auto;
}
.btn-group > .btn:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.btn-group > .btn:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.btn-group > .btn:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

button[class*=hover-] {
  padding: 0;
  text-align: inherit;
}

.text-primary, .stick small, .draw-lots span, .sub-title, .title-primary, .hover-primary {
  color: #9C1816;
}

.hover-primary:hover, .hover-primary:focus {
  color: #7d1312;
}

.bg-primary {
  background: #9C1816;
}

.text-secondary, .album-links a, .news-intro a, .title-circle, .mobile-toggle, .hover-secondary {
  color: #665652;
}

.hover-secondary:hover, .hover-secondary:focus {
  color: #524542;
}

.bg-secondary {
  background: #665652;
}

.text-info, .hover-info {
  color: #F0B97A;
}

.hover-info:hover, .hover-info:focus {
  color: #c09462;
}

.bg-info {
  background: #F0B97A;
}

.text-success, .directors em, .hover-success {
  color: #B38838;
}

.hover-success:hover, .hover-success:focus {
  color: #8f6d2d;
}

.bg-success {
  background: #B38838;
}

.text-warning, .hover-warning {
  color: #F0CC7E;
}

.hover-warning:hover, .hover-warning:focus {
  color: #c0a365;
}

.bg-warning {
  background: #F0CC7E;
}

.text-danger, .hover-danger {
  color: #C43C3A;
}

.hover-danger:hover, .hover-danger:focus {
  color: #9d302e;
}

.bg-danger {
  background: #C43C3A;
}

.text-muted, .hover-muted {
  color: #F2F1ED;
}

.hover-muted:hover, .hover-muted:focus {
  color: #c2c1be;
}

.bg-muted, .panel {
  background: #F2F1ED;
}

.hover-white:hover, .hover-white:focus {
  color: #d9d9d9;
}

.text-black {
  color: #000;
}

[class*=label-] {
  display: inline-block;
  border-radius: 2px;
  padding: 0.1em 0.3em;
}
[class*=label-]:not(:only-of-type) {
  margin: 0.2em;
}

.label-warning {
  background: #fbf2dd;
  color: #8e6911;
  border: 1px solid #e8e0cc;
}

.label-danger {
  background: #ecc1c0;
  color: #9b312f;
  border: 1px solid #dab3b2;
}

.label-success {
  background: #e4d5b9;
  color: #735a2c;
  border: 1px solid #d3c5ab;
}

.label-info {
  background: #c9c4c2;
  color: #58514e;
  border: 1px solid #bab5b3;
}

.label-muted {
  background: #f8f7f5;
  color: #7d7057;
  border: 1px solid #e5e4e3;
}

@media (min-width: 35.5em) {
  .pull-xs-left {
    float: left;
  }
  .pull-xs-right {
    float: right;
  }
  .text-xs-left {
    text-align: left;
  }
  .text-xs-right {
    text-align: right;
  }
  .text-xs-center {
    text-align: center;
  }
  .xs-hide {
    display: none;
  }
}
@media (min-width: 48em) {
  .pull-sm-left {
    float: left;
  }
  .pull-sm-right {
    float: right;
  }
  .text-sm-left {
    text-align: left;
  }
  .text-sm-right {
    text-align: right;
  }
  .text-sm-center {
    text-align: center;
  }
  .sm-hide {
    display: none;
  }
}
@media (min-width: 64em) {
  .pull-md-left {
    float: left;
  }
  .pull-md-right {
    float: right;
  }
  .text-md-left {
    text-align: left;
  }
  .text-md-right {
    text-align: right;
  }
  .text-md-center {
    text-align: center;
  }
}
@media (min-width: 75em) {
  .pull-lg-left {
    float: left;
  }
  .pull-lg-right {
    float: right;
  }
  .text-lg-left {
    text-align: left;
  }
  .text-lg-right {
    text-align: right;
  }
  .text-lg-center {
    text-align: center;
  }
}
.title, .font-sp {
  font-family: "Noto Serif TC", "Noto Serif SC", serif;
  font-display: swap;
}

.hant-rl {
  -ms-writing-mode: tb-rl;
  -ms-writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  -o-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
}
@media (min-width: 48em) {
  .hant-rl-sm {
    -ms-writing-mode: tb-rl;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
  }
}

.title-circle i, .lang-item {
  border: 1px solid #dad9d5;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.title-circle {
  font-size: 1.75em;
  letter-spacing: 0.19em;
}
.title-circle.hant-rl i {
  margin-bottom: 3px;
}
.title-circle.dark {
  color: #231815;
}
.title-circle.dark i {
  border-color: #fff;
}
.title-circle.bright {
  color: #fff;
}
.title-circle.bright i {
  border-color: #F0CC7E;
}
.title-circle i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 2px;
  font-style: normal;
  letter-spacing: 0;
}

.light-nav, .nav-outline, .border-outline {
  background-color: #fff;
  outline: 2px solid #F0B97A;
  outline-offset: -12px;
}

.panel {
  border: 2px solid #fff;
  outline: 3px solid #F0B97A;
}
.panel.free {
  margin-top: 3px;
  margin-left: 3px;
  margin-right: 3px;
}

.panel-head {
  margin-block: 0;
  padding: 15px;
}

.panel-body {
  margin: 15px;
}

.news-item {
  display: flex;
  margin-block: 0;
  align-items: center;
  margin: 15px 0;
}
.news-item:not(:last-of-type) {
  position: relative;
}
.news-item:not(:last-of-type)::before {
  position: absolute;
  left: 90px;
  right: -15px;
  border-top: 2px solid #fff;
  bottom: -8px;
}

.news-date {
  font-size: 2.81em;
  line-height: 1.01;
  border: 1px solid #f2d28d;
  background: #fff;
  flex-basis: 85px;
  padding: 8px 5px;
}
.news-date small {
  display: block;
  margin-bottom: 3px;
}

.news-intro {
  flex-basis: 100%;
  margin-left: 1.6%;
  font-size: 1.13em;
}
.news-intro a {
  line-height: 1.4;
}
.news-intro a:hover {
  color: #9C1816;
}

.text-hide {
  padding: 0;
}

.sr-only, .sr-only-focusable:not(:focus):not(:focus-within) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.card, .center {
  margin-left: auto;
  margin-right: auto;
}

.text-break {
  word-break: break-all;
}

.text-nowrap {
  white-space: nowrap;
}

.text-overflow {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.break-inside-avoid {
  break-inside: avoid;
}

.breadcrumb {
  color: #87726d;
  border-top: 1px solid #e6e5e1;
  max-width: 1420px;
  margin: 0 16px 36px;
  padding: 10px 0 0;
}
@media (min-width: 75em) {
  .breadcrumb {
    margin-left: 256px;
  }
}
@media (min-width: 90.75em) {
  .breadcrumb {
    margin-left: 240px;
    margin-right: 130px;
  }
}
@media (min-width: 117.5em) {
  .breadcrumb {
    margin: 0 auto 36px;
  }
}
.breadcrumb li {
  display: inline;
}
.breadcrumb li:not(:last-child):after {
  content: "。";
  margin-left: 5px;
}
.breadcrumb a {
  color: inherit;
}
.breadcrumb a:hover {
  color: #aba2a0;
}

.article li, .article p {
  line-height: 1.6;
}
.article p {
  font-size: 1.13em;
}

.divider {
  border-left: 2px solid #f8d16a;
}

.title {
  z-index: 3;
  background: #fff url(../images/moire.gif) no-repeat right bottom;
  padding: 10px 20px 15px;
  position: relative;
  color: #000;
  font-size: 2.44em;
  letter-spacing: 0.13em;
}
@media (min-width: 75em) {
  .title {
    line-height: 1.4;
  }
  html:not([lang=en]) .title {
    background-position: 90% 94%;
    float: right;
    margin: -80px 0 0 20px;
    padding: 30px 16px 50px;
    -ms-writing-mode: tb-rl;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
  }
  [lang=zh-hant] .title {
    margin-top: -140px;
  }
}
.title.pull, .breadcrumb + .title {
  margin-right: 16px;
}
@media (min-width: 90em) {
  .title.pull, .breadcrumb + .title {
    right: 50%;
    margin-right: -710px;
  }
}
@media (max-width: 74.99em) {
  .title.pull, .breadcrumb + .title {
    margin-left: 16px;
  }
}
.title small {
  font-size: 0.67em;
  color: #231815;
}
@media (min-width: 75em) {
  html:not([lang=en]) .title small {
    display: block;
    margin: 3.5em 10px 0;
  }
}
.title .divider {
  display: inline-block;
  vertical-align: middle;
  height: 1em;
}
@media (min-width: 75em) {
  html:not([lang=en]) .title .divider {
    height: 2em;
    position: absolute;
    top: 30px;
    left: 31%;
  }
}
@media (max-width: 74.99em) {
  .title .divider {
    margin: -6px 10px 0;
  }
}

@media (min-width: 48em) {
  .title-img {
    float: right;
    margin-left: 30px;
  }
}
@media (min-width: 75em) {
  .title-img {
    margin-top: -10px;
  }
}

.title-border {
  font-size: 1.63em;
  letter-spacing: 0.22em;
  background: #F2F1ED;
  position: relative;
}
.title-border::before {
  z-index: -1;
  border: 1px solid #f7dbba;
  position: absolute;
  top: 0.5em;
  left: -0.2em;
  bottom: -0.4em;
  right: 0.5em;
}

@media (min-width: 64em) {
  html:not([lang=en]) .title-border {
    -ms-writing-mode: tb-rl;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
  }
  html:not([lang=en]) .title-border:before {
    width: 1.2em;
    top: 1.1em;
    bottom: -1.5em;
    right: auto;
  }
  html:not([lang=en]) .title-border + .rest {
    margin-left: 140px;
  }
}

.title-primary {
  font-size: 1.63em;
  line-height: 1;
}

@media (min-width: 75em) {
  .img-stack {
    margin-right: -60px;
  }
}

.sub-title {
  font-size: 1.25em;
  margin-bottom: 0.5em;
}

@media (min-width: 64em) {
  .content-r {
    position: relative;
    padding-left: 150px;
  }
  .content-r .title-border {
    position: absolute;
    top: 0;
    left: 50px;
  }
}

.w-small {
  max-width: 720px;
}

.text-list {
  line-height: 1.5;
}
.text-list > li,
.text-list li li {
  margin-block: 15px;
}

.list-num {
  counter-reset: num;
  line-height: 1.5;
}
.list-num li {
  counter-increment: num;
}
.list-num li:before {
  content: "(" counter(num) ")";
}

.thumbnail {
  margin: 0 0 16px;
}
@media (min-width: 48em) {
  .thumbnail ~ .thumbnail {
    margin-left: 16px;
  }
}
.thumbnail img {
  max-width: 100%;
}

.thumb-title {
  font-size: 1.33em;
  margin-block: 8px;
}

.thumb-info {
  color: #666;
}

.temple p, .temple cite {
  letter-spacing: 0.31em;
}
.temple p {
  line-height: 1.8;
  margin: 1em 0;
}
.temple cite {
  display: block;
  line-height: 2;
  margin: 2em 0;
}
@media (min-width: 48em) and (max-width: 74.99em) {
  .temple p {
    margin-left: 2.5em;
    margin-right: 2.5em;
  }
  .temple cite {
    margin-left: 4em;
  }
}
@media (min-width: 75em) {
  .temple.lang-rl {
    height: 470px;
    -ms-writing-mode: tb-rl;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
  }
  .temple.lang-rl p {
    margin: 2.5em 0;
  }
  .temple.lang-rl cite {
    margin: 5.5em 7% 0 0;
  }
}

.temple-img {
  cursor: pointer;
}
@media (min-width: 48em) and (max-width: 74.99em) {
  .temple-img {
    margin-left: 4em;
  }
}
@media (min-width: 75em) {
  .temple.lang-rl .temple-img {
    display: block;
    margin-right: 18%;
  }
}

.activity {
  background: #665652 url(../images/bg-wave.png) no-repeat center 0;
  padding: 54px 32px 90px !important;
}
.activity article {
  line-height: 1.6;
  letter-spacing: 0.09em;
}

.carousel .swiper-slide {
  height: auto;
}
@media (min-width: 48em) {
  .carousel .swiper-slide {
    width: 640px;
  }
  .carousel .swiper-slide.small {
    width: 285px;
  }
  .carousel .swiper-slide.mid {
    width: 454px;
  }
}

.swiper-pagination-bullet-active {
  background: #F0B97A !important;
}

.column {
  column-gap: 38px;
  column-rule: 1px solid #e6e5e1;
}

@media (min-width: 48em) {
  .sm\:column-2 {
    column-count: 2;
  }
}
@media (min-width: 64em) {
  .md\:column-2 {
    column-count: 2;
  }
}
@media (min-width: 75em) {
  .lg\:column-3 {
    column-count: 3;
  }
}

@media (min-width: 48em) {
  .palace-img {
    max-width: 196px;
    max-height: 220px;
  }
}

.directors {
  font-size: 1.19em;
}
.directors em {
  font-style: normal;
  margin-right: 10px;
}
.directors li {
  margin-bottom: 8px;
}

.column-gap-lg {
  column-gap: 90px;
}

.column-rule {
  column-rule: 1px solid #e6e5e1;
}

.list-counter {
  counter-reset: count;
}
.list-counter li {
  counter-increment: count;
}
.list-counter li::marker {
  content: counters(count, ".") " ";
}

.list-map {
  line-height: 1.6;
}
.list-map li {
  margin-bottom: 8px;
}
.list-map a {
  color: #000;
  font-size: 1.19em;
}
.list-map a:hover {
  color: #9C1816;
}
.list-map .root {
  font-size: 1.38em;
  font-weight: bold;
}

.nav-outline {
  margin: 0 8px;
  padding: 10px 20px;
}
.light-nav, .nav-outline {
  display: inline-block;
  transition: 360ms, outline 300ms ease-out;
  color: #665652;
  font-size: 1.31em;
  letter-spacing: 0.19em;
}
.active.light-nav, .active.nav-outline, .light-nav:hover, .nav-outline:hover, .light-nav:focus, .nav-outline:focus {
  background: #9C1816;
  color: #fff !important;
}

.light-menu {
  text-align: center;
}
@media (min-width: 75em) and (max-width: 88.75em) {
  .light-menu {
    text-align: left;
  }
}
@media (max-width: 47.99em) {
  .light-menu {
    background: #fff;
    margin-bottom: 20px;
  }
}

.light-nav {
  margin: 0 -4px;
  padding: 20px;
  vertical-align: top;
}
@media (min-width: 48em) {
  .light-nav {
    min-height: 165px;
    margin: 0 4px 20px;
    -ms-writing-mode: tb-rl;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
  }
}

.light-info {
  letter-spacing: 0.09em;
  background: #f1cf84;
  outline: 1px solid #fff;
  outline-offset: -10px;
  padding: 24px;
  position: relative;
}
.light-info .price {
  font-size: 1.31em;
}

.tab-content {
  display: none;
}
.tab-content.in {
  display: block;
}

@media (max-width: 63.99em) {
  .order-item {
    position: relative;
  }
}
.order-item:hover .order-del, .order-item:focus .order-del {
  opacity: 1;
  visibility: visible;
}

.order-del {
  position: absolute;
  right: 0;
  top: 0;
  color: #C43C3A;
  font-size: 2.25em;
  opacity: 0;
  visibility: hidden;
  transition: 450ms;
}
@media (max-width: 63.99em), (min-device-pixel-ratio: 1.5) {
  .order-del {
    opacity: 1;
    visibility: visible;
    top: 18px;
  }
}
.order-del:disabled, .order-del[readonly] {
  color: rgba(0, 0, 0, 0.45);
}

.cart-price {
  letter-spacing: 0.06em;
  border-top: 3px solid #e1cfaf;
  margin-bottom: 32px;
  padding-top: 15px;
}
.cart-price strong {
  font-size: 1.8em;
  margin: 0 10px;
}

.receipt {
  line-height: 1.6;
  width: 100%;
}
.receipt thead {
  background: #ebeae6;
}
.receipt thead th {
  padding-block: 8px;
}
.receipt tfoot {
  background: #f3d698;
}

.receipt-title {
  font-size: 1.25em;
  background: #756763;
  padding: 10px;
}
.receipt-title .contacts {
  font-size: 0.75em;
  margin: 10px 0 0;
}
.receipt-title .contacts li {
  margin-bottom: 5px;
}
.receipt-title .contacts span {
  color: #f3d698;
}
.receipt-title .contacts .addr {
  width: 100%;
}

@media (max-width: 47.99em) {
  .rwd-table tr, .rwd-table td, .rwd-table tbody th {
    display: block;
  }
  .rwd-table thead, .rwd-table .hide {
    display: none;
  }
  .rwd-table [data-th]:before {
    content: attr(data-th);
    margin-right: 5px;
  }
  .rwd-table tr:not(:last-of-type) {
    border-bottom: 1px solid #F0B97A;
  }
  .rwd-table tbody th, .rwd-table td {
    border: none;
  }
  .rwd-table .sn, .rwd-table .num {
    text-align: left;
  }
  .rwd-table .info, .rwd-table .product, .rwd-table .num {
    border-bottom: 1px dashed #ebeae6;
  }
  .rwd-table .sn {
    background: #ebeae6;
  }
  .rwd-table .info:before {
    display: block;
    color: #9C1816;
    font-weight: bold;
  }
  .rwd-table .product {
    padding-left: 2.8em;
    position: relative;
  }
  .rwd-table .product ul {
    margin: 0;
  }
  .rwd-table .product:before {
    position: absolute;
    left: 0.3em;
  }
  .rwd-table tfoot tr {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
}

@media (max-width: 47.99em) {
  .table-responsive {
    overflow-x: auto;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }
}

.card {
  border-radius: 20px;
  box-shadow: -3px 5px 10px rgba(0, 0, 0, 0.15);
}
.card .btn {
  width: 150px;
}

.album {
  border: 3px solid #F0B97A;
  padding: 4px;
  position: relative;
  transition: 450ms;
}
.album .over-hover {
  opacity: 0;
  background-color: #fff;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.album .width-fit {
  height: 120px;
}
.album .width-fit img {
  min-height: auto;
}
.album figcaption {
  padding: 8px;
}
.album:hover {
  box-shadow: 2px -2px 10px rgba(0, 0, 0, 0.25);
  border-color: #F0CC7E;
}
.album:hover .album-pic img {
  transform: translate(-50%, -50%) scale(1.2);
  -webkit-filter: brightness(1.2);
  filter: brightness(1.2);
}
.album:hover .album-title {
  color: #aa8135;
}

.album-pic {
  background: #F2F1ED;
  display: block;
  height: 150px;
  overflow: hidden;
  position: relative;
}
.album-pic img {
  max-width: 100%;
  min-width: 100%;
  min-height: 100%;
  transition: 350ms;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.album-title {
  color: #a62f2d;
  margin-block: 8px;
}

.album-links {
  position: relative;
  z-index: 2;
}
.album-links a {
  margin-right: 8px;
}
.album-links a:hover {
  color: #B38838;
}

@media (min-width: 35.5em) {
  .grid {
    display: grid;
    column-gap: 16px;
    row-gap: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 48em) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 75em) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.grid .album {
  margin: 0;
}

.signing {
  max-width: 940px;
  overflow: hidden;
  position: relative;
}
@media (min-width: 48em) {
  .signing {
    height: 480px;
  }
}
@media (max-width: 47.99em) {
  .signing {
    padding-bottom: 310px;
  }
}
@media (max-width: 35.49em) {
  .signing {
    padding-bottom: 300px;
  }
}

.signing-form {
  padding: 20px 16px;
}
.side-text, .slide-side, .signing-form {
  transition: 600ms ease-in-out;
}

@media (min-width: 48em) {
  .signing-form {
    padding: 20px 40px;
    width: 60%;
    height: 100%;
  }
}

.signin {
  transition-timing-function: ease-out;
}
.signin .btn {
  margin-top: 42px;
}

.signup {
  position: absolute;
  left: -940px;
  top: 0;
}
.signup .btn {
  margin-top: 15px;
}

.sliding-up .signin {
  transform: translate3d(940px, 0, 0);
}
.sliding-up .signup {
  left: 0;
}
@media (min-width: 48em) {
  .sliding-up .signup {
    left: 40%;
  }
}

.slide-side {
  position: absolute;
}
@media (min-width: 48em) {
  .slide-side {
    top: 0;
    left: 60%;
    width: 40%;
    height: 100%;
  }
}
@media (max-width: 47.99em) {
  .slide-side {
    bottom: 0;
    width: 100%;
    height: 260px;
  }
}
@media (max-width: 35.49em) {
  .slide-side {
    height: 240px;
  }
}

.sliding-up .slide-side {
  background: #d1b16e;
}
@media (min-width: 48em) {
  .sliding-up .slide-side {
    left: 0;
  }
}

.side-text {
  z-index: 2;
  position: absolute;
  left: 20px;
  right: 20px;
  top: 15px;
  line-height: 1.45;
}
@media (min-width: 35.5em) {
  .side-text {
    font-size: 1.13em;
    line-height: 2;
  }
}
.side-text h3 {
  font-size: 1.56em;
  letter-spacing: 0.13em;
}
@media (max-width: 47.99em) {
  .side-text h3 {
    margin: 0;
  }
}
.side-text.m-in {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-80%);
}

.sliding-up .side-text.m-up {
  opacity: 0;
  visibility: hidden;
  transform: translateX(80%);
}
.sliding-up .side-text.m-in {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.sign-btn {
  border: 1px solid #F2F1ED;
  border-radius: 2.06em;
  width: 150px;
  height: 40px;
  transform: translateY(10px);
  transition: 600ms;
}
@media (min-width: 35.5em) {
  .sign-btn {
    font-size: 0.94em;
  }
}
@media (min-width: 48em) {
  .sign-btn {
    transform: translateY(90px);
  }
}
.sign-btn:hover {
  background: #a17a32;
}

.divine-step1 {
  padding: 24px;
}
@media (min-width: 60em) {
  .divine-step1 {
    display: flex;
  }
  .divine-step1 .casts {
    display: flex;
    align-items: flex-start;
    margin: 16px 0 0 2%;
    order: 2;
  }
}
@media (max-width: 59.94em) {
  .divine-step1 .casts {
    text-align: center;
  }
}

.divine-step2 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 24px;
}
@media (max-width: 35.49em) {
  .divine-step2 {
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
  }
}
.divine-step2 .divider {
  border-color: #F2F1ED;
}
@media (min-width: 35.5em) {
  .divine-step2 .divider {
    margin: 0 16px;
    height: 180px;
  }
}
@media (max-width: 35.49em) {
  .divine-step2 .divider {
    border-width: 2px 0 0 0;
    border-top: 2px solid #F2F1ED;
    width: 100%;
    margin: 16px 0;
  }
}

.moon-blocks {
  margin: 0 10px;
  position: relative;
  width: 178px;
}
.moon-blocks span {
  position: absolute;
  top: 20px;
  left: 68px;
}
.draw-lots span, .moon-blocks span {
  font-size: 1.94em;
  font-weight: bold;
  letter-spacing: 0.19em;
}

.moon-blocks small {
  display: inline-block;
  color: #726460;
  font-size: 1em;
}

.cast {
  min-height: 130px;
  padding-top: 132px;
  transition: 400ms;
  background: url(../images/service/moon.png) no-repeat 0 0, url(../images/service/moon2.png) no-repeat right 0;
  color: #9C1816;
  animation: casting 600ms infinite alternate;
}
@-webkit-keyframes casting {
  to {
    background-position: 10% 0, 90% 0;
    color: #665652;
  }
}
@-moz-keyframes casting {
  to {
    background-position: 10% 0, 90% 0;
    color: #665652;
  }
}
@keyframes casting {
  to {
    background-position: 10% 0, 90% 0;
    color: #665652;
  }
}
.cast small {
  display: block;
  color: #4d4d4d;
}
.cast:hover {
  background-position: 10% 0, 90% 0;
  transform: translateY(-5px);
}
.cast:hover span {
  color: #B38838;
}

.cast-down {
  display: inline-block;
  vertical-align: top;
  margin-bottom: 20px;
  padding-top: 130px;
  background: url(../images/service/moon_yes.png) no-repeat center 0;
}
.cast-down.smile {
  background-image: url(../images/service/moon_smile.png);
}
.cast-down.no {
  background-image: url(../images/service/moon_no.png);
}
.cast-down span {
  color: #B38838;
}

.draw-lots {
  height: 146px;
  margin: 0 10px;
  padding-left: 86px;
  position: relative;
}
.draw-lots::before {
  background: url(../images/service/draw.png) no-repeat 0 bottom/contain;
  width: 84px;
  height: 84px;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  animation: draw 600ms infinite;
}
@-webkit-keyframes draw {
  to {
    bottom: 10px;
  }
}
@-moz-keyframes draw {
  to {
    bottom: 10px;
  }
}
@keyframes draw {
  to {
    bottom: 10px;
  }
}
.draw-lots span {
  margin-top: 50px;
}
.draw-lots:hover:before {
  animation-play-state: paused;
}

.lots {
  background: url(../images/service/lots.png) no-repeat 0 0/17px 82px;
  display: block;
  width: 17px;
  height: 82px;
  position: absolute;
  animation: lots 600ms infinite;
}
@-webkit-keyframes lots {
  to {
    transform: translate(-2px, -5px);
  }
}
@-moz-keyframes lots {
  to {
    transform: translate(-2px, -5px);
  }
}
@keyframes lots {
  to {
    transform: translate(-2px, -5px);
  }
}
.draw-lots:hover .lots {
  animation-play-state: paused;
}
.lots:nth-of-type(1) {
  left: 50%;
  bottom: 40px;
  transform: rotate(25deg);
  animation: lots1 600ms infinite;
}
@-webkit-keyframes lots1 {
  to {
    transform: rotate(20deg) translate(-10px, -15px);
  }
}
@-moz-keyframes lots1 {
  to {
    transform: rotate(20deg) translate(-10px, -15px);
  }
}
@keyframes lots1 {
  to {
    transform: rotate(20deg) translate(-10px, -15px);
  }
}
.lots:nth-of-type(2) {
  left: 11%;
  bottom: 58px;
  transform: rotate(10deg);
  animation: lots2 600ms infinite;
}
@-webkit-keyframes lots2 {
  to {
    transform: rotate(8deg) translate(-2px, -5px);
  }
}
@-moz-keyframes lots2 {
  to {
    transform: rotate(8deg) translate(-2px, -5px);
  }
}
@keyframes lots2 {
  to {
    transform: rotate(8deg) translate(-2px, -5px);
  }
}
.lots:nth-of-type(3) {
  left: 3.2%;
  bottom: 48px;
  animation: lots3 600ms infinite;
}
@-webkit-keyframes lots3 {
  to {
    transform: rotate(-5deg) translate(-3px, -2px);
  }
}
@-moz-keyframes lots3 {
  to {
    transform: rotate(-5deg) translate(-3px, -2px);
  }
}
@keyframes lots3 {
  to {
    transform: rotate(-5deg) translate(-3px, -2px);
  }
}
.lots:nth-of-type(4) {
  left: 31%;
  bottom: 62px;
  transform: rotate(4deg);
}
.lots:nth-of-type(5) {
  left: 22%;
  bottom: 42px;
  transform: rotate(10deg);
}
.lots:nth-of-type(6) {
  left: 42%;
  bottom: 38px;
  transform: rotate(-3deg);
}

.stick {
  background: url(../images/service/lots2.png) no-repeat 0 0;
  width: 40px;
  height: 150px;
  padding: 42px 0 0 9px;
  position: relative;
  margin-inline: 24px;
  font-size: 1.38em;
  font-weight: bold;
  color: #000;
}
.stick small {
  position: absolute;
  top: -24px;
  left: -8px;
  width: 60px;
  letter-spacing: 0.13em;
}

.rope {
  font-size: 1.5em;
  font-weight: bold;
  letter-spacing: 0.19em;
  padding: 8px;
}
@media (min-width: 35.5em) {
  .rope {
    border-right: 1px solid #e1cfaf;
    border-left: 1px solid #e1cfaf;
    margin-left: 24px;
    -ms-writing-mode: tb-rl;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
  }
}
@media (max-width: 35.49em) {
  .rope {
    border-top: 1px solid #e1cfaf;
    border-bottom: 1px solid #e1cfaf;
  }
}

.lottery-link {
  color: #7d6f6c;
  font-size: 1.06em;
  border: 1px solid #e4d5b9;
  display: inline-block;
  margin: 5px;
  padding: 8px;
  width: 39px;
}
@media (min-width: 87.5em) {
  .lottery-link {
    width: calc(6.39% - 12px);
  }
}
.lottery-link:hover, .lottery-link:active {
  background: #d5be92;
  color: #fff;
}

.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 999;
  display: none;
}
.modal.in {
  display: block;
}
.modal img {
  max-width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
@media (min-width: 75em) {
  .modal img {
    image-rendering: pixelated;
  }
}
.modal button {
  position: absolute;
  top: 2%;
  right: 2%;
}
.modal-container {
  max-width: 1200px;
  width: 90%;
  margin: 40px auto;
}

.spaces {
  background: #F2F1ED;
  padding: 16px;
}
.spaces .thumbnail {
  margin: 0;
  padding: 10px;
}

@media (min-width: 75em) {
  [lang=zh-hant] .map {
    margin-top: -70px;
  }
  [lang=zh-hans] .map {
    margin-top: -110px;
  }
  [lang=ja] .map {
    margin-top: -160px;
  }
}

.contacts dd {
  font-size: 1.13em;
}
.contacts a {
  color: #4d4d4d;
}
.contacts a:hover {
  color: #B38838;
}

.editor iframe, .editor img {
  max-width: 100%;
}
