

html {
  line-height: 1.15;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers (opinionated).
 */
body {
  margin: 0;
  background-repeat: no-repeat;
  background-size: cover;
 
}  
  

/**
 * Add the correct display in IE 9-.
 */
article,
aside,
footer,
header,
nav,
section {
  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;
}

.left{
  
	height: auto;
	float: left;
	
}
/* Grouping content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */
figcaption,
figure,
main {
  /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */
figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  /* font-family: Weibei SC; */
  /* 1 */
  /* font-size: 1em; */
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
  background-color: transparent;
  /* 1 */
  -webkit-text-decoration-skip: objects;
  /* 2 */
}

/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
  font-weight: inherit;
}

/**
 * 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;
  
  font-size: 1em;
  
} */

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */
mark {
  background-color: #ff0;
  color: #000;
}

/**
 * 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
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */
img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  /* font-family: sans-serif; */
  /* 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;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-cancel-button,
[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 IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */
template {
  display: none;
}

/* Hidden
   ========================================================================== */
/**
 * Add the correct display in IE 10-.
 */
 .container {
  height: 100vh; 
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: scroll; /* 允许垂直滚动 */
}


.footer {
  background: #f5f5f5;
  padding: 20px;
  text-align: center;
}



[hidden] {
  display: none;
}

html {
  height: 100%;
}

fieldset {
  margin: 0;
  padding: 0;
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
  -webkit-padding-before: 0;
  -webkit-padding-start: 0;
  -webkit-padding-end: 0;
  -webkit-padding-after: 0;
  border: 0;
}

legend {
  margin: 0;
  padding: 0;
  display: block;
  -webkit-padding-start: 0;
  -webkit-padding-end: 0;
}





.s006 {
  min-height: 100vh;
  /* display: -ms-flexbox; */
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  
  /*background:	LightBlue*//*url("../images/Searchs_006.png");*/
  /* background:url("../images/background.png");

  
  background-size: cover;
  background-position: center bottom; */
  padding: 15px;
  background-color: #f3f0eb;
  /* #F3F0EB */
  position: relative;
}
.s006::before {
  content: "";
  display: block;
  background-size: cover;
  background-image: url(../images/background.png);
  opacity: 0.25;
  position: absolute;
  /* 偏移值皆設為 0，讓僞元素跟父元素一樣大小 */
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}


.s006 form {
  width: 100%;
  max-width: 790px;
  position: relative;
}

.s006 form legend {
  font-size: 36px;
  color: #000000;
  font-weight: 800;
  text-align: center;
  margin-bottom: 59px;
}

.s006 form .inner-form {
  width: 100%;
  margin-bottom: 17px;
}

.s006 form .inner-form .input-field {
  height: 70px;
  width: 100%;
  position: relative;
}

.s006 form .inner-form .input-field input {
  height: 100%;
  width: 100%;
  background: transparent;
  border: 0;
  background: #fff;
  display: block;
  width: 100%;
  padding: 10px 32px 10px 70px;
  font-size: 18px;
  color: #666;
  border-radius: 34px;
  border: 1px solid black;
}

.s006 form .inner-form .input-field input.placeholder {
  color: #ccc;
  font-size: 18px;
}

.s006 form .inner-form .input-field input:-moz-placeholder {
  color: #ccc;
  font-size: 18px;
}

.s006 form .inner-form .input-field input::-webkit-input-placeholder {
  color: #ccc;
  font-size: 18px;
}

.s006 form .inner-form .input-field input:hover, .s006 form .inner-form .input-field input:focus {
  box-shadow: none;
  outline: 0;
}

.s006 form .inner-form .input-field .btn-search {
  width: 70px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  position: absolute;
  left: 0;
  height: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  align-items: center;
}

.s006 form .inner-form .input-field .btn-search svg {
  fill: #ccc;
  width: 30px;
  height: 30px;
  transition: all .2s ease-out, color .2s ease-out;
}

.s006 form .inner-form .input-field .btn-search:hover, .s006 form .inner-form .input-field .btn-search:focus {
  outline: 0;
  box-shadow: none;
}

.s006 form .inner-form .input-field .btn-search:hover svg, .s006 form .inner-form .input-field .btn-search:focus svg {
  fill: #666;
}

.s006 form .suggestion-wrap {
  padding: 0 15px;
}

.col-md-4{
  display: flex;
  justify-content: center;
}




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

body {
  font-family: -apple-system, ".SFNSText-Regular", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;
}

.toggle {
  cursor: pointer;
  display: inline-block;
}
.toggle span{
  font-weight:bold;
}


.toggle-switch {
  display: inline-block;
  background: gray;
  border-radius: 16px;
  width: 58px;
  height: 32px;
  position: relative;
  vertical-align: middle;
  transition: background 0.25s;
  margin:10px;
  /* border: 1px solid black; */
}
.toggle-switch:before, .toggle-switch:after {
  content: "";
}
.toggle-switch:before {
  display: block;
  background: white/*linear-gradient(to bottom, #fff 0%, #eee 100%)*/;
  border-radius: 50%;
  /* box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); */
  width: 24px;
  height: 24px;
  position: absolute;
  top: 4px;
  left: 4px;
  transition: left 0.25s;
}
.toggle:hover .toggle-switch:before {
  background: linear-gradient(to bottom, #fff 0%, #fff 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.toggle-checkbox:checked + .toggle-switch {
  background: black;
}
.toggle-checkbox:checked + .toggle-switch:before {
  left: 30px;
}

.toggle-checkbox {
  position: absolute;
  visibility: hidden;
}

.toggle-label {
  margin-left: 5px;
  position: relative;
  top: 2px;
}



.sidebar {
  
  width: 100px;
  height: 100vh;
  background-color: #d0cecb;
  position: fixed;
  top: 0;
  transition: width 0.3s ease;
  overflow: hidden;
}

#left-sidebar {
  left: 0;
}

#right-sidebar {
  right: 0;
}


.content {
  /* margin: 0 110px;
  padding: 0 20px 0 20px; */
  height: 200%;
}
/* .off{
  opacity: 0.5;
  height: 100vh;
  background-color: #FFFBF5;
  background-image: url(../images/background.png);
  background-color: color-mix(in srgb, #FFFBF5, #f0f0ef); 
  background-image: url(../images/background.png);
  margin-top:20px;
} */

.off{

  height: 100vh;
  background-color: #f3f0eb;
  /* margin-top:20px; */
  position: relative;
}
.off::before {
  content: "";
  display: block;
  background-size: cover;
  /* background-image: url(../images/background.png); */
  opacity: 0.9;
  position: absolute; 
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.centered-div {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px; 
  max-width: 90%;
  height: 600px;
  background-color: #d5cbb9;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  flex-wrap: wrap;
  
}

.box {
  position: absolute;
  width: 150px;
  height: 500px;
  background-color: #ad9b79;
  transform-origin: center center;
  transition: all 0.3s ease-in-out; 
}

.left-box {
  left: -75px;
  clip-path: polygon(0% 0%, 50% 0%,100% 15%, 100% 85%, 50% 100%, 0% 100%);
}

.right-box {
  right: -75px;
  clip-path: polygon(0% 15%, 50% 0%,100% 0%, 100% 100%, 50% 100%, 0% 85%);
}


.ltext, .rtext {
  writing-mode: vertical-lr; /* Display text vertically */
  text-orientation: upright; /* Ensure upright orientation */
  font-size: 30px;
  color: black; /* Text color */
  position: absolute;
  top: 50%; /* Vertically center the text */
  transform: translate(0%, -50%);
  letter-spacing: 20px;
  font-weight: bold;
  
}

.ltext {
  left: 65%; /* Position the text to the right of the left box */
} 
.rtext {
  left: 10%; /* Position the text to the right of the left box */
} 

.centered-div.small .ltext {
  letter-spacing: 10px;
}

.centered-div.small .rtext {
  letter-spacing: 10px;
}

.centered-div.left-expanded .left-box {
  width: 300px;
  height:600px;
  clip-path: polygon(0% 0%, 60% 0%,100% 30%, 100% 70%, 60% 100%, 0% 100%);
  left: -325px;
}

.centered-div.left-expanded .right-box {
  width: 150px;
  height:400px;
  clip-path: polygon(0% 20%, 50% 0%,100% 0%, 100% 100%, 50% 100%, 0% 80%);
  right: -175px;
}

.centered-div.right-expanded .right-box {
  width: 300px;
  height:600px;
  clip-path: polygon(0% 30%, 40% 0%,100% 0%, 100% 100%, 40% 100%, 0% 70%);
  right: -325px;
}

.centered-div.right-expanded .left-box {
  width: 150px;
  height:400px;
  clip-path: polygon(0% 0%, 50% 0%,100% 20%, 100% 80%, 50% 100%, 0% 100%);
  left: -175px;
  
}

.centered-div.small {
  width: 700px;
  height: 350px;
  justify-content: space-between;
  
}



.l_additional-text, .r_additional-text{
  writing-mode: vertical-lr; /* Display text vertically */
  text-orientation: upright; /* Ensure upright orientation */
  position: absolute;
  font-size: 30px;
  font-weight: bold;
  text-shadow: black 0.1em 0.1em 0.1em;
}
.l_additional-text.hidden, .r_additional-text.hidden{
  display: none;
  
}
.l_additional-text{
  left: 55%;
  line-height: 20px;
  transform: translate(-55%,50%);
}
.r_additional-text{
  left: 15%;
  line-height: 15px;
  transform: translate(-15%,60%);
}

a{  
  text-decoration: none!important;
  color: #ffd699; 
  line-height: 0!important; 
}

.title_r{
  text-shadow: none;
  writing-mode: horizontal-tb;
  position: absolute;
  top: 22%;
  left: 30%;
  position: absolute;
  /* transform: translate(-50%, 50%); */
  font-size: 30px;
  color: black;
  font-weight: bold;
}

.title_l{
  text-shadow: none;
  writing-mode: horizontal-tb;
  position: absolute;
  top: 22%;
  left: 30%;
  position: absolute;
  /* transform: translate(-50%, 50%); */
  font-size: 30px;
  color: black;
  font-weight: bold;
}

.title_l.hidden, .title_r.hidden{
  display: none;
  
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}


.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
  
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  /* background-color: #717171; */
}

/* Caption text */
.text {
  color: black;
  font-size: 25px;
  padding: 5%;
  text-align: center;
  line-height: 150%;
  
}

.text span{
  margin:2%;
  font-size: 30px;
  display: inline-block;
  font-weight: bold;
}

.text a{
  color:#000;
  font-weight: bold;
  text-decoration: underline;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot-container {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px; /* Add some spacing between the slideshow and dots */
}

/* Your existing dot styling... */
.dot {
  /* Your styles here */
}


.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


.small-font .text {
  font-size: 16px; /* Adjust this value to match the value used in the centered-div.small class */
  line-height: 140%;
}
.small-font span {
  font-size: 20px; /* Adjust this value to match the value used in the centered-div.small class */
}