@charset "UTF-8";
/* animate.css 動畫 ------------------------------------- */
@import url("https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css");
@import url("https://fonts.googleapis.com/css2?family=Playwrite+AU+NSW:wght@100..400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
/*! 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 {
  -webkit-box-sizing: content-box;
          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 {
  -webkit-box-sizing: border-box;
          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] {
  -webkit-box-sizing: border-box;
          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;
}

/* 清除浮動 */
.clearfix::before, .clearfix::after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1; /*For IE 6&7 only*/
}

/* 清除圖片底部的空白 */
img,
svg,
iframe {
  vertical-align: middle;
  border: none;
  outline: none;
}

figure {
  margin: 0;
}

/* 自定義的通用樣式 */
.root {
  position: relative;
  margin: 0 auto;
  color: #525357;
  background-color: white;
  background-repeat: repeat;
}

.debug {
  border: 1px solid red;
}

.full {
  width: 100%;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

/*
-----------------------------------------------------------------
* font-family ：設定全站使用的字體家族。                            *
* font-size   ：設定基礎字體大小，常用於計算 rem 或 em 單位。         *
* line-height ：設定基礎行高，影響文字的閱讀舒適度。                  *
* font-weight ：設定全站預設的字體粗細。                            *
* color       ：設定文字的基礎顏色。                               *
-----------------------------------------------------------------
*/
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "微軟正黑體", arial, sans-serif;
}

:focus {
  outline: 0;
}

html, body {
  padding: 0;
  height: 100%;
  color: #0f1419;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "微軟正黑體", arial, sans-serif;
  font-size: 16px;
  word-wrap: break-word;
  background-color: #ffffff;
  scroll-behavior: smooth;
}

/*
-----------------------------------------------------------------
* h1~h6 的標題                                                   *
-----------------------------------------------------------------
*/
h1 {
  font-size: 40px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 32px;
}

h4 {
  font-size: 28px;
}

h5 {
  font-size: 24px;
}

h6 {
  font-size: 20px;
}

/*
-----------------------------------------------------------------
* 取消預設的斜體字                                                 *
-----------------------------------------------------------------
*/
i,
em,
cite,
dfn,
var,
address {
  font-style: normal;
}

/*
-----------------------------------------------------------------
* 等寬字設定                                                      *
-----------------------------------------------------------------
*/
code,
pre,
samp,
kbd,
var {
  font-family: "Source Code Pro", monospace;
}

/*
-----------------------------------------------------------------
* A 連結                                                         *
-----------------------------------------------------------------
*/
a {
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}
a:link {
  color: #004a99;
}
a:visited {
  color: #004a99;
}
a:hover {
  color: #2563eb;
}

sup {
  font-size: 1.2em;
  top: -0.33em;
  right: 0.09em;
}

body {
  background-color: #fff4d2;
}

.header {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  z-index: 10;
}
.header .logo {
  display: inline-block;
  width: 100px;
}
@media (min-width: 700px) {
  .header .logo {
    margin: unset;
    position: absolute;
    top: 0;
    left: 0;
  }
}
.header .logo img {
  width: 100%;
  border: none;
}

.page {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
  font-size: 1.35em;
  background-image: url(../images/bg.png);
}

.flower-1 {
  position: absolute;
  -webkit-animation: gogo 5s infinite;
          animation: gogo 5s infinite;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
  z-index: 8;
}
@media (min-width: 0) {
  .flower-1 {
    left: calc(50% - 47vw);
    top: 5vw;
    width: 12vw;
    height: 12vw;
  }
}
@media (min-width: 600px) {
  .flower-1 {
    left: calc(50% - 300px);
    top: 1.5em;
    width: 65px;
    height: 65px;
  }
}
.flower-1 img {
  width: 100%;
}

.flower-2 {
  position: absolute;
  bottom: -2em;
  -webkit-animation: gogo 8s infinite;
          animation: gogo 8s infinite;
  z-index: 8;
}
@media (min-width: 0) {
  .flower-2 {
    left: calc(50% + 10vw);
    width: 14vw;
    height: 14vw;
  }
}
@media (min-width: 600px) {
  .flower-2 {
    left: calc(50% + 150px);
    width: 94px;
    height: 94px;
  }
}
.flower-2 img {
  width: 100%;
}

.flower-3 {
  position: absolute;
  -webkit-animation: gogo 6s infinite;
          animation: gogo 6s infinite;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
  z-index: 8;
}
@media (min-width: 0) {
  .flower-3 {
    left: calc(50% - 40vw);
    bottom: -4vw;
    width: 15vw;
    height: 15vw;
  }
}
@media (min-width: 600px) {
  .flower-3 {
    left: calc(50% - 250px);
    bottom: 0.5em;
    width: 78px;
    height: 78px;
  }
}
.flower-3 img {
  width: 100%;
}

.flower-4 {
  position: absolute;
  -webkit-animation: gogo 6s infinite;
          animation: gogo 6s infinite;
  -webkit-animation-delay: 0.75s;
          animation-delay: 0.75s;
  z-index: 8;
}
@media (min-width: 0) {
  .flower-4 {
    left: calc(50% - 50px);
    top: -3em;
    width: 17vw;
    height: 17vw;
  }
}
@media (min-width: 600px) {
  .flower-4 {
    left: calc(50% - 420px);
    top: unset;
    bottom: 6em;
    width: 94px;
    height: 94px;
  }
}
.flower-4 img {
  width: 100%;
}

.flower-5 {
  position: absolute;
  top: -1.5em;
  -webkit-animation: gogo 6s infinite;
          animation: gogo 6s infinite;
  -webkit-animation-delay: 1.25s;
          animation-delay: 1.25s;
  z-index: 8;
}
@media (min-width: 0) {
  .flower-5 {
    left: calc(50% + 20vw);
    width: 12vw;
    height: 12vw;
  }
}
@media (min-width: 600px) {
  .flower-5 {
    left: calc(50% + 100px);
    width: 66px;
    height: 66px;
  }
}
.flower-5 img {
  width: 100%;
}

@-webkit-keyframes gogo {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(720deg);
            transform: rotate(720deg);
  }
}

@keyframes gogo {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(720deg);
            transform: rotate(720deg);
  }
}
/* 網站標題......................................... */
.site-title__container {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 580px;
  z-index: 8;
}

.site-title__container--v3 {
  position: relative;
  margin: 0 auto;
  padding: 1em 0 2em 0;
  width: 100%;
  max-width: 580px;
  z-index: 8;
}

.site-title {
  width: 100%;
}
.site-title img {
  width: 100%;
}

/* 活動說明......................................... */
.guidelines {
  position: relative;
  padding: 0 1em;
  background-image: url(../images/bottom-2.png);
  background-repeat: no-repeat;
  background-position: bottom center;
  overflow: hidden;
}

.guidelines-2 {
  position: relative;
  padding: 0 1em;
  background-image: url(../images/bottom.png);
  background-repeat: no-repeat;
  background-position: bottom center;
  overflow: hidden;
}

.guidelines-v3 {
  position: relative;
  padding: 0;
  background-image: url(../images/background/bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.guidelines-v3 article {
  padding: 0 1em 3em;
  background-image: url(../images/object/lez.png);
  background-repeat: repeat-x;
  background-position: center bottom;
}

.guidelines__main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1.5em;
}

.guidelines__content {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
  color: #fff;
  line-height: 1.5;
  background-color: #62315d;
  border-radius: 1em;
  z-index: 10;
}
@media (min-width: 0) {
  .guidelines__content {
    padding: 1em;
  }
}
@media (min-width: 600px) {
  .guidelines__content {
    padding: 1.5em 2em;
  }
}
.guidelines__content em {
  font-style: normal;
  color: #62315d;
  background-color: #ffefbd;
}

/* 時間及對象....................................... */
.guidelines__list {
  position: relative;
  display: grid;
  margin: 0 auto;
  width: 100%;
  max-width: 650px;
  background-color: #62315d;
  border-radius: 1em;
  z-index: 2;
}
@media (min-width: 0) {
  .guidelines__list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
@media (min-width: 600px) {
  .guidelines__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guidelines__item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.5em;
  margin: 0;
  padding: 1em;
  color: white;
}
.guidelines__item:nth-child(1)::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 59px;
  -webkit-transform: rotate(15deg);
          transform: rotate(15deg);
  background-image: url(../images/object/obj-1.png);
}
@media (min-width: 0) {
  .guidelines__item:nth-child(1)::before {
    top: 1.25em;
    right: 0.75em;
  }
}
.guidelines__item:nth-child(2)::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 76px;
  -webkit-transform: rotate(15deg);
          transform: rotate(15deg);
  opacity: 0.85;
  background-image: url(../images/object/obj-2.png);
  background-repeat: no-repeat;
}
@media (min-width: 0) {
  .guidelines__item:nth-child(2)::before {
    top: 1em;
    right: 1.25em;
  }
}
@media (min-width: 600px) {
  .guidelines__item:nth-child(2)::before {
    top: 0.75em;
    right: 0.75em;
  }
}
.guidelines__item h4 {
  margin: 0;
  color: white;
}
@media (min-width: 0) {
  .guidelines__item:nth-child(1) {
    border-bottom: 2px dashed white;
  }
}
@media (min-width: 600px) {
  .guidelines__item:nth-child(1) {
    border-bottom: unset;
    border-right: 2px dashed white;
  }
}

.guidelines__list--v3 {
  position: relative;
  display: grid;
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
  border-radius: 1em;
  z-index: 2;
}
@media (min-width: 0) {
  .guidelines__list--v3 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
@media (min-width: 600px) {
  .guidelines__list--v3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guidelines__item--v3 {
  display: grid;
  grid-template-columns: 90px 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  margin: 0;
  color: #3c4f63;
}
.guidelines__item--v3:nth-child(1) {
  background-color: #d2e289;
}
@media (min-width: 0) {
  .guidelines__item--v3:nth-child(1) {
    border-radius: 1em 1em 0 0;
  }
}
@media (min-width: 600px) {
  .guidelines__item--v3:nth-child(1) {
    border-radius: 1em 0 0 1em;
  }
}
.guidelines__item--v3:nth-child(2) {
  background-color: #5dbcde;
}
@media (min-width: 0) {
  .guidelines__item--v3:nth-child(2) {
    border-radius: 0 0 1em 1em;
  }
}
@media (min-width: 600px) {
  .guidelines__item--v3:nth-child(2) {
    border-radius: 0 1em 1em 0;
  }
}
.guidelines__item--v3 h4 {
  margin: 0;
  padding: 0 0 0.5em 0;
}
@media (min-width: 0) {
  .guidelines__item--v3 {
    gap: 0.25em;
    padding: 0.5em;
  }
  .guidelines__item--v3:nth-child(1) {
    border-bottom: 2px dashed white;
  }
}
@media (min-width: 600px) {
  .guidelines__item--v3 {
    gap: 1em;
    padding: 1em;
  }
  .guidelines__item--v3:nth-child(1) {
    border-bottom: unset;
    border-right: 2px dashed white;
  }
}

/* 英文祝福......................................... */
.guidelines__english {
  margin: 0 auto;
  padding: 0.5em 0.5em 0 0.5em;
  max-width: 800px;
  width: 100%;
  line-height: 1.5;
  font-size: 1.25em;
  text-align: center;
  background-color: #eb9ac1;
  border-radius: 1em 1em 0 0;
}

.guidelines__english--main {
  position: relative;
  background-color: #ffe6f6;
  border-radius: 0.5em 0.5em 0 0;
}
@media (min-width: 0) {
  .guidelines__english--main {
    padding: 1em;
  }
  .guidelines__english--main .guidelines__english--picture {
    margin-top: -3.5em;
    max-width: 120px;
  }
}
@media (min-width: 600px) {
  .guidelines__english--main {
    padding: 1em 8vw;
  }
  .guidelines__english--main .guidelines__english--picture {
    margin-top: initial;
  }
}

.guidelines__english--picture {
  margin: 0 auto;
  max-width: 180px;
  width: 100%;
}
.guidelines__english--picture img {
  width: 100%;
}

.guidelines__english--text {
  color: #62315d;
  text-wrap: pretty;
  text-wrap: balance;
  font-size: 1em;
  font-family: "Playwrite AU NSW", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.guidelines__english--text p {
  padding-bottom: 0.5em;
  background-image: url(../images/object/line.png);
  background-repeat: no-repeat;
  background-position: center bottom;
}
.guidelines__english--text * {
  margin-top: 0;
  font-family: inherit;
}

/* 小孩............................................ */
.childs {
  position: absolute;
  left: calc(50% - 778px);
  bottom: 0;
  width: 1556px;
  text-align: center;
}

/* peter........................................... */
.peter {
  position: absolute;
  z-index: 2;
}
@media (min-width: 0) {
  .peter {
    right: -2em;
    bottom: -2em;
    max-width: 200px;
    -webkit-transform: rotate(15deg);
            transform: rotate(15deg);
  }
}
@media (min-width: 400px) {
  .peter {
    right: initial;
    left: calc(50% + 50px);
    bottom: 4em;
    max-width: 350px;
    -webkit-transform: rotate(5deg);
            transform: rotate(5deg);
  }
}
@media (min-width: 600px) {
  .peter {
    right: initial;
    left: calc(50% + 250px);
    bottom: 4em;
    max-width: 300px;
  }
}
@media (min-width: 0) {
  .peter img {
    width: 100%;
  }
}
@media (min-width: 600px) {
  .peter img {
    width: 300px;
  }
}

/* yuma............................................ */
.yuma {
  position: absolute;
  left: calc(50% - 500px);
  bottom: 7em;
  max-width: 250px;
  z-index: 1;
}
.yuma img {
  width: 100%;
}

/* 活動辦法......................................... */
.rules {
  margin: 0 auto;
  padding: 2em 1rem;
  max-width: 1920px;
  width: 100%;
  color: white;
  background-color: #62315d;
}
.rules article {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

.rules--v3 {
  margin: 0 auto;
  padding: 2em 1rem;
  max-width: 1920px;
  width: 100%;
  color: #3c4f63;
  background-image: url(../images/object/bg.png);
}
.rules--v3 article {
  margin: 0 auto;
  padding: 1em;
  max-width: 1200px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 1em;
}

.rules__title {
  margin: 0;
  text-align: center;
}

.rules__list {
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 1.5;
}
.rules__list li em {
  color: #62315d;
  background-color: #ffefbd;
}

.note {
  padding: 1em;
  text-align: center;
  font-size: 1.25em;
  color: #fff;
  background-color: #291b28;
  line-height: 1.5;
}
@media (min-width: 0) {
  .note {
    font-size: 1em;
  }
}
@media (min-width: 600px) {
  .note {
    font-size: 1.25em;
  }
}
.note a {
  text-decoration: none;
  color: #ffefbd;
  border-bottom: 1px dashed #ffefbd;
}

.note--v3 {
  padding: 1em;
  text-align: center;
  font-size: 1.25em;
  background-color: white;
  line-height: 1.5;
}
@media (min-width: 0) {
  .note--v3 {
    font-size: 1em;
  }
}
@media (min-width: 600px) {
  .note--v3 {
    font-size: 1.25em;
  }
}
.note--v3 a {
  text-decoration: none;
  color: #62315d;
  border-bottom: 1px dashed #62315d;
}

/* 花瓣容器 */
#petal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* 確保不會擋住滑鼠點擊頁面內容 */
  z-index: 9999;
  overflow: hidden;
}

/* 花瓣基礎造型 */
.petal {
  position: absolute;
  background-color: #ffb7c5;
  /* 經典櫻花粉 */
  border-radius: 150% 0 150% 40%;
  /* 創造不對稱的花瓣形狀 */
  opacity: 0.8;
  will-change: transform;
  /* 優化效能 */
}

/* 根據深淺層次設定大小與模糊度 */
.layer-front {
  width: 15px;
  height: 12px;
  -webkit-filter: blur(0px);
          filter: blur(0px);
  z-index: 3;
}

.layer-middle {
  width: 10px;
  height: 8px;
  -webkit-filter: blur(1px);
          filter: blur(1px);
  opacity: 0.6;
  z-index: 2;
}

.layer-back {
  width: 6px;
  height: 5px;
  -webkit-filter: blur(2px);
          filter: blur(2px);
  opacity: 0.4;
  z-index: 1;
}

/* footer .................................. */
footer {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 2em 1em;
  color: white;
  width: 100%;
  background-color: #bf387f;
  z-index: 5;
}
@media (min-width: 0) {
  footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1em;
  }
}
@media (min-width: 620px) {
  footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1em;
  }
}
@media (min-width: 1160px) {
  footer {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 4em;
  }
}
footer a {
  text-decoration: none;
}
footer h3,
footer h4 {
  margin: 0;
  padding: 0;
}
footer h3 {
  font-size: 1.5625em;
  color: #fdcf55;
}
@media (min-width: 0) {
  footer h3 span {
    display: block;
    text-align: center;
  }
}
@media (min-width: 620px) {
  footer h3 span {
    display: unset;
    text-align: unset;
  }
}
@media (min-width: 0) {
  footer h4 {
    font-size: 1.25em;
  }
}
@media (min-width: 620px) {
  footer h4 {
    font-size: 1.75em;
  }
}

/* 公司、各分區電話 .......................... */
.company-telephone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media (min-width: 0) {
  .company-telephone {
    gap: 1em;
  }
}
@media (min-width: 620px) {
  .company-telephone {
    gap: 0.5em;
  }
}

.telephone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1em;
}

/* 北、中、南分區 ........................... */
.local-zone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.25em;
}
.local-zone em {
  padding: 0.15em 0.35em;
  color: #bf387f;
  font-style: normal;
  background-color: #fdcf55;
  border-radius: 1em;
}
.local-zone a {
  color: white;
}
@media (min-width: 0) {
  .local-zone {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .local-zone a {
    font-size: 0.75em;
  }
}
@media (min-width: 620px) {
  .local-zone {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .local-zone a {
    font-size: 1em;
  }
}

/* 全台分校及平台........................... */
.branch-platform {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (min-width: 0) {
  .branch-platform {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0.5em;
  }
}
@media (min-width: 620px) {
  .branch-platform {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 1em;
  }
}

.branch,
.platform {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding-left: 1em;
  border-left: 5px solid white;
}
@media (min-width: 0) {
  .branch,
  .platform {
    gap: 0;
    padding-left: 0;
    border-left-width: 0;
    text-align: center;
  }
  .branch .footer-url,
  .platform .footer-url {
    display: none;
  }
}
@media (min-width: 620px) {
  .branch,
  .platform {
    gap: 0.5em;
    padding-left: 1em;
    border-left-width: 5px;
    text-align: unset;
  }
  .branch .footer-url,
  .platform .footer-url {
    display: unset;
  }
}
.branch a,
.platform a {
  color: white;
}

.flower-container {
  position: absolute;
  width: 180px;
  height: 240px;
  -webkit-transform-origin: bottom center;
          transform-origin: bottom center;
  -webkit-transform: translate(-50%, -100%) scale(var(--s)) rotate(var(--rot-angle));
          transform: translate(-50%, -100%) scale(var(--s)) rotate(var(--rot-angle));
  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.flower-container.ready {
  opacity: 1;
}
.flower-container.fading-out {
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  transition: -webkit-transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1), -webkit-transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  opacity: 1 !important;
  -webkit-transform: translate(-50%, -100%) scale(0, 1) rotate(var(--rot-angle)) !important;
          transform: translate(-50%, -100%) scale(0, 1) rotate(var(--rot-angle)) !important;
}
.flower-container .stem {
  fill: #79b47b;
  -webkit-transform-origin: bottom center;
          transform-origin: bottom center;
  opacity: 0;
  -webkit-transform: scaleY(0);
          transform: scaleY(0);
  -webkit-transition: opacity 0.2s 0.4s, -webkit-transform 0.2s ease-in 0.4s;
  transition: opacity 0.2s 0.4s, -webkit-transform 0.2s ease-in 0.4s;
  transition: transform 0.2s ease-in 0.4s, opacity 0.2s 0.4s;
  transition: transform 0.2s ease-in 0.4s, opacity 0.2s 0.4s, -webkit-transform 0.2s ease-in 0.4s;
}
.flower-container .sepals {
  fill: #477e4a;
  opacity: 0;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transform-origin: 122px 148px;
          transform-origin: 122px 148px;
  -webkit-transition: opacity 0.2s 0.3s, -webkit-transform 0.2s ease-in 0.3s;
  transition: opacity 0.2s 0.3s, -webkit-transform 0.2s ease-in 0.3s;
  transition: transform 0.2s ease-in 0.3s, opacity 0.2s 0.3s;
  transition: transform 0.2s ease-in 0.3s, opacity 0.2s 0.3s, -webkit-transform 0.2s ease-in 0.3s;
}
.flower-container .petal {
  fill: #ffc5cf;
  stroke: #ff4d6d;
  stroke-width: 0.5;
  fill-opacity: 0.9;
  -webkit-transform-origin: 28px 76px;
          transform-origin: 28px 76px;
  opacity: 0;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: opacity 0.2s var(--out-delay), -webkit-transform 0.3s ease-in var(--out-delay);
  transition: opacity 0.2s var(--out-delay), -webkit-transform 0.3s ease-in var(--out-delay);
  transition: transform 0.3s ease-in var(--out-delay), opacity 0.2s var(--out-delay);
  transition: transform 0.3s ease-in var(--out-delay), opacity 0.2s var(--out-delay), -webkit-transform 0.3s ease-in var(--out-delay);
}
.flower-container.active .stem {
  opacity: 1;
  -webkit-transform: scaleY(1);
          transform: scaleY(1);
  -webkit-transition: opacity 0.2s 0s, -webkit-transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.2) 0s;
  transition: opacity 0.2s 0s, -webkit-transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.2) 0s;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.2) 0s, opacity 0.2s 0s;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.2) 0s, opacity 0.2s 0s, -webkit-transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.2) 0s;
}
.flower-container.active .sepals {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: opacity 0.3s ease-out 0.3s, -webkit-transform 0.3s ease-out 0.3s;
  transition: opacity 0.3s ease-out 0.3s, -webkit-transform 0.3s ease-out 0.3s;
  transition: transform 0.3s ease-out 0.3s, opacity 0.3s ease-out 0.3s;
  transition: transform 0.3s ease-out 0.3s, opacity 0.3s ease-out 0.3s, -webkit-transform 0.3s ease-out 0.3s;
}
.flower-container.active .petal {
  opacity: 1;
  -webkit-transform: scale(1) rotate(var(--rot));
          transform: scale(1) rotate(var(--rot));
  -webkit-transition: opacity 0.3s var(--in-delay), -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) var(--in-delay);
  transition: opacity 0.3s var(--in-delay), -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) var(--in-delay);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) var(--in-delay), opacity 0.3s var(--in-delay);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) var(--in-delay), opacity 0.3s var(--in-delay), -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) var(--in-delay);
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.gift-badge-wrapper {
  position: fixed;
  right: 3em;
  bottom: 3em;
  -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: -webkit-transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), -webkit-transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform;
  -webkit-filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.2));
          filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.2));
  z-index: 10;
}
@media (min-width: 0) {
  .gift-badge-wrapper {
    display: none;
  }
}
@media (min-width: 600px) {
  .gift-badge-wrapper {
    display: block;
  }
}
.gift-badge-wrapper:hover {
  -webkit-transform: scale(1.25);
          transform: scale(1.25);
  z-index: 10;
}
.gift-badge-wrapper:hover .rotating-text {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}
.gift-badge-wrapper .rotating-text {
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-animation: spin 10s linear infinite;
          animation: spin 10s linear infinite;
  font-weight: bold;
}
.gift-badge-wrapper .base-svg {
  display: block;
  overflow: visible;
}