@charset "utf-8";
/* CSS Document */

input[type=text] {
	width: 66%;
	font-size: 1.2em;
	line-height: 1.5em;
	padding: 0px 5px;
}
input[type=checkbox],
input[type=radio] {
	font-size: 2em;
	width: 23px;
	height: 25px;
}

.theme {
	padding-right: 250px;
	padding-bottom: 150px;
}
/* 複選項目區塊 */
.checkItemBlock {
	margin-left: 50px;
}
.checkItemBlock > .item_2grid {
	float: left;
	width: 50%;
}
.checkItemBlock > .item_4grid {
	float: left;
	width: 25%;
}
.checkItemBlock > .item_5grid {
	float: left;
	width: 20%;
}
/* 123 */


ul.steplist > li {
	margin: 0 35px;
}
.shadow {
	box-shadow: 0px 1px 31px -8px #615D5D;
	-webkit-box-shadow: 0px 1px 31px -8px #615D5D;
	-moz-box-shadow: 0px 1px 31px -8px #615D5D;
	-o-box-shadow: 0px 1px 31px -8px #615D5D;
}
.ystepBox {
	display: inline-block;
	float: left;
	padding: 0 17px;
	margin-top: -50px;
	margin-bottom: 60px;
	width: calc(48% - 20px);
}
.yimgbox {
	margin-bottom: -96px;
	padding: 0 110px;
	z-index: 2;
	text-align: center;
}
.yimgbox img {
	margin: auto;
}
.y_title_box {
	border-radius: 30px;
	z-index: 1;
}
.y_txt_bg {
	min-height: 170px; /*290px*/
	letter-spacing: 0.1em;
	line-height: 1.3em;
	text-decoration: none;
	color: #fff;
	text-align: justify;
	padding: 15px;
	border-bottom-right-radius: 30px;
	border-bottom-left-radius: 30px;
}
.title_color_01 {
	color: #e6342a;
	padding: 70px 20px 0;
	line-height: 1.5em;
}
.title_color_01 a { color: #e6342a; }
.txt_color_01 { background-color: #e6342a; }

.title_color_02 {
	color: #00a19b;
	padding: 70px 20px 0;
	line-height: 1.5em;
}
.title_color_02 a { color: #00a19b; }
.txt_color_02 { background-color: #00a19b; }

.title_color_03 {
	color: #1d71b9;
	padding: 70px 20px 0;
	line-height: 1.5em;
}
.title_color_03 a { color: #1d71b9; }
.txt_color_03 { background-color: #1d71b9; }

.title_color_04 {
	color: #FD8719;
	padding: 70px 20px 0;
	line-height: 1.5em;
}
.title_color_04 a { color: #FD8719; }
.txt_color_04 { background-color: #FD8719; }

.title_color_01 a:hover,
.title_color_02 a:hover,
.title_color_03 a:hover,
.title_color_04 a:hover { text-decoration:underline; color: #6a6a6a; }

/* 搜尋模組資料 */

.h2red {
	background-color: #e6342a;
}
ul.redlist > li {
	margin: 45px 35px;
}
p.txt_bold {
	font-weight: bold;
	margin-bottom: 0px;
}
.red_star {
	color: #ba0001;
	font-size: 1.5em;
	line-height: 30px;
	vertical-align: bottom;
}
input[type=checkbox] {
	font-size: 2em;
	width: 23px;
	height: 25px;
}
.checkBOX_left {
	margin-left: 35px;
}
/* 觀看現有教學模組 */

.h2green {
	background-color: #00a19b;
}
.search-module-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 0 clamp(10px, 2vw, 25px) 12px;
}

.search-module-heading .bulletin-more {
  margin-top: 10px;
}

#block1 .raised-panel-title {
  margin-inline-start: clamp(10px, 2.5vw, 30px);
}

#block1 ul.redlist > li:first-child {
  margin-top: 12px;
}

#block2 .bulletin-submit-row {
  clear: both;
  padding-top: 12px;
}

ul.greenlist {
	margin-left: 20px;
}
ul.greenlist > li {
	margin: 5px 5px;
}
.MoreFont {
	width: 100%;
	float: right;
	padding-top: 20px;
}
.MoreFont a {
	font-size: 1.1em;
	color: #e04a56;
	float: right;
	margin-right: 25px;
	margin-top: 25px;
	text-decoration: underline;
}
.MoreFont a:hover {
	font-size: 1.1em;
	color: #e04a56;
	float: right;
	margin: 25px 45px;
	text-decoration: underline;
}
.size {
	width: calc(31% - 20px);
	min-height: 200px;
	margin-right: 10px;
	margin-bottom: 10px;
}
.btn_BOX {
	clear: both;
	margin: 0 300px;
	padding-top: 10px;
}
h4.box {
	float: left;
	padding-left: 5px;
	margin-left: 10px;
	margin: 10px 0 0 10px;
	border-left: 2px #000000 solid;
	line-height: 27px;
}
.Content_box {
 width: calc(100% - -20px);
}
.Content_box > a {
	color: #222222;
	line-height: 1.7em;
	letter-spacing: 0.05em;
	float: left;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	text-align: left;
	text-decoration: none;
}

.Content_box > a:hover {
	text-decoration: underline;
}
textarea {
	font-size: 1.3em;
	font-family: \5FAE\8EDF\6B63\9ED1\9AD4, \65B0\7D30\660E\9AD4, Arial, sans-serif;
	width: calc(101% - 20px);
	min-height: 150px;
	margin-left: 10px;
}
/* 參考資料 */

.h2blue {
	background-color: #1d71b9;
}
ul.bluelist {
	list-style-type: disc;
	margin: 55px 40px;
	padding-left: 25px;
}
ul.bluelist > li {
	margin: 15px 0px;
}
.bluelist a {
	font-size: 1.1em;
	text-decoration: none;
	color: #505050;
}
 @media screen and (max-width: 1024px) {
.theme {
	padding-left: 60px;
}
.ystepBox {
	width: calc(100% - 20px);
	margin-top: -75px;
	margin-bottom: 100px;
}
.yimgbox {
	margin-bottom: -75px;
	padding: 0 77px;
}
.yimgbox img {
	width: 20%;
}
.red_star {
	color: #ba0001;
	font-size: 1.5em;
	line-height: 45px;
	vertical-align: bottom;
}
.y_txt_bg {
	min-height: 200px;
	line-height: 1.6em;
	width: calc(65% - 20px);
	margin-left: 33%;
	padding: 20px;
	border-top-right-radius: 30px;
	border-bottom-right-radius: 30px;
	border-bottom-left-radius: 0px;
}
.title_color_01 {
	color: #e6342a;
	padding: 0;
	margin: 90px 35px 20px 25px;
	line-height: 1.5em;
	width: calc(30% - 20px);
	float: left;
}
.title_color_02 {
	color: #00a19b;
	padding: 0;
	margin: 80px 35px 20px 30px;
	line-height: 1.5em;
	width: calc(28% - 20px);
	float: left;
}
.title_color_03 {
	color: #1d71b9;
	padding: 0;
	margin: 80px 35px 20px 30px;
	line-height: 1.5em;
	width: calc(28% - 20px);
	float: left;
}
/* 觀看現有教學模組 */
.size {
	width: calc(96% - 20px);
}
.btn_BOX {
	clear: both;
	margin: 0 200px;
	padding-top: 30px;
}
}
 @media screen and (max-width: 980px) {
.checkItemBlock > label {
	width: 80%;
	display: block;
}
.checkItemBlock > .item_2grid,  .checkItemBlock > .item_4grid,  .checkItemBlock > .item_5grid {
	float: none;
	width: 100%;
}
.theme {
	background: none;
	padding: 0px;
	padding-bottom: 20px;
	margin: 60px;
}
.yimgbox {
	margin-bottom: -50px;
	padding: 0 50px;
}
.title_color_01 {
	color: #e6342a;
	padding: 0;
	margin: 90px 35px 20px 25px;
	line-height: 1.5em;
	width: calc(30% - 20px);
	float: left;
}
.title_color_02 {
	margin: 65px 35px 20px 30px;
}
.title_color_03 {
	margin: 65px 35px 20px 30px;
	line-height: 1.2em;
}
.red_star {
	color: #ba0001;
	font-size: 1.5em;
	line-height: 35px;
	vertical-align: bottom;
}
.size {
	width: calc(95% - 20px);
}
.btn_BOX {
	width: calc(75% - 20px);
	margin: 0 auto;
	padding-top: 30px;
}
}
@media screen and (max-width: 768px) {
.btn_BOX {
	width: calc(80% - 20px);
	margin: 0 auto;
	padding-top: 30px;
}
}
@media screen and (max-width: 736px) {
.theme {
	background: none;
	padding: 0px;
	padding-bottom: 40px;
	margin: 10px;
}
/* 123 */

ul.steplist > li {
	margin: 0 35px;
}
.shadow {
	box-shadow: 0px 1px 31px -8px #615D5D;
	-webkit-box-shadow: 0px 1px 31px -8px #615D5D;
	-moz-box-shadow: 0px 1px 31px -8px #615D5D;
	-o-box-shadow: 0px 1px 31px -8px #615D5D;
}
.ystepBox {
	display: inline-block;
	float: left;
	padding: 0 17px;
	margin-top: -50px;
	width: calc(100% - 20px);
}
.yimgbox {
	margin-bottom: -82px;
	padding: 0 240px;
	z-index: 2;
}
.yimgbox img {
	width: 100%;
}
.y_txt_bg {
	width: calc(96.7% - 20px);
	min-height: 290px;
	line-height: 1.3em;
	margin-left: 0px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 30px;
	border-bottom-left-radius: 30px;
}
.title_color_01 {
	padding: 0px;
	padding: 70px 10px 20px;
	margin: 20px 0px 0px;
	line-height: 1.5em;
	width: calc(100% - 20px);
	float: none;
}
.title_color_02 {
	padding: 0px;
	padding: 70px 10px 20px;
	margin: 20px 0px 0px;
	line-height: 1.5em;
	width: calc(100% - 20px);
	float: none;
}
.title_color_03 {
	padding: 0px;
	padding: 70px 10px 20px;
	margin: 20px 0px 0px;
	line-height: 1.5em;
	width: calc(100% - 20px);
	float: none;
}
/* 搜尋模組資料 */
ul.redlist > li {
	margin: 40px 15px;
}
.li_left {
	margin-left: -35px;
}
textarea {
	width: calc(97% - 20px);
	margin-left: 30px;
}
.red_star {
	color: #ba0001;
	font-size: 1.2em;
	line-height: 35px;
	vertical-align: bottom;
}
.checkBOX_left {
	margin-left: 0px;
}
/* 觀看現有教學模組 */
.size {
	width: calc(94% - 20px);
}
.btn_BOX {
	width: calc(80% - 20px);
	margin: 0 auto;
	padding-top: 30px;
}
/* 參考資料 */
h2.position {
	margin-left: 0px;
}
.h2blue {
	font-size: 1em;
}
ul.bluelist {
	margin: 55px 15px;
}
.BGimgBox {
	display: none;
}
}
 @media screen and (max-width: 670px) {
.yimgbox {
	margin-bottom: -82px;
	padding: 0 210px;
	z-index: 2;
}
.btn_BOX {
	width: calc(90% - 20px);
}
}
 @media screen and (max-width: 640px) {
.yimgbox {
	margin-bottom: -82px;
	padding: 0 195px;
	z-index: 2;
}
}
 @media screen and (max-width: 568px) {
.yimgbox {
	margin-bottom: -73px;
	padding: 0 175px;
	z-index: 2;
}
.y_txt_bg {
	width: calc(96% - 20px);
	min-height: 290px;
	line-height: 1.3em;
	margin-left: 0px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 30px;
	border-bottom-left-radius: 30px;
}
.btn_BOX {
	width: calc(51% - 20px);
}
}
 @media screen and (max-width: 414px) {
.yimgbox {
	margin-bottom: -82px;
	padding: 0 95px;
	z-index: 2;
}
.y_txt_bg {
	width: calc(94% - 20px);
	min-height: 290px;
	line-height: 1.3em;
	margin-left: 0px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 30px;
	border-bottom-left-radius: 30px;
}
.title_color_01 {
	padding: 0px;
	padding: 70px 10px 20px;
	margin: 20px 0px 0px;
	line-height: 1.5em;
	width: calc(100% - 20px);
	float: none;
	font-size: 1.2em;
}
.title_color_02 {
	padding: 0px;
	padding: 70px 10px 20px;
	margin: 20px 0px 0px;
	line-height: 1.5em;
	width: calc(100% - 20px);
	float: none;
	font-size: 1.2em;
}
.title_color_03 {
	padding: 0px;
	padding: 70px 10px 20px;
	margin: 20px 0px 0px;
	line-height: 1.5em;
	width: calc(100% - 20px);
	float: none;
	font-size: 1.2em;
}
.titlt_line_box {
	width: 100%;
	height: 90px;
}
ul.greenlist {
	margin-left: 5px;
}
h5.position {
	position: absolute;
}
.rank_position {
	padding-top: 50px;
	float: left;
}
h3.position {
	margin-left: 0px;
}
.btn_BOX {
	width: calc(65% - 0px);
	margin: 0 72px;
}
/* .titlt_line_box {
	width: 100%;
	height: 90px;
}
.rank_position {
	padding-top: 50px;
	}
h5 {
float: none;
}
*/}
@media screen and (max-width: 415px) {
.btn_BOX {
	width: calc(72% - 25px);
	margin: 0 65px;
}
}
 @media screen and (max-width: 380px) {
.theme {
	text-align: initial;
}
.red_star {
	color: #ba0001;
	font-size: 1em;
	line-height: 35px;
	vertical-align: bottom;
}
textarea {
	width: calc(80% - 20px);
	min-height: 230px;
}
.ystepBox {
	display: inline-block;
	float: left;
	padding: 0px;
	margin: 0x;
	margin-bottom: 70px;
	width: calc(110% - 20px);
}
.yimgbox {
	margin-bottom: -75px;
	padding: 0 90px;
}
.y_txt_bg {
	width: calc(94% - 20px);
}
.h2blue {
	font-size: 0.86em;
}
.btn_BOX {
	margin: 0 50px;
}
.btn_BOX {
	width: calc(78% - 23px);
	margin: 0 auto;
	padding-top: 30px;
}
ul.greenlist {
	margin-left: 0px;
}
.size {
	width: calc(92% - 10px);
}
.btn_BOX {
	width: calc(82% - 23px);
	margin: 0 45px;
}
}
@media screen and (max-width: 375px) {
.btn_BOX {
	width: calc(79% - 23px);
	margin: 0 45px;
}
}
@media screen and (max-width: 360px) {
.btn_BOX {
	width: calc(82% - 25px);
	margin: 0 45px;
}
}
 @media screen and (max-width: 320px) {
.theme {
	text-align: initial;
}
.red_star {
	color: #ba0001;
	font-size: 1em;
	line-height: 35px;
	vertical-align: bottom;
}
textarea {
	width: calc(80% - 20px);
	min-height: 230px;
}
.ystepBox {
	display: inline-block;
	float: left;
	padding: 0px;
	margin: -20px;
	margin-bottom: 60px;
	width: calc(130% - 30px);
}
.yimgbox {
	margin-bottom: -75px;
	padding: 0 80px;
}
.y_txt_bg {
	width: calc(93% - 20px);
}
.h2blue {
	font-size: 0.86em;
}
.btn_BOX {
	margin: 0 27px;
}
ul.greenlist {
	margin-left: 0px;
}
.size {
	width: calc(90% - 10px);
}
.btn_BOX {
	margin: 0 30px;
}
.btn_BOX {
	width: calc(92% - 23px);
	margin: 0 26px;/* padding-top: 30px; */
}
}

.module-search .y_title_box h1 {
  font-size: var(--content-subheading-size);
}

.module-search :is(input[type=text], textarea) {
  font-size: var(--content-text-size);
  box-sizing: border-box;
}

.search-content-panel .bulletin-cards {
  margin-inline: clamp(12px, 2.5vw, 30px);
}

.search-reference-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(160px, 18vw, 215px);
  gap: 20px;
  margin-inline: clamp(12px, 2.5vw, 30px);
}

.search-reference-list {
  padding-bottom: 20px;
  text-align: start;
}

.search-reference-list a {
  display: block;
  padding: 9px 0;
}

.search-reference-art {
  align-self: end;
  justify-self: end;
  width: 100%;
  aspect-ratio: 364 / 430;
  /* Frame the characters inside the original 1200px-wide transparent image. */
  background: url(../images/y_03belowBG.png) no-repeat 12% bottom / 330% auto;
}

@media (max-width: 760px) {
  .search-reference-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .search-reference-art {
    width: min(55%, 155px);
  }
}

@media (max-width: 490px) {
  .search-module-heading {
    flex-wrap: wrap;
  }

  .search-module-heading .bulletin-more {
    margin-top: 0;
    margin-inline-start: auto;
  }
}

.module-search .steplist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px clamp(16px, 3vw, 34px);
  padding-top: 44px;
  margin-inline: clamp(0px, 3vw, 35px);
}

.module-search .steplist > li,
.module-search .ystepBox,
.module-search .yimgbox,
.module-search .y_title_box h1 {
  margin: 0;
}

.module-search .ystepBox {
  --feature-badge-width: clamp(76px, 9vw, 110px);
  position: relative;
  display: flex;
  flex-direction: column;
  float: none;
  width: auto;
  height: 100%;
  padding: 0;
}

.module-search .yimgbox {
  --hexagon: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  position: absolute;
  inset: 0 auto auto 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--feature-badge-width);
  aspect-ratio: 12 / 11;
  padding: 0;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 3px 6px rgb(0 0 0 / 22%));
}

.module-search .yimgbox::before {
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: var(--hexagon);
  content: '';
}

.module-search .yimgbox span {
  position: relative;
  display: grid;
  place-items: center;
  width: 80%;
  height: 80%;
  background: var(--badge-color);
  color: #fff;
  clip-path: var(--hexagon);
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
}

.feature-badge-1 { --badge-color: #e6342a; }
.feature-badge-2 { --badge-color: #00a19b; }
.feature-badge-3 { --badge-color: #1d71b9; }
.feature-badge-4 { --badge-color: #fd8719; }

.module-search .y_title_box {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.module-search .y_title_box h1 {
  width: auto;
  padding: calc(var(--feature-badge-width) * .46 + 10px) 12px 12px;
  text-align: center;
}

.module-search .y_txt_bg {
  flex: 1;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 14px 16px;
  border-radius: 0 0 30px 30px;
  font-size: var(--content-text-size);
  text-align: start;
}

@media (max-width: 700px) {
  .module-search .steplist {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .module-search .y_title_box h1 {
    display: grid;
    place-items: center;
    min-block-size: 3em;
  }
}

@media (min-width: 981px) {
  .module-search .theme {
    padding-right: 190px;
    padding-bottom: 120px;
  }

  .search-feature-existing .ystepBox::before {
    position: absolute;
    inset: auto 12% 100% auto;
    width: 116px;
    aspect-ratio: 250 / 350;
    background: url(../images/y_03_topBG.png) no-repeat center bottom / contain;
    pointer-events: none;
    content: '';
  }
}

/* Keep the opaque badge above the entire card and its shadow. */
.module-search .ystepBox { isolation: isolate; }
.module-search .y_title_box { position: relative; z-index: 0; }
.module-search .yimgbox {
  z-index: 3;
  height: auto;
  min-height: 0;
  border: 0;
  background: transparent;
  opacity: 1;
}
.module-search .yimgbox span { width: 76%; height: 76%; }
